:root {
    /**
     * colors
     */

    --maximum-yellow-red: hsl(168, 72%, 51%);
    --royal-blue-dark: hsl(231, 61%, 22%);
    --silver-chalice: hsl(0, 0%, 70%);
    --oxford-blue: hsl(231, 100%, 8%);
    --bittersweet: hsl(215, 100%, 69%);
    --french-rose: hsl(248, 80%, 75%);
    --davys-gray: hsl(180, 3%, 28%);
    --cool-gray: hsl(240, 13%, 62%);
    --platinum: hsl(0, 0%, 92%);
    --white-2: hsl(0, 0%, 98%);
    --white: hsl(0, 0%, 100%);
    --black: hsl(0, 0%, 0%);
    --rythm: hsl(240, 9%, 53%);

    /**
     * typography
     */

    --ff-poppins: "Poppins", sans-sarif;

    --fs-1: 32px;
    --fs-2: 26px;
    --fs-3: 22px;
    --fs-4: 18px;
    --fs-5: 15px;
    --fs-6: 14px;

    --fw-700: 700;
    --fw-600: 600;
    --fw-500: 500;

    /**
     * transition
     */

    --transition: 0.25s ease-in-out;
}

:is(input, textarea):focus {
    outline: none;
}

:focus {
    outline-offset: 4px;
}

html {
    font-family: var(--ff-poppins);
    scroll-behavior: smooth;
}

body {
    background: var(--white);
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--white);
}

::-webkit-scrollbar-thumb {
    background: hsl(0, 0%, 50%);
}

/*-----------------------------------*\
 * #REUSED STYLE
\*-----------------------------------*/

.container {
    padding: 0 15px;
}

.h1,
.h2,
.h3 {
    font-weight: var(--fw-600);
    line-height: 1.3;
    text-transform: capitalize;
}

.h1 {
    color: var(--oxford-blue);
    font-size: var(--fs-1);
}

.h2 {
    font-size: var(--fs-2);
}

.h3 {
    color: var(--oxford-blue);
    font-size: var(--fs-3);
}

.h4 {
    color: var(--royal-blue-dark);
    font-size: var(--fs-5);
    font-weight: var(--fw-600);
}

.btn {
    font-size: var(--fs-6);
    text-transform: uppercase;
    font-weight: var(--fw-600);
    padding: 10px 40px;
    border: 1px solid;
    border-radius: 6px;
}

.btn-primary {
    background: var(--bittersweet);
    border-color: var(--bittersweet);
    color: var(--white);
}

/*-----------------------------------*\
 * #HERO
\*-----------------------------------*/

.hero {
    position: relative;
    padding: 130px 0 140px;
    z-index: 1;
}

.hero-content {
    text-align: center;
}

.hero-title {
    color: var(--color-bg);
}

.hero-title,
.hero-text {
    margin-bottom: 40px;
}

.hero-text {
    font-size: var(--fs-4);
    color: #000;
}

.hero .btn-primary {
    margin-inline: auto;
}

.hero-banner {
    display: none;
}

.shape-content {
    position: absolute;
    width: 900px;
    top: -50px;
    right: -200px;
    z-index: -1;
}

/*-----------------------------------*\
 * #ABOUT
\*-----------------------------------*/

.about {
    position: relative;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.477);
    padding: 120px 0;
    text-align: center;
}

.about-top {
    margin-bottom: 120px;
}

.about .h2 {
    color: var(--color-light);
}

.about-top .section-title {
    margin-bottom: 20px;
}

.about-top .section-text {
    color: #fff;
    font-size: var(--fs-4);
    margin-bottom: 60px;
}

.about-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.about-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 4px hsla(0, 0%, 0%, 0.1);
}

.about-card:hover {
    transform: scale(1.1);
    background-color: blue;

    .card-title {
        color: #fff;
    }

    .card-text {
        color: #fff;
    }
}

.card-icon {
    color: var(--bittersweet);
    font-size: 45px;
    width: max-content;
    margin-inline: auto;
    margin-bottom: 15px;
}

.about-card .card-title {
    margin-bottom: 15px;
}

.about-card .card-text {
    color: var(--davys-gray);
    font-size: 14px;
}

.about-bottom-banner {
    margin-bottom: 120px;
}

.about-bottom-banner img {
    width: 100%;
    height: 100%;
}

.about-bottom .section-title {
    margin-bottom: 20px;
}

.about-bottom .section-text {
    color: var(--white);
    font-size: var(--fs-4);
    margin-bottom: 40px;
}

.about-bottom .btn-secondary {
    color: var(--white);
    margin-inline: auto;
}

/*-----------------------------------*\
 * #FEATURES
\*-----------------------------------*/

.features {
    padding: 120px 0;
    text-align: center;
}

.features .section-title {
    color: var(--color-light);
    margin-bottom: 20px;
}

.features .section-text {
    color: rgba(220, 220, 220, 0.789);
    font-size: var(--fs-4);
    margin-bottom: 120px;
}

.features-item:first-child {
    margin-bottom: 100px;
}

.features-item-banner {
    max-width: 350px;
    margin-inline: auto;
    margin-bottom: 60px;
}

.features-item-banner img {
    width: 100%;
}

.features-item .item-title {
    color: var(--color-light);
    margin-bottom: 20px;
}

.features-item .item-text {
    color: rgba(220, 220, 220, 0.789);
    font-size: var(--fs-4);
}

/*-----------------------------------*\
 * #CONTACT
\*-----------------------------------*/

.contact {
    margin-bottom: 120px;
}

.contact-form {
    border: 1px solid white;
    padding: 30px;
    background-color: rgb(60, 60, 60);
}

.contact-content {
    margin-bottom: 50px;
}

.contact-title {
    color: var(--color-light);
    margin-bottom: 60px;
    text-align: center;
    font-weight: var(--fw-500) !important;
}

.contact-banner img {
    width: 100%;
}

.input-wrapper {
    margin-bottom: 30px;
}

.input-label {
    color: gainsboro;
    font-size: var(--fs-6);
    font-weight: var(--fw-600);
    margin-bottom: 10px;
}

.input-field {
    border: 1px solid var(--platinum);
    padding: 7px 0;
    font-size: var(--fs-6);
}

.input-field::placeholder {
    color: var(--silver-chalice);
    text-align: center;
}

textarea {
    max-height: 300px;
    min-height: 100px;
    height: 100px;
    resize: vertical;
}

.enquiry-form-container{
    margin-left: 30px;
    margin-top: 30px;
    position: relative;
}

.enquire-btn {
    font-size: 1rem;
    color: white;
    background-color: #4ebdff;
    width: 10rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    display: inline-block;
    margin-left: 2rem;
    margin-top: 1rem;
    cursor: default;
}

.enquire-btn:hover {
    background-color: #B7DAE0;
    color: black; /* Darker green */
}


/*-----------------------------------*\
 * #RESPONSIVE
\*-----------------------------------*/

/**
 * responsive for larger than 450px
 */

@media (min-width: 450px) {
    /**
     * CUSTOM PROPERTY
     */
    :root {
        /**
         * typography
         */

        --fs-1: 60px;
    }

    /**
     * REUESED STYLE
     */
    .h1,
    .h2 {
        font-weight: var(--fw-700);
    }

    .btn {
        padding-block: 15px;
    }

    /**
     * HERO
     */
    .hero {
        padding: 140px 0 160px;
    }

    /**
     * ABOUT
     */
    .about-card .card-title {
        padding-inline: 40px;
    }

    .about-bottom-banner {
        max-width: 400px;
        margin-inline: auto;
        margin-bottom: 40px;
    }

    .about-bottom-content {
        padding-inline: 50px;
    }

    /**
     * FEATURES
     */
    .features .h2 {
        --fs-2: 32px;
    }

    /**
     * CTA
     */
    .cta-title {
        --fs-1: 42px;
    }

    .cta-form {
        display: flex;
        justify-content: center;
        align-items: flex-end;
        gap: 30px;
    }

    .cta input {
        margin-bottom: 0;
    }

    .cta .btn-secondary {
        min-width: max-content;
    }

    /**
     * CONTACT
     */
    .contact-title {
        --fs-2: 32px;
    }

    .contact-banner {
        max-width: 300px;
        margin-inline: auto;
    }
}

/**
 * responsive for larger than 560px
 */

@media (min-width: 560px) {
    /**
     * REUESED STYLE
     */
    .container {
        max-width: 550px;
        margin-inline: auto;
    }

    /**
     * HERO, ABOUT
     */
    .hero-content,
    .about-bottom-content {
        text-align: left;
    }

    .hero .btn-primary,
    .about-bottom .btn-secondary {
        margin-inline: 0;
    }
}

/**
 * responsive for larger than 768px
 */

@media (min-width: 768px) {
    /**
     * CUSTOM PROPERTY
     */
    :root {
        /**
         * typography
         */

        --fs-2: 35px;
        --fs-4: 20px;
    }

    /**
     * REUSED STYLE
     */
    .container {
        max-width: 740px;
    }

    /**
     * ABOUT
     */
    .about-list {
        grid-template-columns: 1fr 1fr;
    }

    .about-card {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

    .about-card .card-title {
        padding-inline: 0;
    }

    /**
     * CONTACT
     */
    .contact-title {
        --fs-2: 42px;
    }
}

/**
 * responsive for larger than 1024px
 */

@media (min-width: 1024px) {
    /**
     * REUSED STYLE
     */
    .container {
        max-width: 950px;
    }

    /**
     * HERO
     */
    .hero-content {
        max-width: 550px;
    }

    .hero-banner {
        display: block;
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        width: 500px;
        padding-top: 500px;
        background: url("../images/hero-banner.png") no-repeat;
        background-size: contain;
    }

    /**
     * ABOUT
     */
    .about-top .section-text {
        max-width: 650px;
        margin-inline: auto;
    }

    .about-list {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .about-bottom-banner {
        margin-bottom: 0;
        height: 330px;
    }

    .about-bottom-content {
        padding-inline: 0;
        width: 50%;
    }

    /**
     * FEATURES
     */
    .features :is(.section-title, .section-text) {
        max-width: 650px;
        margin-inline: auto;
    }

    .features-item {
        display: flex;
        align-items: center;
        gap: 50px;
    }

    .features-item-banner {
        margin-inline: 0;
        margin-bottom: 0;
    }

    .feature-item-content {
        width: 50%;
        text-align: left;
    }

    .features-item:last-child {
        flex-direction: row-reverse;
    }

    /**
     * CTA
     */
    .cta-card > * {
        max-width: 500px;
        margin-inline: auto;
    }

    /**
     * CONTACT
     */
    .contact .container {
        display: flex;
        justify-content: space-between;
        gap: 50px;
    }

    .contact-content {
        max-width: 500px;
    }

    .contact-title {
        text-align: left;
    }

    .contact-form {
        width: 50%;
        height: 485px;
    }

    /**
     * FOOTER
     */
    .footer-top .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 50px;
    }

    .footer-brand,
    .footer-link-list:not(:last-child) {
        margin-bottom: 0;
    }

    .footer-link-box {
        grid-template-columns: repeat(4, 1fr);
        gap: 50px;
    }
}

/**
 * responsive for larger than 1200px
 */

@media (min-width: 1200px) {
    /**
     * CUSTOM PROPERTY
     */
    :root {
        /**
         * typography
         */

        --fs-2: 42px;
    }

    /**
     * REUSED STYLE
     */
    .container {
        max-width: 1150px;
    }

    /**
     * HERO
     */
    .hero-banner {
        right: 100px;
    }

    /**
     * ABOUT
     */
    .about-bottom-banner {
        height: 400px;
    }

    /**
     * FEATURES
     */
    .features .h2 {
        --fs-2: 42px;
    }

    .features :is(.section-title, .section-text) {
        max-width: 850px;
    }
}
