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

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
}

.title {
    font-size: 30px;
    font-weight: 700;
    margin-left: 50px;
    padding: 10px 15px;
    position: relative;
    animation: fadeInDown 1s ease;
}

.title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid transparent;
    border-left: 10px solid #f3d78a;
}

.container {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* header style */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
    background: #fff;
    height: 60px;
}

header .logo h1 {
    font-size: 34px;
    font-weight: 600;
    color: #333;
}

header .contact-us {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: background 0.3s ease;
}

header .contact-us i {
    font-size: 18px;
    color: #333;
}

header .contact-us span {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

header .contact-us:hover {
    background: #f3d78a;
}

/* hero page style */

.hero-sec .container {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 30px;
}

.hero-sec .container .content h2 {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    animation: fadeInUp 1s ease;
}

.hero-sec .container .content p {
    font-size: 18px;
    color: #555;
    max-width: 600px;
    animation: fadeInUp 1.3s ease;
}

.hero-sec .container .content a {
    display: inline-block;
    padding: 12px 24px;
    background: #f3d78a;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    margin-top: 30px;
    transition: all 0.3s ease;
    animation: fadeInUp 1.5s ease;
}

.hero-sec .container .content a:hover {
    background: #e0b15a;
    color: #fff;
    transform: scale(1.05);
}

/* types card style */

.products-sec .container {
    padding: 100px 15px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.products-sec .container .card {
    opacity: 0;
    transform: translateY(20px);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease;
}

.products-sec .container .card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.products-sec .container .card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.products-sec .container .card p {
    font-size: 14px;
    color: #555;
    margin-top: 10px;
}

.products-sec .container .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.products-sec .container .fadeIn {
    opacity: 1;
    transform: translateY(0);
}

/* review section */

.clients-review .container {
    padding: 100px 15px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.clients-review .container .review-card {
    opacity: 0;
    transform: translateY(20px);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease;
}

.clients-review .container .review-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
}

.clients-review .container .review-card span {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.clients-review .container .fadeIn {
    opacity: 1;
    transform: translateY(0);
}

/* footer */

footer .container {
    padding: 30px 20px;
    background: #333;
    color: #fff;
}
footer .container .text-me {
    display: flex;
    justify-content: start;
    flex-direction: column;
    flex-wrap: wrap;
}

footer .container .text-me h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

footer .container .text-me p {
    font-size: 14px;
    color: #ccc;
    margin: 5px 10px;
}

footer .container .text-me .email {
    font-size: 16px;
    font-weight: 600;
    color: #f3d78a;
    margin: 0px 10px;
}

footer .container .text-me .email:hover {
    color: #e0b15a;
}

footer .container .social {
    display: flex;
    justify-content: start;
    gap: 15px;
    margin: 10px 10px;
}

footer .container .copy-right {
    font-size: 14px;
    color: #ccc;
    margin-top: 20px;
    text-align: center;
}


/* animation */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* media query */

/* super small screen */
@media (max-width: 399px) {
    /* header */
    header .logo h1 {
        font-size: 18px;
    }

    header .contact-us {
        padding: 2px 6px;
    }
    
    header .contact-us i {
        font-size: 10px;
    }

    header .contact-us span {
        font-size: 10px;
    }

    /* hero section */
    .hero-sec .container .content h2 {
        font-size: 25px;
        line-height: 1.5;
        letter-spacing: 0.5;
    }

    .hero-sec .container .content p {
        font-size: 14px;
        max-width: 100%;
    }

    .hero-sec .container .content a {
        padding: 10px 15px;
        font-size: 14px;
    }

    /* section title */
    .title {
        font-size: 20px;
        margin-left: 20px;
        padding: 8px 12px;
    }
}

/* small screen */
@media (max-width: 499px) {
    /* header */
    header {
        padding-left: 15px;
        padding-right: 15px;
    }

    header .logo h1 {
        font-size: 23px;
    }

    header .contact-us {
        padding: 6px 10px;
    }
    
    header .contact-us i {
        font-size: 14px;
    }

    header .contact-us span {
        font-size: 14px;
    }

    /* hero section */
    .hero-sec .container .content h2 {
        font-size: 30px;
        line-height: 1.5;
        letter-spacing: 1;
    }

    .hero-sec .container .content p {
        font-size: 16px;
        max-width: 100%;
    }

    .hero-sec .container .content a {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* section title */
    .title {
        font-size: 24px;
        margin-left: 24px;
        padding: 8px 12px;
    }
}

/* between mid and small */
@media (min-width: 500px) {
    header .logo h1 {
        font-size: 30px;
    }

    header .contact-us {
        padding: 10px 14px;
    }
    
    header .contact-us i {
        font-size: 18px;
    }

    header .contact-us span {
        font-size: 17px;
    }

    /* hero section */
    .hero-sec .container .content h2 {
        font-size: 35px;
        line-height: 1.5;
        letter-spacing: 1.5;
    }

    .hero-sec .container .content p {
        font-size: 18px;
        max-width: 100%;
    }

    .hero-sec .container .content a {
        padding: 10px 20px;
        font-size: 18px;
    }

    /* section title */
    .title {
        font-size: 28px;
        margin-left: 30px;
        padding: 8px 12px;
    }
}

/* mid screen */
@media (min-width: 768px) {
    header .logo h1 {
        font-size: 38px;
    }

    header .contact-us {
        padding: 12px 16px;
    }
    
    header .contact-us i {
        font-size: 22px;
    }

    header .contact-us span {
        font-size: 20px;
    }

    /* hero section */
    .hero-sec .container .content h2 {
        font-size: 45px;
        line-height: 1.5;
        letter-spacing: 0.5;
    }

    .hero-sec .container .content p {
        font-size: 20px;
        max-width: 100%;
    }

    .hero-sec .container .content a {
        padding: 10px 20px;
        font-size: 20px;
    }

    /* section title */
    .title {
        font-size: 32px;
        margin-left: 32px;
        padding: 10px 14px;
    }
}

/* large screen */
@media (min-width: 992px) {
    header .logo h1 {
        font-size: 30px;
    }

    header .contact-us {
        padding: 14px 18px;
    }
    
    header .contact-us i {
        font-size: 24px;
    }

    header .contact-us span {
        font-size: 22px;
    }

    /* hero section */
    .hero-sec .container .content h2 {
        font-size: 40px;
        line-height: 1.5;
        letter-spacing: 0.5;
    }

    .hero-sec .container .content p {
        font-size: 18px;
        max-width: 100%;
    }

    .hero-sec .container .content a {
        padding: 10px 20px;
        font-size: 18px;
    }

    /* section title */
    .title {
        font-size: 35px;
        margin-left: 35px;
        padding: 10px 14px;
    }
}

/* extra large screen */
@media (min-width: 1200px) {
    header .logo h1 {
        font-size: 30px;
    }

    header .contact-us {
        padding: 8px 10px;
    }
    
    header .contact-us i {
        font-size: 20px;
    }

    header .contact-us span {
        font-size: 18px;
    }

    /* hero section */
    .hero-sec .container .content h2 {
        font-size: 45px;
        line-height: 1.5;
        letter-spacing: 0.5;
    }

    .hero-sec .container .content p {
        font-size: 18px;
        max-width: 600px;
    }

    .hero-sec .container .content a {
        padding: 10px 20px;
        font-size: 20px;
    }

    /* section title */
    .title {
        font-size: 35px;
        margin-left: 32px;
        padding: 10px 14px;
    }
}

/* extra extra large screen */
@media (min-width: 1400px) {
    header .logo h1 {
        font-size: 44px;
    }

    header .contact-us {
        padding: 18px 22px;
    }
    
    header .contact-us i {
        font-size: 28px;
    }

    header .contact-us span {
        font-size: 24px;
    }

    /* hero section */
    .hero-sec .container .content h2 {
        font-size: 45px;
        line-height: 1.5;
        letter-spacing: 0.5;
    }

    .hero-sec .container .content p {
        font-size: 20px;
        max-width: 600px;
    }

    .hero-sec .container .content a {
        padding: 10px 20px;
        font-size: 20px;
    }

    /* section title */
    .title {    
        font-size: 35px;
        margin-left: 32px;
        padding: 10px 14px;
    }
}