/* frontend/style.css */

/* Google Fonts (Inter) initialization */
body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Custom Utility Classes */
.btn-primary {
    @apply inline-block bg-[#E94560] text-white px-8 py-4 rounded-full font-bold text-lg shadow-lg
    hover:bg-[#c2364d] transform hover:scale-105 transition-all duration-300 ease-in-out;
}

.btn-secondary {
    @apply inline-block bg-transparent border-2 border-[#FFD700] text-[#FFD700] px-8 py-4 rounded-full font-bold text-lg
    hover:bg-[#FFD700] hover:text-[#1A1A2E] transform hover:scale-105 transition-all duration-300 ease-in-out;
}

/* Hero Section Specifics */
#hero {
    position: relative;
    min-height: 100vh; /* Ensure it takes full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center; /* Default for mobile */
}

@media (min-width: 768px) {
    #hero {
        text-align: left;
    }
}

/* Animation for Hero elements */
.animate-fade-in-up-1 {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}
.animate-fade-in-up-2 {
    animation: fadeInUp 1s ease-out forwards 0.3s;
    opacity: 0;
    transform: translateY(20px);
}
.animate-fade-in-up-3 {
    animation: fadeInUp 1s ease-out forwards 0.6s;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service Card Hover Effect */
.service-card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Feature Tag Hover Effect */
.feature-tag {
    transition: transform 0.2s ease-in-out;
}

/* Portfolio Card Hover Effect */
.portfolio-card .portfolio-overlay {
    background: linear-gradient(to top, rgba(26, 26, 46, 0.9) 0%, rgba(26, 26, 46, 0) 100%);
}

/* Portfolio Modal Animations */
#portfolio-modal.hidden {
    display: none;
}
#portfolio-modal.show {
    display: flex;
    opacity: 1;
}
#portfolio-modal.show > div {
    transform: scale(1);
}

/* FAQ Item Accordion Icon Rotation */
.faq-item i.fa-chevron-down {
    transform: rotate(0deg);
    transition: transform 0.3s ease-in-out;
}
.faq-item.active i.fa-chevron-down {
    transform: rotate(180deg);
}

/* FAQ Answer Slide Down */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
}
.faq-answer.show {
    max-height: 200px; /* Adjust based on expected content height */
    opacity: 1;
}

/* Testimonial Card Hover Effect */
.testimonial-card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

/* Footer Tile Hover Effect */
.footer-tile a {
    transition: color 0.3s ease-in-out;
}

/* How It Works Slider Indicators */
#how-it-works-slider .indicator.active-indicator {
    background-color: #E94560;
    transform: scale(1.2);
}

/* Form Input Focus */
input:focus, textarea:focus, select:focus {
    border-color: #E94560;
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.3);
}

/* Cookie Banner Animations */
#cookie-banner.show {
    transform: translateY(0); /* показать */
}
#cookie-banner {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
}

/* Cookie Modal Animations */
#cookie-modal.show {
    display: flex;
    opacity: 1;
}
#cookie-modal.show > div {
    transform: scale(1);
}

#cookie-modal {
    opacity: 0;
    transition: opacity 0.3s ease-out;
}
#cookie-modal > div {
    transition: transform 0.3s ease-out;
}

/* Mobile Menu Animations */
#mobile-menu.show {
    transform: translateX(0);
}
/* New styles for .complianceVaultNode and its children */

/* Base container padding and max-width */
.complianceVaultNode {
    padding-top: 4rem; /* Top padding for the section */
    padding-bottom: 4rem; /* Bottom padding for the section */
    padding-left: 1.5rem; /* Left padding for smaller screens */
    padding-right: 1.5rem; /* Right padding for smaller screens */
    max-width: 1200px; /* Maximum content width to center the section */
    margin-left: auto; /* Center the container horizontally */
    margin-right: auto; /* Center the container horizontally */
}

@media (min-width: 768px) {
    .complianceVaultNode {
        padding-left: 3rem; /* Increased left padding for larger screens */
        padding-right: 3rem; /* Increased right padding for larger screens */
    }
}

/* Heading styles */
.complianceVaultNode h1 {
    font-size: 2.5rem; /* Large heading for main titles */
    line-height: 1.2; /* Line height for readability */
    font-weight: 700; /* Bold font weight */
    color: #1A1A2E; /* Dark text color, matching theme */
    margin-top: 2.5rem; /* Top margin for spacing */
    margin-bottom: 1.5rem; /* Bottom margin for spacing */
}

.complianceVaultNode h2 {
    font-size: 2rem; /* Sub-heading */
    line-height: 1.3;
    font-weight: 700;
    color: #1A1A2E;
    margin-top: 2rem;
    margin-bottom: 1.25rem;
}

.complianceVaultNode h3 {
    font-size: 1.75rem; /* Section titles */
    line-height: 1.4;
    font-weight: 600; /* Semi-bold font weight */
    color: #1A1A2E;
    margin-top: 1.75rem;
    margin-bottom: 1rem;
}

.complianceVaultNode h4 {
    font-size: 1.5rem; /* Sub-section titles */
    line-height: 1.5;
    font-weight: 600;
    color: #1A1A2E;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.complianceVaultNode h5 {
    font-size: 1.25rem; /* Smallest heading */
    line-height: 1.6;
    font-weight: 500; /* Medium font weight */
    color: #1A1A2E;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Paragraph styles */
.complianceVaultNode p {
    font-size: 1rem; /* Base paragraph font size */
    line-height: 1.7; /* Increased line height for better readability */
    color: #4A4A68; /* Slightly lighter dark color for body text */
    margin-bottom: 1.25rem; /* Spacing between paragraphs */
}

/* Unordered list styles */
.complianceVaultNode ul {
    list-style-type: disc; /* Default bullet style */
    margin-left: 1.5rem; /* Indent for list items */
    margin-bottom: 1.25rem; /* Spacing after the list */
    color: #4A4A68; /* Inherit color from paragraph for consistency */
}

/* List item styles */
.complianceVaultNode ul li {
    font-size: 1rem; /* List item font size */
    line-height: 1.7; /* Consistent line height with paragraphs */
    margin-bottom: 0.75rem; /* Spacing between list items */
}

/* Responsive adjustments for headings and text on smaller screens */
@media (max-width: 767px) {
    .complianceVaultNode h1 {
        font-size: 2rem; /* Smaller h1 on mobile */
        margin-top: 2rem;
        margin-bottom: 1rem;
    }
    .complianceVaultNode h2 {
        font-size: 1.75rem; /* Smaller h2 on mobile */
        margin-top: 1.75rem;
        margin-bottom: 1rem;
    }
    .complianceVaultNode h3 {
        font-size: 1.5rem; /* Smaller h3 on mobile */
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
    }
    .complianceVaultNode h4 {
        font-size: 1.25rem; /* Smaller h4 on mobile */
        margin-top: 1.25rem;
        margin-bottom: 0.5rem;
    }
    .complianceVaultNode h5 {
        font-size: 1.125rem; /* Smaller h5 on mobile */
        margin-top: 1rem;
        margin-bottom: 0.4rem;
    }
    .complianceVaultNode p,
    .complianceVaultNode ul li {
        font-size: 0.9375rem; /* Slightly smaller body text on mobile */
        margin-bottom: 1rem;
    }
    .complianceVaultNode ul {
        margin-left: 1rem; /* Reduced indent for lists on mobile */
    }
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding-top: 0;
    padding-bottom: 0;
    text-align: start !important;
}

.faq-answer.show {
    padding-top: 1rem; /* mt-4 эквивалент */
    padding-bottom: 1rem;
}

.last-of-coms{
    margin-top: 20px;
    width: 100%;
}

@media (min-width: 576px){
    .last-of-coms{
        width: 50%;
        margin: 20px auto 0;
    }
}

footer{
    .text-gray-400{
        color: #fff !important;
    }
}

.complianceVaultNode,
.privacy-policy{
    h1, h2, h3, h4, h5, p, ul, li {
        color: #fff !important;
    }
}

.last-info{
    height: 100%;
  align-items: center;
  justify-content: center !important;
}