/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #0A0A1E; /* Deep space blue */
    color: #E0E0E0; /* Light grey for standard text */
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Standard text color to ensure readability */
p, li, a, span, label {
    color: #E0E0E0;
}

h1, h2, h3, h4, h5, h6 {
    color: #FFFFFF; /* White for headings */
}

/* Future-themed Gradient for headings/highlights */
.gradient-text {
    background: linear-gradient(45deg, #00C6FF, #0072FF, #8E44AD); /* Blue to Purple */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* Custom Backgrounds */
.bg-dark-gradient {
    background: linear-gradient(135deg, #0A0A1E, #1A0F2D); /* Dark blue to dark purple */
}

.bg-dark-light {
    background-color: #1A1A30; /* Slightly lighter dark blue for cards/elements */
}

.bg-dark-overlay {
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay for images */
}

/* Buttons */
.btn-primary {
    background-color: #0072FF;
    border-color: #0072FF;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: #0056CC;
    border-color: #0056CC;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 114, 255, 0.3);
}

.btn-outline-light {
    border-color: #E0E0E0;
    color: #E0E0E0;
    transition: all 0.3s ease;
}
.btn-outline-light:hover {
    background-color: #E0E0E0;
    color: #0A0A1E;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(224, 224, 224, 0.1);
}

/* Form Controls */
.form-control-dark, .form-select.form-control-dark {
    background-color: #1A1A30;
    border: 1px solid #333;
    color: #E0E0E0;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-control-dark::placeholder {
    color: #888;
}
.form-control-dark:focus, .form-select.form-control-dark:focus {
    background-color: #1A1A30;
    border-color: #0072FF;
    box-shadow: 0 0 0 0.25rem rgba(0, 114, 255, 0.25);
    color: #E0E0E0;
}
.form-check-input:checked {
    background-color: #0072FF;
    border-color: #0072FF;
}
.form-check-input:focus {
    border-color: #0072FF;
    box-shadow: 0 0 0 0.25rem rgba(0, 114, 255, 0.25);
}
.form-check-input.is-invalid ~ .form-check-label {
    color: #dc3545;
}

/* Header */
.fixed-top-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030; /* Above cookie banner if cookie banner is 1020 */
    background: linear-gradient(135deg, #0A0A1E, #1A0F2D); /* Match footer gradient */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.logo-text {
    text-decoration: none;
    transition: color 0.3s ease;
}
.logo-text:hover {
    color: #00C6FF !important;
}

/* Cookie Banner */
.cookie-banner {
    background-color: #1A1A30; /* Dark background */
    color: #E0E0E0;
    z-index: 1040; /* Higher than fixed header */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid #333;
}
.cookie-banner a {
    color: #00C6FF;
}
.cookie-banner a:hover {
    color: #0072FF;
}

/* Cookie Modal */
.modal-content {
    background-color: #1A1A30; /* Match cookie banner dark background */
    border: none;
}
.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%); /* Make close button white */
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 120px; /* Adjust for fixed header and cookie banner */
    padding-bottom: 60px;
    background-image: url(uploads/media/Man-Using-Sitting-Mobile-In-Darkroom-Phone-While.jpg); /* Background image for the whole section */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay */
    z-index: 0;
}
.hero-image-container {
    background-color: rgba(26, 26, 48, 0.7); /* Semi-transparent dark background */
    backdrop-filter: blur(5px); /* Frosted glass effect */
    border: 1px solid rgba(0, 114, 255, 0.3);
}
.hero-input {
    max-width: 350px;
}
.hero-cta {
    min-width: 150px;
}

/* About Section */
.about-section {
    background-color: #0A0A1E;
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
}
.story-map-container {
    background-color: #1A1A30;
    border-radius: 15px;
    padding: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid #333;
}
.story-map-image {
    width: 100%;
    height: auto;
    opacity: 0.7; /* Make the map image subtle */
}
.story-pin {
    position: absolute;
    background-color: #0072FF;
    border: 2px solid #00C6FF;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 114, 255, 0.5);
    z-index: 10;
}
.story-pin:hover {
    transform: scale(1.1);
    background-color: #00C6FF;
    box-shadow: 0 0 20px rgba(0, 198, 255, 0.7);
}
/* Positioning for example pins - adjust as needed */
.pin-1 { top: 10%; left: 15%; }
.pin-2 { top: 30%; right: 20%; }
.pin-3 { bottom: 20%; left: 30%; }
.pin-4 { top: 60%; right: 10%; }


/* Features Section */
.features-section {
    background: linear-gradient(135deg, #1A0F2D, #0A0A1E); /* Reverse gradient */
    padding-top: 80px;
    padding-bottom: 80px;
}
.feature-card {
    background-color: #1A1A30;
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 114, 255, 0.2);
}
.feature-icon-wrapper {
    width: 100%;
    height: 150px; /* Fixed height for image consistency */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    background-color: rgba(0, 114, 255, 0.1); /* Subtle background for the image area */
    margin-bottom: 1rem;
}
.feature-img {
    max-height: 100%;
    width: auto;
    object-fit: contain; /* Ensure image fits without distortion */
}

/* Pricing Section */
.pricing-section {
    background-color: #0A0A1E;
    padding-top: 80px;
    padding-bottom: 80px;
}
.pricing-toggle .nav-link {
    background-color: #1A1A30;
    color: #E0E0E0;
    border: 1px solid #333;
    border-radius: 0.5rem;
    margin: 0 5px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}
.pricing-toggle .nav-link.active,
.pricing-toggle .nav-link:hover {
    background-color: #0072FF;
    border-color: #0072FF;
    color: white;
}
.pricing-card {
    background-color: #1A1A30;
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 114, 255, 0.2);
}
.pricing-card .card-header {
    border-bottom: none;
}
.popular-plan {
    border: 2px solid #FFC107; /* Highlight for popular plan */
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
}
.popular-plan .btn-info {
    background-color: #17A2B8;
    border-color: #17A2B8;
}
.popular-plan .btn-info:hover {
    background-color: #138496;
    border-color: #138496;
}
.pricing-card ul li {
    color: #E0E0E0; /* Ensure list items are readable */
}

/* Industries Section */
.industries-section {
    background: linear-gradient(45deg, #0A0A1E, #1A0F2D);
    padding-top: 80px;
    padding-bottom: 80px;
}
.genre-item {
    background-color: #1A1A30;
    border: 1px solid #333;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    height: 150px; /* Fixed height for consistent grid */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: default; /* Indicate it's not a clickable link */
}
.genre-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 114, 255, 0.2);
    border-color: #0072FF;
}
.genre-icon {
    line-height: 1; /* Ensure icon is centered vertically */
}
.hover-reveal-wrapper {
    position: relative;
    overflow: hidden;
}
.hover-reveal-text {
    position: absolute;
    bottom: -100%; /* Start off-screen */
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px 5px;
    transition: bottom 0.3s ease;
    color: #E0E0E0;
}
.genre-item:hover .hover-reveal-text {
    bottom: 0; /* Slide up on hover */
}
.genre-item h4 {
    margin-top: 0.5rem;
    transition: transform 0.3s ease;
}
.genre-item:hover h4 {
    transform: translateY(-10px); /* Move title up slightly */
}


/* Stats Section */
.stats-section {
    background-image: url(uploads/media/With-Person-Mouse-A-Is-Keyboard-A-Playing-In-Their-Background-And-A-Phone-On-Game-The.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    position: relative;
    padding-top: 100px;
    padding-bottom: 100px;
}
.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dark overlay */
    z-index: 0;
}
.stat-item {
    background-color: rgba(26, 26, 48, 0.8); /* Semi-transparent dark blue */
    backdrop-filter: blur(3px);
    border: 1px solid rgba(0, 114, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 114, 255, 0.3);
}
.stat-item p {
    color: #E0E0E0; /* Ensure text is readable */
}

/* How It Works Section */
.how-it-works-section {
    background-color: #1A0F2D;
    padding-top: 80px;
    padding-bottom: 80px;
}
.process-step {
    position: relative;
    padding: 20px;
    background-color: #1A1A30;
    border-radius: 10px;
    border: 1px solid #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    height: 100%; /* Ensure cards are same height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.process-arrow {
    font-size: 3rem;
    color: #0072FF;
    opacity: 0.5;
}
/* Hide arrows on smaller screens */
@media (max-width: 767.98px) {
    .process-arrow {
        display: none !important;
    }
    .process-flow .col-md-4 {
        margin-bottom: 20px; /* Add vertical spacing */
    }
}

/* Testimonials Section */
.testimonials-section {
    background-color: #0A0A1E;
    padding-top: 80px;
    padding-bottom: 80px;
}
.testimonial-carousel-wrapper {
    position: relative;
    max-width: 800px; /* Limit carousel width */
    margin: 0 auto;
}
.testimonial-carousel {
    display: flex;
    overflow: hidden; /* Hide extra slides */
    position: relative;
}
.testimonial-slide {
    min-width: 100%; /* Each slide takes full width */
    transition: transform 0.0s; /* Instant transition */
    display: none; /* Hidden by default, JS manages active */
}
.testimonial-slide.active {
    display: block;
}
.testimonial-card {
    max-width: 600px;
    background-color: #1A1A30;
    border: 1px solid #333;
}
@media (max-width:575px) {
    .testimonial-card{
        max-width: 270px;
    }
}
.testimonial-avatar {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border: 3px solid #0072FF;
    box-shadow: 0 0 15px rgba(0, 114, 255, 0.3);
}
.testimonial-nav-btn {
    font-size: 1.2rem;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.testimonial-nav-btn:hover {
    background-color: #0072FF;
    border-color: #0072FF;
    color: white;
}

/* Contact Form Section */
.contact-form-section {
    background: linear-gradient(135deg, #1A0F2D, #0A0A1E);
    padding-top: 80px;
    padding-bottom: 80px;
}
.form-control-dark {
    background-color: #1A1A30;
    border-color: #333;
    color: #E0E0E0;
}
.form-control-dark:focus {
    border-color: #0072FF;
    box-shadow: 0 0 0 0.25rem rgba(0, 114, 255, 0.25);
}
.submit-btn {
    background-color: #00C6FF;
    border-color: #00C6FF;
}
.submit-btn:hover {
    background-color: #0072FF;
    border-color: #0072FF;
}

/* Footer Section */
.footer-section {
    background: linear-gradient(135deg, #1A0F2D, #0A0A1E); /* Dark blue to dark purple */
    padding-top: 60px;
    padding-bottom: 30px;
    border-top: 1px solid #333;
}
.footer-section a {
    color: #E0E0E0;
    transition: color 0.3s ease;
}
.footer-section a:hover, .hover-primary:hover {
    color: #00C6FF !important;
}
.newsletter-input {
    background-color: #1A1A30;
    border-color: #333;
    color: #E0E0E0;
}
.newsletter-input::placeholder {
    color: #888;
}
.newsletter-input:focus {
    border-color: #0072FF;
    box-shadow: 0 0 0 0.25rem rgba(0, 114, 255, 0.25);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        text-align: center;
        padding-top: 100px;
    }
    .hero-input {
        max-width: 100%;
    }
    .hero-cta {
        width: 100%;
    }
    .hero-image-container {
        margin-top: 3rem;
    }
    .process-flow .col-md-4 {
        margin-bottom: 2rem;
    }
    .process-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
}

@media (max-width: 767.98px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    .display-3 {
        font-size: 2.5rem;
    }
    .display-4 {
        font-size: 2rem;
    }
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-banner p {
        margin-bottom: 10px;
    }
    .cookie-banner .btn {
        width: 100%;
        margin-bottom: 5px;
    }
}/* Parent container for lawMatrixNode content */
.lawMatrixNode {
    padding-top: 80px; /* Top padding for the section */
    padding-bottom: 80px; /* Bottom padding for the section */
    padding-left: 20px; /* Left padding for content */
    padding-right: 20px; /* Right padding for content */
    max-width: 1200px; /* Limit content width for readability */
    margin-left: auto; /* Center the content horizontally */
    margin-right: auto; /* Center the content horizontally */
}

/* Heading styles */
.lawMatrixNode h1 {
    font-size: 2.5rem; /* Main heading size, not excessively large */
    margin-top: 2rem; /* Top margin for heading */
    margin-bottom: 1rem; /* Bottom margin for heading */
    line-height: 1.2; /* Line height for readability */
    font-weight: 600; /* Slightly bolder for emphasis */
    color: #FFFFFF; /* White color for headings, matching overall theme */
}

.lawMatrixNode h2 {
    font-size: 2rem; /* Sub-heading size */
    margin-top: 1.8rem; /* Top margin for sub-heading */
    margin-bottom: 0.9rem; /* Bottom margin for sub-heading */
    line-height: 1.3; /* Line height for readability */
    font-weight: 500; /* Medium weight */
    color: #FFFFFF; /* White color for headings */
}

.lawMatrixNode h3 {
    font-size: 1.75rem; /* Section title size */
    margin-top: 1.6rem; /* Top margin for section title */
    margin-bottom: 0.8rem; /* Bottom margin for section title */
    line-height: 1.4; /* Line height for readability */
    font-weight: 500; /* Medium weight */
    color: #FFFFFF; /* White color for headings */
}

.lawMatrixNode h4 {
    font-size: 1.5rem; /* Sub-section title size */
    margin-top: 1.4rem; /* Top margin for sub-section title */
    margin-bottom: 0.7rem; /* Bottom margin for sub-section title */
    line-height: 1.5; /* Line height for readability */
    font-weight: 400; /* Regular weight */
    color: #FFFFFF; /* White color for headings */
}

.lawMatrixNode h5 {
    font-size: 1.25rem; /* Minor heading size */
    margin-top: 1.2rem; /* Top margin for minor heading */
    margin-bottom: 0.6rem; /* Bottom margin for minor heading */
    line-height: 1.6; /* Line height for readability */
    font-weight: 400; /* Regular weight */
    color: #FFFFFF; /* White color for headings */
}

/* Paragraph styles */
.lawMatrixNode p {
    font-size: 1.1rem; /* Base font size for paragraphs */
    margin-bottom: 1rem; /* Bottom margin for paragraphs */
    line-height: 1.7; /* Line height for better readability */
    color: #E0E0E0; /* Light grey for standard text, matching overall theme */
}

/* Unordered list styles */
.lawMatrixNode ul {
    list-style-type: disc; /* Default disc style for unordered lists */
    margin-top: 1rem; /* Top margin for lists */
    margin-bottom: 1rem; /* Bottom margin for lists */
    padding-left: 25px; /* Indentation for list items */
    color: #E0E0E0; /* Ensure list items inherit the text color */
}

/* List item styles */
.lawMatrixNode li {
    font-size: 1.1rem; /* Font size for list items, matching paragraph text */
    margin-bottom: 0.5rem; /* Spacing between individual list items */
    line-height: 1.6; /* Line height for list items */
    color: #E0E0E0; /* Light grey for list items */
}
.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  left: 20px;
  background: #1e1035;
  color: #fff;
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  font-family: Arial, sans-serif;
  display: none; /* скрыт по умолчанию */
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  z-index: 1000;
}

.cookie-banner p {
  margin: 0;
  font-size: 14px;
  flex: 1;
}

.cookie-link {
  color: #38bdf8;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn-accept {
  background: linear-gradient(90deg, #ec4899, #8b5cf6);
  border: none;
  padding: 8px 16px;
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
}

.btn-disable {
  background: #000;
  border: 1px solid #444;
  padding: 8px 16px;
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}
.fw-light{
    color: white!important;
}
 .newsletter-form{
    gap: 5px;
 }
@media (min-width:768px) and (max-width:1000px) {
    .newsletter-form{
        gap: 5px;
    flex-direction: column;
}
}
