@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primaryColor: #ff901d ;   
    --softColor: #fedddd ;
    --whiteColor: #f5f5f5 ;
    --blackColor: #222;
}

body {
    font-family: 'Poppins',sans-serif;
    background-color: var(--softColor);
}

/*Navigation*/

nav {
    position: fixed;
    width: 100%;
    background-color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1vw 8vw;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 99;
}

nav img {
    width: 150px;
    cursor: pointer;
}

nav h2{
    color: rgb(163, 127, 7);
}

nav .navigation ul{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav .navigation ul li{
    list-style: none;
    margin-left: 30px;
}

nav .navigation ul li a{
    text-decoration: none;
    color: rgb(21, 21, 100);
    font-size: 16px;
    font-weight: 500;
    transition: .3s ease;
}

nav .navigation ul li a:hover{
    color: rgb(163, 127, 7);
}

/*Home*/

#home{
    background-image: linear-gradient(rgba(9, 5, 54, 0.3), rgba(5, 4 ,46 , 0.7)),
    url("images/FAQ1.png");
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#home h2{
    margin-top: 150px;
    color: white;
    font-size: 2.2rem;
    letter-spacing: 1px;
}

#home p{
    margin-top: 50px;
    width: 50%;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    line-height: 25px;
}

/*Accordian*/

.faq {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.faq-name {
    flex: 0.5;
    padding: 2% 2% 0 0;
}

.faq-header {
    padding: 5% 0 0 0;
    font-size: 40px;
    letter-spacing: 2;
}

.faq-img {
    width: 100%;
    max-width: 400px;
}

.faq-box {
    flex: 1;
    min-width: 320px;
    padding: 2% 0 4% 4%;
    border-left: 2px solid var(--primaryColor);
}

.faq-wrapper {
    width: 100%;
    padding: 1.5rem;
    border-bottom: 1px solid var(--blackColor);
}

.faq-title {
    display: block;
    position: relative;
    width: 100%;
    letter-spacing: 1.2;
    font-size: 18px;
    font-weight: 600;
    color: var(--primaryColor);
}

.faq-title::after {
    width: 10px;
    height: 10px;
    content: "";
    float: right;
    border-style: solid;
    border-width: 2px 2px 0 0 ;
    transform: rotate(135deg);
    transition: 0.4s ease-in-out;
}

.faq-detail {
    line-height: 1.5;
    letter-spacing: 1;
    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease-in-out;
    font-size: 14px;
}

.faq-trigger {
    display: none;
}

.faq-trigger:checked + .faq-title + .faq-detail {
    max-height: 400px;
}

.faq-trigger:checked + .faq-title::after {
   transform: rotate(-45deg);
   transition: 0.4s ease-in-out;
}

/*footer*/

/*footer*/

footer{
    padding: 2vw;
    background-color: black;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

footer .footer-col{
    padding-bottom: 10px;
}

footer h3{
    color: white;
    font-weight: 600;
    padding-bottom: 20px;
}

footer li{
    list-style: none;
    color: lightgray;
    padding: 10px 0;
    font-size: 15px;
    cursor: pointer;
    transition: 3s ease;
}

footer li:hover{
    color: white;
}  

footer p {
    color: whitesmoke;
}

footer .subscribe {
    margin-top: 20px;
}

footer input {
    width: 220px;
    padding: 12px 15px;
    background: whitesmoke;
    border: none;
    outline: none;
    color: white;
}

footer .subscribe a {
    text-decoration: none;
    font-size: 0.9rem;
    padding: 12px 15px;
    background-color: white;
    font-weight: 600;
}

footer .subscribe a.blue{
    color: white;
    background-color: darkblue;
    transition: .3s ease;
}

footer a.blue:hover{
    background-color: white;
    color: darkblue;
}

footer .copyright {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 50%;
    flex-wrap: wrap;
}

footer .copyright p {

    font-size: 10px;
}

footer .copyright .pro-links {
    margin-top: 0px;
}

footer .copyright .pro-links i{
   background-color: #5f7185;
   color: #fff;
}

footer .copyright .pro-links i:hover{
   background: blue;
    color: white;
}
