/* External webfonts */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --primary-dark: #1d2c01;
    --primary-green: #95d362fc;
    --text-light: #ffffff;
    --bg-light: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--primary-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}


/* Ensure all text on white backgrounds is dark */
p, h1, h2, h3, h4, h5, h6, li, span, div {
    color: inherit;
}

/* Force dark text on white backgrounds */
.white-bg, 
.card, 
.card-content,
.form-container,
.feature-item,
.faq-item,
.faq-answer,
.review-card {
    color: var(--primary-dark) !important;
}

.white-bg p,
.white-bg h1,
.white-bg h2,
.white-bg h3,
.white-bg h4,
.white-bg h5,
.white-bg h6,
.white-bg li,
.card p,
.card h1,
.card h2,
.card h3,
.card h4,
.card h5,
.card h6,
.card li,
.card ul,
.form-container p,
.form-container h1,
.form-container h2,
.form-container h3,
.form-container li,
.form-container ul,
.feature-item p,
.feature-item h3,
.feature-item h4,
.feature-item li,
.feature-item ul,
.faq-answer p,
.faq-answer li,
.faq-answer ul,
.review-card p,
.review-card li,
.review-card ul {
    color: var(--primary-dark) !important;
}

/* Lists on white backgrounds */
.card ul li,
.form-container ul li,
.feature-item ul li,
.faq-answer ul li,
.review-card ul li,
.section-light ul li {
    color: var(--primary-dark) !important;
}

/* Ensure all text elements have proper color inheritance */
.section-light,
.section-light p,
.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4,
.section-light h5,
.section-light h6,
.section-light li,
.section-light ul,
.section-light span:not(.icon-large):not(.card-title):not(.review-author) {
    color: var(--primary-dark) !important;
}

.section-light a:not(.hero-btn):not(.cookie-btn):not(.btn-submit) {
    color: var(--primary-green) !important;
}

.section-light .card-title {
    color: var(--primary-green) !important;
 
}

.section-light .section-title {
    color: var(--primary-dark) !important;
}

/* Keep CTA headings readable on dark inline CTA blocks */
.section-light .cta-inline h2,
.section-light .cta-inline h3 {
    color: #fff !important;
}

/* Cards with any light background */
.card {
    background: white;
}

.card-content {
    color: var(--primary-dark);
}

.card-content *:not(.card-title):not(.icon-large):not(a):not(button):not(.review-author) {
    color: var(--primary-dark) !important;
}

.card-content p,
.card-content li,
.card-content ul,
.card-content h1:not(.card-title),
.card-content h2:not(.card-title),
.card-content h3:not(.card-title),
.card-content h4:not(.card-title),
.card-content h5:not(.card-title),
.card-content h6:not(.card-title) {
    color: var(--primary-dark) !important;
}

/* Specific fixes for pricing cards */
.card[style*="#f9f9f9"] .card-content,
.card[style*="#f9f9f9"] .card-content *:not(.card-title):not(.icon-large):not(a):not(button) {
    color: var(--primary-dark) !important;
}
 
/* Header & Navigation */
header {
    background-color: var(--primary-dark);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

nav {
    background-color: transparent !important;
    box-shadow: none !important;
}

.nav-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.brand-logo {
    color: var(--primary-green) !important;
    font-weight: bold;
    font-size: 1.5rem !important;
}

nav ul a {
    color: var(--text-light) !important;
    font-size: 1rem;
    padding: 0 15px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

nav ul a:hover {
    background-color: var(--primary-green) !important;
    color: var(--primary-dark) !important;
}

/* Language switcher (UA / EN) */
nav ul li.nav-lang {
    display: flex;
    align-items: center;
    margin-left: 4px;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(78, 172, 1, 0.4);
}

.lang-switcher .lang-link {
    color: var(--text-light) !important;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.5rem !important;
    border-radius: 8px;
    line-height: 1.2;
    text-decoration: none !important;
}

.lang-switcher a.lang-link:hover {
    background-color: var(--primary-green) !important;
    color: var(--primary-dark) !important;
}

.lang-switcher .lang-current {
    color: var(--primary-green) !important;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    cursor: default;
    letter-spacing: 0.04em;
}

.lang-sep {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.7rem;
    user-select: none;
    padding: 0 0.05rem;
}

.lang-switcher--mobile {
    justify-content: center;
    margin: 0.35rem 10px 0.75rem;
    padding: 0.65rem 1rem;
}

.sidenav .divider.sidenav-divider-lang {
    margin: 12px 16px;
    background-color: rgba(255, 255, 255, 0.12);
}

.sidenav li.sidenav-lang {
    margin-bottom: 8px;
}

.sidenav li.sidenav-lang .lang-switcher .lang-link {
    padding: 0.35rem 0.65rem !important;
}

/* Mobile Menu */
.sidenav {
    background-color: var(--primary-dark);
}

.sidenav a {
    color: var(--text-light) !important;
    padding: 15px 20px;
    border-radius: 25px;
    margin: 5px 10px;
}

.sidenav a:hover {
    background-color: var(--primary-green);
    color: var(--primary-dark) !important;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(29, 44, 1, 0.7), rgba(29, 44, 1, 0.7)), url('../../image/background.jpg') center/cover;
    color: var(--text-light);
    text-align: center;
    padding: 80px 20px;
}

/* Blog page hero with background video */
.hero.hero-video {
    background: linear-gradient(rgba(29, 44, 1, 0.7), rgba(29, 44, 1, 0.7)), url('../../image/picture.jpg') center/cover;
    min-height: 600px;
    padding: 80px 20px;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(29, 44, 1, 0.7), rgba(29, 44, 1, 0.7));
    z-index: 1;
}

.hero.hero-video .hero-content {
    position: relative;
    z-index: 2;
}

/* Hero with photo only (blog and other pages) */
.hero.hero-photo {
    background: linear-gradient(rgba(29, 44, 1, 0.7), rgba(29, 44, 1, 0.7)), url('../../image/background.jpg') center/cover;
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.hero-btn {
    background-color: var(--primary-green);
    color: var(--primary-dark);
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.hero-btn:hover {
    background-color: var(--text-light);
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(78, 172, 1, 0.5);
}

/* Sections */
section {
    padding: 60px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 3rem;
    font-weight: bold;
}

/* Contrasting Background Sections */
.section-light {
    background-color: var(--bg-light);
    color: var(--primary-dark);
}

.section-dark {
    background-color: var(--primary-dark);
    color: var(--text-light);
}

.section-green {
    background-color: var(--primary-green);
    color: var(--primary-dark);
}

/* What landing pages are for — shared image/background.jpg */
#what-for.section-green {
    background-color: var(--primary-green);
    background-image: linear-gradient(rgba(65, 65, 65, 0.5), rgba(255, 255, 255, 0)), url('../../image/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-green p,
.section-green h1,
.section-green h2,
.section-green h3,
.section-green h4,
.section-green h5,
.section-green h6,
.section-green li,
.section-green ul,
.section-green .section-title {
    color: var(--primary-dark) !important;
}

/* Blog: Popular topics icons & equal height cards */
.popular-topics-section .icon-large {
    color: #000000 !important;
}

.popular-topics-section .row {
    display: flex;
    flex-wrap: wrap;
}

.popular-topics-section .row .col {
    display: flex;
}

.popular-topics-section .row .col .card {
    flex: 1;
}

.section-green a:not(.hero-btn):not(.cookie-btn):not(.btn-submit) {
    color: var(--primary-dark) !important;
    text-decoration: underline;
}

/* Cards */
.card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
    background: white;
    color: var(--primary-dark);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.card-content {
    padding: 25px;
    color: var(--primary-dark);
}

.card-title {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Icons */
.icon-large {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 20px;
    display: block;
}

.section-dark .icon-large,
.section-green .icon-large {
    color: var(--text-light);
}

/* Form Styles (Tailwind) */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    color: var(--primary-dark);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    color: var(--primary-dark) !important;
    background: white !important;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    opacity: 1;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

/* Materialize / Tailwind часто ховають нативний checkbox — показуємо у наших формах */
.form-container .checkbox-group input[type="checkbox"] {
    position: static !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 1.2rem !important;
    height: 1.2rem !important;
    min-width: 1.2rem !important;
    min-height: 1.2rem !important;
    margin: 4px 10px 0 0 !important;
    flex-shrink: 0;
    pointer-events: auto !important;
    z-index: auto !important;
    clip: auto !important;
    clip-path: none !important;
    -webkit-appearance: checkbox !important;
    appearance: auto !important;
    accent-color: var(--primary-green);
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--primary-dark);
}

/* Згода в формі: чорний текст. Специфічність вища за .section-light a / .section-green a (!important) */
.section-light .form-container .checkbox-group label,
.section-light .form-container .checkbox-group label a[href],
.section-green .form-container .checkbox-group label,
.section-green .form-container .checkbox-group label a[href] {
    color: #000000 !important;
}

.section-light .form-container .checkbox-group label a[href],
.section-green .form-container .checkbox-group label a[href] {
    text-decoration: underline;
}

.form-container .form-consent {
    padding: 14px 16px;
    background: rgba(78, 172, 1, 0.1);
    border: 1px solid rgba(78, 172, 1, 0.35);
    border-radius: 8px;
}

.form-container .form-consent label {
    cursor: pointer;
    line-height: 1.45;
}

.btn-submit {
    width: 100%;
    background-color: var(--primary-green);
    color: var(--primary-dark);
    padding: 15px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--primary-dark);
    color: var(--text-light);
    transform: scale(1.02);
}

/* Features Grid — fixed columns like UA: 4 → 2 → 1; equal row heights */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
    align-items: stretch;
}

/* Narrow column (e.g. services sidebar): 2×2, not 4 squeezed columns */
.features-grid.features-grid-extra {
    grid-template-columns: repeat(2, 1fr);
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    color: var(--primary-dark);
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.feature-item .icon-large {
    flex-shrink: 0;
}

.feature-item h3,
.feature-item h4 {
    flex-shrink: 0;
    color: var(--primary-dark);
}

.feature-item p {
    color: var(--primary-dark);
    flex-grow: 1;
    margin-bottom: 0;
}

@media screen and (max-width: 992px) {
    .features-grid:not(.features-grid-extra) {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid.features-grid-extra {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .features-grid.features-grid-extra {
        grid-template-columns: 1fr;
    }
}

/* FAQ */
.faq-item {
    background: white;
    color: var(--primary-dark);
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 20px;
    background-color: var(--primary-green);
    color: var(--primary-dark);
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 20px;
    color: var(--primary-dark);
    display: none;
}

.faq-answer.active {
    display: block;
}

/* Reviews */
.review-card {
    background: white;
    color: var(--primary-dark);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.review-card p {
    color: var(--primary-dark);
}

.review-author {
    font-weight: bold;
    color: var(--primary-green);
    margin-top: 15px;
}

/* Equal-height card rows (Materialize cols + flex). Product tabs excluded — same as UA (float grid). */
#advantages .row,
#reviews .row,
#what-for .row,
.about-mission-section .row,
.services-main-section .row,
.pricing-tiers-section .row,
section.section-dark .row.text-center {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

#advantages .row > .col,
#reviews .row > .col,
#what-for .row > .col,
.about-mission-section .row > .col,
.services-main-section .row > .col,
.pricing-tiers-section .row > .col,
section.section-dark .row.text-center > .col {
    float: none;
    display: flex;
}

#reviews .row > .col {
    margin-bottom: 24px;
}

#advantages .card,
.services-main-section .card,
.pricing-tiers-section .card {
    width: 100%;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

#advantages .card .card-content,
.services-main-section .card .card-content,
.pricing-tiers-section .card .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pricing-tiers-section .card .card-content .hero-btn {
    margin-top: auto;
}

#reviews .review-card {
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

section.section-dark .row.text-center .card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

section.section-dark .row.text-center .card .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.about-mission-section .card.mission-card {
    width: 100%;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.about-mission-section .mission-card .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 40px 20px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: var(--primary-green);
    margin-bottom: 15px;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.telegram-icon {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-right: 10px;
}

.footer-section p.footer-messengers a {
    display: inline;
    margin-bottom: 0;
    color: var(--primary-green);
    text-decoration: underline;
}

.footer-section p.footer-messengers a:hover {
    color: #ffffff;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    z-index: 10000;
    display: none;
}

.cookie-banner.active {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    min-width: 250px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-btn {
    padding: 10px 25px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cookie-accept {
    background-color: var(--primary-green);
    color: var(--primary-dark);
}

.cookie-accept:hover {
    background-color: var(--text-light);
}

.cookie-decline {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.cookie-decline:hover {
    background-color: var(--text-light);
    color: var(--primary-dark);
}

/* Images */
.content-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 3px 15px rgba(0,0,0,0.2);
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .form-container {
        padding: 25px 15px;
    }
    
    .tabs-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .tab-btn {
        width: 100%;
        justify-content: center;
    }
    
    .stats-box {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .feature-card-interactive {
        margin-bottom: 20px;
    }
    
    .tech-stack,
    .tech-benefits {
        margin-bottom: 20px;
    }
    
    .purpose-card-interactive {
        padding: 30px 20px;
    }
    
    .purpose-icon-container {
        width: 100px;
        height: 100px;
    }
    
    .purpose-icon {
        font-size: 3rem;
    }
    
    .purpose-hover-effect {
        padding: 20px;
    }
    
    .purpose-mini-card {
        margin-bottom: 20px;
    }
    
    .benefits-list-interactive {
        padding: 25px 20px;
        margin-top: 20px;
    }
    
    .list-item-animated {
        padding: 15px;
    }
    
    .overlay-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .included-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .included-icon-wrapper {
        margin: 0 auto 15px;
    }
    
    .included-content {
        margin-bottom: 15px;
    }
    
    .included-check {
        margin: 0 auto;
    }
    
    .included-item:hover {
        transform: translateY(-5px);
    }
}

@media screen and (max-width: 320px) {
    .hero {
        min-height: 400px;
        padding: 40px 15px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    section {
        padding: 40px 15px;
    }
    
    .form-container {
        padding: 20px 10px;
    }
    
    nav ul a {
        padding: 0 10px;
        font-size: 0.9rem;
    }
    
    .cookie-content {
        padding: 15px;
    }
    
    .cookie-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

/* Interactive Product Description Styles */
.product-tabs {
    margin-top: 40px;
}

.tabs-header {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    border-bottom: 3px solid #e0e0e0;
    padding-bottom: 20px;
}

.tab-btn {
    background: white;
    color: var(--primary-dark);
    border: 2px solid #e0e0e0;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-btn:hover {
    background: var(--primary-green);
    color: var(--primary-dark);
    border-color: var(--primary-green);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(78, 172, 1, 0.3);
}

.tab-btn.active {
    background: var(--primary-green);
    color: var(--primary-dark);
    border-color: var(--primary-green);
    box-shadow: 0 5px 20px rgba(78, 172, 1, 0.4);
}

.tabs-content {
    position: relative;
    min-height: 400px;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Interactive Image */
.interactive-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
}

.interactive-img {
    transition: transform 0.5s ease;
    width: 100%;
    height: auto;
}

.interactive-image-wrapper:hover .interactive-img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(29, 44, 1, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.interactive-image-wrapper:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
}

.overlay-content i {
    font-size: 4rem;
    margin-bottom: 15px;
    display: block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Stats Box */
.stats-box {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--primary-dark);
    font-size: 1rem;
    font-weight: 500;
}

/* Interactive Feature Cards */
.features-interactive {
    margin-top: 30px;
}

/* Product overview → Features tab: 3 equal columns, equal card height per row */
#features .features-interactive .row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 20px;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#features .features-interactive .row > .col {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    left: auto !important;
    right: auto !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
}

#features .features-interactive .feature-card-interactive {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    height: 100%;
    margin-bottom: 0;
    box-sizing: border-box;
}

#features .features-interactive .feature-card-interactive > p {
    flex-grow: 1;
}

@media screen and (max-width: 992px) {
    #features .features-interactive .row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 600px) {
    #features .features-interactive .row {
        grid-template-columns: minmax(0, 1fr);
    }

    #features .features-interactive .feature-card-interactive {
        margin-bottom: 0;
    }
}

.feature-card-interactive {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.feature-card-interactive::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(78, 172, 1, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card-interactive:hover::before {
    left: 100%;
}

.feature-card-interactive:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(78, 172, 1, 0.3);
    border: 2px solid var(--primary-green);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), #5fc501);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.feature-card-interactive:hover .feature-icon-wrapper {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 5px 20px rgba(78, 172, 1, 0.5);
}

.feature-icon-wrapper i {
    font-size: 2.5rem;
    color: var(--primary-dark);
}

.feature-card-interactive h4 {
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card-interactive p {
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 20px;
}

.feature-hover-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.feature-card-interactive:hover .feature-hover-content {
    max-height: 200px;
}

.feature-hover-content ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.feature-hover-content li {
    color: var(--primary-dark);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.feature-hover-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

/* Technology Stack */
.tech-stack {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.tech-stack h3 {
    color: var(--primary-dark);
    margin-bottom: 30px;
    text-align: center;
}

.tech-item {
    margin-bottom: 25px;
}

.tech-name {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--primary-dark);
    font-weight: 500;
}

.tech-name i {
    font-size: 1.5rem;
    color: var(--primary-green);
}

.tech-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.tech-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-green), #5fc501);
    border-radius: 10px;
    width: 0;
    transition: width 1.5s ease;
    position: relative;
}

.tech-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.tech-benefits {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.tech-benefits h3 {
    color: var(--primary-dark);
    margin-bottom: 30px;
    text-align: center;
}

.benefit-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: var(--primary-green);
    transform: translateX(10px);
}

.benefit-item i {
    font-size: 2rem;
    color: var(--primary-green);
    flex-shrink: 0;
}

.benefit-item:hover i {
    color: var(--primary-dark);
}

.benefit-item h4 {
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.benefit-item p {
    color: var(--primary-dark);
    margin: 0;
}

/* Benefit Cards */
.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    margin-bottom: 30px;
}

.benefit-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 15px 40px rgba(78, 172, 1, 0.4);
    border: 2px solid var(--primary-green);
}

.benefit-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-green), #5fc501);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
}

.benefit-card:hover .benefit-icon {
    transform: rotate(360deg);
    box-shadow: 0 10px 30px rgba(78, 172, 1, 0.6);
}

.benefit-icon i {
    font-size: 2.5rem;
    color: var(--primary-dark);
}

.benefit-card h4 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.benefit-card p {
    color: var(--primary-dark);
    margin: 0;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-center * {
    color: inherit;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.p-20 {
    padding: 20px;
}

/* Global text color fixes for white backgrounds */
div[style*="background"]:not([style*="dark"]):not([style*="primary-dark"]):not([style*="#1d2c01"]) p,
div[style*="background"]:not([style*="dark"]):not([style*="primary-dark"]):not([style*="#1d2c01"]) h1,
div[style*="background"]:not([style*="dark"]):not([style*="primary-dark"]):not([style*="#1d2c01"]) h2,
div[style*="background"]:not([style*="dark"]):not([style*="primary-dark"]):not([style*="#1d2c01"]) h3,
div[style*="background"]:not([style*="dark"]):not([style*="primary-dark"]):not([style*="#1d2c01"]) h4,
div[style*="background"]:not([style*="dark"]):not([style*="primary-dark"]):not([style*="#1d2c01"]) li {
    color: var(--primary-dark) !important;
}

/* Purpose Cards Interactive Styles */
.purpose-card-interactive {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.purpose-card-interactive::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(78, 172, 1, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.purpose-card-interactive:hover::before {
    opacity: 1;
}

.purpose-card-interactive:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(78, 172, 1, 0.3);
    border: 2px solid var(--primary-green);
}

.purpose-icon-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.purpose-icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-green), #5fc501);
    border-radius: 50%;
    transform: scale(0.8);
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(78, 172, 1, 0.3);
}

.purpose-card-interactive:hover .purpose-icon-bg {
    transform: scale(1.1) rotate(180deg);
    box-shadow: 0 15px 40px rgba(78, 172, 1, 0.5);
}

.purpose-icon {
    position: relative;
    font-size: 3.5rem;
    color: var(--primary-dark);
    z-index: 2;
    transition: all 0.4s ease;
}

.purpose-card-interactive:hover .purpose-icon {
    transform: scale(1.2) rotate(-15deg);
    color: white;
}

.icon-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-green);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
    opacity: 0;
}

.purpose-card-interactive:hover .icon-pulse {
    opacity: 1;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.purpose-content {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 2;
}

.purpose-content h3 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.purpose-content p {
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.6;
}

.purpose-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.stat-badge {
    background: linear-gradient(135deg, var(--primary-green), #5fc501);
    color: var(--primary-dark);
    padding: 8px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 3px 10px rgba(78, 172, 1, 0.3);
    transition: all 0.3s ease;
}

.stat-badge i {
    font-size: 1rem;
    display: inline-block;
    color: var(--primary-dark);
    opacity: 1;
    visibility: visible;
}

.purpose-card-interactive:hover .stat-badge {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(78, 172, 1, 0.5);
}

.stat-text {
    color: var(--primary-dark);
    font-size: 0.9rem;
    font-weight: 500;
}

.purpose-hover-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, var(--primary-green), rgba(78, 172, 1, 0.9));
    padding: 30px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 20px 20px 0 0;
}

.purpose-card-interactive:hover .purpose-hover-effect {
    transform: translateY(0);
    z-index: 11;
}

.hover-content {
    color: var(--primary-dark);
}

.hover-content h4 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.hover-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hover-content li {
    color: var(--primary-dark);
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hover-content li i {
    color: var(--primary-dark);
    font-size: 1rem;
}

/* Mini Purpose Cards */
.purpose-mini-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    height: 100%;
    cursor: pointer;
}

.purpose-mini-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(78, 172, 1, 0.3);
    border: 2px solid var(--primary-green);
}

.mini-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-green), #5fc501);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.purpose-mini-card:hover .mini-icon-wrapper {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 5px 20px rgba(78, 172, 1, 0.5);
}

.mini-icon-wrapper i {
    font-size: 2rem;
    color: var(--primary-dark);
}

.purpose-mini-card h4 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.purpose-mini-card p {
    color: var(--primary-dark);
    font-size: 0.9rem;
    margin: 0;
}

/* Interactive Image Box — backing same height as photo, unified hover */
.interactive-image-box {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    height: fit-content;
    align-self: flex-start; /* col is flex: don't stretch to match taller sibling column */
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(155deg, rgba(78, 172, 1, 0.14) 0%, rgba(29, 44, 1, 0.1) 55%, rgba(29, 44, 1, 0.06) 100%);
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(78, 172, 1, 0.2);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    cursor: pointer;
}

.interactive-image-box:hover {
    box-shadow:
        0 22px 48px rgba(0, 0, 0, 0.28),
        0 0 0 2px rgba(78, 172, 1, 0.5);
    transform: translateY(-6px);
}

.interactive-image-box > img,
.interactive-image-box img.content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
}

.interactive-img-zoom {
    width: 100%;
    height: auto;
    transition: transform 0.55s ease;
    display: block;
}

.interactive-image-box:hover .interactive-img-zoom {
    transform: scale(1.08);
}

.image-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(29, 44, 1, 0.95), transparent);
    padding: 30px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.interactive-image-box:hover .image-info-overlay {
    transform: translateY(0);
}

.overlay-stats {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.overlay-stat-item {
    text-align: center;
}

.overlay-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-green);
    margin-bottom: 5px;
}

.overlay-label {
    color: white;
    font-size: 0.9rem;
}

/* Interactive Benefits List */
.benefits-list-interactive {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    height: 100%;
}

.benefits-list-interactive h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.benefits-list-interactive > p {
    color: var(--primary-dark);
    margin-bottom: 30px;
    line-height: 1.8;
}

.interactive-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.list-item-animated {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border-left: 4px solid transparent;
}

.list-item-animated:hover {
    background: var(--primary-green);
    transform: translateX(10px);
    border-left-color: var(--primary-dark);
    box-shadow: 0 5px 20px rgba(78, 172, 1, 0.3);
}

.list-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.list-item-animated:hover .list-icon {
    background: var(--primary-dark);
    transform: rotate(360deg) scale(1.1);
}

.list-icon i {
    font-size: 1.5rem;
    color: var(--primary-dark);
    transition: all 0.3s ease;
}

.list-item-animated:hover .list-icon i {
    color: var(--primary-green);
}

.list-content {
    flex: 1;
}

.list-content h4 {
    color: var(--primary-dark);
    margin-bottom: 5px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.list-item-animated:hover .list-content h4 {
    color: var(--primary-dark);
    font-weight: bold;
}

.list-content p {
    color: var(--primary-dark);
    margin: 0;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

    .list-item-animated:hover .list-content p {
        color: var(--primary-dark);
    }

/* Included Features Interactive Listings */
.included-title {
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: bold;
}

.included-features-container {
    margin-top: 30px;
}

.included-list-interactive {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.included-item {
    background: white;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-left: 5px solid transparent;
}

.included-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(78, 172, 1, 0.1), transparent);
    transition: left 0.5s ease;
}

.included-item:hover::before {
    left: 100%;
}

.included-item:hover {
    transform: translateX(10px) translateY(-5px);
    box-shadow: 0 10px 30px rgba(78, 172, 1, 0.3);
    border-left-color: var(--primary-green);
    background: linear-gradient(to right, rgb(178, 234, 133), white);
}

.included-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), #5fc501);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(78, 172, 1, 0.3);
    position: relative;
}

.included-item:hover .included-icon-wrapper {
    transform: rotate(360deg) scale(1.15);
    box-shadow: 0 8px 25px rgba(78, 172, 1, 0.5);
}

.included-icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary-green);
    opacity: 0;
    transform: scale(1);
    transition: all 0.4s ease;
}

.included-item:hover .included-icon-wrapper::after {
    opacity: 1;
    transform: scale(1.3);
    animation: ripple 1s infinite;
}

@keyframes ripple {
    0% {
        transform: scale(1.3);
        opacity: 1;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.included-icon-wrapper i {
    font-size: 1.8rem;
    color: var(--primary-dark);
    z-index: 2;
    position: relative;
    transition: all 0.3s ease;
}

.included-item:hover .included-icon-wrapper i {
    color: white;
    transform: scale(1.1);
}

.included-content {
    flex: 1;
    min-width: 0;
}

.included-content h4 {
    color: var(--primary-dark);
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.included-item:hover .included-content h4 {
    color: var(--primary-green);
    transform: translateX(5px);
}

.included-content p {
    color: var(--primary-dark);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.included-item:hover .included-content p {
    opacity: 1;
    color: var(--primary-dark);
}

.included-check {
    width: 40px;
    height: 40px;
    background: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
    position: relative;
}

.included-item:hover .included-check {
    background: var(--primary-green);
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 5px 15px rgba(78, 172, 1, 0.5);
}

.included-check i {
    font-size: 1.5rem;
    color: var(--primary-green);
    transition: all 0.3s ease;
}

.included-item:hover .included-check i {
    color: var(--primary-dark);
    transform: scale(1.2);
}

/* Staggered animation for items */
.included-item:nth-child(1) {
    animation-delay: 0.1s;
}

.included-item:nth-child(2) {
    animation-delay: 0.2s;
}

.included-item:nth-child(3) {
    animation-delay: 0.3s;
}

.included-item:nth-child(4) {
    animation-delay: 0.4s;
}

.included-item:nth-child(5) {
    animation-delay: 0.5s;
}

.included-item:nth-child(6) {
    animation-delay: 0.6s;
}

/* Add entrance animation */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.included-item {
    animation: slideInFromLeft 0.6s ease-out forwards;
    opacity: 0;
}

/* ========== About page: Наша історія, Наша місія, Чому обирають нас ========== */

.about-history-section .about-section-heading {
    color: var(--primary-dark);
    margin-bottom: 1.25rem;
}

.about-history-text {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.about-history-section .history-image-box {
    border-radius: 20px;
}

.history-timeline {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.75rem;
}

.history-step {
    flex: 1;
    min-width: 90px;
    padding: 1rem 1.25rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-left: 4px solid var(--primary-green);
    cursor: pointer;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.history-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(78, 172, 1, 0.25);
    border-left-width: 6px;
}

.history-year {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-green);
}

.history-label {
    font-size: 0.9rem;
    color: var(--primary-dark);
}

/* Наша місія — іконки в кругах */
.about-mission-section .mission-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-mission-section .mission-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(78, 172, 1, 0.2);
}

.mission-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, var(--primary-green), #5fc501);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.mission-icon-wrapper i {
    font-size: 2.25rem;
    color: var(--primary-dark);
}

.about-mission-section .mission-card:hover .mission-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(78, 172, 1, 0.5);
}

.about-mission-section .card-content h3 {
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.about-mission-section .card-content p {
    color: var(--primary-dark);
}

/* Чому обирають нас — інтерактивні блоки */
.about-why-section .why-choose-block {
    padding: 0;
    box-shadow: none;
    background: transparent;
}

.about-why-section .why-choose-list {
    margin-top: 1.5rem;
}

/* ========== Services page: Основні послуги, Додаткові послуги, Процес роботи ========== */

/* Основні послуги — чорні заголовки в картках */
.services-main-section .card-title.card-title-dark {
    color: var(--primary-dark) !important;
}

/* Додаткові послуги — іконки в кругах */
.services-extra-section .feature-item-with-icon {
    position: relative;
}

.feature-item-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-green), #5fc501);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item-icon i {
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.services-extra-section .feature-item-with-icon:hover .feature-item-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(78, 172, 1, 0.4);
}

.services-extra-section .feature-item h4,
.services-extra-section .feature-item p {
    color: var(--primary-dark) !important;
}

/* Процес роботи — однакова висота ітемів */
.process-section .process-steps-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.process-section .process-steps-row .col {
    display: flex;
}

.process-step-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.process-step-card .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 220px;
}

.process-step-num {
    font-size: 3rem;
    color: var(--primary-green);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.process-step-card .card-content h4 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.process-step-card .card-content p {
    color: var(--primary-dark);
    margin: 0;
}

/* ========== Portfolio: демо з portfolio-demos (прев’ю + посилання) ========== */

.portfolio-demos-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.portfolio-demos-row > .col {
    display: flex;
}

.portfolio-demo-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 24px;
}

.portfolio-demo-thumb {
    display: block;
    overflow: hidden;
    line-height: 0;
    background: #e8e8e8;
}

.portfolio-demo-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.35s ease;
}

.portfolio-demo-thumb:hover img,
.portfolio-demo-thumb:focus-visible img {
    transform: scale(1.03);
}

.portfolio-demo-card .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-demo-list {
    margin-top: 12px;
    margin-bottom: 16px;
    padding-left: 20px;
    font-size: 0.9rem;
    flex: 1;
}

.portfolio-demo-btn {
    margin-top: auto;
    align-self: flex-start;
    text-align: center;
}

.portfolio-real-intro {
    text-align: center;
    max-width: 720px;
    margin: -1.5rem auto 2.5rem;
    color: var(--primary-dark);
    font-size: 1.05rem;
    line-height: 1.6;
}

.portfolio-by-sector .industries-intro,
.portfolio-by-sector .industries-desc {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-sector-card {
    position: relative;
}

.portfolio-sector-tag {
    display: block;
    padding: 10px 16px 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary-green);
}

.portfolio-sector-card .portfolio-demo-thumb {
    margin-top: 4px;
}

/* ========== Portfolio: інтерактивна секція Галузі ========== */

.industries-section .industries-intro {
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.industries-section .industries-desc {
    color: var(--primary-dark);
    margin-bottom: 2rem;
    max-width: 700px;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.industry-item {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.industry-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(78, 172, 1, 0.25);
    border-color: var(--primary-green);
}

.industry-item-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), #5fc501);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.industry-item:hover .industry-item-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 6px 20px rgba(78, 172, 1, 0.5);
}

.industry-item-icon i {
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.industry-item h4 {
    color: var(--primary-dark);
    font-size: 1.05rem;
    margin: 0;
    font-weight: 600;
    transition: color 0.3s ease;
}

.industry-item:hover h4 {
    color: var(--primary-green);
}

/* ========== Pricing: Що входить у вартість — дизайн лістінгу ========== */

.pricing-included-section .pricing-included-subtitle {
    color: var(--primary-green);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.pricing-included-section .included-list-pricing {
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.pricing-included-section .included-item h4,
.pricing-included-section .included-item p {
    color: var(--primary-dark) !important;
}

.pricing-included-image-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.pricing-included-section .pricing-included-img {
    display: block;
    width: 100%;
    height: auto;
}

/* Green headings unified weight */
.section-light .card-title,
.section-title,
.footer-section h4,
.feature-card-interactive h4,
.tech-stack h3,
.tech-benefits h3,
.benefit-item h4,
.benefit-card h4,
.purpose-content h3,
.hover-content h4,
.purpose-mini-card h4,
.benefits-list-interactive h3,
.list-content h4,
.list-item-animated:hover .list-content h4,
.included-content h4,
.included-item:hover .included-content h4,
.about-mission-section .card-content h3,
.process-step-card .card-content h4,
.industry-item:hover h4 {
    font-weight: 600 !important;
}

/* Inline green headings (legacy markup) */
h1[style*="#4eac01"],
h2[style*="#4eac01"],
h3[style*="#4eac01"],
h4[style*="#4eac01"],
h5[style*="#4eac01"],
h6[style*="#4eac01"],
h1[style*="var(--primary-green)"],
h2[style*="var(--primary-green)"],
h3[style*="var(--primary-green)"],
h4[style*="var(--primary-green)"],
h5[style*="var(--primary-green)"],
h6[style*="var(--primary-green)"] {
    font-weight: 600 !important;
}

/* Final global heading normalization across all pages */
h2,
.section-title,
h2.section-title,
.card-content h2 {
    font-size: 1.75rem !important;
    line-height: 1.3 !important;
}

h3,
.card-title,
h3.card-title,
.card-content h3 {
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
}

h4,
.card-content h4,
.footer-section h4,
.process-step-card .card-content h4 {
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
}

@media (max-width: 768px) {
    h2,
    .section-title,
    h2.section-title,
    .card-content h2 {
        font-size: 1.5rem !important;
    }

    h3,
    .card-title,
    h3.card-title,
    .card-content h3 {
        font-size: 1.2rem !important;
    }

    h4,
    .card-content h4,
    .footer-section h4,
    .process-step-card .card-content h4 {
        font-size: 1.2rem !important;
    }
}
