/* styles.css */

:root {
    --primary-color: #26273b;
    --secondary-color: #CAE8FF;
    --tertiary-color: #233DFF;
    --quaternary-color: #040522;
}

html {
    scroll-behavior: smooth;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: var(--primary-color);
}

main {
    background-size: 500px 500px;
    background-image: repeating-linear-gradient(to left, #85919a, #85919a 0.01px, #26273b 0.81px, #26273b);
}

header {
    background-color: #26273b;
    color: var(--secondary-color);
    padding: 20px;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 999;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    border-bottom: var(--tertiary-color) 1px solid;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 24px;
    font-weight: 700;
}

nav ul {
    list-style-type: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #008AFF;
    transition: color 0.4s ease-in-out;
}

.hm-container,
.menu-toggle {
    display: none;
    cursor: pointer;
}

.hero {
    height: 100vh;
    display: flex;
    justify-content: start;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    flex-direction: row;
    background-color: #26273b;
    opacity: 1;
    background-size: 500px 500px;
    background-image: repeating-linear-gradient(to left, #85919a, #85919a 0.01px, #26273b 0.81px, #26273b);
}

.hero-img-content {
    display: flex;
    flex-direction: column;
    align-items: start;
}
.hero-img {
    height: 80%;
    width: 80%;
    object-fit: cover;
}
.hero-content {
    color: var(--secondary-color);
    width: 100%;
}

.hero h1 {
    font-size: 100px;
    margin-bottom: 20px;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    text-align: start;
    line-height: 1.2;
    margin-left: 40px;
}

.btn {
    display: inline-block;
    background-color: var(--tertiary-color);
    color: var(--secondary-color);
    font-family: "Bebas Neue", sans-serif;
    font-weight: 700;
    text-decoration: none;
    padding: 12px 24px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #008AFF;
}

section {
    padding-top: 20px;
    padding-bottom: 20px;
    color: var(--secondary-color);
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    font-style: normal;
    margin-bottom: 40px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-text {
    margin-left: 10px;
    font-size: 20px;
    font-weight: bold;
}

.about-section {
    display: flex;
    flex-direction: column;
}

.section-title-container {
    margin-top: 100px;
}

.about-title {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    padding-bottom: 50px;
}

.about-title-1 {
    color: var(--tertiary-color);
    text-transform: uppercase;
    font-size: 60px;
    margin-right: 20px;
}

.lines {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 50px;
}

.line {
    width: 50px;
    height: 4px;
    background-color: var(--secondary-color);
    display: flex;
    align-self: flex-end;
}

.line:nth-child(2) {
    width: 50px;
}

.line:nth-child(3) {
    width: 80px;
    background: var(--tertiary-color);
}

.line:nth-child(4) {
    width: 50px;
}

.line:nth-child(5) {
    width: 50px;
}

#faq-line {
    align-self: flex-start;
}

.about {
    height: 100vh;
    display: flex;
    padding-left: 200px;
    flex-direction: row;
    opacity: 1;
    background-size: 300px 300px;
    background-image: repeating-linear-gradient(0deg, #85919a, #85919a 0.01px, #26273b 0.81px, #26273b);
}

.about h2 {
    font-size: 50px;
}

.about h1 {
    color: var(--tertiary-color);
    font-size: 80px;
    margin-bottom: 20px;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 700;
    font-style: normal;
    display: flex;
    flex-direction: column;
    text-align: start;
    line-height: 1.2;
    margin-bottom: 50px;
}

.about-card {
    padding: 50px;
    background-color: var(--quaternary-color);
    margin-right: 0;
    margin-left: 200px;
    height: max-content;
    width: fit-content;
}

.about-card-content {
    align-content: space-between;
    display: flex;
    flex-direction: row;
}

.about-card-content p {
    margin-bottom: 50px;
}

.about-card-content-1 {
    margin-right: 50px;
    display: flex;
    align-content: space-between;
    flex-direction: column;
}

.about-card-content-2 {
    display: flex;
    flex-direction: column;
}

/* Features Section */

.features-section {
    background-color: var(--quaternary-color);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.features-title {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding-bottom: 50px;
}

.features-title-1 {
    color: var(--tertiary-color);
    text-transform: uppercase;
    font-size: 60px;
    margin-left: 20px;
    font-family: "Bebas Neue", sans-serif;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.features-heading {
    font-size: 3rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 4rem;
    font-family: "Bebas Neue", sans-serif;
}

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

.feature-card {
    background-color: rgba(38, 39, 59, 0.8);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(202, 232, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(35, 61, 255, 0.2);
}

.feature-card i {
    font-size: 3rem;
    color: var(--tertiary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-family: "Bebas Neue", sans-serif;
}

.feature-card p {
    color: #a2a2a2;
    font-size: 1rem;
    line-height: 1.6;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(35, 61, 255, 0.1) 0%, rgba(35, 61, 255, 0) 100%);
    z-index: 0;
}

@media (max-width: 768px) {
    .features-title-1 {
        font-size: 40px;
    }

    .features-heading {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Team Section */

.team-section {
    background-color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 30px;
    background: repeating-linear-gradient(-45deg, #85919a, #85919a 0.01px, #26273b 0.81px, #26273b 400px);
    padding: 6rem 0rem;
    position: relative;
    overflow: hidden;
}

.team-title {
    display: flex;
    justify-content: flex-start;
    flex-direction: row-reverse;
    align-items: center;
    width: 100%;
    padding-top: 50px;
}

.team-title-1 {
    color: var(--tertiary-color);
    text-transform: uppercase;
    font-size: 60px;
    margin-right: 20px;
    font-family: "Bebas Neue", sans-serif;
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.team-heading {
    font-size: 3rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 4rem;
    font-family: "Bebas Neue", sans-serif;
}

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

.team-card {
    background-color: transparent;
    perspective: 1000px;
    height: 400px;
}

.team-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.team-card:hover .team-card-inner {
    transform: rotateY(180deg);
}

.team-card-front,
.team-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.team-card-front {
    background-color: rgba(38, 39, 59, 0.8);
    color: var(--secondary-color);
}

.team-card-back {
    background-color: var(--tertiary-color);
    border: var(--secondary-color) 1px solid;
    color: var(--secondary-color);
    transform: rotateY(180deg);
}

.team-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.team-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-card p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.team-social {
    margin-bottom: 1rem;
}

.team-social a {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.team-social a:hover {
    color: var(--quaternary-color);
}

.team-btn {
    background-color: var(--secondary-color);
    color: var(--tertiary-color);
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.team-btn:hover {
    background-color: var(--quaternary-color);
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .team-title-1 {
        font-size: 30px;
        margin-right: 10px;
    }

    .team-heading {
        font-size: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* FAQ section */

.faq-title-1 {
    color: var(--tertiary-color);
    text-transform: uppercase;
    font-size: 60px;
    margin-left: 20px;
}

.faq-section {
    background-color: var(--quaternary-color);
    padding: 4rem 1rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-title {
    display: none;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding-bottom: 50px;
}

.faq-title-2 {
    font-size: 2.5rem;
    color: var(--tertiary-color);
    text-align: center;
    margin-bottom: 3rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--primary-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
}

.faq-icon {
    width: 24px;
    height: 24px;
    fill: var(--tertiary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1),
        opacity 0.5s ease,
        padding 0.5s ease;
}

.faq-answer p {
    padding: 0 1.5rem;
    color: #a2a2a2;
    transition: padding 0.5s ease;
}

.faq-item.active {
    box-shadow: inset 0 0 0 1px var(--tertiary-color);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    opacity: 1;
    transition: max-height 1s ease-in-out,
        opacity 0.5s ease,
        padding 0.5s ease;
}

.faq-item.active .faq-answer p {
    padding: 0 1.5rem 1.5rem;
}

footer {
    background-color: var(--primary-color);
    margin-top: 30px;
    border-top: var(--tertiary-color) solid 1px;
    color: #fff;
    padding: 40px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

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

.footer-section ul li a:hover {
    color: #008AFF;
}

.social-links {
    display: flex;
}

.social-links li {
    margin-right: 20px;
}

.social-links li a {
    color: #fff;
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-links li a:hover {
    color: #008AFF;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    .hero-content {
        scale: None;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-top: 1px;
        line-height: 1.5;
        margin-left: 10px;        
    }

    .hero-img {
        width: 100%;
    }

    .menu-toggle {
        display: block;
        font-size: 24px;
    }

    .hm-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        margin-bottom: 20px;
    }

    .close-btn {
        display: block;
        font-size: 30px;
    }

    .hm-logo-container {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    section {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    .section-title {
        font-size: 20px;
        font-weight: 700;
        font-style: normal;
        margin-bottom: 20px;
    }

    .section-title-container {
        display: flex;
        flex-direction: row;
    }
    .about-title-1 {
        font-size: 30px;
        font-weight: 700;
        font-style: normal;
        margin-right: 10px;
    }

    .features-title-1 {
        color: var(--tertiary-color);
        text-transform: uppercase;
        font-size: 30px;
        margin-left: 10px;
        font-family: "Bebas Neue", sans-serif;
    }

    .team-section {
        padding: 50px 20px;
    }

    nav ul {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #070E32;
        color: #fff;
        padding: 20px;
        text-align: center;
        transform: translateX(-100%);
        visibility: hidden;
        opacity: 0;
        transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out, opacity 0.3s ease-in-out;
        flex-direction: column;
        align-items: center;
    }

    nav ul.show {
        transform: translateX(0);
        visibility: visible;
        opacity: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    .feature-grid,
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* About Section Responsive Styles */

@media (max-width: 1200px) {
    .about {
        padding-left: 100px;
    }

    .about-card {
        margin-left: 100px;
    }
}

@media (max-width: 992px) {
    .about {
        padding-left: 50px;
        height: auto;
        flex-direction: column;
    }

    .about-card {
        margin-left: 0;
        margin-top: 50px;
        width: 90%;
    }

    .about h1 {
        font-size: 60px;
    }

    .about h2 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .about {
        padding-left: 20px;
        padding-right: 20px;
    }

    .about-title-1 {
        font-size: 40px;
    }

    .about h1 {
        font-size: 50px;
    }

    .about h2 {
        font-size: 30px;
    }

    .about-card {
        padding: 30px;
        width: 100%;
    }

    .about img {
        transform: rotate(90deg);
    }

    .about-card-content {
        flex-direction: column;
    }

    .about-card-content-1,
    .about-card-content-2 {
        margin-right: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .about-title-1 {
        font-size: 30px;
    }

    .about h1 {
        font-size: 40px;
    }

    .about h2 {
        font-size: 24px;
    }

    .about-card {
        padding: 20px;
    }
}