/* General Styles */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    background-color: #f4f4f9;
}

/* Header Styles */
header {
    background: rgba(0, 0, 0, 0);
    color: #fff;
    padding: 1em 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 95%;
    margin: 0 auto;
    padding: 0 1em;
}

.logo {
    height: 150px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5em;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #37414f;
}

/* Hero Section Styles */
.hero {
    background: url('assets/hero-section/hero-background.png') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 16em;
    position: relative;
}

.hero-content {
    z-index: 1;
    max-width: 100%;
    animation: fadeIn 2s ease-in;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 80px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.text-content {
    max-width: 60%;
    text-align: center;
}

.text-content h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
    color: #eeeeee;
    margin-top: 0.5em;
}

.text-content h2 {
    font-size: 1.2em;
    margin-bottom: 1em;
    color: #ffffff;
    font-weight: normal !important;
}

.text-content p {
    font-size: 1.2em;
    margin-bottom: 1em;
    color: #ffffff;
}

.results-list {
    list-style: none;
    padding: 0;
    margin: 1em auto;
    text-align: center;
}

.results-list .checkmark {
    color: #ffffff;
    margin-right: 0.5em;
    font-size: 1.5em;
}

.cta-button {
    background: #5d568f;
    color: #fff;
    padding: 0.75em 1.5em;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.5em; 
    font-weight: bold;
    transition: background 0.3s ease;
    cursor: pointer;
    display: inline-block;
    margin-top: 1em;
    text-align: center;
}

.cta-button:hover {
    background: #222831;
}

#cta-home {
    background-color: #5d568f; /* Change to the blue color you need */
    color: #fff;
    padding: 1em 2em; /* Adjust padding to make it more spacious */
    border-radius: 50px; /* Rounder corners */
    text-align: center;
    display: inline-block;
    font-size: 1.5em !important; /* Font size for the main text */
    font-weight: bold;
    transition: background 0.3s ease;
    cursor: pointer;
    margin-top: 0.5em;
}

#cta-home .cta-subtext {
    display: block;
    font-size: 0.6em !important; /* Adjust font size for the subtext */
    color: #fff;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    font-weight: lighter;
}

#cta-home:hover {
    background-color: #655caa; /* Darker blue on hover */
}

.cta-subtext {
    margin-top: 0.5em;
    font-size: 0.75em !important; 
    color: #ccc;
}

.image-content img {
    max-width: 100%;
    height: auto;
}

/* Problem/Solution Section Styles */
.problem-solution {
    padding: 4em 16em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: url('assets/background-gray.png') no-repeat center center/cover;
}

.problem-solution-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-width: 90%;
    margin-inline: auto;
}

.problem-solution .video-content iframe {
    width: 736px;
    max-width: 736px;
    height: 414px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.problem-solution .text-content {
    max-width: 50%;
    margin-left: 8em;
}

.problem-solution .text-content h2 {
    font-size: 2.5em;
    margin-bottom: 1em;
    font-weight: bold !important;
    color: #333;
}

.problem-solution .text-content p {
    font-size: 1.2em;
    margin-bottom: 1em;
    color: #333;
}

.problem-solution .text-content .main-pain-point {
    font-size: 1.4em;
    color: #333;
}

/* Benefits Section Styles */
.benefits {
    padding: 1em 16em;
    text-align: center;
    background: #fff;
}

.benefits h2 {
    font-size: 2.5em;
    margin-bottom: 1em;
    margin-top: 0;
}

.benefits-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3em;
    justify-content: center;
}

.benefit {
    flex: 1 1 calc(30% - 4em);
    max-width: calc(30% - 4em);
    background: #f4f4f9;
    border-radius: 10px;
    padding: 2em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.benefit img {
    max-width: 100px;
    height: auto;
    margin-bottom: 1em;
}

.benefit h3 {
    font-size: 1.5em;
    margin-top: 0;
}

.benefit p {
    font-size: 1.1em;
    color: #555;
}

/* Testimonials Section Styles */
.testimonials {
    padding: 1em 16em;
    text-align: center;
    background: url('assets/background-gray.png') no-repeat center center/cover;
    background-size: 100% 100%;
}

.testimonials h2 {
    font-size: 2.5em;
    margin-bottom: 1em;
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3em;
    justify-content: center;
}

.testimonial {
    flex: 1 1 calc(30% - 4em);
    max-width: calc(30% - 4em);
    background: #fff;
    border-radius: 10px;
    padding: 2em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.testimonial p {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 1em;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h3 {
    font-size: 1.1em;
    margin: 0;
    color: #333;
}

.testimonial-author p {
    margin: 0;
    color: #ff9800;
    font-size: 1.2em;
}

.reviews-footer {
    margin-top: 2em;
    font-size: 1.2em;
    color: #333;
}

.reviews-footer img {
    width: 50px;
    height: auto;
    vertical-align: middle;
}

/* Services Section Styles */
#services {
    padding: 2em 16em;
    text-align: center;
    background: #fff;
}

#services h2 {
    font-size: 2.5em;
    margin-bottom: 1em;
    margin-top: 0;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3em;
    justify-content: center;
}

.service {
    background: #f4f4f9;
    border-radius: 10px;
    padding: 2em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(20% - 4em);
    max-width: calc(20% - 4em);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.service img {
    max-width: 8em;
    height: auto;
    border-radius: 10px;
}

.service h3 {
    font-size: 1.5em;
    margin-top: 1em;
}

/* Quiz Section Styles */
.quiz-section {
    padding: 4em 16em;
    background: #ffffff;
    text-align: center;
}

.quiz-section h2 {
    font-size: 2.5em;
    margin-bottom: 1em;
}

.quiz-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2em;
}

.quiz-text {
    flex: 1;
    max-width: 500px;
}

.quiz-text p, .quiz-text ul {
    text-align: left;
    margin-bottom: 1em;
    font-size: 1.2em;
}

.quiz-form {
    flex: 1;
    max-width: 500px;
    background: #f4f4f9;
    border-radius: 10px;
    padding: 2em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.quiz-form label, .quiz-form select {
    display: block;
    margin-bottom: 1em;
    font-size: 1em;
}

.quiz-form button {
    background: #37414f;
    color: #fff;
    padding: 0.75em 1.5em;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1.2em;
    transition: background 0.3s ease;
    cursor: pointer;
}

.quiz-form button:hover {
    background: #222831;
}

#quiz-result {
    margin-top: 2em;
    font-size: 1.2em;
    font-weight: bold;
}

a.cta-button {
    font-weight: 600;
    font-size: 1.2em;
}

/* About Us Section Styles */
.about-us {
    padding: 4em 16em;
    background: url('assets/background-gray.png') no-repeat center center/cover;
    align-self: center;
}

.about-us .about-content {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 3.5em; /* Further decrease gap between text and image */
    max-width: 60%;
    margin: auto;
}

.about-us .about-content .text-content {
    flex: 1;
    color: #333;
    max-width: 600px; /* Limit width for better readability */
}

.about-us .about-content .text-content h2 {
    color: #333 !important;
    font-weight: bold !important;
    font-size: 2.5em;
    margin-bottom: 1em;
}

.about-us .about-content .text-content p {
    color: #333 !important;
    line-height: 1.6; /* Better line spacing for readability */
    margin-bottom: 1.5em;
}

.about-us .about-content .signatures {
    display: flex;
    justify-content: space-between;
    margin-top: 2em;
}

.about-us .about-content .signatures div {
    text-align: left;
}

.about-us .about-content .signatures p {
    margin: 0;
}

.about-us .about-content .image-content {
    flex: 1;
    max-width: 500px; /* Limit width for better layout */
    text-align: center;
}

.about-us .about-content .image-content img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Team Section Styles */
#team {
    padding: 4em 16em;
    text-align: center;
    background: #fff;
}

#team h2 {
    font-size: 2.5em;
    margin-bottom: 1em;
}

.team-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4em;
    justify-content: center;
}

.team-member {
    background: #f4f4f9;
    border-radius: 10px;
    padding: 2em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(40% - 4em);
    max-width: calc(40% - 4em);
    text-align: center;
}

.team-member img {
    max-width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 5px #646464; /* Adjust the color and size as needed */
}

.team-member h3 {
    font-size: 1.5em;
    margin-top: 1em;
    margin-bottom: 0em;
}

.team-member h4 {
    font-size: 1em;
    margin-top: 0em;
    font-weight: lighter;
}

/* FAQ Section Styles */
.faq {
    padding: 4em 16em;
    background: #fff;
    text-align: center;
}

.faq h2 {
    font-size: 2.5em;
    margin-bottom: 1em;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    margin-bottom: 1em;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

.faq-question {
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1em;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f9f9f9;
}

.faq-question span {
    font-size: 1.5em;
    margin-right: 0.5em;
    color: #333;
}

.faq-answer {
    display: none;
    padding: 1em;
    font-size: 1em;
    line-height: 1.5;
    background: #f9f9f9;
}

.faq-answer.open {
    display: block;
}

/* Case Study Section Styles */
.security-article-section {
    background: url('assets/background-gray.png') no-repeat center center/cover;
    color: #333;
    padding: 5em 16em;
    text-align: center;
    position: relative;
}

.security-article-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.security-article-content h2 {
    font-size: 1.45em;
    color: #333;
    margin-bottom: 0.5em;
    margin-top: 0em;
    text-transform: uppercase;
}

.security-article-content h3 {
    font-size: 2.75em;
    color: #333;
    margin-bottom: 1em;
}

.security-article-details {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 2em;
    width: 100%;
}

.security-article-text {
    flex: 1;
    max-width: 50%;
    text-align: center;
    margin-right: 2em;
}

.security-article-text p {
    font-size: 1.2em;
    margin-bottom: 1.5em;
}

.security-article-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.security-article-text ul li {
    font-size: 1.1em;
    margin-bottom: 0.5em;
    padding-left: 1.5em;
    position: relative;
    color: #555;
}

.security-article-text ul li::before {
    content: "\2022";
    color: #100D26;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.cta-button {
    background: #222831;
    color: #fff;
    padding: 0.75em 1.5em;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1.2em;
    transition: background 0.3s ease;
    cursor: pointer;
    display: inline-block;
    margin-top: 1em;
    margin-left: auto;
    margin-right: auto;
}

.cta-button:hover {
    background: #222831;
}

.security-article-image {
    flex: 1;
    max-width: 50%;
    text-align: right;
    margin-left: 2em;
}

.security-article-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Contact Section Styles */
.contact-section {
    padding: 2em 16em;
    background: #fff;
    text-align: center;
}

.contact-section .contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-section h2 {
    font-size: 3.5em;
    margin-bottom: 0.75em;
    color: #333;
    font-weight: bolder;
    margin-left: .75em;
    margin-right: .75em;

}

.contact-section p {
    font-size: 1.3em;
    margin-bottom: 1.5em;
    color: #555;
    margin-left: 2em;
    margin-right: 2em;
    text-align: center;
}

.contact-section .cta-button {
    background: #37414f;
    color: #fff;
    padding: .75em 1em;
    border: none;
    border-radius: 45px;
    text-decoration: none;
    font-size: 1.5em;
    transition: background 0.3s ease;
    cursor: pointer;
    display: inline-block;
    margin-top: 1em;
    margin-bottom: 1.5em;
    position: relative;
    font-weight: bold;
}

.contact-section .cta-button:hover {
    background: #222831;
}

.contact-section .cta-button .sub-text {
    display: block;
    font-size: 0.6em;
    color: #fff;
    margin-top: 0.5em;
    font-weight: normal;
}

/* Footer Styles */
footer {
    background: url('assets/background-footer.png') no-repeat center center/cover;
    background-size: 100% 100%;
    color: #fff;
    text-align: center;
    padding: 5em 1em; /* Increased padding for more space */
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content h2 {
    font-size: 3.5em;
    margin-bottom: 0.5em;
    color: #fff;
}

.footer-content p {
    margin: 0.5em 0;
    font-size: 1.35em;
}

.footer-content p.bolded {
    font-weight: 600;
}

.footer-links {
    margin-top: 1em;
    margin-bottom: 4em;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 0.5em;
}

.footer-links a:hover {
    color: #ccc;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* How It Works Section Styles */
#process {
    text-align: center;
    background: #ffffff;
    padding-top: 0em;
    padding-bottom: 8em;
    padding-left: 16em;
    padding-right: 16em;
}

#process h2 {
    font-size: 3em;
    margin-bottom: 1em;
    margin-top: 0em;
}

.process-steps {
    display: flex;
    flex-wrap: nowrap; /* Ensure items stay on one line */
    gap: 3em;
    justify-content: center;
}

.step {
    background: #f4f4f9;
    border-radius: 10px;
    padding: 3em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1 1 30%; /* Ensure items take up a third of the available space */
    max-width: calc(25% - 4em);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.step img {
    max-width: 80px;
    height: auto;
    margin-bottom: 1em;
}

.step h3 {
    font-size: 1.5em;
    margin-top: 1em;
    margin-bottom: 0.5em;
}

.step p {
    font-size: 1em;
    color: #555;
}

/* Statistics Section Styles */
#statistics {
    padding: 1em 16em;
    text-align: center;
    background: #ffffff;
}

#statistics h2 {
    font-size: 2.5em;
    margin-bottom: 1em;
}

#statistics p {
    font-size: 1.2em;
    margin-bottom: 2em;
    color: #555;
}

.statistics-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: center;
}

.stat-item {
    background: #fff;
    border-radius: 10px;
    padding: 2em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(20% - 3em);
    max-width: calc(20% - 3em);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.stat-item img {
    max-width: 60px;
    height: auto;
    margin-bottom: 1em;
}

.stat-item h3 {
    font-size: 2em;
    margin-top: 1em;
    margin-bottom: 0.5em;
}

.stat-item p {
    font-size: 1em;
    color: #555;
}

.cta-button {
    background: #37414f;
    color: #fff;
    padding: 0.75em 1.5em;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1.2em;
    transition: background 0.3s ease;
    cursor: pointer;
    display: inline-block;
    margin-top: 2em;
}

.cta-button:hover {
    background: #222831;
}

/* Media Queries */
@media (max-width: 1920px) {

    .problem-solution {
        padding: 2em 4em;
        flex-direction: column;
    }
    .problem-solution-content {
        flex-direction: column-reverse;
        gap: 2em;
    }
    .problem-solution .text-content {
        max-width: 100%;
        margin-left: 0;
    }
    .problem-solution .video-content iframe {
        width: 100%;
        height: auto;
        visibility: hidden;
    }

    .about-us {
        padding: 3em 1em;
    }
    .about-us .about-content {
        flex-direction: row;
        gap: 5em;
        max-width: 80%;
    }
    .about-us .about-content .text-content {
        max-width: 100%;
    }

    
    .about-us .about-content .image-content {
        max-width: 45%;
    }

    
    .security-article-section {
        padding: 2em 6em;
    }
    .security-article-content {
        max-width: 100%;
    }
    .security-article-details {
        flex-direction: row-reverse;
        gap: 1em;
    }
    .security-article-text,
    .security-article-image {
        max-width: 100%;
        text-align: center;
    }
}

@media (max-width: 1400px) {
    .testimonial {
        max-width: 50%;
    }
    .benefit {
        flex: 1 1 calc(30% - 5em);
    }
}

@media (max-width: 1200px) {
    header nav {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        padding: 0.25em;
        max-width: 100%; /* Ensure the nav takes the full width of the container */
        box-sizing: border-box; /* Include padding and border in the element's total width and height */
        overflow: hidden; /* Hide any overflow content */
    }
    header .logo {
        height: 100px;
    }
    nav ul {
        display: flex;
        flex-direction: row;
        justify-content: center; /* Center the items within the nav */
        align-items: center; /* Center items vertically */
        gap: 0.25em;
        width: 100%;
        padding: 1em 0; /* Remove any default padding */
        margin: 0; /* Remove any default margin */
        list-style: none; /* Remove bullet points */
    }
    nav ul li {
        flex: 1 1 auto; /* Ensure list items are flexible and take available space */
    }
    nav ul li a {
        color: #fff;
        text-decoration: none;
        font-size: 0.9em;
        padding: 0.3em 1em;
        text-align: center; /* Center the text within each link */
        display: block; /* Ensure the padding applies to the entire link area */
        transition: color 0.3s ease;
    }

    .hero {
        padding: 7em 1em;
        text-align: center;
    }
    .hero-content {
        flex-direction: row;
        padding-top: 1em;
    }
    .text-content {
        max-width: 90%;
    }
    .text-content h1 {
        font-size: 2em;
    }
    .text-content h2 {
        font-size: 1em;
    }
    .text-content p {
        font-size: 1em;
    }
    .image-content img {
        max-width: 100%;
        height: auto;
    }

    .problem-solution {
        padding: 2em 4em;
        flex-direction: column;
    }
    .problem-solution-content {
        flex-direction: column-reverse;
        gap: 2em;
    }
    .problem-solution .text-content {
        max-width: 100%;
        margin-left: 0;
    }
    .problem-solution .video-content iframe {
        width: 100%;
        height: auto;
        visibility: hidden;
    }

    .benefits {
        padding: 0em 12em;
        padding-bottom: 5em;
    }
    .benefits-container {
        flex-direction: column;
        gap: 1em;
    }
    .benefit {
        max-width: 100%;
    }

    #statistics {
        padding: 1em 10em;
    }

    .statistics-content {
        display: flex;
        flex-wrap: nowrap; /* Ensure items stay on one line */
        justify-content: space-between; /* Add space between items */
        overflow-x: auto; /* Allow horizontal scrolling if necessary */
        padding: 1em 2em;
    }

    .stat-item {
        flex: 1 1 20%; /* Each item takes up 20% of the available space */
        max-width: calc(20% - 0em); /* Ensure a max-width with some margin */
    }

    .testimonials {
        padding: 3em 8em;
    }

    .testimonials-container {
        flex-direction: column;
        gap: 1em;
    }
    .testimonial {
        max-width: 100%;
    }

    #services {
        padding: 3em 8em;
    }
    .services-container {
        display: flex;
        flex-wrap: wrap; /* Allow items to wrap to the next line */
        gap: 1em; /* Add space between items */
        justify-content: space-between; /* Distribute space between items */
    }
    
    .service {
        max-width: calc(45% - 2em); /* Ensure a max-width with some margin */
        flex: 1 1 calc(45% - 2em); /* Each item takes up 50% of the available space minus the gap */
    }

    .quiz-section {
        padding: 2em 8em;
    }
    .quiz-content {
        flex-direction: column;
        gap: 1em;
    }
    .quiz-text, .quiz-form {
        max-width: 100%;
    }

    .about-us {
        padding: 3em 1em;
    }
    .about-us .about-content {
        flex-direction: row;
        gap: 5em;
        max-width: 80%;
    }
    .about-us .about-content .text-content {
        max-width: 100%;
    }

    
    .about-us .about-content .image-content {
        max-width: 45%;
    }

    #team {
        padding: 1em;
    }
    .team-container {
        flex-direction: column;
        gap: 1em;
    }
    .team-member {
        max-width: 100%;
    }

    .faq {
        padding: 1em;
    }
    .faq-container {
        max-width: 100%;
    }

    .security-article-section {
        padding: 2em 6em;
    }
    .security-article-content {
        max-width: 100%;
    }
    .security-article-details {
        flex-direction: row-reverse;
        gap: 1em;
    }
    .security-article-text,
    .security-article-image {
        max-width: 100%;
        text-align: center;
    }

    .contact-section {
        padding: 1em;
    }
    .contact-section .contact-content {
        max-width: 100%;
    }

    #process{
        padding: 2em 5em;
    }
    .process-steps{
        gap: 1em;
    }
    .process-steps .step{
        flex: 1 1 30%;
        max-width: calc(28% - 2em);
    }

    footer {
        padding: 1em;
    }
    .footer-content {
        max-width: 100%;
    }
}

@media (max-width: 1024px) {
    header nav {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0.25em;
        max-width: 100%; /* Ensure the nav takes the full width of the container */
        box-sizing: border-box; /* Include padding and border in the element's total width and height */
        overflow: hidden; /* Hide any overflow content */
    }
    header .logo {
        height: 200px;
        align-self: center;
        padding: 2em;
        padding-top: 0;
    }
    nav ul {
        display: flex;
        flex-direction: row;
        justify-content: center; /* Center the items within the nav */
        align-items: center; /* Center items vertically */
        gap: 0.25em;
        padding: 0 0; /* Remove any default padding */
        list-style: none; /* Remove bullet points */
        width: 100%;
        flex-wrap: wrap; /* Allow items to wrap to the next line */
    }
    nav ul li {
        flex: 1 1 auto; /* Ensure list items are flexible and take available space */
    }
    nav ul li a {
        color: #fff;
        text-decoration: none;
        font-size: 0.9em;
        padding: 0.3em 0.5em;
        text-align: center; /* Center the text within each link */
        display: block; /* Ensure the padding applies to the entire link area */
        transition: color 0.3s ease;
        font-size: 1.25em;
    }

    .hero {
        padding: 7em 1em;
        text-align: center;
    }
    .hero-content {
        flex-direction: row;
        padding-top: 1em;
    }
    .text-content {
        max-width: 90%;
    }
    .text-content h1 {
        font-size: 2em;
    }
    .text-content h2 {
        font-size: 1em;
    }
    .text-content p {
        font-size: 1em;
    }
    .image-content img {
        max-width: 100%;
        height: auto;
    }

    .problem-solution {
        padding: 2em 1em;
        flex-direction: column;
    }
    .problem-solution-content {
        flex-direction: column-reverse;
        gap: 2em;
    }
    .problem-solution .text-content {
        max-width: 100%;
        margin-left: 0;
    }
    .problem-solution .video-content iframe {
        width: 100%;
        height: auto;
    }

    .benefits {
        padding: 1em;
    }
    .benefits-container {
        flex-direction: column;
        gap: 1em;
    }
    .benefit {
        max-width: 70%;
        align-self: center;
    }

    #statistics {
        padding: 1em 4em;
    }

    .statistics-content {
        display: flex;
        flex-wrap: nowrap; /* Ensure items stay on one line */
        justify-content: space-between; /* Add space between items */
        overflow-x: hidden; /* Allow horizontal scrolling if necessary */
        gap: 1em;
    }
    .stat-item {
        flex: 1 1 15%; /* Each item takes up 20% of the available space */
        max-width: calc(15% - 0.5em); /* Ensure a max-width with some margin */
    }

    .testimonials {
        padding: 2em 6em;
    }
    .testimonials-container {
        flex-direction: column;
        gap: 1em;
    }
    .testimonial {
        max-width: 100%;
    }

    #services {
        padding: 2em 4em;
    }
    .services-container {
        display: flex;
        flex-wrap: wrap; /* Allow items to wrap to the next line */
        gap: 1em; /* Add space between items */
        justify-content: space-between; /* Distribute space between items */
    }
    
    .service {
        max-width: calc(41.5% - 1em); /* Ensure a max-width with some margin */
        flex: 1 1 calc(41.5% - 1em); /* Each item takes up 50% of the available space minus the gap */
    }

    .quiz-section {
        padding: 2em 6em;
    }
    .quiz-content {
        flex-direction: column;
        gap: 1em;
    }
    .quiz-text, .quiz-form {
        max-width: 100%;
    }

    .about-us {
        padding: 1em;
    }
    .about-us .about-content {
        flex-direction: column;
        gap: 1em;
    }
    .about-us .about-content .text-content,
    .about-us .about-content .image-content {
        max-width: 100%;
    }
    .about-us .about-content .image-content img {
        width: 50%;
    }

    #team {
        padding: 1em;
    }
    .team-container {
        flex-direction: column;
        gap: 1em;
    }
    .team-member {
        max-width: 100%;
    }

    .faq {
        padding: 1em;
    }
    .faq-container {
        max-width: 100%;
    }

    .security-article-section {
        padding: 2em 4em;
    }
    .security-article-content {
        max-width: 100%;
    }
    .security-article-details {
        flex-direction: column-reverse;
        gap: 1em;
        margin-top: 0.5em;
    }
    .security-article-content h3 {
        margin-bottom: 0.75em;
    }
    .security-article-text {
        max-width: 100%;
        text-align: center;
    }

    .security-article-image {
        max-width: 100%;
        text-align: center;
    }


    .contact-section {
        padding: 1em;
    }
    .contact-section .contact-content {
        max-width: 100%;
    }

    #process {
        padding: 2em 4em;
    }
    .process-steps .step {
        flex: 1 1 30%;
        max-width: calc(25% - 3em);
    }

    footer {
        padding: 1em;
    }
    .footer-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    header nav {
        flex-direction: column;
        align-items: flex-start;
    }
    header .logo {
        height: 80px;
    }
    nav ul {
        flex-direction: column;
        gap: 0.5em;
        width: 100%;
    }
    nav ul li a {
        font-size: 0.9em;
    }

    .hero {
        padding: 0 1em;
        text-align: center;
    }
    .hero-content {
        flex-direction: column;
        padding-top: 1em;
    }
    .text-content {
        max-width: 90%;
    }
    .text-content h1 {
        font-size: 2em;
    }
    .text-content h2 {
        font-size: 1em;
    }
    .text-content p {
        font-size: 1em;
    }

    .problem-solution {
        padding: 2em 1em;
        flex-direction: column;
    }
    .problem-solution-content {
        flex-direction: column;
        gap: 2em;
    }
    .problem-solution .text-content {
        max-width: 100%;
        margin-left: 0;
    }
    .problem-solution .video-content iframe {
        width: 100%;
        height: auto;
    }

    .benefits {
        padding: 1em;
    }
    .benefits-container {
        flex-direction: column;
        gap: 1em;
    }
    .benefit {
        max-width: 100%;
    }

    .statistics-content {
        display: flex;
        flex-wrap: nowrap; /* Ensure items stay on one line */
        justify-content: space-between; /* Add space between items */
        overflow-x: auto; /* Allow horizontal scrolling if necessary */
    }
    .stat-item {
        flex: 1 1 20%; /* Each item takes up 20% of the available space */
        max-width: calc(25% - 1em); /* Ensure a max-width with some margin */
    }
    
    .testimonials {
        padding: 1em;
    }
    .testimonials-container {
        flex-direction: column;
        gap: 1em;
    }
    .testimonial {
        max-width: 100%;
    }

    #services {
        padding: 1em;
    }
    .services-container {
        flex-direction: column;
        gap: 1em;
    }
    .service {
        max-width: 100%;
    }

    .quiz-section {
        padding: 1em;
    }
    .quiz-content {
        flex-direction: column;
        gap: 1em;
    }
    .quiz-text, .quiz-form {
        max-width: 100%;
    }

    .about-us {
        padding: 1em;
    }
    .about-us .about-content {
        flex-direction: column;
        gap: 1em;
    }
    .about-us .about-content .text-content,
    .about-us .about-content .image-content {
        max-width: 100%;
    }

    #team {
        padding: 1em;
    }
    .team-container {
        flex-direction: column;
        gap: 1em;
    }
    .team-member {
        max-width: 100%;
    }

    .faq {
        padding: 1em;
    }
    .faq-container {
        max-width: 100%;
    }

    .security-article-section {
        padding: 1em;
    }
    .security-article-content {
        max-width: 100%;
    }
    .security-article-details {
        flex-direction: column;
        gap: 1em;
    }
    .security-article-text,
    .security-article-image {
        max-width: 100%;
        text-align: center;
    }

    .contact-section {
        padding: 1em;
    }
    .contact-section .contact-content {
        max-width: 100%;
    }

    footer {
        padding: 1em;
    }
    .footer-content {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    
    header {
        background: rgb(17 14 37);
        color: #fff;
        padding: 1em 0;
        width: 100%;
    }
    header nav {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0.25em;
        max-width: 100%; /* Ensure the nav takes the full width of the container */
        box-sizing: border-box; /* Include padding and border in the element's total width and height */
        overflow: hidden; /* Hide any overflow content */
    }
    header .logo {
        height: 150px;
        align-self: center;
        padding: 2em;
        padding-top: 0;
        padding-bottom: 1em;
    }
    nav ul {
        display: flex;
        flex-direction: row;
        justify-content: center; /* Center the items within the nav */
        align-items: center; /* Center items vertically */
        gap: 0.25em;
        padding: 0 0; /* Remove any default padding */
        list-style: none; /* Remove bullet points */
        width: 100%;
        flex-wrap: wrap; /* Allow items to wrap to the next line */
    }
    nav ul li {
        flex: 1 1 auto; /* Ensure list items are flexible and take available space */
        font-size: 0.6em;
    }
    nav ul li a {
        color: #fff;
        text-decoration: none;
        padding: 0.3em 0.5em;
        text-align: center; /* Center the text within each link */
        display: block; /* Ensure the padding applies to the entire link area */
        transition: color 0.3s ease;
        font-size: 1.25em;
    }
    .hero {
        padding: 7em 1em;
        text-align: center;
    }
    .hero-content {
        flex-direction: column;
        /*padding-top: 30em;*/
    }
    .text-content {
        max-width: 90%;
    }
    .text-content h1 {
        font-size: 2em;
    }
    .text-content h2 {
        font-size: 1em;
    }
    .text-content p {
        font-size: 1em;
    }
    .image-content img {
        max-width: 80%;
        height: auto;
    }

    .problem-solution {
        padding: 1em 1em;
        flex-direction: column;
    }
    .problem-solution-content {
        flex-direction: column;
        gap: 1em;
    }
    .problem-solution .text-content {
        max-width: 100%;
        margin-left: 0;
    }
    .problem-solution .text-content h2 {
        font-size: 1.5em;
    }
    .problem-solution .text-content strong {
        font-size: 0.6em;
    }
    .problem-solution .text-content p {
        font-size: .7em;
    }
    .problem-solution .video-content iframe {
        width: 100%;
        height: auto;
    }

    .benefits {
        padding: 2em;
    }
    .benefits-container {
        flex-direction: column;
        gap: 0.5em;
    }
    .benefit {
        max-width: 50%;
    }
    .benefits h2 {
        font-size: 1.5em;
    }
    .benefits h3 {
        font-size: 1em;
    }
    .benefits p {
        font-size: 0.7em;
    }
    .benefits img {
        max-width: 35%;
    }

    #statistics {
        padding: 1em 1.5em;
    }
    #statistics h2 {
        font-size: 1.5em;
    }
    #statistics p {
        font-size: .7em;
    }
    .stat-item h3 {
        font-size: 1.2em;
    }
    .stat-item img {
        max-width: 60%;
        height: auto;
    }
    .stat-item {
        flex: 1 1 auto;
        max-width: 47%;
        height: 16em;
        box-sizing: border-box;
    }
    .statistics-content {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        overflow-x: hidden;
        gap: 0.5em;
        align-items: flex-start; /* Aligns items at the start of the container */
        padding: 1em;
    }

    .testimonials {
        padding: 1em 2em;
    }
    .testimonials-container {
        flex-direction: column;
        gap: 0.5em;
    }
    .testimonial {
        max-width: 80%;
    }
    .testimonials h2 {
        font-size: 1.5em;
    }
    .testimonials h3 {
        font-size: .75em;
    }
    .testimonials p {
        font-size: .7em;
    }
    .testimonial-author img {
        width: 40px;
        height: auto;
    }
    #services {
        padding: 1em 2em;
    }
    .services-container {
        flex-direction: column;
        gap: 1em;
    }
    .service {
        max-width: 50%;
        align-self: center;
    }
    #services h2 {
        font-size: 1.5em;
    }
    #services h3 {
        font-size: 1em;
    }
    #services p {
        font-size: 0.75em;
    }
    .service img {
        max-width: 4em;
    }

    .quiz-section {
        padding: 1em 2em;
    }
    .quiz-section h2 {
        font-size: 1.7em;
    }
    .quiz-content {
        flex-direction: column;
        gap: 3em;
    }
    .quiz-text, .quiz-form {
        max-width: 80%;
        font-size: .7em;
        align-self: center;
    }
    .quiz-text p, .quiz-text ul {
        text-align: center;
    }

    .about-us {
        padding: 1em;
    }
    .about-us .about-content {
        flex-direction: column;
        gap: 0.5em;
    }
    .about-us .about-content .text-content h2 {
        font-size: 2em;
    }
    .about-us .about-content .text-content p {
        font-size: .7em;
    }
    .about-us .about-content .text-content,
    .about-us .about-content .image-content {
        max-width: 100%;
    }
    .about-us .about-content .image-content p{
        font-size: .5em;
    }
    .about-us .about-content .image-content img {
        margin-top: 1em;
        width: 90%;
    }

    .security-article-section {
        padding: 1em;
    }
    .security-article-content {
        max-width: 100%;
    }
    .security-article-content h3 {
        font-size: 1.5em;
    }
    .security-article-text p {
        font-size: 0.7em;
    }
    .security-article-text ul li {
        font-size: 0.7em;
    }
    a.cta-button {
        font-size: 0.9em;
    }
    .security-article-details {
        flex-direction: column-reverse;
        gap: 0.5em;
    }
    .security-article-text,
    .security-article-image {
        max-width: 90%;
        text-align: center;
        margin: 0;
    }


    .contact-section {
        padding: 1em;
    }
    .contact-section .contact-content {
        max-width: 100%;
    }
    .contact-section h2 {
        font-size: 2em;
    }
    .contact-section p {
        font-size: .9em;
    }
    .contact-section .cta-button {
        font-size: 1em;
    }

    .process-steps {
        display: block;
    }
    .process-steps .step {
        max-width: 62%;
        margin-bottom: 1em;
    }
    #process h2 {
        font-size: 2em;
    }

    .step h3 {
        font-size: 1em;
    }
    .step p {
        font-size: 0.7em;
    }
    .step img {
        max-width: 40%;
        height: auto;
        margin-bottom: 1em;
    }

    footer {
        padding: 1em;
    }
    .footer-content {
        max-width: 100%;
    }
    .footer-content h2 {
        font-size: 2.5em;
    }
    .footer-content p {
        font-size: 0.95em;
    }
    .footer-links {
        font-size: .7em;
    }

}
