/**
Theme Name: Astra
Theme URI: https://wpastra.com/
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 6,000+ five-star reviews! It’s ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. It’s fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
Version: 4.13.5
Requires at least: 5.3
WC requires at least: 3.0
WC tested up to: 10.9.1
Tested up to: 7.0
Requires PHP: 5.3
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra
Domain Path: /languages
Tags: custom-menu, custom-logo, entertainment, one-column, two-columns, left-sidebar, e-commerce, right-sidebar, custom-colors, editor-style, featured-images, full-width-template, microformats, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready, blog
AMP: true

Astra WordPress Theme, Copyright 2020 WPAstra.
Astra is distributed under the terms of the GNU GPL.

Astra is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of.
Nicolas Gallagher and Jonathan Neal https://necolas.github.com/normalize.css/

Astra icon font is based on IcoMoon-Free vector icon by Keyamoon.
IcoMoon-Free vector icon distributed under terms of CC BY 4.0 or GPL. (https://creativecommons.org/licenses/by/4.0/ or https://www.gnu.org/licenses/gpl.html)
Source: http://keyamoon.com/

Flexibility is a JavaScript polyfill for Flexbox By Jonathan Neal, 10up. (https://github.com/jonathantneal/flexibility)
Licensed under MIT ( https://github.com/jonathantneal/flexibility/blob/master/LICENSE.md )

Screenshot image is a collage of actual sites created using the Astra WordPress Theme.

Icons used in the Screenshot image are all licensed under Creative Commons ( CC BY 4.0 ) License ( https://fontawesome.com/license/free )
https://fontawesome.com/v5.15/icons/store?style=solid
https://fontawesome.com/v5.15/icons/shopping-cart?style=solid
https://fontawesome.com/v5.15/icons/pen-square?style=solid
https://fontawesome.com/v5.15/icons/user-tie?style=solid
https://fontawesome.com/v5.15/icons/user-tie?style=solid

Illustrations used in the Screenshot images are all licensed under Creative Commons ( CC0 ) License ( https://gumroad.com/l/humaaans )
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/standing-24.png
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/sitting-2.png

Hand-drawn illustrations used are created by Brainstorm Force and released under Creative Commons ( CC0 ) License.
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/girl-with-image-container.png
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/boy-with-code-container.png
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/web-browser.png

The same site as screenshot can be imported from here https://websitedemos.net/web-design-agency-08/.

For more information, refer to this document on how to create a page like in the screenshot - https://wpastra.com/docs/replicating-the-screenshot/.

Astra default breadcrumb is based on Breadcrumb Trail by Justin Tadlock. (https://github.com/justintadlock/breadcrumb-trail)
Breadcrumb Trail is distributed under the terms of the GNU GPL v2 or later.

Astra local fonts feature is based on Webfonts Loader by WordPress Themes Team (WPTT). (https://github.com/WPTT/webfont-loader)
Licensed under MIT ( https://github.com/WPTT/webfont-loader/blob/master/LICENSE )

/* Note: The CSS files are loaded from assets/css/ folder. */
body {
    font-family: "Inter", sans-serif;
    background: #08111f;
}

.hero-bg {
    background:
        linear-gradient(rgba(4, 10, 25, 0.75), rgba(4, 10, 25, 0.85)),
        url("/wp-content/themes/astra/assets/background/header-bg.avif");
    background-size: cover;
    background-position: center;
}

.glass {
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-hover {
    transition: all 0.35s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.float-animation {
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

.fade-up {
    animation: fadeup 1s ease;
}

@keyframes fadeup {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

.gradient-text {
    background: linear-gradient(to right, #60a5fa, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===================================================
   HOME REALTY MENU
=================================================== */

.menu,
.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* MAIN MENU */

.menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.menu > li {
    position: relative;
}

.menu > li > a {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #fff;
    font-weight: 500;

    padding: 12px 0;

    transition: 0.3s;
}

.menu > li:hover > a {
    color: #22d3ee;
}

/* ===================================================
   SUB MENU
=================================================== */

.menu .sub-menu {
    position: absolute;

    top: calc(100% + 10px);
    left: 0;

    min-width: 280px;

    background: rgba(15, 23, 42, 0.98);

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 18px;

    backdrop-filter: blur(20px);

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;

    z-index: 99999;
}

/* Hover hiện submenu */

.menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
}

/* Level 1 */

.menu > li:hover > .sub-menu {
    transform: translateY(0);
}

/* Level 2+ */

.menu .sub-menu .sub-menu {
    top: -1px;
    left: calc(100% + 8px);

    transform: translateX(10px);
}

.menu .sub-menu li:hover > .sub-menu {
    transform: translateX(0);
}

/* ===================================================
   SUB MENU ITEM
=================================================== */

.menu .sub-menu li {
    position: relative;
}

.menu .sub-menu li:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.menu .sub-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 16px 20px;

    color: #cbd5e1;

    white-space: nowrap;

    transition: 0.25s;
}

.menu .sub-menu a:hover {
    background: rgba(34, 211, 238, 0.08);
    color: #22d3ee;
}

/* ===================================================
   ARROW
=================================================== */

/* cấp 1 */

.menu > .menu-item-has-children > a::after {
    content: "";
    width: 6px;
    height: 6px;

    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;

    transform: rotate(45deg);

    margin-left: 6px;
}

/* cấp 2+ */

.menu .sub-menu .menu-item-has-children > a::after {
    content: "";

    width: 6px;
    height: 6px;

    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;

    transform: rotate(-45deg);

    margin-left: auto;
}

/* ===================================================
   FIX WORDPRESS / ASTRA
=================================================== */

.ast-menu-toggle,
.dropdown-menu-toggle,
.ast-header-navigation-arrow {
    display: none !important;
}

/* ===================================================
   IMPORTANT
=================================================== */

header,
nav,
.menu,
.menu li {
    overflow: visible !important;
}

/* ===== HEADER FIX ===== */

header {
    overflow: visible !important;
}

/* MOBILE ONLY */

.mobile-nav,
.mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav {
    padding-bottom: 60px;
}

.mobile-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav a {
    display: block;

    padding: 16px 24px;

    color: white;

    font-size: 15px;
}

.mobile-nav .sub-menu {
    display: block;

    background: rgba(255, 255, 255, 0.03);
}

/* level 2 */

.mobile-nav .sub-menu a {
    padding-left: 40px;
}

/* level 3 */

.mobile-nav .sub-menu .sub-menu a {
    padding-left: 60px;
}

/* level 4 */

.mobile-nav .sub-menu .sub-menu .sub-menu a {
    padding-left: 80px;
}

.mobile-nav .sub-menu a::before {
    content: "—";

    margin-right: 10px;

    color: #22d3ee;
}

/* ==================================
   HOME REALTY SCROLL TO TOP
================================== */

#ast-scroll-top {
    width: 58px;
    height: 58px;

    display: flex !important;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    background: rgba(15, 23, 42, 0.85);

    backdrop-filter: blur(14px);

    border: 1px solid rgba(34, 211, 238, 0.25);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.35),
        0 0 20px rgba(34, 211, 238, 0.12);

    transition: all 0.3s ease;

    right: 12px !important;
    bottom: 20px !important;

    z-index: 99999;
}

#ast-scroll-top:hover {
    transform: translateY(-4px) scale(1.05);

    border-color: #22d3ee;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.45),
        0 0 30px rgba(34, 211, 238, 0.35);
}

#ast-scroll-top svg {
    width: 20px;
    height: 20px;

    fill: #22d3ee;

    transition: 0.3s;
}

#ast-scroll-top:hover svg {
    fill: #67e8f9;
}

/* CONTACT FORM 7 */

.contact-form p {
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: white;
    color: black;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgb(148 163 184);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #22d3ee;
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}

.contact-form textarea {
    min-height: 140px;

    resize: vertical;
}

.contact-form input[type="submit"] {
    width: 100%;

    background: #06b6d4;

    color: white;

    font-weight: 700;

    border-radius: 12px;

    padding: 16px;

    cursor: pointer;

    transition: 0.3s;
}

.contact-form input[type="submit"]:hover {
    background: #22d3ee;

    transform: translateY(-2px);
}

/* ==================================
   BREADCRUMB
================================== */

.rank-math-breadcrumb {
    color: #94a3b8;

    font-size: 14px;
}

.rank-math-breadcrumb a {
    color: #cbd5e1;

    transition: 0.3s;
}

.rank-math-breadcrumb a:hover {
    color: #22d3ee;
}

.rank-math-breadcrumb .separator {
    margin: 0 8px;

    color: #475569;
}

/* ===== ABOUT PAGE ===== */

.about-card {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(20px);

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 24px;

    transition: 0.35s ease;
}

.about-card:hover {
    transform: translateY(-6px);

    border-color: rgba(34, 211, 238, 0.4);

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.about-stat {
    position: relative;
    overflow: hidden;
}

.about-stat::before {
    content: "";

    position: absolute;
    inset: 0;

    background: radial-gradient(
        circle at top right,
        rgba(34, 211, 238, 0.15),
        transparent 60%
    );
}

.about-title {
    background: linear-gradient(90deg, #ffffff, #22d3ee);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.timeline-step {
    position: relative;

    padding-top: 40px;
}

.timeline-step::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 2px;
    height: 30px;

    background: #22d3ee;

    transform: translateX(-50%);
}
/* >= 768px thì ẩn */

@media (min-width: 768px) {
    .timeline-step::before {
        display: none;
    }
}

.about-image img {
    width: 100%;
    transition: 0.5s;
}

.about-image:hover img {
    transform: scale(1.03);
}

/* ===== định dang banner slide ===== */
/* ===========================
   HOME REALTY HERO SLIDER
=========================== */

.banner-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    inset: 0;

    opacity: 0;

    animation: heroFade 18s infinite;

    z-index: 1;
}

.banner-slide:nth-child(1) {
    animation-delay: 0s;
}

.banner-slide:nth-child(2) {
    animation-delay: 6s;
}

.banner-slide:nth-child(3) {
    animation-delay: 12s;
}

.banner-slide img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    animation: heroZoom 18s infinite;
}

/* Overlay */

.banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    /* background: linear-gradient(
        to right,
        rgba(2, 6, 23, 0.75) 0%,
        rgba(2, 6, 23, 0.35) 40%,
        rgba(2, 6, 23, 0.15) 100%
    ); */
}

/* Content */

.banner-content {
    position: absolute;
    inset: 0;

    z-index: 10;

    display: flex;
    align-items: center;
}

/* Fade */

@keyframes heroFade {
    0% {
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    30% {
        opacity: 1;
    }

    35% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* Ken Burns Effect */

@keyframes heroZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}
/* =========================================
FLOATING CONTACT
========================================= */

.floating-contact {
    position: fixed;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 50px;
    z-index: 99999;
}

.floating-btn {
    width: 64px;
    height: 64px;

    border-radius: 9999px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);

    transition: 0.35s;
    background: #008fe5;
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.08);
}

.zafloating-btnlo img,
.floating-btn img {
    width: 34px;
    height: 34px;
}
.floating-btn::before {
    content: "";

    position: absolute;

    inset: -8px;

    border-radius: 999px;

    border: 2px solid currentColor;

    opacity: 0.5;

    animation: pulse-ring 2s infinite;
}

.floating-btn {
    position: relative;
    color: #fff;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}
.floating-btn img {
    animation: shake 2s infinite;
}

@keyframes shake {
    0%,
    100% {
        transform: rotate(0);
    }

    20% {
        transform: rotate(-15deg);
    }

    40% {
        transform: rotate(15deg);
    }

    60% {
        transform: rotate(-8deg);
    }

    80% {
        transform: rotate(8deg);
    }
}
@media (max-width: 768px) {
    .floating-contact {
        gap: 20px;
    }

    .floating-btn {
        width: 40px;
        height: 40px;
    }

    .floating-btn img {
        width: 22px;
        height: 22px;
    }
}

/* =========================================
HOME REALTY GALLERY
========================================= */

.homerealty-gallery-wrapper {
    position: relative;

    margin: 40px 0;
}

.homerealty-gallery {
    display: flex;

    overflow: hidden;

    scroll-behavior: smooth;

    border-radius: 24px;
}

.gallery-item {
    flex: 0 0 100%;
}

.gallery-item img {
    width: 100%;

    display: block;

    border-radius: 24px;
}

/* NAVIGATION */

.gallery-prev,
.gallery-next {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 52px;
    height: 52px;

    border-radius: 999px;

    border: none;

    background: rgba(15, 23, 42, 0.85);

    color: #fff;

    cursor: pointer;

    z-index: 20;

    transition: 0.3s;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: #22d3ee;
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

/* DOTS */

.gallery-nav {
    display: flex;

    justify-content: center;

    gap: 10px;

    margin-top: 20px;
}

.gallery-dot {
    width: 12px;
    height: 12px;

    border-radius: 999px;

    background: #475569;

    cursor: pointer;

    transition: 0.3s;
}

.gallery-dot.active {
    width: 32px;

    background: #22d3ee;
}

/* MOBILE */

@media (max-width: 768px) {
    .gallery-prev,
    .gallery-next {
        width: 40px;
        height: 40px;
    }

    .gallery-prev {
        left: 10px;
    }

    .gallery-next {
        right: 10px;
    }
}

/* ==========================
PAGINATION
========================== */

.page-numbers {
    display: flex;

    justify-content: center;

    gap: 10px;

    list-style: none;

    margin-top: 50px;

    padding: 0;
}

.page-numbers li {
    list-style: none;
}

.page-numbers a,
.page-numbers span {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #0f172a;

    border: 1px solid #1e293b;

    color: #cbd5e1;

    transition: 0.3s;
}

.page-numbers a:hover {
    border-color: #22d3ee;

    color: #22d3ee;

    transform: translateY(-2px);
}

.page-numbers .current {
    background: #22d3ee;

    border-color: #22d3ee;

    color: #fff;

    font-weight: 700;
}

article {
    text-align: justify;
}

.about-card {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(34, 211, 238, 0.12);
    border-radius: 24px;
    backdrop-filter: blur(12px);

    transition: all 0.35s ease;
}

.about-card:hover {
    transform: translateY(-8px);

    border-color: #22d3ee;

    box-shadow: 0 20px 50px rgba(34, 211, 238, 0.15);
}

.about-card p {
    color: #94a3b8;
    line-height: 1.8;
}
