.hero-content-col {
    position: relative;
}

/* 🔥 RERA Box Top Right */
.rera-box {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    padding: 8px 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.rera-box img {
    width: 70px;
    margin-top: 5px;
}

/* 🔹 Title */
.hero-title {
    font-size: 50px;
    font-weight: 700;
}

.hero-title span {
    color: #f9b234;
}

/* 🔹 Highlights */
.hero-highlights {
    list-style: none;
    padding: 0;
    margin-top: 0px;
}

.hero-highlights li {
    margin-bottom: 4px;
    font-size: 13px;
    position: relative;
    padding-left: 20px;
}

.hero-highlights li::before {
    content: "✔";
    position: static;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

@media (min-width: 768px) {
    .hero-highlights li {
        justify-content: flex-start;
    }
}

:root {
    --primary: #1F4D3A;
    /* Deep Windsor Green */
    --accent: #da6614;
    /* Metallic Gold */
    --light-gold: #f4e6b0;
    --glass: rgba(255, 255, 255, 0.9);
    --dark: #0f172a;
    --soft-bg: #f8fafc;
    --bs-primary: #1B3F36;
    --forest-green: #0a3d31;
    --sunset-orange: #e07a2c;
    --text-gray: #555;
    --light-bg: #FFFFFF;
}

.border-primary {
    border-color: var(--primary) !important;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--soft-bg);
    color: var(--dark);
    scroll-behavior: smooth;
    overflow-x: hidden;
    padding-top: 96px;
}

h1,
h2,
h3,
.display-font {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -1px;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
}

/* --- Modern Navigation --- */
.navbar {
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 0 0;
    transition: all 0.4s ease;
}

.navbar .nav-link {
    color: var(--primary) !important;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* --- Hero Section --- */
.hero-section {
    height: 90vh;
    background: #123c33;
    overflow: hidden;
    padding: 0 !important;
}

.hero-row {
    height: 90vh;
    margin: 0;

}

/* Video side */

.hero-video-col {
    height: 100%;
    overflow: hidden;
    padding: 0;
}

.hero-video-col video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Content side */

.hero-content-col {
    position: relative;
    background: #123c33;
    color: #fff;
    padding: 80px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Butterfly curved divider */
.hero-content-col::before {
    content: "";
    position: absolute;
    left: -150px;
    /* Adjust this if you want the curve even deeper */
    top: 0;
    width: 151px;
    height: 100%;
    background: #123c33;
    /* SVG: Starts slim at top-right (100,0), curves deep left, ends at bottom-right (100,100) */
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M100,0 Q 105,0 50,50 T 100,100 V 100 H 100 Z" fill="black"/></svg>');
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M100,0 Q 105,0 50,50 T 100,100 V 100 H 100 Z" fill="black"/></svg>');
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    z-index: 5;
}

.about-section {
    padding: 40px 5% 40px 5%;
    background-color: var(--light-bg);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Image Styling */
.about-image-wrapper {
    position: relative;
}

.main-img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 20px 20px 0px var(--forest-green);
}

/* Content Styling */
.section-tagline {
    color: var(--sunset-orange);
    letter-spacing: 2px;
    font-size: 12px;
    margin-bottom: 5px;
}

.section-title {
    color: var(--forest-green);
    font-size: 2.0rem;
    margin-bottom: 10px;
}

.section-title .highlight {
    color: var(--sunset-orange);
}

.section-subtitle {
    font-size: 1.0rem;
    color: var(--text-gray);
    margin-bottom: 30px;
    font-style: italic;
}

.philosophy-grid {
    gap: 20px;
    margin-bottom: 20px;
}

.info-block h3 {
    color: var(--forest-green);
    font-size: 1.0rem;
    margin-bottom: 10px;
}

.info-block p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Icons Section */
.features-icons {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.icon-item {
    text-align: center;
    font-size: 0.6rem;
    font-weight: bold;
    color: var(--forest-green);
}

.icon-circle {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    transition: 0.3s;
}

.icon-circle i {
    font-size: 20px;
}

.icon-item:hover .icon-circle {
    background: var(--forest-green);
    color: white;
}

/* Button */
.btn-primary {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--sunset-orange);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #c46620;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .main-img {
        box-shadow: 10px 10px 0px var(--forest-green);
    }
}

@media (max-width: 991px) {
    .hero-content-col::before {
        display: none;
    }

    .hero-content-col {
        background: #123c33;
        /* Fallback for mobile */
    }
}

.hero-content-col h1 span {
    color: #f4b247;
}

/* Mobile */

@media(max-width:991px) {

    .hero-section {
        height: auto;
    }

    .hero-row {
        height: auto;
    }

    .hero-video-col {
        height: 400px;
    }

    .hero-content-col {
        padding: 40px 20px;
        text-align: center;
    }

}

/* --- Amenity & Spec Cards --- */
.spec-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.spec-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.spec-icon {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 20px;
}

.amenity-pill {
    background: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: inline-block;
    margin: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #ffffff;
}

/* --- Buttons --- */
.btn-modern {
    background: var(--accent);
    color: white;
    padding: 5px 5px;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    transition: 0.4s;
}

.btn-modern:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.location-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 0;
}

.gallery-thumb {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
    border: 2px solid transparent;
}

.gallery-thumb:hover {
    transform: scale(1.05);
    border-color: var(--primary);
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.8s ease;
}

.amenity-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    margin: 6px 6px 0 0;
    background: #ffffff;
    border-radius: 50px;
    border: 1px solid #ffffff;
    font-size: 14px;
}

/* 🔥 circular image */
.amenity-img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 50%;
    background: #f3f3f3;
    padding: 0px;
}


.butterfly-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    z-index: 9999;
    pointer-events: none;
    will-change: top, left;
    transition: top linear, left linear;
}

/* Different flight paths for each butterfly */
.bf-1 {
    animation: flight-path-1 12s infinite linear alternate;
}

.bf-2 {
    animation: flight-path-2 15s infinite linear alternate-reverse;
}

.butterfly {
    width: 70%;
    height: 70%;
    transform-style: preserve-3d;
    animation: hover 1.5s infinite ease-in-out;
}

.wing {
    transform-origin: center;
}

/* Specific Colors */
.monarch .wing-pattern {
    fill: url(#monarch-gradient);
    stroke: #111;
    stroke-width: 0.5;
}

.morpho .wing-pattern {
    fill: url(#morpho-gradient);
    stroke: #003366;
    stroke-width: 0.5;
}

.left-wing {
    animation: flap-left 0.35s infinite ease-in-out;
}

.right-wing {
    animation: flap-right 0.35s infinite ease-in-out;
}

@keyframes flap-left {

    0%,
    100% {
        transform: rotateY(0deg);
    }

    50% {
        transform: rotateY(75deg);
    }
}

@keyframes flap-right {

    0%,
    100% {
        transform: rotateY(0deg);
    }

    50% {
        transform: rotateY(-75deg);
    }
}

@keyframes hover {

    0%,
    100% {
        transform: rotateZ(5deg) translateY(0);
    }

    50% {
        transform: rotateZ(-5deg) translateY(-10px);
    }
}

/* Path for Butterfly 1 */
@keyframes flight-path-1 {
    0% {
        transform: translate(-30vw, 20vh) scale(1);
    }

    33% {
        transform: translate(10vw, -10vh) scale(1);
    }

    66% {
        transform: translate(25vw, 25vh) scale(1);
    }

    100% {
        transform: translate(-10vw, -30vh) scale(1);
    }
}

@keyframes flight-path-2 {
    0% {
        transform: translate(30vw, -20vh) scale(1);
    }

    50% {
        transform: translate(-10vw, 0vh) scale(1);
    }

    100% {
        transform: translate(20vw, 30vh) scale(1);
    }
}

/* top menu */

.amenities-menu span {
    margin: 0 20px;
    font-size: 18px;
    cursor: pointer;
    padding-bottom: 8px;
    position: relative;
}

.amenities-menu span::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: 0;
    background: var(--primary);
    transition: 0.4s;
}

.amenities-menu span:hover::after {
    width: 100%;
}

.amenity-tab {
    font-size: 20px;
    font-weight: 700;
    /*text-shadow:
                -1px -1px 0 white,
                1px -1px 0 white,
                -1px 1px 0 white,
                1px 1px 0 white;*/
    color: white;
}

.amenities h2 {
    /*text-shadow:
                -1px -1px 0 white,
                1px -1px 0 white,
                -1px 1px 0 white,
                1px 1px 0 white;*/
    color: white;
}

.amenity-tab.active {
    border-bottom: 3px solid var(--primary);
}


/* grid */

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    text-align: center;
}


/* item */

.amenity-item img {
    width: 60px;
    margin-bottom: 10px;
    transition: 0.3s;
}

.amenity-item:hover img {
    transform: scale(1.15);
}

.amenity-item p {
    font-size: 15px;
    margin: 0;
}


/* sections */

.amenities-section {
    display: none;
    animation: fade 0.5s ease;
}

.amenities-section.active {
    display: block;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.location-item {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}

.accordion-button {
    background: transparent;
    font-weight: 600;
    color: var(--primary);
}

.accordion-button:not(.collapsed) {
    background: transparent;
    color: var(--primary);
    box-shadow: none;
}

.nav-icon {
    filter: brightness(0) saturate(100%) invert(18%) sepia(28%) saturate(600%) hue-rotate(120deg);
}

#amenities {
    background: url("assets/img/greenbg1.jpg");
}

#projectspecification li {
    padding: 5px;
    border-bottom: 1px solid red;
}

.side-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
}

.left-side {
    left: 10px;
}

.right-side {
    right: 10px;
}

.side-btn button {
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    padding: 14px 12px;
    border-radius: 50px;
    font-weight: 600;
    gap: 10px;
    color: #fff;
    border: none;
}

.left-side button {
    background: #f58220;
}

.right-side button {
    background: #f58220;
}

.accordion-button {
    background-color: #FEEFD8;
    color: #1a1a1a;
    font-weight: 600;
    border: none;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: #fbe5c4;
    color: #1a1a1a;
}

.accordion-button::after {
    filter: brightness(0);
}

.accordion-body {
    background-color: #0e0e0e;
    color: #e5d8c5;
}

.location-item {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.location-item:last-child {
    border-bottom: none;
}

.location-item span:last-child {
    color: #cbb89d;
    font-weight: 500;
}

.distance {
    color: #f58220 !important;
}

.connect-banner {
    border: 4px solid rgba(0, 0, 0, 0.1);
}

.connect-banner img {
    object-fit: cover;
    filter: brightness(80%);
}

.location-item {
    cursor: pointer;
}

.active-location .distance {
    color: #007bff;
    font-weight: 600;
}

.walkthrough-video img {
    height: 350px;
    object-fit: cover;
}

/* Play Button */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 70px;
    height: 70px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;

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

    cursor: pointer;
    transition: 0.3s;
}

.play-btn i {
    color: #fff;
    font-size: 22px;
    margin-left: 3px;
}

/* Hover Effect */
.play-btn:hover {
    background: var(--primary);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Image */
.about-img {
    height: 400px;
    object-fit: cover;
    filter: brightness(75%);
}

/* Overlay */
.about-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
}

.about-overlay h3 {
    font-weight: 600;
    margin-bottom: 5px;
}

/* Counter */
.counter {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
}

/* Spacing */
#windsor-group p {
    font-size: 14px;
}

.qr-box img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

/* Section Background */
.residences-section {
    background: #f8f9fa;
}

/* Card */
.residence-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.residence-card:hover {
    transform: translateY(-5px);
}

/* Image */
.res-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Content */
.res-content {
    padding: 20px;
}

.res-content h4 {
    font-weight: 600;
}

/* Pricing Box */
.pricing-box {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* Buttons (match your theme) */
.btn-primary {
    background: linear-gradient(45deg, #f9b234, #ff7e00);
    border: none;
}

.btn-primary:hover {
    opacity: 0.9;
}

.spec-text {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.spec-card:hover .spec-text {
    opacity: 1;
    max-height: 200px;
}

.spec-card {
    height: 120px;
    /* default small height */
    overflow: hidden;
    transition: height 0.4s ease;
}

.spec-text {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.spec-card:hover {
    height: 220px;
    /* expands to fit content */
}

.spec-card:hover .spec-text {
    opacity: 1;
}

.btn-call {
    background-color: #0d6efd;
    color: #fff;
    border-radius: 8px;
    transition: 0.3s ease;
}

.btn-call:hover {
    background-color: #0b5ed7;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
    border-radius: 8px;
    transition: 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #1ebe5d;
    transform: translateY(-2px);
}

.btn-call,
.btn-whatsapp {
    border-radius: 50px;
    /* makes it fully rounded */
    padding: 10px 20px;
    font-weight: 500;
    transition: 0.3s ease;
}

/* Call Button */
.btn-call {
    background-color: #0d6efd;
    color: #fff;
}

.btn-call:hover {
    background-color: #0b5ed7;
    transform: translateY(-2px);
}

/* WhatsApp Button */
.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background-color: #1ebe5d;
    transform: translateY(-2px);
}

/* Tabs */
#galleryTabs .nav-link {
    border-radius: 50px;
    padding: 8px 18px;
    background: #f5f5f5;
    color: #333;
    border: none;
    transition: 0.3s;
}

#galleryTabs .nav-link.active {
    background: #1B3F36;
    color: #fff;
}

/* Thumbnails */
.gallery-thumb {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.gallery-thumb:hover {
    transform: scale(1.05);
}

/* Title Animation */
.hero-title {
    overflow: hidden;
}

.hero-title {
    display: inline-block;
    animation: revealText 1.5s ease forwards;
}

/* Subtitle */
.lead {
    opacity: 0;
    font-size: 13px;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards;
    animation-delay: 1.2s;
}

/* List */
.hero-highlights {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards;
    animation-delay: 2s;
}

/* Animations */
@keyframes revealText {
    from {
        clip-path: inset(0 100% 0 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

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

/* Initial hidden state */
.section-tagline,
.section-title,
.section-subtitle {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

/* When visible */
.show-animate .section-tagline {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.show-animate .section-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.show-animate .section-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

@media (max-width: 767px) {
    .container .row {
        display: flex;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .container .row .col {
        width: 100%;
        border-left: none !important;
        /* remove border on mobile */
        border-top: 1px solid #dee2e6;
        /* optional separator */
        padding-top: 10px;
    }

    .container .row .col:first-child {
        border-top: none;
        /* remove top border from first item */
    }
}