/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Boldonse&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Syne:wght@400..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Outfit:wght@100..900&display=swap');



/*=============== VARIABLES CSS ===============*/
:root {
    --header-height: 3.5rem;

    /*========== Colors ==========*/
    /*Color mode HSL(hue, saturation, lightness)*/
    --first-color: #daa520;
    --first-color-light: #868585;
    --text-light: #e1e0e6;
    --bg-light: rgb(214, 213, 218, .3);
    --bg-color: #0d0a24;
    --black-color: #000000;
    --text-color: #13131B;
    --white-color: #f8f9fa;
    --text-color-light: hsl(203, 8%, 80%);

    /*========== Font and typography ==========*/
    /*.5rem = 8px | 1rem = 16px ...*/
    --body-font: "Outfit", serif;
    --header-font: "Syne", sans-serif;
    --biggest-font-size: 2.25rem;
    --h2-font-size: 1.25rem;
    --normal-font-size: .938rem;
    --smaller-font-size: .75rem;

    /*========== Font weight ==========*/
    --font-semi-bold: 600;

    /*========== z index ==========*/
    --z-fixed: 100;
}

/* Responsive typography */
@media screen and (min-width: 1024px) {
    :root {
        --biggest-font-size: 4rem;
        --h2-font-size: 1.5rem;
        --normal-font-size: 1rem;
        --smaller-font-size: .813rem;
    }
}

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

html {
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4 {
    color: var(--black-color);
}

p,
span {
    font-family: var(--body-font);
    font-size: 15px;
    font-weight: 300
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: #000000;
    color: var(--text-color);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    font-family: var(--body-font);
}

img {
    max-width: 100%;
    height: auto;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
    max-width: 1224px;
    margin-inline: 1.5rem;
}

.main {
    overflow: hidden;
    /* For the animations */
}

/*=============== HEADER & NAV ===============*/
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    transition: background .3s;

}

.nav {
    position: relative;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo,
.nav__toggle,
.nav__link,
.nav__close {
    color: var(--white-color);
}


.nav__logo span {
    font-size: 25px;
    font-family: var(--header-font);
    color: var(--white-color);
}


.logo-dark {
    display: none;
}

.nav__toggle {
    display: inline-flex;
    font-size: 1.25rem;
    cursor: pointer;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--white-color);
}

.nav-button {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--white-color);
    border-radius: 10px;
    font-size: 13px;
}

.nav-button-2 {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--white-color);
    border-radius: 10px;
    font-size: 13px;
}

.toggle-background i {
    color: var(--whitet-color);
    font-size: 20px;
}

.change-theme {
    font-size: 1.25rem;
    color: var(--container-color);
    cursor: pointer;
    transition: color .3s;
}


body.dark-theme {
    --title-color: hsl(207, 4%, 95%);
    --text-color: hsl(207, 4%, 95%);
    --body-color: var(--first-color);
    --container-color: var(--first-color);
}

body.dark-theme {
    background-color: var(--container-color);
}


@media screen and (max-width: 767px) {
    .nav__menu {
        position: fixed;
        background-color: #000000;
        color: var(--white-color);
        width: 100%;
        left: 0;
        top: -100%;
        box-shadow: 0 3px 8px hsla(203, 71%, 4%, .2);
        padding: 4rem 0 3.5rem;
        transition: top .4s;
        overflow: hidden;
    }
}

.nav__list {
    display: flex;
    flex-direction: column;
    text-align: center;
    row-gap: 2rem;
}

.nav__link {
    color: var(--white-color);
}

.nav__link:hover::after {
    width: 100%;
}

.active-link {
    background: linear-gradient(45deg, rgba(175, 175, 204, 0.5) 30%, rgba(54, 52, 100, 0.4) 70%);
    padding: 10px 24px;
    border-radius: 10px;
}

.nav__close,
.nav__img {
    position: absolute;
}

.nav__close {
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Show menu */
.show-menu {
    top: 0;
}


/* Change background header */
.header-bg {
    background-color: #000000;
    box-shadow: 0 2px 4px hsla(0, 0%, 1%, 0.2);
}

.header-bg .nav__link,
.header-bg .toggle-background i {
    color: var(--white-color);
}

.dark-theme .header-bg {
    background-color: var(--container-color);
}


/*=============== HOME ===============*/

.home {
    position: relative;
    height: 50vh;
    width: 100%;
    background: url(../img/background.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: rgba(0, 0, 0, 0.7);
    background-blend-mode: overlay;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.home-banner h1 {
    font-size: 70px;
    font-family: var(--header-font);
    color: var(--white-color);
}


.contact {
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 100px;
    font-family: var(--body-font);
}

.contact-grids {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    align-items: center;
}

.contact-grid p {
    color: #666;
}

.contact-detailz {
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-detail i {
    font-size: 25px;
    color: var(--first-color-light);
}

.contact-detail h3 {
    margin-bottom: 5px;
    color: #666;
    font-weight: 400;
}


.contact-social {
    padding-top: 50px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-social-link {
    background: var(--first-color);
    color: var(--text-color);
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all .5s;
}

.contact-social-link i {
    font-size: 20px;
}

.contact-social-link:hover {
    background: #cccccc4d;
    color: var(--first-color-light);
}

.contact__form {
    padding-top: 40px;
    position: relative;
}

.contact-form-div {
    border: 1px solid #666;
    padding: 20px;
    position: relative;
    margin-bottom: 30px;
    height: 100%;
}

.contact__form-tag {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--black-color);
    color: var(--first-color);
    padding: 5px 10px;
    margin-top: -15px;
}

.contact__form-input {
    border: none;
    outline: none;
    background: var(--black-color);
    color: var(--first-color-light);
    width: 100%;
    height: 100%;
}

.contact__form-input::placeholder {
    color: var(--first-color-light);
    font-family: var(--body-font);
}

.contact__form-area {
    height: 10rem;
}

.contact-form-div textarea {
    resize: none;
    height: 100%;
}

.contact__button {
    background: var(--first-color);
    color: var(--black-color);
    padding: 12px 24px;
    border: none;
    outline: none;
    font-family: var(--body-font);
    font-size: 18px;
}


.contact__message {
    font-size: var(--small-font-size);
    position: absolute;
    bottom: 2.8rem;
    left: 1.25rem;
}

/* status color */

.color-red {
    color: #da3125;
}

.color-green {
    color: hsl(145, 56%, 45%);
}




.contact-details {
    padding-bottom: 100px;
    overflow: hidden;
    position: relative;
}

.contact-details-grids {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contact-details-grid {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-details-grid i {
    color: var(--first-color);
    font-size: 30px;
}

.contact-det-cont p {
    color: var(--first-color-light);
}


/* Faq */

.questions {
    position: relative;
}

.questions-container {
    position: relative;
    padding: 0 0 100px;
}

.questions-header {
    padding-bottom: 50px;
    text-align: center;
}

.questions-header h1 {
    font-size: 70px;
    font-family: var(--header-font);
    color: var(--white-color);
    /* letter-spacing: -4px; */
    /* word-spacing: 4px; */
    text-align: center;
    text-transform: capitalize;
    /* line-height: 80px; */
    /* padding-bottom: 20px; */
}

.questions-header p {
    color: var(--first-color-light);
}

.questions-grids {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    align-items: center;
    gap: 50px;
}


.faq {
    max-width: 700px;
    margin-top: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--first-color-light);
    cursor: pointer;
}

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

.question h3 {
    font-size: 2rem;
    font-family: var(--header-font);
    font-weight: 700;
    color: var(--white-color);
}

.answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s ease;
}

.answer p {
    padding-top: 1rem;
    line-height: 1.6;
    /* font-size: 1.4rem ; */
    color: var(--first-color-light);
}

.faq i {
    font-size: 30px;
}

.faq.active .answer {
    max-height: 300px;
}

.faq.active i {
    transform: rotate(180deg);
    font-size: 30px;
}



.footer {
    position: relative;
    padding: 0 0 20px;
    overflow: hidden;
}

.footer-line {
    width: 100%;
    height: 1px;
    background: var(--first-color-light);
}

.footer-grids {
    display: flex;
    justify-content: space-between;
    padding: 100px 0;
}

.footer-grid {
    flex: 5;
}

.footer-grid h3 {
    font-size: 50px;
    color: var(--white-color);
    font-family: var(--header-font);
    padding-bottom: 20px;
}

.footer-grid p {
    color: var(--first-color-light);
    padding-bottom: 10px;
}

.footer-grid a {
    color: var(--first-color);
    font-weight: 300;
}

.footer-grid-links {
    flex: 2;
}

.footer-grid-links h3 {
    font-size: 20px;
    color: var(--white-color);
    font-family: var(--header-font);
    padding-bottom: 20px;
}

.footer-links {
    padding-bottom: 10px;
}

.footer-links a {
    color: var(--first-color-light);
    font-weight: 300;
}

.footer-grid-2 {
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-grid-2 p {
    color: var(--white-color);
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background: var(--first-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a {
    color: #000000;
    font-size: 20px;
}







/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
    .container {
        margin-inline: 1rem;
    }
}

/* For medium devices */
@media screen and (min-width: 767px) {
    .nav {
        height: calc(var(--header-height) + 1.5rem);
    }

    .nav__toggle,
    .nav__close,
    .nav__img {
        display: none;
    }

    .nav__link {
        font-size: 12px;
        color: var(--white-color);
    }

    .nav__list {
        flex-direction: row;
        column-gap: 1.5rem;
    }
}


/* For large devices */

@media screen and (min-width: 1048px) {
    .container {
        margin-inline: auto;
    }
}


@media screen and (max-width: 768px) {
    .home-banner h1,
    .questions-header h1 {
        font-size: 30px;
    }

    .contact-details-grids {
        flex-direction: column;
        gap: 20px;
    }

    .question h3 {
        font-size: 20px;
    }

     .footer-grids {
        flex-direction: column;
        gap: 30px;
    }

    .footer-grid-2 {
        flex-direction: column;
        gap: 20px;
    }
}