@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

:root{
    --primary-color: #FFC805;
    --primary-font-color: white;
    --secondary-font-color: #252525;
    --glass-color: rgba(35, 35, 35, 0.326);
    --border-color: rgba(152, 148, 148, 0.392);
    --overlay-color: rgba(0, 0, 0, 0.714);
    --secondary-bg: #f1f1d3;
    --component-bg: white;
    --box-shadow-color: #acac8370;

    /* fonts */
    --primary-font: "Montserrat", sans-serif;
    --secondary-font: "Raleway", sans-serif;;
}

.dark{
    --primary-font-color: black;
}

*{
    padding: 0;
    margin: 0;
    transition: .6s;
}

a{
    text-decoration: none;
}

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    background: var(--glass-color);
    width: 100%;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(5px);
    font-family: var(--primary-font);
    z-index: 1000;
    height: 100px;
}

header .bi-list{
    display: none;
}

header img{
    height: 60px;
    margin: 8px;
}

header .logo{
    display: flex;
}

nav{
    margin-inline: 10px;
}

nav a{
    color: var(--primary-font-color);
    margin-inline: 5px;
}


.hero{
    background-image: linear-gradient(var(--overlay-color), var(--overlay-color)),url('https://images.unsplash.com/photo-1597766347634-277bf2c89c32?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.hero h1, .hero p, .hero .cto{
    margin: 10px;
}

.hero h1{
    font-size: 3rem;
    font-family: var(--primary-font);
}

.hero p{
    font-family: var(--secondary-font);
}

.cto a, nav a:last-child, .hot{
    padding: 10px;
    border: 1px solid var(--border-color);
    font-weight: bold;
    font-family: var(--primary-font);
}

.cto a:first-child, header nav a:last-child, .hot{
    background: var(--primary-color);
    color: var(--secondary-font-color);
}

.cto a:last-child{
    color: var(--primary-font-color);
}

.hero .cto{
    margin-top: 30px;
    display: flex;
    gap: 1.5rem;
}

.whyus{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background: var(--secondary-bg);
}

.whyus p{
    font-family: var(--secondary-font);
}

.section-header{
    font-family: var(--primary-font);
    margin-top: 20px;
}

.cards{
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    align-items: center;
    padding-block: 20px;
}

.card{
    height: 230px;
    width: 300px;
    background: var(--component-bg);
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 1rem .1rem var(--box-shadow-color);
}

.card h2, .card p, .card i{
    margin: 8px;
}

.card h2{
    font-family: var(--primary-font);
}

.card i{
    font-size: 32px;
    background: var(--primary-color);
    padding: 3px;
    width: 35px;
}

.services{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: #fbfbf6;
    padding-block: 20px;
}

.service-cards{
    display: grid;
    grid-template-columns: repeat(3, 300px);
    gap: 3rem;
    place-items: center;
}

.service{
    width: 300px;
    height: 120px;
    background: var(--component-bg);
    box-shadow: 0 0 .7rem .1rem var(--box-shadow-color);
}

.service h2, .service p{
    margin: 10px;
}

.services h2, .services h3{
    font-family: var(--primary-font);
}

.services p{
    font-family: var(--secondary-font);
}

footer{
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    font-family: var(--secondary-font);
    padding-block: 3rem;
}

footer a{
    color: var(--secondary-font-color);
}

footer li, footer a{
    list-style-type: none;
    margin: 5px;
}

footer img{
    height: 50px;
}

footer .top, footer h3{
    margin-block: 20px;
}

footer .top{
    display: flex;
    align-items: center;
}

footer .info{
    max-width: 400px;
}

.info p{
    font-size: 12px;
    margin-block: 10px;
}

footer h1{
    font-size: 1.5rem;
}

footer .quick-links{
    display: flex;
    flex-direction: column;
}

footer h1, footer h3{
    font-family: var(--primary-font);
}

/* services page */


.spage-services{
    padding-top: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--secondary-bg);
}

.spage-services h2, .spage-services h1{
    font-family: var(--primary-font);
}

.spage-services h1{
    font-size: 2rem;
    margin: 20px;
}


.ext-card{
    width: 300px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    background-position: center;
    background-size: cover;
    color: white;
}

.ext-card h2, .ext-card p{
    margin: 10px;
}

.ext-card p{
    font-family: var(--secondary-font);
}

.spage-cards{
    display: grid;
    grid-template-columns: repeat(3, 300px);
    gap: 1rem;
}

.hook{
    margin: 20px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hook a{
   display: flex;
   justify-content: center;
   align-items: center; 
   gap: .5rem;
}

/* contacts page */
main .card p{
    font-family: var(--secondary-font);
}

main .card{
    height: 150px;
}

main .card h2, main .card p{
    margin: 5px;
}

.contactus h1{
    font-family: var(--primary-font);
}

.contactus{
    padding-top: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--secondary-bg);
}



@media (prefers-color-scheme: dark) {

}

@media screen and (max-width: 600px) {
    header nav{
        opacity: 0;
        position: absolute;
        margin: 2px;
        top: 100%;
        left: -50%;
        height: auto;
        display: flex;
        width: 100%;
        align-items: start;
        justify-content: space-between;
        flex-direction: column-reverse;
        background: var(--glass-color);
        border-bottom: 1px solid var(--border-color);
    }

    header img{
        height: 50px;
    }

    nav a{
        margin: 3px;
    }


    /* Mobile Menu Toggle Styles */
        header nav.active {
            opacity: 1;
            left: 0;
        }
    header nav a{
        margin-inline: 3px;
    }

    nav a:last-child{
        padding: 5px;
    }

    header .bi-list{
        display: block;
        font-size: 32px;
        margin: 5px;
        color: white;
    }

    .hero h1{
        font-size: 1.8rem;
    }

    .cards{
        flex-direction: column;
        gap: 2rem;
    }

    .card{
        width: 95%;
    }

    .section-desc{
        margin: 10px;
    }

    .service-cards{
        display: flex;
        flex-direction: column;
    }

    footer{
        flex-direction: column;
    }

    footer div{
        margin: 10px;
    }

    footer h1{
        font-size: 1rem;
    }

    .spage-cards{
        display: flex;
        flex-direction: column;
    }

    .spage-services h1, .spage-services h3{
        text-align: center;
    }

    iframe{
        width: 300px;
    }
}

@media screen and (max-width: 380px){
    .header nav a{
        font-size: .5rem;
    }


    .cto{
        flex-direction: column;
        gap: .5rem;
    }

    .cto a{
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* About Page Styles */

.about-page {
    font-family: var(--secondary-font);
}

.about-hero {
    background: linear-gradient(var(--overlay-color), var(--overlay-color)), 
                url('https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?q=80&w=1170&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    color: var(--primary-font-color);
    text-align: center;
    padding: 100px 20px;
}

.about-hero h1 {
    font-family: var(--primary-font);
    font-size: 3rem;
    margin-bottom: 15px;
}

.about-hero p {
    font-size: 1.3rem;
}

.about-intro {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.about-intro h2 {
    font-family: var(--primary-font);
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--secondary-font-color);
}

.about-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.service-area {
    background: var(--secondary-bg);
    padding: 60px 20px;
}

.service-area h2 {
    font-family: var(--primary-font);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-font-color);
}

.area-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.area-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.location-info {
    display: flex;
    gap: 15px;
    background: var(--component-bg);
    padding: 20px;
    box-shadow: 0 0 1rem 0.1rem var(--box-shadow-color);
}

.location-info i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.location-info h3 {
    font-family: var(--primary-font);
    margin-bottom: 5px;
}

.area-map {
    background: var(--component-bg);
    padding: 60px;
    text-align: center;
    box-shadow: 0 0 1rem 0.1rem var(--box-shadow-color);
}

.area-map i {
    font-size: 120px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.area-map p {
    font-family: var(--primary-font);
    font-size: 1.3rem;
    font-weight: bold;
}

.our-services-about {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

.our-services-about h2 {
    font-family: var(--primary-font);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--secondary-font-color);
}

.services-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #555;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-item {
    display: flex;
    gap: 20px;
    background: var(--component-bg);
    padding: 25px;
    box-shadow: 0 0 0.7rem 0.1rem var(--box-shadow-color);
}

.service-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.service-item h3 {
    font-family: var(--primary-font);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.service-item p {
    color: #666;
    font-size: 0.95rem;
}

.why-choose {
    background: #fbfbf6;
    padding: 60px 20px;
}

.why-choose h2 {
    font-family: var(--primary-font);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary-font-color);
}

.reasons-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.reason {
    text-align: center;
}

.reason i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.reason h3 {
    font-family: var(--primary-font);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.reason p {
    color: #555;
    line-height: 1.6;
}

.contact-about {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.contact-about h2 {
    font-family: var(--primary-font);
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--secondary-font-color);
}

.contact-about > p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #555;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.contact-method {
    background: var(--component-bg);
    padding: 30px 20px;
    box-shadow: 0 0 0.7rem 0.1rem var(--box-shadow-color);
    text-align: center;
}

.contact-method i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-method h3 {
    font-family: var(--primary-font);
    margin-bottom: 10px;
}

.contact-method a {
    color: var(--primary-color);
    font-weight: bold;
    display: block;
    margin: 10px 0;
}

.contact-method p {
    color: #666;
    font-size: 0.9rem;
}

.cta-about {
    background: var(--secondary-bg);
    padding: 80px 20px;
    text-align: center;
}

.cta-about h2 {
    font-family: var(--primary-font);
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--secondary-font-color);
}

.cta-about p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: var(--secondary-font-color);
    padding: 18px 40px;
    font-family: var(--primary-font);
    font-weight: bold;
    font-size: 1.2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */

@media screen and (max-width: 768px) {
    .about-hero h1 {
        font-size: 2rem;
    }

    .about-hero p {
        font-size: 1.1rem;
    }

    .about-intro h2,
    .service-area h2,
    .our-services-about h2,
    .why-choose h2,
    .contact-about h2 {
        font-size: 1.8rem;
    }

    .area-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .area-map {
        padding: 40px;
    }

    .area-map i {
        font-size: 80px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-methods {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-about h2 {
        font-size: 1.8rem;
    }

    .cta-about p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .about-page {
        padding-top: 60px;
    }

    .about-hero {
        padding: 60px 15px;
    }

    .about-hero h1 {
        font-size: 1.5rem;
    }

    .about-hero p {
        font-size: 1rem;
    }

    .about-intro,
    .our-services-about,
    .contact-about {
        margin: 40px auto;
    }

    .service-area,
    .why-choose,
    .cta-about {
        padding: 40px 15px;
    }

    .service-item {
        flex-direction: column;
        text-align: center;
    }

    .location-info {
        flex-direction: column;
        text-align: center;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
}