﻿/* =========================================
   HERO SECTION
========================================= */
:root {
    --primary-color: #100F11;
    --secondary-color: #F6F6F7;
    --text-color: #646464;
    --accent-color: #da2227;
    --white-color: #FFFFFF;
    --divider-color: #100F1112;
    --dark-divider-color: #FFFFFF1A;
    --error-color: rgb(230, 87, 87);
    --default-font: "Sarabun", sans-serif;
    --accent-font: "Big Shoulders", sans-serif;
}

.hero {
    position: relative;
}

    .hero img {
        height: 90vh;
        object-fit: cover;
    }

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 90%;
}

    .hero-content h1 {
        font-size: 2.4rem;
        margin-bottom: 15px;
        text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
    }

    .hero-content p {
        font-size: 1.1rem;
        max-width: 600px;
        margin: 0 auto;
        text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    }

/* ===== Carousel Animation ===== */
.carousel-caption {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    bottom: auto !important;
    text-align: center;
    width: 90%;
}

/* Smooth fade-in + blur animation for hero text */
.carousel-item .hero-content {
    opacity: 0;
    transform: translate(-50%, -40%) scale(0.98);
    filter: blur(6px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-item.active .hero-content {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    filter: blur(0);
}

.carousel-item.active h1 {
    animation: modernFadeUp 1s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.carousel-item.active p {
    animation: modernFadeUp 1.2s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes modernFadeUp {
    0% {
        opacity: 0;
        transform: translateY(25px);
        filter: blur(5px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Subtle zoom animation on background image */
.carousel-item.active img {
    animation: zoomImage 8s ease-in-out forwards;
}

@keyframes zoomImage {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

/* =========================================
   FEATURED SECTION
========================================= */
.featured {
    background: linear-gradient(180deg, #f9fafc 0%, #eef2f7 100%);
    text-align: center;
    padding: 80px 20px;
}

    .featured h2 {
        font-size: 2rem;
        margin-bottom: 50px;
        color: #1f2d3d;
        font-weight: 700;
        letter-spacing: 0.5px;
    }

.featured-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 35px;
}

/* =========================================
   MODERN FEATURED CARD DESIGN
========================================= */
.card {
    background-color: #fff;
    border: none;
    border-radius: 15px;
    width: 320px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 1s forwards;
    opacity: 0;
    transform: translateY(30px);
    border-radius: 10px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

    .card:nth-child(1) {
        animation-delay: 0.2s;
    }

    .card:nth-child(2) {
        animation-delay: 0.4s;
    }

    .card:nth-child(3) {
        animation-delay: 0.6s;
    }

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card hover motion */
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Card Image */
.card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.card:hover .card-img img {
    transform: scale(1.05);
}

/* Card Body */
.card-body {
    padding: 20px;
}

    .card-body h3 {
        font-size: 1.2rem;
        color: #8D7437;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .card-body p {
        font-size: 15px;
        color: #555;
        margin-bottom: 15px;
        text-align: justify;
    }

    /* Button */
    .card-body button {
        background-color: #25374b;
        color: #fff;
        border: none;
        padding: 10px 20px;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .card-body button:hover {
            background-color: #1a2635;
            transform: translateY(-3px);
            box-shadow: 0 4px 15px rgba(37, 55, 75, 0.3);
        }

/* =========================================
   WHY CHOOSE US
========================================= */
.why-choose {
    text-align: center;
    padding: 70px 20px;
    background-color: #ffffff;
}

    .why-choose h2 {
        font-size: 1.8rem;
        color: #25374b;
        margin-bottom: 25px;
    }

    .why-choose ul {
        list-style: none;
        padding: 0;
    }

    .why-choose li {
        font-size: 1.1rem;
        margin: 10px 0;
    }

/* =========================================
   RESPONSIVE DESIGN
========================================= */
@media (max-width: 992px) {
    .featured-items {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .featured-items {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .hero-content p {
        font-size: 0.95rem;
    }

    .card-body h3 {
        font-size: 1.1rem;
    }
}


/************************************/
/*** 	    16. Footer css	      ***/
/************************************/
/*
.main-footer {
    background-color: #233447;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto;
    padding: 80px 0 0;
}*/

.main-footer {
    position: relative;
    background-image: url('/images/pierpaolo-lanfrancotti-NKUEACkOhbk-unsplash.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0 0;
}

    .main-footer::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.8); /* dark overlay */
        z-index: 1;
    }

    .main-footer .container {
        position: relative;
        z-index: 2;
    }


.footer-logo {
    margin-bottom: 20px;
}

    .footer-logo img {
        /* width: 100%;
	max-width: 149px; */
        height: 85px;
    }

.about-footer-content {
    margin-bottom: 30px;
}

    .about-footer-content p {
        color:white;
        margin-bottom: 0;
    }

.footer-contact-list {
    display: inline-block;
    background-color: #8D7437;
    padding: 25px !important;
}

    .footer-contact-list ul {
        list-style: none;
        padding: 10px;
        margin: 0;
    }

        .footer-contact-list ul li {
            margin-bottom: 15px;
        }

            .footer-contact-list ul li:last-child {
                margin-bottom: 0;
            }

            .footer-contact-list ul li a {
                display: inline-flex;
                align-items: center;
                color: White;
                transition: all 0.3s ease-in-out;
                text-decoration:none;
            }

                .footer-contact-list ul li a:hover {
                    color: var(--white-color);
                }

                .footer-contact-list ul li a img {
                    width: 100%;
                    max-width: 20px;
                    margin-right: 12px;
                    transition: all 0.3s ease-in-out;
                    filter: brightness(0) invert(1);
                }

                .footer-contact-list ul li a:hover img {
                    filter: brightness(0) invert(1);
                }

.footer-link-box {
    display: flex;
    gap: 30px 120px;
    flex-wrap: wrap;
    margin-left: 60px;
}

.footer-links {
    position: relative;
    width: calc(22% - 53.33px);
}

    .footer-links::before {
        content: '';
        position: absolute;
        top: 0;
        right: 50px !important;
        bottom: 0;
        background: var(--dark-divider-color);
        width: 1px;
        height: 100%;
    }

    .footer-links:nth-child(3n + 3)::before,
    .footer-links:last-child::before {
        display: none;
    }

    .footer-links h3 {
        font-size: 24px;
        color:white;
        text-transform: capitalize;
        margin-bottom: 30px;
        margin-left: -4px;
    }

    .footer-links ul {
        margin: -4px;
        padding: 0;
        list-style: none;
    }

        .footer-links ul li {
            color: white;
            text-transform: capitalize;
            line-height: 1.7em;
            margin-bottom: 15px;
        }

            .footer-links ul li:last-child {
                margin-bottom: 0;
            }

            .footer-links ul li a {
                color: inherit;
                transition: all 0.3s ease-in-out;
                text-decoration:none;
            }

                .footer-links ul li a:hover {
                    color: #b88d24;
                }

.footer-contact-info,
.footer-newsletter-form {
    width: calc(39% - 53.33px);
}

.footer-info-item {
    display: flex;
    align-items: baseline;
    border-bottom: 1px solid var(--dark-divider-color);
    margin-bottom: 30px;
    padding-bottom: 30px;
}

    .footer-info-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .footer-info-item .icon-box {
        margin-right: 10px;
    }

        .footer-info-item .icon-box img {
            width: 100%;
            max-width: 24px;
            filter: brightness(0) saturate(100%) invert(54%) sepia(24%) saturate(1425%) hue-rotate(16deg) brightness(91%) contrast(88%);
        }


.footer-info-content {
    width: calc(100% - 34px);
}

    .footer-info-content p {
        color: white;
        margin-bottom: 2px;
    }

        .footer-info-content p:last-child {
            margin-bottom: 0;
            margin-right: -70px;
        }

.footer-newsletter-form .form-group .form-control {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5em;
    color: var(--text-color);
    background: white;
    border: none;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    padding: 18px 20px;
}

    .footer-newsletter-form .form-group .form-control::placeholder {
        color: var(--text-color);
    }

.footer-newsletter-form .form-group .btn-default {
    width: 100%;
    text-align: center;
    padding: 16px 20px;
    margin-top: 20px;
}

    .footer-newsletter-form .form-group .btn-default:hover {
        color: var(--primary-color);
    }

    .footer-newsletter-form .form-group .btn-default::after {
        background: var(--white-color);
    }

    .footer-newsletter-form .form-group .btn-default::before {
        display: none;
    }

.footer-copyright {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--dark-divider-color);
    margin-top: 30px;
    padding: 60px 0;
}

.footer-copyright-text p {
    color: var(--white-color);
    margin-bottom: 0;
}

.footer-social-links {
    text-align: right;
}

    .footer-social-links ul {
        list-style: none;
        line-height: 1em;
        padding: 0;
        margin: 0;
    }

        .footer-social-links ul li {
            display: inline-block;
            margin-right: 15px;
            transition: all 0.3s ease-in-out;
        }

            .footer-social-links ul li:last-child {
                margin-right: 0;
            }

            .footer-social-links ul li a {
                background: var(--white-color);
                color: var(--primary-color);
                width: 25px;
                height: 25px;
                border-radius: 5px;
                display: flex;
                align-items: center;
                justify-content: center;
                transition: all 0.3s ease-in-out;
            }

                .footer-social-links ul li a:hover {
                    background: var(--accent-color);
                }

                .footer-social-links ul li a i {
                    font-size: 16px;
                    color: inherit
                }
.footer-links h3 {
    font-weight: bold;
    margin-bottom: 12px;
    color: white;
}
.about-footer-content p {
    color: var(--white-color);
    margin-bottom: 0;
}







/*
.bg-img {
    position: relative;
    background-image: url('/images/pierpaolo-lanfrancotti-NKUEACkOhbk-unsplash.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0 0;
}*/

    /*.bg-img::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.8);*/ /* dark overlay */
/*        z-index: 1;*/
    /*}

    .bg-img .container {
        position: relative;*/
/*        z-index: 1;*/
    /*}*/

