@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100..900&family=Lora:ital,wght@0,400..700;1,400..700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

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

:root {
    --white-color: #FFFFFF;
    --light-gray: #E5E5E5;
    --light-black: #495057;
    --dark-gray: #6c757d;
    --logo-white-color: #F8F9FA;
}

a {
    text-decoration: none;
}

ul li {
    list-style: none;
}

.container {
    margin-inline: auto;
    width: 100%;
    max-width: 1300px;
}

.primary-btn {
    border-radius: 8px;
    padding: 5px 10px;
    background: #FFFFFF26;
    color: var(--white-color);
    font-weight: 700;
    font-size: 10px;
    line-height: 12px;
    font-family: "Roboto", sans-serif;
    border: none;
    text-transform: uppercase;
}


/* -------section one---------- */

.navbar-container {
    background-color: rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 80px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
}

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

.section-one-nav {
    height: 80px;
}

.navlinks {
    display: flex;
    gap: 25px;
}

.navlinks li a {
    font-size: 12px;
    font-weight: 700;
    line-height: 14px;
    font-family: "Roboto", sans-serif;
    color: var(--light-gray);
    position: relative;
}

.fa-brands, .fa-search {
    font-size: 20px;
}

.navlinks a {
    width: 20px;
    height: 20px;
}

.navlinks a i {
    color: var(--light-gray);
    opacity: 0.7;
    transition: opacity 0.3s ease-in;
}

.navlinks a i:hover {
    opacity: 1;
    color: #FFFFFF;
}

.navlinks li a.active {
    color: var(--white-color) !important;
}

.navlinks .hover-links a::after, .navlinks li .active::after {
    content: "";
    background: var(--dark-gray);
    background: #D4A373;
    position: absolute;
    height: 3px;
    width: 100%;
    left: 0;
    bottom: -5px;
    transform: scaleX(0);
    transition: transform 0.5s ease;
    transform-origin: right;
}

.navlinks .hover-links a:hover::after, .navlinks li .active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.vl {
    border-left: 0.5px solid var(--light-gray);
    height: 20px;
}

.logo h1 {
    font-size: 20px;
    color: var(--logo-white-color);
    font-family: "League Spartan", sans-serif;
    font-weight: 700;
    line-height: 22px;
    cursor: pointer;
}

.content-container {
    height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('../images/section-one.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.header-heading {
    padding-top: 15px;
    font-size: 36px;
    max-width: 600px;
    color: var(--white-color);
    line-height: 46px;
    font-weight: 700;
    font-family: "Lora", sans-serif;
}

p.section-one-heading {
    margin-bottom: 0;
}

.header-content {
    margin-top: 15%;
}

.sub-content {
    display: flex;
    gap: 10px;
}

.sub-content .sub-heading {
    max-width: 420px;
}

.header-date {
    padding-top: 15px;
    font-size: 12px;
    color: var(--light-gray);
    line-height: 15px;
    font-weight: 400;
    font-family: "Lora", sans-serif;
}

.hl {
    border-top: 1px solid var(--light-gray);
    width: 20px;
    margin-top: 23px;
}

.sub-heading {
    padding-top: 13px;
    font-size: 12px;
    color: var(--light-gray);
    line-height: 20px;
    font-weight: 400;
    font-family: "Lora", sans-serif;
}

.line1, .line2, .line3 {
    background: var(--white-color);
    width: 2.5rem;
    height: 0.2rem;
    margin: 0.38rem;
    transition: all 0.3s ease;
}

.hamburger {
    cursor: pointer;
    display: none;
}


/* --------section two ----------- */

.section-two-grid {
    padding-top: 150px;
}

.section-navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.section-two-nav {
    padding: 30px 0 30px 0px;
}

.navbar-right {
    float: right;
}

.section-two-heading {
    font-family: "Lora", sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 46px;
    color: #495057;
}

.section-navbar li a.active {
    color: #D4A373;
}

.section-navbar li a:hover, p.navbar-right a:hover {
    color: #D4A373;
}

.section-navbar li a, p.navbar-right {
    font-family: "Lora", sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 25px;
    text-align: left;
    color: #495057 !important;
}

.grid-card-container {
    display: grid;
    grid-template-columns: auto auto auto auto;
    grid-template-rows: auto auto;
    gap: 20px;
}

.grid-card {
    height: 280px;
    background: var(--light-black);
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 5px;
    padding-right: 20px;
}

.card {
    display: block;
    width: 100%;
    padding-bottom: 30px;
}

.card-content {
    height: 170px;
    width: 100%;
}

.card:nth-child(1) .grid-card {
    background-image: url('../images/section-two-1.png');
}

.card:nth-child(2) .grid-card {
    background-image: url('../images/section-two-2.png');
}

.card:nth-child(3) .grid-card {
    background-image: url('../images/section-two-3.png');
}

.card:nth-child(4) .grid-card {
    background-image: url('../images/section-two-4.png');
}

.card:nth-child(5) .grid-card {
    background-image: url('../images/section-two-5.png');
}

.card:nth-child(6) .grid-card {
    background-image: url('../images/section-two-6.png');
}

.card:nth-child(7) .grid-card {
    background-image: url('../images/section-two-7.png');
}

.card:nth-child(8) .grid-card {
    background-image: url('../images/section-two-8.png');
}

.card-heading {
    color: #495057;
    font-size: 18px;
    line-height: 25px;
    font-weight: 700;
    padding-top: 15px;
    font-family: "Lora", sans-serif;
}

.color-change {
    color: var(--dark-gray) !important;
}






/* --------section three ----------- */

.image-container-section-three {
    background-image: url('../images/section-three.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin-top: 99px;
}

.section-three-container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.section-three {
    width: 100%;
    padding: 20px;
    text-align: center;
}

.section-three .sub-heading {
    max-width: 500px;
    margin-inline: auto;
}


.section-three-content {
    padding-top: 20%;
}

.heading-content {
    padding-top: 24px;
    font-size: 36px;
    color: var(--white-color);
    line-height: 46px;
    font-weight: 700;
    font-family: "Lora", sans-serif;
    max-width: 600px;
    margin-inline: auto;
}

.section-date {
    padding-top: 39px;
    font-size: 12px;
    color: var(--light-gray);
    line-height: 15px;
    font-weight: 400;
    font-family: "Lora", sans-serif;
}


/* --------------section four-------- */

.section-four-container {
    padding: 149px 0 149px;
}

.cards-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.card1 {
    background-image: url('../images/section-four-1.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 0 40px;
    border-radius: 5px;
}

.card2 {
    background-image: url('../images/section-four-2.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 0 40px;
    border-radius: 5px;
}

.card3 {
    background-image: url('../images/section-four-3.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 0 40px;
    border-radius: 5px;
}

.btn-style {
    float: right;
    margin-top: 20px;
}

.card-date {
    padding-top: 153px;
}

.card-para {
    color: var(--white-color);
    font-size: 18px;
    line-height: 25px;
    font-weight: 700;
    font-family: "Lora", sans-serif;
}

.section-four-heading {
    padding-bottom: 70px;
    color: #495057;
}

.cards-container .sub-heading {
    padding-bottom: 42px;
    max-width: 340px;
}

.cards-container .card-para {
    max-width: 270px;
    padding-top: 15px;
}



/* ---------foooter------- */

.footer-container {
    height: 400px;
}

.footer {
    background: #212529;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 106px 138px 0 0;
}

.footer-col h4 {
    margin-bottom: 16px;
    position: relative;
}

.footer-col h4::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    background: #D4A373;
    height: 3px;
    width: 40%;
}

.footer-col ul li a {
    font-size: 12px;
    color: var(--light-gray);
    line-height: 15px;
    font-weight: 400;
    font-family: "Lora", sans-serif;
    display: block;
    opacity: 0.5;
    transition: opacity 0.3s ease-in-out;
}

.footer-col ul li a:hover {
    color: #ffffff;
    opacity: 1;
}

.footer-col .social-links a {
    display: inline-block;
    height: 20px;
    width: 20px;
    color: var(--light-gray);
    margin: 0 18px 0 0;
}

.spacer {
    padding-top: 16px;
}

.address {
    max-width: 114px;
}

.social-links a i {
    width: 20px;
    height: 20px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.social-links a i:hover {
    opacity: 1;
    color: white;
}


/* sub footer  */

.sub-footer {
    width: 100%;
    height: 80px;
}

.sub-footer {
    background: #343A40;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.copyright {
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    float: left;
    font-family: "Lora", sans-serif;
    color: var(--light-gray);
    padding: 31px 0;
}

.subscribe {
    font-family: "Lora", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    float: right;
    color: var(--light-gray);
    padding: 31px 0;
}




/* ----------Animation for first section---- */

.header-heading {
    animation: 2s anim-lineUp ease-out;
  }
  @keyframes anim-lineUp {
    0% {
        opacity: 0;
        transform: translateY(80%);
    }
    20% {
        opacity: 0;
    }
    50% {
        opacity: 1;
        transform: translateY(0%);
    }
    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}

.sub-content {
    animation: 5s anim-lineUp ease-out;
}



/* -------------Media Queries---------- */


@media (min-width: 1480px) {
    .container {
        max-width: 100%;
        padding: 0;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 70px;
    }
}

@media (max-width: 767px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
}

/* Extra small devices like Phones */

@media only screen and (min-width: 200px) and (max-width: 576px) {
    
    /* section one */

    .navlinks{
        flex-direction: column;
        position: absolute;
        top: 0;
        background: var(--light-gray);
        color: var(--light-black);
        width: 100%;
        height: 100%;
        justify-content: center;
        align-items: center;
        right: 100%;
        z-index: 5;
        gap: 20px;
        height: 100vh;
        transition: 0.5s ease-in-out;
    }
    .navlinks a i {
        opacity: 1;
        color: var(--light-black);
    }
    .navlinks li a.active {
        color: var(--light-black) !important;
    }
    .navlinks-active {
        right: 0;
    }
    .navlinks li a {
        font-size: 15px;
        color: var(--light-black);
        margin-left: 0;
    }
    .logo {
        z-index: 5;
        margin-left: 20px;
    }
    .hamburger {
        display: block;
        z-index: 5;
        margin-right: 20px;
        position: relative;
    }
    .cross .line1 {
        transform: rotate(-50deg) translate(-8px, 6px);
        background-color: #495057;
    }
    .cross .line2 {
        opacity: 0;
    }
    .cross .line3 {
        transform: rotate(50deg) translate(-6px, -6px);
        background-color: #495057;
    }
    .header-heading {
        font-size: 30px;
    }
    .header-content {
        text-align: center;
    }
    .image-container {
        width: 100%;
        height: 100vh;
    }
    .header-date, .sub-heading {
        font-size: 15px;
    }
    .content-container {
        padding-top: 20%;
        margin-left: 0;
    }
    
    /* section two  */

    .section-two-heading {
        margin: 0 0 0 50px;
    }
    .grid-card {
        border-radius: 10px;
    }
    .section-two-nav {
        justify-content: center;
    }
    .grid-card-container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 20px;
        margin-right: 0;
    }
    .section-navbar {
        flex-wrap: wrap;
        margin-right: 20px;
        gap: 10px;
    }
    .navbar-right {
        display: none;
    }
    .card-content {
        margin-bottom: 50px;
    }


    /* section three  */

    .heading-content {
        margin-top: 10px;
        font-size: 25px;
        color: var(--white-color);
    }
    .top-gap {
        margin-top: 100px;
    }
    .section-three {
        width: 100%;
    }


    /* section four  */

    .section-four-heading {
        text-align: center;
    }
    .cards-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    .card1, .card2, .card3 {
        border-radius: 10px;
        padding: 15px;
    }
    .card-date {
        margin-top: 100px;
    }


    /* footer section  */

    .footer-col {
        width: 50%;
        height: 100%;
        padding: 20px 20px;
    }
    .footer-row {
        padding: 0;
        margin-bottom: 0;
    }
    .copyright, .subscribe {
        padding: 0;
    }

}

/* small devices like Large phones/portrait Tablets */

@media only screen and (min-width: 576px) and (max-width: 768px) {
    
    /* section one */

    .header-date {
        font-size: 15px;
    }
    .sub-heading {
        font-size: 15px;
        margin-bottom: 50px;
    }

    /* section two  */

    .grid-card {
        border-radius: 10px;
    }
    .grid-card-container {
        grid-template-columns: auto auto;
    }
    .card-content {
        height: 200px;
    }

    /* section three  */



    /* section four  */

    .cards-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    .card3 {
        margin-bottom: 30px;
    }

    /* footer section  */

    .footer-row {
        padding: 50px 20px 0 0;
        margin-bottom: 0;
    }

}


/* Medium devices like landscape/tablets */

@media only screen and (min-width:768px) and (max-width: 1200px) {

    /* section one  */

    /* section two  */
    .grid-card-container {
        grid-template-columns: auto auto auto;
    }
    .grid-card {
        height: 200px;
    }
    .card-content {
        width: 100%;
    }
    

    /* section three  */

    /* section four  */


    /* footer section */

}