:root {
    --background-color: #ffffff;
    --font-color: #0e0d0d;
    --hover-color: #ff5c05;
    --navborder-color: #ea0303;
    --seconadry-color: #3ec8ff;
    --font2-color: #006ac0;
    --font3-color: #002d5b;
}

.review-page {
    max-width: 1200px;
    margin: 60px auto;
    padding: 10px 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 30px;
    backdrop-filter: blur(20px);
    font-family: 'Poppins', 'Prompt', sans-serif;
    animation: fadeInUp 1s ease forwards;
}

.review-page h1 {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
}

.review-page h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    margin: 12px auto 0;
    background: linear-gradient(to right, #007aff, #00d4ff);
    border-radius: 2px;
}

.review-page p {
    font-size: 18px;
    color: #555;
    max-width: 900px;
    margin: 0 auto;
    /* font-weight: 300; */
    font-weight: bold;
    margin-bottom: 30px;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 10px;
    gap: 10px;
}

.category-btn {
    background: #fff;
    border: 1px solid #003f87;
    color: #003f87;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.category-btn.active,
.category-btn:hover {
    background-color: #003f87;
    color: #fff;
}

/* hr line */
hr {
    border: none;
    height: 2px;
    background-color: #333;
    width: 40%;
    margin: 20px auto;
}

/* review card */
/* Modern Review Cards CSS */
.review-cards {
    display: flex;
    gap: 50px 30px;
    justify-content: center;
    flex-wrap: wrap;
    text-decoration: none;
}

.new-card {
    width: 30% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
}

@media (max-width: 968px) {
    .new-card {
        width: 45% !important;
    }
}

.review-cards .card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    height: 250px;
    width: 100%;
    text-decoration: none;
    color: white;
    display: block;
}

.review-cards .card::before {
    content: attr(data-category);
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #222;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.review-cards .card:hover::before {
    opacity: 1;
    transform: translateY(0);
}

.review-cards .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.review-cards .card:hover img {
    transform: scale(1.05);
}

.review-cards .card p {
    color: white;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    margin: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    font-size: 1.1rem;
    font-weight: 500;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.review-cards .card:hover p {
    padding-bottom: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 80%);
}

.review-cards .card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #feca57);
    transition: all 0.4s ease;
}

.review-cards .card:hover::after {
    width: 100%;
    left: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .review-cards {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .review-cards .card {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .review-cards {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 1rem;
    }

    .review-cards .card {
        height: 240px;
    }
}

/* Animation for cards when they appear */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-cards .card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.review-cards .card:nth-child(1) {
    animation-delay: 0.1s;
}

.review-cards .card:nth-child(2) {
    animation-delay: 0.2s;
}

.review-cards .card:nth-child(3) {
    animation-delay: 0.3s;
}

.review-cards .card:nth-child(4) {
    animation-delay: 0.4s;
}

.review-cards .card:nth-child(5) {
    animation-delay: 0.5s;
}

.review-cards .card:nth-child(6) {
    animation-delay: 0.6s;
}

.review-cards .card:nth-child(7) {
    animation-delay: 0.7s;
}

.review-cards .card:nth-child(8) {
    animation-delay: 0.8s;
}

.review-cards .card:nth-child(9) {
    animation-delay: 0.9s;
}


@media (max-width: 768px) {
    .review-cards {
        flex-direction: column;
        align-items: center;
    }

    .review-cards .card {
        width: 90%;
    }
}


/* video carousel of review interior */

.video-carousel {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    padding: 20px;
    background-color: #222;
    margin-bottom: 50px;
}


.video-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.video-item {
    flex: 0 0 33.33%;
    padding: 10px;
    box-sizing: border-box;
    position: relative;
}

.video-item iframe {
    width: 90%;
    height: 250px;
    border-radius: 10px;
}


/* Responsive */
@media (max-width: 768px) {
    .video-item {
        flex: 0 0 100%;
    }
}


/* contatct box */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--background-color);
    margin-bottom: 30px;
    margin-top: 50px;
    background-color: #ebebeb;
    border-radius: 8px;
}

.contact-info {
    flex: 1;
    background-color: #e8f4ff;
    padding: 20px;
    border-radius: 10px;
}

.contact-info h2 {
    color: #003f87;
}

.contact-info a {
    color: #003f87;
    text-decoration: none;
}

.map-container {
    text-align: left;
}

.map-container iframe {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.get-direction-btn {
    display: inline-block;
    margin: 10px 0;
    padding: 8px 12px;
    font-size: 14px;
    background-color: #003f87;
    color: #fff !important;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
}

.get-direction-btn:hover {
    background-color: #002e6d;
    color: #fff !important;
}


.map-container {
    margin-top: 0;
    display: block;
    text-align: left;
}

.map-container iframe {
    display: inline-block;
    margin-left: 0;
    border-radius: 8px;
    border: 1px solid #ccc;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a img {
    width: 20px;
    height: auto;
    transition: transform 0.5s ease;
}

.social-icons a:hover img {
    transform: scale(1.2);
}

/* form */
.contact-form {
    flex: 1;
    background-color: #e8f4ff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.contact-form h2 {
    margin-bottom: 20px;
    color: #003f87;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    padding: 10px 20px;
    background-color: #003f87;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #002e6d;
}

/* Responsive for tablets (max-width: 1024px) */
@media (max-width: 1024px) {
    .contact-container {
        flex-direction: column;
        align-items: left;
        padding: 20px;
    }

    .contact-info {
        order: 1;
        width: 90%;
        text-align: left;
    }

    .contact-form {
        order: 2;
        width: 90%;
    }

    .map-container iframe {
        max-width: 100%;
        height: 350px;
    }
}

/* Responsive for mobile devices (max-width: 576px) */
@media (max-width: 576px) {
    .contact-container {
        flex-direction: column;
        align-items: left;
        padding: 15px;
    }

    .contact-info {
        order: 1;
        width: 100%;
        text-align: left;
        padding: 15px;
    }

    .contact-form {
        order: 2;
        width: 100%;
        text-align: left;
        padding: 15px;
    }

    .contact-info h2,
    .contact-form h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 14px;
        padding: 8px;
    }

    .contact-form button {
        font-size: 14px;
        padding: 8px 16px;
    }

    .map-container iframe {
        width: 100%;
        height: 300px;
    }

    .social-icons a img {
        width: 18px;
    }
}


/* Footer Base */
.footer {
    background: rgb(236, 236, 236);
    color: white;
    padding: 50px 20px;
    font-size: 16px;
}

/* Footer Container */
.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

/* .footer-left {
    flex: 1;
    max-width: 300px;
    text-align: left;
}

.footer-left h2 {
    font-size: 20px;
    color: var(--font2-color);
    display: inline-block;
    padding-bottom: 5px;
    font-weight: bold;
}

.footer-logo {
    width: 180px;
} */
.footer-left h2 {
    font-size: 20px;
    color: var(--font2-color);
    display: inline-block;
    padding-bottom: 5px;
    font-weight: bold;
}

.footer-left {
    flex: 1 1 20%;
    margin-bottom: 20px;
}

.footer-logo {
    height: auto;
    width: 50%;
    display: inline-block;
}

.footer-left p {
    font-size: 16px;
    color: var(--font-color);
    margin-top: 10px;
    font-weight: 600;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a img {
    width: 20px;
    height: auto;
    transition: transform 0.5s ease;
}

.social-icons a:hover img {
    transform: scale(1.2);
}

/* Footer Center & Right (Company & Services) */
.footer-center,
.footer-right,
.footer-help,
.footer-payment {
    flex: 1;
    text-align: left;
    min-width: 200px;
}

.footer-center h2,
.footer-right h2,
.footer-help h2,
.footer-payment h2 {
    font-size: 18px;
    color: #002d5b;
    /* border-bottom: 2px solid var(--font2-color); */
    display: inline-block;
    padding-bottom: 5px;
    font-weight: bold;
}

.footer-center ul,
.footer-right ul,
.footer-help ul {
    list-style: none;
    padding: 0;
}

.footer-center ul li,
.footer-right ul li,
.footer-help ul li {
    margin: 5px 0;
}

.footer-center ul li a,
.footer-right ul li a,
.footer-help ul li a {
    color: #002d5b;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    font-weight: 600;
}

.footer-center ul li a:hover,
.footer-right ul li a:hover,
.footer-help ul li a:hover {
    color: var(--font2-color);
}

/* Payment Logos */
.payment-logos {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.payment-logos img {
    width: 50px;
    transition: transform 0.3s ease;
}

.payment-logos img:hover {
    transform: scale(1.1);
}

/* Footer Bottom */
.footer-bottom {
    color: var(--font2-color);
    text-align: center;
    font-size: 14px;
    border-top: 1px solid #333;
    padding-top: 15px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .footer-container {
        flex-wrap: wrap;
        justify-content: space-between;
        text-align: center;
    }

    .footer-left,
    .footer-center,
    .footer-right,
    .footer-help,
    .footer-payment {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .footer-left {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-left,
    .footer-center,
    .footer-right,
    .footer-help,
    .footer-payment {
        width: 100%;
    }

    .footer-logo {
        margin: 10px auto;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-center ul,
    .footer-right ul,
    .footer-help ul {
        padding: 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 10px;
    }

    .footer-left h2,
    .footer-center h2,
    .footer-right h2,
    .footer-help h2 {
        font-size: 16px;
    }

    .footer-center ul li a,
    .footer-right ul li a,
    .footer-help ul li a {
        font-size: 14px;
    }

    .footer-logo {
        width: 100px;
    }

    .social-icons img {
        width: 28px;
    }

    .payment-logos img {
        width: 40px;
    }
}

@media (max-width: 768px) {

    .footer-center ul,
    .footer-right ul,
    .footer-help ul {
        display: none;
        /* Hide lists initially */
    }

    .footer-center h2,
    .footer-right h2,
    .footer-help h2 {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 18px;
        font-weight: bold;
        color: #002d5b;
        /* Adjust color */
        padding: 10px 0;
        border-bottom: 1px solid #ccc;
    }

    .toggle-icon {
        font-size: 18px;
        font-weight: bold;
        transition: transform 0.3s ease;
        display: inline-block;
    }
}

/* Hide the "+" symbol on larger screens */
@media (min-width: 769px) {
    .toggle-icon {
        display: none;
    }

    .footer-center ul,
    .footer-right ul,
    .footer-help ul {
        display: block;
    }
}

/* logo */
@media (max-width: 768px) {
    .footer-left {
        flex-direction: row;
        justify-content: center;
        text-align: center;
    }

    .footer-left h2 {
        font-size: 18px;
    }

    .footer-logo {
        width: 140px;
    }
}

/* for tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .footer-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        padding: 20px;
    }

    .footer-sections {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        justify-content: space-between;
    }

    .footer-center,
    .footer-right,
    .footer-help {
        flex: 1 1 calc(33.33% - 20px);
        max-width: 33.33%;
        text-align: left;
    }

    .footer-payment {
        flex: 1 1 100%;
        max-width: 100%;
        text-align: left;
        margin-top: 10px;
    }

    .payment-logos {
        display: flex;
        gap: 10px;
        margin-top: 5px;
    }

    .payment-logos img {
        width: 50px;
        transition: transform 0.3s ease;
    }

    .payment-logos img:hover {
        transform: scale(1.1);
    }
}

/* phone */
@media (max-width: 768px) {
    .footer-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }

    .footer-sections {
        width: 100%;
    }

    .footer-center,
    .footer-right,
    .footer-help {
        width: 100%;
        text-align: left;
        margin-bottom: 10px;
    }

    .footer-center h2,
    .footer-right h2,
    .footer-help h2 {
        font-size: 16px;
        font-weight: bold;
        color: #002d5b;
        padding: 8px 0;
        border-bottom: 1px solid #ccc;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 5px;
    }

    .footer-center ul,
    .footer-right ul,
    .footer-help ul {
        display: none;
        list-style: none;
        padding-left: 0;
        margin-top: 5px;
    }

    .footer-center.active ul,
    .footer-right.active ul,
    .footer-help.active ul {
        display: block;
    }

    .footer-payment {
        width: 100%;
        text-align: left;
        margin-top: 10px;
    }

    .payment-logos {
        display: flex;
        gap: 10px;
    }

    .payment-logos img {
        width: 50px;
        transition: transform 0.3s ease;
    }

    .payment-logos img:hover {
        transform: scale(1.1);
    }
}


.categories a {
    text-decoration: none;
}
