body {
    font-family: 'Poppins', sans-serif;
    color: #2C3E50;
    line-height: 1.6;
    background-color: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

/* Color Palette */
:root {
    --greenville-pink: #F5E0E8; /* Soft Pink */
    --greenville-blue: #D0E8F2; /* Light Blue */
    --greenville-primary: #87CEEB; /* Sky Blue for primary actions */
    --greenville-primary-dark: #64B5F6; /* Darker Sky Blue */
    --greenville-text-dark: #2C3E50; /* Dark Grey for text */
    --greenville-text-light: #5a6a7e; /* Lighter Grey for secondary text */
    --greenville-white: #FFFFFF;
    --greenville-light-grey: #F8F8F8;
    --greenville-dark-grey: #34495E; /* For footer */
}

.has-background-pink {
    background-color: var(--greenville-pink) !important;
}

.has-background-light-blue {
    background-color: var(--greenville-blue) !important;
}

.has-background-dark-grey {
    background-color: var(--greenville-dark-grey) !important;
}

.has-background-white-ter {
    background-color: var(--greenville-light-grey) !important;
}

.has-text-dark-grey {
    color: var(--greenville-text-dark) !important;
}

.has-text-white-ter {
    color: #f0f0f0 !important;
}

.button.is-primary {
    background-color: var(--greenville-primary);
    border-color: var(--greenville-primary);
    color: var(--greenville-text-dark);
    font-weight: 600;
    text-decoration: none !important;
}

.button.is-primary:hover {
    background-color: var(--greenville-primary-dark);
    border-color: var(--greenville-primary-dark);
}

.button.is-link.is-light {
    background-color: var(--greenville-blue);
    color: var(--greenville-text-dark);
    text-decoration: none !important;
}

.button.is-link.is-light:hover {
    background-color: #aedae8;
}

.button.is-danger.is-light {
    background-color: var(--greenville-pink);
    color: var(--greenville-text-dark);
    text-decoration: none !important;
}

.button.is-danger.is-light:hover {
    background-color: #e8c7d0;
}

.button.is-success {
    background-color: #48C78E;
    border-color: #48C78E;
    color: #fff;
    text-decoration: none !important;
}
.title:not(.is-spaced)+.subtitle{
    margin-top: 0!important;
}
.button.is-success:hover {
    background-color: #3ABB82;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    transition: background-color 0.3s ease;
}
@media screen and (min-width: 769px), print {
    .columns:not(.is-desktop) {
        display: flex
;
        justify-content: center;
    }
}
.navbar-item img {
    width: 60px;
    height:45px;
    object-fit: contain;
}

.navbar-item {
    color: var(--greenville-text-dark);
    font-weight: 600;
}

.navbar-item:hover {
    color: var(--greenville-primary);
}

/* Hero Section */
.hero-bg-image {
    background-image: url('static/uploads/landscape-hero-bg_4.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

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

.hero-title-gradient {
    background: linear-gradient(135deg, var(--greenville-primary), var(--greenville-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.statistic-text {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--greenville-white);
}

.statistic-text span {
    color: var(--greenville-primary);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.trust-badges img {
    max-height: 60px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

/* Section Titles */
.title.is-2 {
    color: var(--greenville-text-dark);
    font-weight: 700;
    font-size: 2rem!important;
}

/* About Us Section */
.about-section {
    padding: 6rem 1.5rem;
}

.about-map {
    height: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.map-story-box {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: var(--greenville-white);
    border: 1px solid var(--greenville-blue);
}

.map-story-box h3 {
    color: var(--greenville-text-dark);
}

.map-story-box p {
    color: var(--greenville-text-light);
}

/* Services Section */
.services-section {
    padding: 6rem 1.5rem;
    background-color: var(--greenville-pink);
}

.service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card .card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-icon {
    color: var(--greenville-primary);
    font-size: 3rem !important;
}

.service-card .title {
    color: var(--greenville-text-dark);
}

.service-card .content p {
    color: var(--greenville-text-light);
}

.service-problem-solution {
    flex-grow: 1;
}

/* How It Works Section */
.how-it-works-section {
    padding: 6rem 1.5rem;
}

.how-it-works-slider {
    padding-bottom: 4rem;
}

.how-it-works-card {
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
}

.how-it-works-card .card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.how-it-works-icon {
    font-size: 3.5rem !important;
    color: var(--greenville-primary);
    margin-bottom: 1rem;
}

.how-it-works-card .title {
    color: var(--greenville-text-dark);
}

.how-it-works-card p {
    color: var(--greenville-text-light);
}
.block-team-thumb{
    display: flex;
    flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.card-teamss{
    width: 100%;
}
@media (min-width:768px) and (max-width:1023px) {
    .card-teamss{
        width: calc(50% - 30px);
    }
}
@media (min-width:1024px) {
    .card-teamss{
        width: calc(33% - 30px);
    }
}
.swiper-pagination-bullet-active {
    background-color: var(--greenville-primary) !important;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--greenville-primary) !important;
}
@media (max-width:575px) {
    .swiper-button-next, .swiper-button-prev{
        display: none;
    }
}
/* Team Section */
.team-section {
    padding: 6rem 1.5rem;
}

.team-member-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.team-member-card .card-image {
    position: relative;
    overflow: hidden;
}

.team-member-card .card-image img {
    width: 60%;
    height: 60%;
    margin: 0 auto;
    object-fit: cover;
    border-radius: 50%; /* For circular avatar */
    border: 4px solid var(--greenville-primary);
    padding: 5px;
    transition: transform 0.3s ease;
}


.team-member-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--greenville-primary), 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
    padding: 1rem;
}

.team-member-card:hover .overlay {
    opacity: 1;
}

.overlay-text {
    color: var(--greenville-white);
    text-align: center;
    font-style: italic;
    font-size: 0.95rem;
}

.team-member-card .card-content {
    flex-grow: 1;
    padding-top: 1rem;
}

.team-member-card .title {
    color: var(--greenville-text-dark);
}

.team-member-card .subtitle {
    color: var(--greenville-text-light);
}

/* Industries Section */
.industries-section {
    padding: 6rem 1.5rem;
}

.industry-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.industry-card .card-content {
    flex-grow: 1;
}

.industry-icon {
    font-size: 3.5rem !important;
    color: var(--greenville-primary);
    margin-bottom: 1rem;
}

.industry-card .title {
    color: var(--greenville-text-dark);
}

.industry-card p {
    color: var(--greenville-text-light);
}

.industry-card ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.industry-card li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--greenville-text-dark);
}

.industry-card li .material-symbols-outlined {
    color: #48C78E; /* Green checkmark */
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 1.5rem;
    background-color: var(--greenville-pink);
}

.testimonial-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-card .card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-quote {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--greenville-text-dark);
}

.testimonial-card .media-content .title {
    color: var(--greenville-text-dark);
}

.testimonial-card .media-content .subtitle {
    color: var(--greenville-text-light);
}

/* FAQ Section */
.faq-section {
    padding: 6rem 1.5rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 1.5rem;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-question {
    cursor: pointer;
    padding: 1rem 0;
    color: var(--greenville-text-dark);
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--greenville-primary-dark);
}

.faq-question .faq-icon {
    font-size: 1.8rem;
    color: var(--greenville-primary);
    margin-right: 1rem;
}

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

.faq-question[aria-expanded="true"] .expand-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding-top 0.3s ease-out;
    padding-left: 2.8rem; /* Align with text */
}

.faq-answer.is-active {
    max-height: 200px; /* Arbitrary large value, adjust as needed */
    padding-top: 0.5rem;
}

.faq-answer p {
    color: var(--greenville-text-light);
}

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

.contact-form-box {
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    background-color: var(--greenville-light-grey);
}
@media (max-width:575px) {
    .contact-form-box{
        padding: 1.5rem;
    }
}

.contact-form-box .label {
    color: var(--greenville-text-dark);
    font-weight: 600;
}

.contact-form-box .input, .contact-form-box .textarea, .contact-form-box .select select {
    border-color: var(--greenville-blue);
}

.contact-form-box .input:focus, .contact-form-box .textarea:focus, .contact-form-box .select select:focus {
    border-color: var(--greenville-primary);
    box-shadow: 0 0 0 0.125em rgba(var(--greenville-primary), 0.25);
}

/* Footer */
.footer {
    padding: 3rem 1.5rem;
    color: var(--greenville-white-ter);
}

.footer-logo img {
    width: 60px;
    height: 65px;
    object-fit: contain;
}

.footer .title.is-5 {
    color: var(--greenville-white);
    margin-bottom: 1rem;
}

.footer ul {
    list-style: none;
    margin-left: 0;
}

.footer ul li a {
    color: var(--greenville-white-ter);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Cookie Consent Modal */
.cookie-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 400px;
    max-width: calc(100% - 40px);
    z-index: 1000;
    display: none;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    flex-direction: column;
}

/* Когда модалка активна */
.cookie-modal.is-active {
    display: flex;
    opacity: 1;
    transform: translate(-50%, -50%);
}


.cookie-modal .modal-background {
    display: block;
    position: fixed;
    inset: 0; /* top:0; right:0; bottom:0; left:0 */
    background: rgba(0, 0, 0, 0.6); /* тёмный полупрозрачный фон */
    z-index: 999; /* ниже модалки, но выше остального */
}
.cookie-modal .modal-card {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    background-color: var(--greenville-white);
    position: relative;
    margin: 0;
        position: relative;
    z-index: 1000;
}

.cookie-modal .modal-card-head {
    background-color: var(--greenville-primary);
    color: var(--greenville-white);
    padding: 1rem 1.5rem;
    border-bottom: none;
}

.cookie-modal .modal-card-head .modal-card-title {
    color: var(--greenville-white);
    font-size: 1.25rem;
}

.cookie-modal .modal-card-body {
    padding: 1.5rem;
    color: var(--greenville-text-dark);
}

.cookie-modal .modal-card-body .field {
    margin-bottom: 1rem;
}

.cookie-modal .modal-card-body .field label {
    font-weight: 600;
    color: var(--greenville-text-dark);
    display: flex;
    align-items: center;
}

.cookie-modal .modal-card-body .field input[type="checkbox"] {
    margin-right: 0.5rem;
    min-width: 16px;
    min-height: 16px;
}

.cookie-modal .modal-card-body .field .help {
    font-size: 0.85rem;
    color: var(--greenville-text-light);
    margin-top: 0.25rem;
    margin-left: 1.5rem; /* Align with checkbox text */
}

.cookie-modal .modal-card-foot {
    background-color: var(--greenville-light-grey);
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.cookie-modal .modal-card-foot .button {
    margin-left: 0.5rem;
}

/* Responsive adjustments for cookie modal */
@media screen and (max-width: 768px) {
    .cookie-modal {
        bottom: 10px;
        right: 10px;
        width: calc(100% - 20px);
    }
}
@media screen and (max-width: 768px) {
    .media-content {
         overflow-x:inherit;
    }
}
/* General utility classes */
.is-hidden {
    display: none !important;
}

.is-flex {
    display: flex;
}

.is-align-items-center {
    align-items: center;
}

.ml-auto {
    margin-left: auto;
}

.icon-text {
    display: flex;
    align-items: center;
}

.icon-text .material-symbols-outlined {
    margin-right: 0.5rem;
}

/* Smooth scroll for anchor links */
.scroll-link {
    cursor: pointer;
}

.button {
    text-decoration: none !important; /* Ensure no underline on buttons */
}
/* Parent container for legal content block */
.legalDomeBlock {
    padding-top: 40px; /* Top padding for the content block */
    padding-bottom: 40px; /* Bottom padding for the content block */
    padding-left: 30px; /* Left padding for content inside the block */
    padding-right: 30px; /* Right padding for content inside the block */
    /* Optional: Max-width and auto margins can be added here for centering content on very wide screens */
    /* max-width: 960px; */
    /* margin-left: auto; */
    /* margin-right: auto; */
}

/* Heading 1 styles - main section title */
.legalDomeBlock h1 {
    font-size: 32px; /* Moderate size for primary titles */
    line-height: 1.2;
    font-weight: 700; /* Bold font weight */
    margin-top: 1.5em; /* Space above the heading */
    margin-bottom: 0.8em; /* Space below the heading */
    color: #333; /* Dark grey color for readability */
}

/* Heading 2 styles - sub-section title */
.legalDomeBlock h2 {
    font-size: 28px; /* Slightly smaller for secondary titles */
    line-height: 1.3;
    font-weight: 600; /* Semi-bold font weight */
    margin-top: 1.4em;
    margin-bottom: 0.7em;
    color: #333;
}

/* Heading 3 styles - minor section title */
.legalDomeBlock h3 {
    font-size: 24px; /* Smaller for tertiary titles */
    line-height: 1.4;
    font-weight: 600;
    margin-top: 1.3em;
    margin-bottom: 0.6em;
    color: #333;
}

/* Heading 4 styles - specific point title */
.legalDomeBlock h4 {
    font-size: 20px; /* Even smaller for more detailed points */
    line-height: 1.5;
    font-weight: 500; /* Medium font weight */
    margin-top: 1.2em;
    margin-bottom: 0.5em;
    color: #444;
}

/* Heading 5 styles - label or very minor point */
.legalDomeBlock h5 {
    font-size: 18px; /* Smallest heading size */
    line-height: 1.5;
    font-weight: 500;
    margin-top: 1.1em;
    margin-bottom: 0.4em;
    color: #444;
}

/* Paragraph styles - standard body text */
.legalDomeBlock p {
    font-size: 16px; /* Standard body text size for readability */
    line-height: 1.6; /* Good line height for text blocks */
    margin-top: 0; /* Reset default browser margin */
    margin-bottom: 1em; /* Space between paragraphs */
    color: #555; /* Slightly lighter than headings for body text */
}

/* Unordered list styles */
.legalDomeBlock ul {
    font-size: 16px; /* Inherit or set explicitly for consistency with paragraphs */
    line-height: 1.6;
    margin-top: 1em; /* Space above the list */
    margin-bottom: 1em; /* Space below the list */
    padding-left: 25px; /* Indent for bullet points */
    list-style-type: disc; /* Default bullet style */
    color: #555;
}

/* List item styles */
.legalDomeBlock li {
    margin-bottom: 0.5em; /* Space between individual list items */
}
