/* ===== AGV Projects Plugin — All Styles ===== */

/* --- PROPERTY CARDS (Grid & Slider) --- */
.property-card {
    background: #FFFFFF;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    width: 100%;
    text-align: left;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.property-image {
    height: 400px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.08);
}

.property-info {
    padding: 40px 25px 25px;
    text-align: left;
    position: relative;
}

.property-info h3 {
    font-family: 'SangBleu Empire', serif;
    font-size: 1.6rem;
    margin-bottom: 8px;
    color: #1A1A1A;
}

.property-info p {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 12px;
    font-family: 'Euclid Square', sans-serif;
}

.property-meta {
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: #AC835E;
    font-weight: 500;
    text-transform: uppercase;
    font-family: 'Euclid Square', sans-serif;
}

.explore-btn {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 1px solid #AC835E;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.65rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #1A1A1A;
    position: absolute;
    right: 20px;
    top: -45px;
    background: #FFFFFF;
    transition: all 0.3s ease;
    padding: 15px;
    line-height: 1.3;
    text-decoration: none;
    font-family: 'Euclid Square', sans-serif;
    font-weight: 500;
    z-index: 2;
}

.explore-btn:hover {
    background: #AC835E;
    color: #FFFFFF;
    transform: scale(1.1);
}

.agv-project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}


/* ===== AGV PROJECT SINGLE PAGE — REFERENCE DESIGN ===== */
.agv-single {
    font-family: 'Euclid Square', sans-serif;
    color: #1A1A1A;
}

.agv-single .serif {
    font-family: 'SangBleu Empire', serif;
}

.agv-single .gold {
    color: #AC835E;
}

.agv-single .section-pad {
    padding: 80px 0;
}

.agv-single .section-pad2 {
    padding: 20px 0 80px;
}

.agv-single .section-pad3 {
    padding: 00px 0 80px;
}

/* HERO */
.agv-hero {
    height: 90vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: -100px;
    padding-top: 100px;
}

.agv-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    /* background: linear-gradient(to bottom, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .55) 100%); */
    background: linear-gradient(to bottom, rgb(0 0 0 / 60%) 0%, rgb(0 0 0 / 65%) 100%);
}

.agv-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-logo {
    display: inline-block;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.hero-logo img {
    max-height: 100px;
    width: auto;
    background: #fff;
    /* padding: 15px 25px; */
    display: block;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.hero-logo::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: agvShine 3s infinite;
}

@keyframes agvShine {
    0% {
        left: -100%;
    }

    40% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

.agv-hero-content h1 {
    border-radius: 5px;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .4);
    color: #fff;
    padding: 20px 30px 12px;
    text-decoration: none;
    font-size: .8rem;
    letter-spacing: 2px;
    font-weight: 500;
    backdrop-filter: blur(5px);
    transition: .3s;
    font-family: 'SangBleu Empire', serif;
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}

.agv-hero-content .tagline {
    font-size: 1rem;
    letter-spacing: 3px;
    opacity: 0.85;
    margin: 30px;
    color: #fff;
}

.agv-hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.agv-btn-brochure {
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .4);
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    font-size: .8rem;
    letter-spacing: 2px;
    font-weight: 500;
    backdrop-filter: blur(5px);
    transition: .3s;
}

.agv-btn-brochure:hover {
    background: #AC835E;
    border-color: #AC835E;
    color: #fff;
}

.agv-btn-enquire {
    background: #AC835E;
    border: 1px solid #AC835E;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    font-size: .8rem;
    letter-spacing: 2px;
    font-weight: 600;
    transition: .3s;
}

.agv-btn-enquire:hover {
    background: #8e6b4d;
}

/* SCROLL BADGE (Circular Rotating Text) */
.agv-scroll-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 100px;
    height: 100px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: transform .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.agv-scroll-badge:hover {
    transform: scale(1.1);
}

.agv-scroll-badge svg {
    width: 100%;
    height: 100%;
    animation: agvRotate 10s linear infinite;
    fill: #fff;
}

.agv-scroll-badge svg text {
    font-size: 11px;
    font-family: 'Euclid Square', sans-serif;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    fill: #fff;
}

.agv-scroll-badge .arrow-down {
    position: absolute;
    color: #fff;
    font-size: 1rem;
    animation: agvPulseArrow 2s ease-in-out infinite;
}

@keyframes agvRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes agvPulseArrow {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.7;
    }

    50% {
        transform: translateY(8px);
        opacity: 1;
    }
}

/* ABOUT SECTION */
.agv-about {
    background: #fff;
}

.agv-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.agv-about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.agv-about-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

.agv-about-images img:first-child {
    grid-column: 1 / -1;
    height: 280px;
}

.agv-about-text .subtitle {
    font-size: .75rem;
    letter-spacing: 4px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.agv-about-text h2 {
    font-family: 'SangBleu Empire', serif;
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 25px;
}

.agv-about-text h2 em {
    font-style: normal;
    color: #AC835E;
}

.agv-about-text p,
.agv-about-text .entry-content {
    color: #666;
    font-size: .92rem;
    line-height: 1.8;
    overflow-wrap: break-word; /* Ensure long RERA strings don't force page overflow */
    word-break: break-word;
}

.agv-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.agv-stat-box {
    /* border: 1px solid #e8e8e8; */
    padding: 18px 20px;
    display: flex;
    align-items: start;
    gap: 12px;
}

.agv-stat-box .stat-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #AC835E;
    border-radius: 50%;
    color: #AC835E;
    font-size: 1rem;
    flex-shrink: 0;
}

.agv-stat-box .stat-label {
    font-size: .7rem;
    letter-spacing: 1px;
    color: #999;
    text-transform: uppercase;
}

.agv-stat-box .stat-value {
    font-weight: 500;
    font-size: .85rem;
}

/* VISUAL SHOWCASE (Gallery) */
.agv-showcase {
    background: #fff;
}

.agv-section-title {
    font-family: 'SangBleu Empire', serif;
    font-size: 3rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 35px;
    text-transform: uppercase;
}

.agv-section-title em {
    font-style: normal;
    color: #AC835E;
}

.agv-gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #e8e8e8;
}

.agv-gallery-tab {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 10px 25px;
    font-size: .8rem;
    letter-spacing: 1px;
    cursor: pointer;
    font-weight: 500;
    color: #999;
    font-family: 'Euclid Square', sans-serif;
    transition: .3s;
}

.agv-gallery-tab.active {
    border-bottom-color: #AC835E;
    color: #1A1A1A;
}

.agv-gallery-pane {
    display: none;
}

.agv-gallery-pane.active {
    display: block;
}

/* Swiper Carousel Styles */
.agv-gallery-slider {
    padding-bottom: 70px !important;
    position: relative;
    overflow: hidden;
}

.agv-showcase-img-wrap {
    width: 100%;
    height: 520px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background: #f9f9f9;
}

.agv-showcase-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.agv-showcase-img-wrap:hover img {
    transform: scale(1.08);
}

/* Swiper Navigation Custom */
.agv-gallery-slider .swiper-button-next,
.agv-gallery-slider .swiper-button-prev {
    color: #AC835E !important;
    background: #fff;
    width: 48px;
    height: 48px;
    border: 1px solid #AC835E;
    border-radius: 50%;
    transition: all 0.3s ease;
    top: auto !important;
    bottom: 5px !important;
    z-index: 10;
}

.agv-gallery-slider .swiper-button-prev {
    left: auto !important;
    right: 65px !important;
}

.agv-gallery-slider .swiper-button-next {
    right: 5px !important;
}

.agv-gallery-slider .swiper-button-next:after,
.agv-gallery-slider .swiper-button-prev:after {
    font-size: 1rem;
    font-weight: bold;
}

.agv-gallery-slider .swiper-button-next:hover,
.agv-gallery-slider .swiper-button-prev:hover {
    background: #AC835E;
    color: #fff !important;
}

/* Swiper Pagination (Dots) */
.agv-gallery-slider .swiper-pagination {
    text-align: left !important;
    bottom: 25px !important;
    width: calc(100% - 130px) !important;
}

.agv-gallery-slider .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #ddd;
    opacity: 1;
    margin: 0 5px !important;
    transition: all 0.3s ease;
}

.agv-gallery-slider .swiper-pagination-bullet-active {
    background: #AC835E !important;
    width: 24px;
    border-radius: 4px;
}

.agv-gallery-pane.active {
    display: block;
    animation: agvFadeUp .4s ease;
}

/* LIGHTBOX */
.agv-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .92);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agv-lb-img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 40px rgba(0, 0, 0, .5);
}

.agv-lb-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
}

.agv-lb-prev,
.agv-lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .15);
    border: none;
    color: #fff;
    font-size: 28px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: .3s;
}

.agv-lb-prev:hover,
.agv-lb-next:hover {
    background: rgba(172, 131, 94, .6);
}

.agv-lb-prev {
    left: 20px;
}

.agv-lb-next {
    right: 20px;
}

/* FLOOR PLANS */
.agv-plans {
    background: #f9f7f2;
}

.agv-plan-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 30px;
    /* border-bottom: 1px solid #ddd; */
}

.agv-plan-tab {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 10px 25px;
    font-size: .8rem;
    letter-spacing: 1px;
    cursor: pointer;
    font-weight: 500;
    color: #999;
    font-family: 'Euclid Square', sans-serif;
    transition: .3s;
}

.agv-plan-tab.active {
    border-bottom-color: #AC835E;
    color: #1A1A1A;
}

.agv-plan-pane {
    display: none;
    text-align: center;
}

.agv-plan-pane.active {
    display: block;
    animation: agvFadeUp .5s ease;
}

.agv-plan-images {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.agv-plan-pane img {
    max-width: 100%;
    max-height: 550px;
    object-fit: contain;
    cursor: pointer;
    transition: .3s;
}

.agv-plan-pane img:hover {
    transform: scale(1.02);
}

@keyframes agvFadeUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

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

/* AMENITIES — DARK NAVY */
.agv-amenities {
    background: #0F141A;
    color: #fff;
    text-align: center;
}

.agv-amenities .agv-section-title {
    color: #fff;
}

.agv-amenities-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.agv-amenity-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 0 0 140px;
}

.agv-amenity-item .icon-ring {
    width: 70px;
    height: 70px;
    border: 1.5px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.agv-amenity-item .icon-ring img {
    max-width: 30px;
    filter: brightness(0) invert(1);
}

.agv-amenity-item .icon-ring i {
    font-size: 1.5rem;
    color: #fff;
}

.agv-amenity-item:hover .icon-ring {
    border-color: #AC835E;
    background: rgba(172, 131, 94, .15);
}

.agv-amenity-item span {
    font-size: .7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: .7;
}

/* PRIME LOCATION */

.agv-location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    /* align-items: start; */
    align-items: center;

}

.agv-location-info h4 {
    font-size: .75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #AC835E;
    margin-bottom: 15px;
    font-weight: 600;
}

.agv-location-info address {
    font-style: normal;
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
}

.agv-location-info h5 {
    font-size: .75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #AC835E;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Nearby Landmarks — 2-column grid */
.agv-transport-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 25px;
}

.agv-transport-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #e8e8e8;
    font-size: .9rem;
    color: #444;
}

.agv-transport-list li .t-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #AC835E;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: .8rem;
}

.agv-transport-list li .t-icon img {
    max-width: 30px;
    filter: brightness(0) invert(1);
}

.agv-map-wrap {
    border-radius: 10px;
    overflow: hidden;
    /*     box-shadow: 0 5px 25px rgba(0, 0, 0, .08); */
}

.agv-map-wrap iframe {
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, .08);
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}

/* NAV BUTTONS */
.agv-nav-bar {
    background: #fff;
    padding: 30px 0;
}

.agv-nav-bar .nav-inner {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.agv-nav-link {
    background: #AC835E;
    color: #fff;
    padding: 10px 35px;
    text-decoration: none;
    font-size: .75rem;
    border-radius: 30px;
    letter-spacing: 2px;
    font-weight: 600;
    transition: .3s;
}

.agv-nav-link:hover {
    background: #8e6b4d;
    color: #fff;
}

/* ==========================================================================
   RESPONSIVE DESIGN — COMPREHENSIVE ALL-DEVICE SUPPORT
   ========================================================================== */

/* --- Large Desktop (1440px - 1920px) --- */
@media screen and (min-width: 1440px) {
    .agv-hero {
        height: 100vh;
    }
}

/* --- Standard Desktop (1280px - 1439px) --- */
@media screen and (min-width: 1280px) and (max-width: 1439px) {
    .agv-hero {
        height: 100vh;
    }
}

/* --- Small Laptop (1025px - 1279px) --- */
@media screen and (min-width: 1025px) and (max-width: 1279px) {
    .agv-project-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .property-image {
        height: 350px;
    }

    .agv-showcase-img-wrap {
        height: 450px;
    }

    .agv-hero-content h1 {
        font-size: 3rem;
        letter-spacing: 4px;
    }
}

/* --- Tablet (768px - 1024px) --- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .agv-project-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .property-image {
        height: 300px;
    }

    .property-info {
        padding: 30px 20px 20px;
    }

    .explore-btn {
        width: 75px;
        height: 75px;
        top: -37px;
        right: 15px;
        font-size: 0.6rem;
    }

    .agv-hero {
        height: 70vh;
    }

    .agv-hero-content h1 {
        font-size: 2.5rem;
        letter-spacing: 3px;
        padding: 15px 20px 10px;
    }

    .agv-hero-content .tagline {
        font-size: 0.9rem;
        margin: 20px;
    }

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

    .agv-about-text h2 {
        font-size: 1.8rem;
    }

    .agv-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .agv-showcase-img-wrap {
        height: 380px;
    }

    .agv-gallery-slider .swiper-pagination {
        width: 100% !important;
        text-align: center !important;
        bottom: 15px !important;
    }

    .agv-gallery-slider .swiper-button-next,
    .agv-gallery-slider .swiper-button-prev {
        display: none !important;
    }

    .agv-section-title {
        font-size: 2.2rem;
    }

    .agv-amenities-grid {
        gap: 25px 20px;
    }

    .agv-amenity-item {
        flex: 0 0 calc(33.33% - 15px);
    }

    .agv-location-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .agv-map-wrap iframe {
        min-height: 350px;
    }

    .agv-transport-list {
        grid-template-columns: 1fr 1fr;
    }

    .agv-plan-pane img {
        max-height: 400px;
    }

    /* Tabs */
    .agv-tabs-nav {
        gap: 10px;
        padding-bottom: 15px;
    }

    .agv-tab-btn {
        font-size: 0.85rem;
        padding: 8px 15px;
    }

    .agv-gallery-tabs {
        gap: 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .agv-gallery-tab {
        padding: 8px 18px;
        font-size: 0.75rem;
    }

    .agv-plan-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }

    .agv-plan-tab {
        padding: 8px 18px;
        font-size: 0.75rem;
    }

    /* Scroll badge */
    .agv-scroll-badge {
        width: 80px;
        height: 80px;
        bottom: 20px;
        right: 20px;
    }

    /* Video */
    .agv-video-play-btn {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }

    /* Nav bar */
    .agv-nav-link {
        padding: 8px 25px;
        font-size: 0.7rem;
    }
}

/* --- Mobile (max-width: 767px) — ALL PHONES --- */
@media screen and (max-width: 767px) {
    /* Project Grid - single column */
    .agv-project-grid {
        grid-template-columns: 1fr !important;
        gap: 25px;
    }

    .property-card {
        margin-bottom: 0;
    }

    .property-card:hover {
        transform: none;
    }

    .property-image {
        height: 250px;
    }

    .property-info {
        padding: 30px 15px 20px;
    }

    .property-info h3 {
        font-size: 1.3rem;
    }

    .explore-btn {
        width: 70px;
        height: 70px;
        top: -35px;
        right: 15px;
        font-size: 0.6rem;
        padding: 12px;
    }

    /* --- Single Project Hero --- */
    .agv-hero {
        height: 70vh;
        padding-top: 80px;
        margin-top: -80px;
    }

    .agv-hero-content {
        max-width: 100%;
        padding: 0 15px;
    }

    .agv-hero-content h1 {
        font-size: 1.6rem;
        letter-spacing: 2px;
        padding: 15px 20px 10px;
    }

    .agv-hero-content .tagline {
        font-size: 0.8rem;
        letter-spacing: 2px;
        margin: 15px 0;
    }

    .agv-hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .agv-btn-brochure,
    .agv-btn-enquire {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 12px 20px;
        font-size: 0.75rem;
    }

    .hero-logo img {
        max-height: 60px;
    }

    /* Scroll Badge */
    .agv-scroll-badge {
        width: 70px;
        height: 70px;
        bottom: 25px;
        right: 15px;
        /* Prevent overlapping layered content on small screens */
        display: none;
    }

    .agv-scroll-badge svg text {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    /* --- About Section --- */
    .agv-about {
        padding-top: 80px;
    }

    .agv-about-grid {
        grid-template-columns: 1fr !important;
        gap: 25px;
    }

    .agv-about-images {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px;
    }

    .agv-about-images img {
        height: 120px !important;
        width: 100%;
        object-fit: cover;
    }

    .agv-about-images img:first-child {
        grid-column: 1 / -1 !important;
        height: 200px !important;
    }

    .agv-about-text h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .agv-about-text .subtitle {
        font-size: 0.7rem;
        letter-spacing: 3px;
    }

    .agv-stats-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    .agv-stat-box {
        padding: 12px 10px;
        gap: 8px;
    }

    .agv-stat-box .stat-icon {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }

    .agv-stat-box .stat-label {
        font-size: 0.6rem;
    }

    .agv-stat-box .stat-value {
        font-size: 0.75rem;
    }

    /* --- Section Titles --- */
    .agv-section-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    .agv-single .section-pad {
        padding: 50px 0;
    }

    .agv-single .section-pad2 {
        padding: 15px 0 50px;
    }

    .agv-single .section-pad3 {
        padding: 0 0 50px;
    }

    /* --- Gallery Showcase --- */
    .agv-showcase-img-wrap {
        height: 250px;
        border-radius: 10px;
    }

    .agv-gallery-tabs {
        flex-wrap: wrap;
        gap: 0;
        justify-content: center;
    }

    .agv-gallery-tab {
        padding: 8px 15px;
        font-size: 0.7rem;
        letter-spacing: 0.5px;
    }

    .agv-gallery-slider {
        padding-bottom: 45px !important;
    }

    .agv-gallery-slider .swiper-pagination {
        width: 100% !important;
        text-align: center !important;
        bottom: 10px !important;
    }

    .agv-gallery-slider .swiper-button-next,
    .agv-gallery-slider .swiper-button-prev {
        display: none !important;
    }

    /* --- Floor Plans --- */
    .agv-plan-tabs {
        flex-wrap: wrap;
        gap: 0;
        justify-content: center;
    }

    .agv-plan-tab {
        padding: 8px 12px;
        font-size: 0.7rem;
        letter-spacing: 0.5px;
    }

    .agv-plan-pane img {
        max-height: 300px;
    }

    .agv-plan-images {
        gap: 10px;
    }

    /* --- Amenities --- */
    .agv-amenities-grid {
        gap: 20px 15px;
        max-width: 100%;
    }

    .agv-amenity-item {
        flex: 0 0 calc(33.33% - 10px);
    }

    .agv-amenity-item .icon-ring {
        width: 55px;
        height: 55px;
    }

    .agv-amenity-item .icon-ring img {
        max-width: 22px;
    }

    .agv-amenity-item .icon-ring i {
        font-size: 1.1rem;
    }

    .agv-amenity-item span {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }

    /* --- Location --- */
    .agv-location-grid {
        grid-template-columns: 1fr !important;
        gap: 25px;
    }

    .agv-transport-list {
        grid-template-columns: 1fr !important;
        gap: 5px;
    }

    .agv-transport-list li {
        padding: 8px 0;
        font-size: 0.8rem;
    }

    .agv-transport-list li .t-icon {
        width: 40px;
        height: 40px;
    }

    .agv-transport-list li .t-icon img {
        max-width: 22px;
    }

    .agv-map-wrap iframe {
        min-height: 280px;
    }

    /* --- Video Tour --- */
    .agv-video-container {
        border-radius: 8px;
    }

    .agv-video-play-btn {
        width: 65px;
        height: 65px;
        font-size: 1.3rem;
    }

    /* --- Lightbox --- */
    .agv-lb-img {
        max-width: 95%;
        max-height: 80vh;
    }

    .agv-lb-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }

    .agv-lb-prev,
    .agv-lb-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .agv-lb-prev {
        left: 10px;
    }

    .agv-lb-next {
        right: 10px;
    }

    /* --- Nav Bar --- */
    .agv-nav-bar {
        padding: 20px 0;
    }

    .agv-nav-bar .nav-inner {
        justify-content: center;
    }

    .agv-nav-link {
        padding: 8px 20px;
        font-size: 0.7rem;
        letter-spacing: 1px;
    }

    /* --- Tabs (Project Listing) --- */
    .agv-tabs-nav {
        flex-wrap: wrap;
        gap: 5px;
        margin-bottom: 30px;
        padding-bottom: 15px;
        justify-content: center;
    }

    .agv-tab-btn {
        font-size: 0.75rem;
        padding: 8px 12px;
        letter-spacing: 0.5px;
    }

    .agv-tab-btn.active::after {
        bottom: -16px;
    }
}

/* --- Extra Small Devices (under 400px) --- */
@media screen and (max-width: 400px) {
    .agv-hero-content h1 {
        font-size: 1.3rem;
        letter-spacing: 1.5px;
        padding: 12px 15px 8px;
    }

    .agv-hero-content .tagline {
        font-size: 0.7rem;
        margin: 10px 0;
    }

    .hero-logo img {
        max-height: 45px;
    }

    .agv-section-title {
        font-size: 1.4rem;
    }

    .agv-about-text h2 {
        font-size: 1.3rem;
    }

    .agv-showcase-img-wrap {
        height: 200px;
    }

    .property-image {
        height: 200px;
    }

    .property-info h3 {
        font-size: 1.1rem;
    }

    .explore-btn {
        width: 60px;
        height: 60px;
        top: -30px;
        font-size: 0.55rem;
        padding: 10px;
    }

    .agv-amenity-item {
        flex: 0 0 calc(33.33% - 8px);
    }

    .agv-amenity-item .icon-ring {
        width: 45px;
        height: 45px;
    }

    .agv-amenity-item span {
        font-size: 0.55rem;
    }

    .agv-scroll-badge {
        display: none;
    }

    .agv-scroll-badge svg text {
        font-size: 8px;
    }

    .agv-stat-box .stat-icon {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }

    .agv-stats-grid {
        gap: 3px;
    }

    .agv-btn-brochure,
    .agv-btn-enquire {
        font-size: 0.65rem;
        padding: 10px 15px;
    }

    .agv-tab-btn {
        font-size: 0.65rem;
        padding: 6px 10px;
    }

    .agv-plan-pane img {
        max-height: 220px;
    }

    .agv-video-play-btn {
        width: 55px;
        height: 55px;
        font-size: 1.1rem;
    }
}

/* --- Landscape Phones --- */
@media screen and (max-width: 767px) and (orientation: landscape) {
    .agv-hero {
        height: 100vh;
    }

    .agv-hero-content h1 {
        font-size: 1.5rem;
    }

    .agv-showcase-img-wrap {
        height: 200px;
    }
}

/* REVEAL ANIMATIONS */
.agv-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.agv-reveal.agv-active {
    opacity: 1;
    transform: translateY(0);
}

/* STAGGERED REVEALS (Optional) */
.agv-about-text.agv-active {
    transition-delay: 0.2s;
}

.agv-showcase.agv-active {
    transition-delay: 0.1s;
}

.agv-amenities.agv-active {
    transition-delay: 0.1s;
}

/* VIDEO TOUR SECTION */
.agv-video-tour {
    background: #fff;
    padding-bottom: 80px;
}

.agv-video-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
}

/* 16:9 Aspect Ratio for Responsive Video */
.agv-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
}

.agv-video-wrapper iframe,
.agv-video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.agv-local-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.agv-local-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agv-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: rgba(172, 131, 94, 0.9);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.agv-video-play-btn i {
    margin-left: 5px;
}

.agv-video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: #AC835E;
}

.agv-video-play-btn.playing {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) scale(0.5);
}

.agv-local-video-container:hover .agv-video-play-btn {
    opacity: 1;
    visibility: visible;
}

.agv-local-video-container:hover .agv-video-play-btn.playing {
    opacity: 0.6;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Progress Bar */
.agv-video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0;
    z-index: 15;
}

.agv-video-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: height 0.3s ease;
}

.agv-video-progress:hover {
    height: 10px;
}

.agv-video-progress-filled {
    height: 100%;
    background: #AC835E;
    width: 0;
    position: relative;
}

.agv-video-progress-filled::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    display: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.agv-video-progress:hover .agv-video-progress-filled::after {
    display: block;
}