:root {
    --brand-primary: #2F3E66;
    --brand-secondary: #9ca3af;
    --brand-black: #000000;
    --brand-white: #ffffff;
    --font-main: "Poppins", sans-serif;
    --border-color: #e6e6e6;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--brand-black);
    background-color: var(--brand-white);
}

/* --- Typography & Utilities --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-main);
    color: var(--brand-black);
}

/* Consistent Section Heading Size */
.section-heading {
    font-size: 2.5rem;
    /* Standardized size for all section titles */
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-primary);
    line-height: 1.2;
}

@media (max-width: 768px) {
    .section-heading {
        font-size: 2rem;
    }
}

.text-brand {
    color: var(--brand-primary) !important;
}

.text-brand-light {
    color: #8fa1d2 !important;
}

/* Light accent for dark bg */
.text-secondary {
    color: var(--brand-secondary) !important;
}

.bg-brand {
    background-color: var(--brand-primary) !important;
}

.border-brand {
    border-color: var(--brand-primary) !important;
}

/* Separator Line */
.separator-line {
    width: 80px;
    height: 3px;
    background: var(--brand-primary);
}

/* --- Buttons --- */
.zoom-button {
    padding: 15px 30px;
    margin-top: 20px;
    font-size: 18px;
    font-weight: 600;
    background-color: var(--brand-primary);
    color: var(--brand-white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: continuous-zoom 2s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zoom-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(47, 62, 102, 0.35);
}

@keyframes continuous-zoom {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.10);
    }

    100% {
        transform: scale(1);
    }
}

/* Gold Button Replacement (Using White/Brand combo for palette compliance) */
.btn-brand-alt {
    background: var(--brand-white);
    color: var(--brand-primary);
    padding: 10px 25px;
    border-radius: 6px;
    border: 2px solid var(--brand-white);
    font-weight: 600;
    transition: all 0.3s;
}

.btn-brand-alt:hover {
    background: transparent;
    color: var(--brand-white);
}

/* --- Navigation --- */
.hover-link:hover {
    color: var(--brand-primary) !important;
}

#mobileMenu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border-top: 1px solid var(--border-color);
    padding: 0 1rem;
    z-index: 40;
}

/* --- Hero Section --- */
.hero-section {
    height: 70vh;
    background-image: url('assets/images/bg.png');
    /* Ensure this path is correct */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    position: relative;
}

@media (min-width: 768px) {
    .hero-section {
        height: 80vh;
        background-position: center;
    }
}

@media (min-width: 992px) {
    .hero-section {
        height: 90vh;
    }
}

.hero-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3), transparent);
    z-index: 1;
}

.luxury-text {
    bottom: 25%;
    left: 0;
    transform: rotate(-90deg) translateX(-50%);
    z-index: 2;
}

.luxury-text p {
    font-size: 6rem;
    font-family: "Brush Script MT", cursive;
    color: white;
    opacity: 0.1;
    margin: 0;
}

/* --- About Section & Background --- */
.curve-bg {
    content: "";
    position: absolute;
    inset: -20px;
    background: radial-gradient(2000px 600px at 90% 0%, rgba(47, 62, 102, 0.12), transparent 100%);
    /* Adjusted color */
    filter: blur(20px);
    z-index: 0;
}

.curve-bg>* {
    position: relative;
    z-index: 1;
}

/* --- Cards & Highlights --- */
.highlight-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px 15px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.highlight-card img {
    height: 50px;
    margin-bottom: 15px;
}

.highlight-card p {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(47, 62, 102, 0.15);
}

.card {
    transition: transform 0.2s ease-in-out;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
}

.bg-office-overlay {
    background-size: cover;
    background-position: center;
}

.icon-box {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: rgba(47, 62, 102, 0.1);
    /* Brand primary with opacity */
    margin-bottom: 1rem;
}

.material-symbols-outlined {
    font-size: 2rem;
    vertical-align: middle;
}

/* --- Gallery --- */
.gallery-section {
    background: #000;
    padding: 80px 0;
    color: #fff;
}

.gallery-subtitle {
    color: #ccc;
    font-size: 16px;
}

.gallery-card {
    background: var(--brand-primary);
    /* Changed from gold to brand */
    padding: 40px;
    border-radius: 20px;
    color: #fff;
}

.gallery-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.gallery-card p {
    font-size: 16px;
    margin-bottom: 25px;
}

/* Swiper Gallery */
.gallerySwiper {
    padding-bottom: 40px;
}

.gallerySwiper .swiper-slide {
    border-radius: 20px;
    overflow: hidden;
}

.gallerySwiper img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 20px;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--brand-white);
}

.swiper-pagination-bullet {
    background: #777;
}

.swiper-pagination-bullet-active {
    background: var(--brand-white);
}

/* --- Floor Plan --- */
.floorplan-img {
    display: block;
    margin: auto;
    max-width: 100%;
    max-height: 520px;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    /* Blur Effect */
    filter: blur(3px);
    transition: filter 0.3s ease-in-out;
}

.swiper-slide-active .floorplan-img {
    filter: blur(0);
}

/* Navigation Arrows (Circular) */
.fp-prev,
.fp-next {
    width: 48px;
    height: 48px;
    border: 2px solid var(--brand-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    color: var(--brand-black);
}

.fp-prev:hover,
.fp-next:hover {
    background: var(--brand-black);
    color: #fff;
}

/* --- Specifications (Accordion) --- */
.spec-block {
    padding: 22px 0;
    border-bottom: 1px solid #e6e6e6;
}

.spec-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.spec-header h6 {
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
    font-size: 15px;
}

.spec-toggle {
    font-size: 22px;
    font-weight: 600;
    color: var(--brand-primary);
}

.spec-content {
    max-height: 1000px;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.spec-content.collapsed {
    max-height: 0;
    opacity: 0;
}

.spec-content ul {
    margin-top: 16px;
    padding-left: 18px;
}

.spec-content li {
    font-size: 15px;
    color: #666;
    margin-bottom: 8px;
}

/* --- Cover Section (Form) --- */
.bg-cover-section {
    background-image: url('../c1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1055;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.4s ease;
    padding: 0 1rem;
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}

/* --- Modal --- */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 20px 40px 40px 40px;
    border: none;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    position: relative;
    border-radius: 8px;
    outline: 2px solid #f2f2f2;
    outline-offset: 4px;
}

.close-btn {
    color: #000;
    float: right;
    font-size: 28px;
    font-weight: lighter;
    cursor: pointer;
    line-height: 1;
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    opacity: 0.6;
}

.close-btn:hover {
    opacity: 0.95;
}

.logo-container {
    text-align: center;
    margin-bottom: 15px;
    padding-top: 10px;
}

.logo {
    width: 150px;
    height: auto;
    max-width: 60%;
}

/* Form Inputs */
.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #ccc;
    outline: none;
    font-size: 16px;
    color: #000;
    background: transparent;
}

.input-group input:focus {
    border-bottom: 1px solid var(--brand-primary);
}

.submit-btn {
    background-color: var(--brand-primary);
    color: white;
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    width: auto;
    display: block;
    margin: 0 auto;
    font-size: 16px;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #1a2542;
}

/* --- Floating Buttons --- */
.floating-buttons-container {
    position: fixed;
    bottom: 50px;
    left: 20px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    color: #fff;
    box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.floating-btn:hover {
    transform: scale(1.08);
}

.whatsapp-btn {
    background: #25d366;
}

.call-btn {
    background: #007bb6;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .modal-content {
        width: 90%;
        max-width: 520px;
        padding: 18px 30px;
    }
}

@media (max-width: 576px) {
    .modal-content {
        width: calc(100% - 32px);
        padding: 16px 18px;
        margin: 8% auto;
    }

    .submit-btn {
        width: 100%;
    }
}