:root {
    --primary-orange: #FF8C00; /* Dark Orange */
    --accent-orange: #FFB84D; /* Lighter Orange */
    --dark-bg: #1A1A1A;
    --light-bg: #F8F8F8;
    --text-dark: #333333;
    --text-light: #FFFFFF;
}



body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark); /* Default for headings */
    font-weight: 600;
}

/* Custom button styles */
.btn-primary {
    background-color: var(--primary-orange);
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
    text-decoration: none; /* Remove underline */
    display: inline-block;
}

.btn-primary:hover {
    background-color: #E07B00; /* Slightly darker orange */
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none; /* Remove underline */
    display: inline-block;
}

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

/* Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    z-index: 1000;
    display: none; /* Hidden by default, shown by JS */
    flex-direction: column;
    gap: 1rem;
}

.cookie-banner.show {
    display: flex;
}

.cookie-banner h3 {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cookie-banner p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #CCCCCC;
}

.cookie-banner .button-group {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.cookie-banner .btn-accept-all {
    background-color: var(--primary-orange);
    color: var(--text-light);
    padding: 0.6rem 1.2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.cookie-banner .btn-accept-all:hover {
    background-color: #E07B00;
}

.cookie-banner .btn-customize {
    background-color: transparent;
    color: var(--primary-orange);
    border: 1px solid var(--primary-orange);
    padding: 0.6rem 1.2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.cookie-banner .btn-customize:hover {
    background-color: var(--primary-orange);
    color: var(--text-light);
}

/* Cookie Modal Styles */
.cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
}

.cookie-modal-overlay.show {
    visibility: visible;
    opacity: 1;
}

.cookie-modal {
    background-color: var(--light-bg);
    color: var(--text-dark);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    max-width: 500px;
    width: 90%;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.cookie-modal-overlay.show .cookie-modal {
    transform: translateY(0);
}

.cookie-modal h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.cookie-modal .cookie-category {
    margin-bottom: 1rem;
}

.cookie-modal .cookie-category label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
}

.cookie-modal .cookie-category p {
    font-size: 0.9rem;
    color: #666666;
    margin-top: 0.25rem;
    margin-left: 2rem; /* Align with checkbox text */
}

.cookie-modal .cookie-category input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    accent-color: var(--primary-orange); /* Orange checkbox */
}

.cookie-modal .modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 2rem;
}

.cookie-modal .btn-save-selection {
    background-color: var(--primary-orange);
    color: var(--text-light);
    padding: 0.6rem 1.2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.cookie-modal .btn-save-selection:hover {
    background-color: #E07B00;
}

.cookie-modal .btn-close-modal {
    background-color: #CCCCCC;
    color: var(--text-dark);
    padding: 0.6rem 1.2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.cookie-modal .btn-close-modal:hover {
    background-color: #B0B0B0;
}

/* Custom form validation styles */
.form-group input:focus:invalid,
.form-group textarea:focus:invalid,
.form-group select:focus:invalid {
    border-color: #EF4444; /* Red for invalid */
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.form-group input:focus:valid,
.form-group textarea:focus:valid,
.form-group select:focus:valid {
    border-color: #22C55E; /* Green for valid */
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.error-message {
    color: #EF4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none; /* Hidden by default */
}

input:invalid + .error-message,
textarea:invalid + .error-message,
select:invalid + .error-message {
    display: block;
}

/* Swiper for How It Works Section (mobile) */
.how-it-works-swiper {
    overflow: hidden;
    position: relative;
}

.how-it-works-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.how-it-works-slide {
    flex: 0 0 100%;
    width: 100%;
    padding: 1.5rem;
    background-color: var(--light-bg);
    border-radius: 0.75rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.how-it-works-pagination {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 0.75rem;
}

.how-it-works-pagination-dot {
    width: 10px;
    height: 10px;
    background-color: #CCC;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.how-it-works-pagination-dot.active {
    background-color: var(--primary-orange);
}

/* Tooltip styles */
.tooltip-container {
    position: relative;
    display: inline-block;
}

.tooltip-text {
    visibility: hidden;
    opacity: 0;
    background-color: var(--dark-bg);
    color: var(--text-light);
    text-align: center;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    position: absolute;
    z-index: 1;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.3s, visibility 0.3s;
    white-space: nowrap;
    font-size: 0.675rem;
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Arrow for tooltip */
.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%; /* At the bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--dark-bg) transparent transparent transparent;
}/* Container padding for the rights field unit */
.rightsFieldUnit {
    padding-top: 1.5em;    /* Top padding for the content block */
    padding-right: 1em;   /* Right padding for the content block */
    padding-bottom: 1.5em; /* Bottom padding for the content block */
    padding-left: 1em;    /* Left padding for the content block */
}

/* Heading 1 styles within rightsFieldUnit */
.rightsFieldUnit h1 {
    font-size: 1.8em;       /* Moderate font size for main headings */
    margin-top: 1.5em;      /* Space above the heading */
    margin-bottom: 0.75em;  /* Space below the heading */
    font-weight: bold;      /* Bold font weight */
    line-height: 1.2;       /* Line height for readability */
}

/* Heading 2 styles within rightsFieldUnit */
.rightsFieldUnit h2 {
    font-size: 1.5em;       /* Moderate font size for sub-headings */
    margin-top: 1.2em;      /* Space above the heading */
    margin-bottom: 0.6em;   /* Space below the heading */
    font-weight: bold;      /* Bold font weight */
    line-height: 1.3;       /* Line height for readability */
}

/* Heading 3 styles within rightsFieldUnit */
.rightsFieldUnit h3 {
    font-size: 1.3em;       /* Moderate font size for sub-sub-headings */
    margin-top: 1em;        /* Space above the heading */
    margin-bottom: 0.5em;   /* Space below the heading */
    font-weight: bold;      /* Bold font weight */
    line-height: 1.4;       /* Line height for readability */
}

/* Heading 4 styles within rightsFieldUnit */
.rightsFieldUnit h4 {
    font-size: 1.1em;       /* Slightly larger than body text */
    margin-top: 0.8em;      /* Space above the heading */
    margin-bottom: 0.4em;   /* Space below the heading */
    font-weight: bold;      /* Bold font weight */
    line-height: 1.5;       /* Line height for readability */
}

/* Heading 5 styles within rightsFieldUnit */
.rightsFieldUnit h5 {
    font-size: 1em;         /* Same as body text, but bold */
    margin-top: 0.7em;      /* Space above the heading */
    margin-bottom: 0.3em;   /* Space below the heading */
    font-weight: bold;      /* Bold font weight */
    line-height: 1.5;       /* Line height for readability */
}

/* Paragraph styles within rightsFieldUnit */
.rightsFieldUnit p {
    margin-bottom: 1em;     /* Space between paragraphs */
    line-height: 1.6;       /* Improved readability for paragraphs */
}

/* Unordered list styles within rightsFieldUnit */
.rightsFieldUnit ul {
    margin-top: 1em;        /* Space above the list */
    margin-bottom: 1em;     /* Space below the list */
    padding-left: 1.5em;    /* Indentation for bullet points */
    list-style-type: disc;  /* Default bullet style */
}

/* List item styles within rightsFieldUnit */
.rightsFieldUnit li {
    margin-bottom: 0.5em;   /* Space between list items */
    line-height: 1.6;       /* Consistent line height for list items */
}


.text-primary-orange {
    color: var(--primary-orange) !important;
}

.hover-orange {
    &:hover {
        color: var(--primary-orange) !important;
    }
}

body {
    overflow-x: hidden;
}

.stat-items-wrapper {
    gap: 20px;

}
.stat-item  {
    width: 100%;
}

@media screen and (min-width: 757px) {
    .stat-item  {
        width: calc(50% - 20px);
    }
}

@media screen and (min-width: 992px) {
    .stat-item  {
        width: calc(25% - 20px);
    }
}

.rightsFieldUnit {
    a {
        color: var(--primary-orange);
    }
}

footer h3,
footer .company-name {
  color: #000000 !important;
}

footer .company-name,
footer .footer-brand,
footer .brand-title {
  color: #000 !important;
}


footer .text-white {
  color: #000 !important;
}

/* Newsletter input in footer: force white background + dark text */
footer form input[type="email"],
footer form input[type="text"],
footer .newsletter-form input,
footer .subscribe-form input,
footer .stay-updated input,
#newsletter-email {
  background-color: #ffffff !important;
  color: #111111 !important;
  border: 1px solid #d1d5db !important;  /* светло-серая рамка */
  caret-color: #111111 !important;
}

/* placeholder делаем читаемым */
footer form input[type="email"]::placeholder,
footer form input[type="text"]::placeholder,
#newsletter-email::placeholder {
  color: #6b7280 !important;  /* нейтрально-серый */
  opacity: 1 !important;
}

/* фокус — оранжевый обвод, в тон бренду */
footer form input[type="email"]:focus,
footer form input[type="text"]:focus,
#newsletter-email:focus {
  outline: none !important;
  border-color: #ff8c00 !important;            /* var(--primary-orange), если есть */
  box-shadow: 0 0 0 3px rgba(255,140,0,.2) !important;
}
