/* Global Styles */
:root {
    --primary-purple: #6a0dad;
    --secondary-blue: #00bcd4;
    --accent-light-blue: #00e5ff;
    --text-dark: #333;
    --text-light: #f4f4f4;
    --background-light: #ffffff;
    --background-dark: #1a1a2e;
    --shadow-medium: rgba(0, 0, 0, 0.15) 0px 5px 15px;
    --shadow-light: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
    overflow-x: hidden;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-purple);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-purple);
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--secondary-blue);
    border-radius: 2px;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    color: #555;
}

a {
    color: var(--secondary-blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.button {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background-color: var(--secondary-blue);
    color: var(--text-light);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.button:hover {
    background-color: var(--primary-purple);
    transform: translateY(-2px);
    text-decoration: none;
}

.button.secondary-button {
    background-color: #f0f0f0;
    color: var(--primary-purple);
    border: 1px solid var(--primary-purple);
}

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

/* Header */
.header {
    background-color: var(--background-light);
    padding: 1rem 0;
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-purple);
}

.logo-img {
    height: 40px;
    margin-right: 10px;
}

.site-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-purple);
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-list li {
    margin-left: 2rem;
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-blue);
    text-decoration: none;
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary-purple);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
    background-color: var(--primary-purple);
}

.hero-background-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(106, 13, 173, 0.8), rgba(0, 188, 212, 0.8));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    position: relative;
    z-index: 4;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.hero-cta {
    background-color: var(--accent-light-blue);
    color: var(--text-dark);
    font-weight: 600;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-cta:hover {
    background-color: var(--text-light);
    color: var(--primary-purple);
    transform: translateY(-3px);
}

.hero-diagonal-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 50%, var(--primary-purple) 50%);
    clip-path: polygon(0 0, 100% 0, 100% 20%, 0 80%);
    z-index: 0;
    opacity: 0.1;
}

.hero-diagonal-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 50%, var(--secondary-blue) 50%);
    clip-path: polygon(0 20%, 100% 80%, 100% 100%, 0 100%);
    z-index: 0;
    opacity: 0.1;
}

/* About Us Section */
.about-section {
    padding: 5rem 0;
    background-color: var(--background-light);
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--secondary-blue);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    opacity: 1;
    transition: opacity 0.6s ease-in-out;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: var(--primary-purple);
    border: 4px solid var(--secondary-blue);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even)::after {
    left: -16px;
}

.timeline-item-content {
    padding: 20px 30px;
    background-color: var(--background-light);
    position: relative;
    border-radius: 6px;
    box-shadow: var(--shadow-medium);
}

.timeline-year {
    font-weight: 600;
    color: var(--primary-purple);
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.timeline-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-purple);
}

.timeline-description {
    font-size: 0.95rem;
    color: #555;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background-color: #f8f8f8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 320px;
}

.icon-circle {
    width: 70px;
    height: 70px;
    background-color: var(--secondary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.icon-circle i {
    font-size: 2.5rem;
    color: var(--text-light);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--primary-purple);
}

.card-description {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more-button {
    display: inline-flex;
    align-items: center;
    color: var(--secondary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more-button:hover {
    color: var(--primary-purple);
    text-decoration: underline;
}

.read-more-button i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.read-more-button:hover i {
    transform: translateX(5px);
}

/* Key Features Section */
.features-section {
    padding: 5rem 0;
    background-color: var(--background-light);
}

.split-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    justify-content: center;
}

.text-block {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.text-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

.features-image {
    max-width: 100%;
    height: 330px;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
}

.features-list {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.features-list ul {
    list-style: none;
    padding: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.features-list li i {
    color: var(--secondary-blue);
    margin-right: 15px;
    font-size: 1.5rem;
}

/* Pricing Plans Section */
.pricing-section {
    padding: 5rem 0;
    background-color: #f8f8f8;
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    background-color: #e0e0e0;
    border-radius: 50px;
    padding: 5px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.toggle-button {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border: none;
    background-color: transparent;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.toggle-button.active {
    background-color: var(--secondary-blue);
    color: var(--text-light);
    box-shadow: var(--shadow-light);
}

.pricing-plans-container {
    position: relative;
    min-height: 500px; /* Ensure space for plans */
}

.pricing-plans {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.pricing-plans.active {
    display: grid;
    opacity: 1;
    position: relative;
}

.pricing-card {
    background-color: var(--background-light);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-height: 450px;
}

.pricing-card .badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-purple);
    color: var(--text-light);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card .badge.popular {
    background-color: var(--secondary-blue);
}

.pricing-card .badge.new {
    background-color: #ffc107;
}

.pricing-card .card-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-purple);
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-blue);
    margin-bottom: 1.5rem;
}

.pricing-card .price span {
    font-size: 3.5rem;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
    width: 100%;
    flex-grow: 1;
}

.pricing-card ul li {
    margin-bottom: 0.8rem;
    font-size: 1rem;
    color: #555;
    display: flex;
    align-items: center;
}

.pricing-card ul li i {
    margin-right: 10px;
    color: var(--secondary-blue);
    font-size: 1.2rem;
}

.pricing-card ul li i.bi-x-lg {
    color: #dc3545;
}

.pricing-card .cta-button {
    margin-top: auto;
    width: 100%;
}

/* Portfolio Section */
.portfolio-section {
    padding: 5rem 0;
    background-color: var(--background-light);
}

.horizontal-timeline-wrapper {
    overflow-x: auto;
    padding-bottom: 1.5rem;
    margin-top: 3rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-blue) #e0e0e0;
}

.horizontal-timeline-wrapper::-webkit-scrollbar {
    height: 8px;
}

.horizontal-timeline-wrapper::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
}

.horizontal-timeline-wrapper::-webkit-scrollbar-thumb {
    background-color: var(--secondary-blue);
    border-radius: 10px;
    border: 2px solid #e0e0e0;
}

.timeline-track {
    display: flex;
    gap: 2rem;
    padding: 1rem 0;
    position: relative;
}

.timeline-track::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--primary-purple);
    z-index: 0;
    transform: translateY(-50%);
}

.timeline-project-card {
    background-color: var(--background-light);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
    min-width: 300px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.timeline-project-card:hover {
    border-color: var(--secondary-blue);
}

.project-thumbnail {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.project-year {
    font-weight: 600;
    color: var(--secondary-blue);
    margin-bottom: 0.5rem;
    display: block;
}

.project-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-purple);
}

.project-description {
    font-size: 0.9rem;
    color: #666;
}

/* Industries We Serve Section */
.industries-section {
    padding: 5rem 0;
    background-color: #f8f8f8;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-button {
    padding: 0.7rem 1.5rem;
    border: 1px solid var(--primary-purple);
    background-color: transparent;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-purple);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.filter-button:hover {
    background-color: var(--primary-purple);
    color: var(--text-light);
}

.filter-button.active {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
    color: var(--text-light);
}

.industry-info-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.industry-block {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 250px;
}

.industry-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.industry-title {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--primary-purple);
}

.industry-description {
    font-size: 0.95rem;
    color: #666;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background-color: var(--background-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.2rem 1.5rem;
    background-color: var(--background-light);
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-purple);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f0f0f0;
}

.faq-question i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-answer.open {
    max-height: 200px; /* Arbitrary large value, adjust if content is much larger */
    padding: 1rem 1.5rem 1.5rem;
}

.faq-answer p {
    font-size: 1rem;
    color: #555;
    margin-top: 0;
    margin-bottom: 0;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-blue));
    color: var(--text-light);
}

.contact-section .section-title {
    color: var(--text-light);
}

.contact-section .section-title::after {
    background-color: var(--accent-light-blue);
}

.contact-section .section-description {
    color: var(--text-light);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--background-light);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.2);
}

.form-group textarea {
    resize: vertical;
}

.form-group .error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
}

.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
}

.form-group input:invalid:not(:placeholder-shown) + .error-message,
.form-group select:invalid:not(:placeholder-shown) + .error-message {
    display: block;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding-top: 4rem;
    position: relative;
    z-index: 100;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-block h4 {
    color: var(--secondary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-block .logo-brand .site-name {
    color: var(--text-light);
}

.footer-block .logo-brand .logo-img {
    filter: brightness(0) invert(1);
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #ccc;
}

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

.footer-block ul li {
    margin-bottom: 0.8rem;
}

.footer-block ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-block ul li a:hover {
    color: var(--secondary-blue);
    text-decoration: underline;
}

.footer-bottom {
    background-color: #111;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
    border-top: 1px solid #333;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--background-light);
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
    padding: 1.5rem;
    max-width: 350px;
    z-index: 2000;
    display: none;
    flex-direction: column;
    gap: 1rem;
}

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

.cookie-banner h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    color: var(--primary-purple);
}

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

.cookie-banner p a {
    color: var(--secondary-blue);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.cookie-banner .button {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
    border-radius: 5px;
}

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

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

.cookie-modal-content {
    background-color: var(--background-light);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
    max-width: 500px;
    width: 90%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-modal-content h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--primary-purple);
}

.cookie-modal-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.5rem;
}

.cookie-modal .close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #888;
    cursor: pointer;
    transition: color 0.3s ease;
}

.cookie-modal .close-button:hover {
    color: var(--primary-purple);
}

.cookie-category {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.cookie-category:last-of-type {
    border-bottom: none;
    margin-bottom: 2rem;
}

.cookie-category h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-purple);
    flex-basis: 100%;
    margin-bottom: 0.5rem;
}

.cookie-category p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
    flex-basis: calc(100% - 70px);
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
}

input:checked + .slider {
    background-color: var(--secondary-blue);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--secondary-blue);
}

input:checked + .slider:before {
    transform: translateX(22px);
}

.slider.round {
    border-radius: 28px;
}

.slider.round:before {
    border-radius: 50%;
}

input:disabled + .slider {
    opacity: 0.6;
    cursor: not-allowed;
}

#save-cookie-preferences {
    width: 100%;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
}

/* Responsive Design */

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--background-light);
        box-shadow: var(--shadow-medium);
        padding: 1rem 0;
        z-index: 999;
        transform: translateY(-100%);
        transition: transform 0.3s ease-out;
    }

    .nav-list.active {
        display: flex;
        transform: translateY(0);
    }

    .nav-list li {
        margin: 0;
        text-align: center;
        padding: 0.8rem 0;
        border-bottom: 1px solid #eee;
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        display: block;
    }

    .burger-menu {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .timeline-container::after {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 15px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::after,
    .timeline-item:nth-child(even)::after {
        left: 18px;
    }

    .services-grid, .pricing-plans, .industry-info-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .split-layout {
        flex-direction: column;
    }

    .text-block, .features-list {
        max-width: 100%;
    }

    .footer-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .cookie-banner {
        bottom: 10px;
        right: 10px;
        max-width: 300px;
        padding: 1rem;
    }

    .cookie-banner h3 {
        font-size: 1.1rem;
    }

    .cookie-banner p {
        font-size: 0.8rem;
    }

    .cookie-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cookie-banner .button {
        width: 100%;
    }

    .cookie-modal-content {
        padding: 2rem;
        width: 95%;
    }

    .cookie-modal-content h3 {
        font-size: 1.3rem;
    }
}

/* Mobile (less than 768px) */
@media (max-width: 767px) {
    .container {
        padding: 0 1rem;
    }

    .site-name {
        font-size: 1.5rem;
    }

    .logo-img {
        height: 35px;
    }

    .hero-section {
        height: 60vh;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-description {
        font-size: 0.9rem;
    }

    .timeline-container::after {
        left: 15px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 40px;
        padding-right: 10px;
    }

    .timeline-item::after,
    .timeline-item:nth-child(even)::after {
        left: -10px;
        width: 20px;
        height: 20px;
        top: 18px;
    }

    .timeline-year {
        font-size: 1rem;
    }

    .timeline-title {
        font-size: 1.1rem;
    }

    .services-grid, .pricing-plans, .industry-info-container {
        grid-template-columns: 1fr;
    }

    .service-card, .pricing-card, .industry-block {
        padding: 1.5rem;
        min-height: auto;
    }

    .icon-circle {
        width: 60px;
        height: 60px;
    }

    .icon-circle i {
        font-size: 2rem;
    }

    .card-title {
        font-size: 1.3rem;
    }

    .pricing-card .price {
        font-size: 2rem;
    }

    .pricing-card .price span {
        font-size: 3rem;
    }

    .features-list li {
        font-size: 1rem;
    }

    .features-list li i {
        font-size: 1.3rem;
    }

    .horizontal-timeline-wrapper {
        margin-left: -1rem;
        margin-right: -1rem;
        width: calc(100% + 2rem);
        padding: 1rem 1rem 1.5rem;
    }

    .timeline-project-card {
        min-width: 220px;
        width: 100%;
    }

    .filter-button {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1rem;
    }

    .faq-answer.open {
        padding: 0.8rem 1rem 1rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input, .form-group select, .form-group textarea {
        padding: 0.7rem;
        font-size: 0.9rem;
    }

    .submit-button {
        padding: 0.9rem;
        font-size: 1rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-block h4 {
        margin-top: 2rem;
    }

    .footer-block .logo-brand {
        justify-content: center;
    }

    .cookie-banner {
        max-width: calc(100% - 20px);
        left: 10px;
        right: 10px;
    }

    .cookie-modal-content {
        padding: 1.5rem;
    }

    .cookie-category p {
        flex-basis: 100%;
        margin-top: 0.5rem;
    }

    .cookie-category label.switch {
        order: -1;
        margin-right: 10px;
    }
}
/*
 * New stock styles for elements within .infoGuardBlock
 * All comments are in English as requested.
 */

/* Main container styling for spacing */
.infoGuardBlock {
    margin-top: 30px; /* Top margin for separation from previous content */
    padding: 25px 30px; /* Internal padding for content on all sides */
    /* You might want to add background-color, border, or max-width here if needed */
}

/* Heading styles - Not too large, well-proportioned */
.infoGuardBlock h1 {
    font-size: 26px; /* Main heading, clear but not oversized */
    line-height: 1.2;
    margin-top: 0; /* Reset default browser margin-top if it's the first element */
    margin-bottom: 20px; /* Space below the heading */
    font-weight: 600; /* Slightly bolder */
}

.infoGuardBlock h2 {
    font-size: 22px; /* Secondary heading */
    line-height: 1.3;
    margin-top: 25px; /* Space above if following other content */
    margin-bottom: 15px;
    font-weight: 600;
}

.infoGuardBlock h3 {
    font-size: 20px; /* Tertiary heading */
    line-height: 1.4;
    margin-top: 20px;
    margin-bottom: 12px;
    font-weight: 500; /* Medium bold */
}

.infoGuardBlock h4 {
    font-size: 18px; /* Fourth level heading */
    line-height: 1.5;
    margin-top: 18px;
    margin-bottom: 10px;
    font-weight: 500;
}

.infoGuardBlock h5 {
    font-size: 16px; /* Fifth level heading, similar to paragraph size but distinct */
    line-height: 1.6;
    margin-top: 15px;
    margin-bottom: 8px;
    font-weight: 500;
}

/* Paragraph styles */
.infoGuardBlock p {
    font-size: 16px; /* Standard paragraph font size for readability */
    line-height: 1.6; /* Good line height for text blocks */
    margin-top: 0; /* Reset default browser margin-top */
    margin-bottom: 1em; /* Space between paragraphs */
}

/* Unordered list styles */
.infoGuardBlock ul {
    list-style-type: disc; /* Standard bullet points */
    margin-top: 1em; /* Space above the list */
    margin-bottom: 1em; /* Space below the list */
    padding-left: 25px; /* Indentation for bullet points */
}

/* List item styles */
.infoGuardBlock li {
    font-size: 16px; /* Consistent font size with paragraphs */
    line-height: 1.6; /* Readability for list items */
    margin-bottom: 0.5em; /* Space between individual list items */
}

/* Remove bottom margin from the last list item to prevent extra space */
.infoGuardBlock li:last-child {
    margin-bottom: 0;
}


section{
    overflow: hidden;
}

@media(max-width: 575px){
    .pricing-toggle{
        flex-direction: column;
        background-color: transparent;
    }
}

#cookie-modal h3{
    margin-top: 20px;
}