/* ===== CSS VARIABLES ===== */
:root {
    --primary: #1a3a5c;
    --primary-light: #2a5a7a;
    --accent: #c9a84c;
    --accent-light: #e8d48b;
    --dark: #0a1a2a;
    --light: #f8f6f0;
    --gray: #e8e5dc;
    --text: #2d2d2d;
    --shadow: 0 20px 60px rgba(0,0,0,0.08);
    --radius: 20px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    display: block;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
section {
    padding: 80px 0;
    position: relative;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background: var(--accent);
    color: var(--dark);
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 8px 30px rgba(201,168,76,0.3);
    letter-spacing: 0.5px;
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(201,168,76,0.45);
}
.btn-secondary {
    display: inline-block;
    padding: 16px 40px;
    background: transparent;
    color: var(--light);
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid var(--light);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}
.btn-secondary:hover {
    background: var(--light);
    color: var(--primary);
    transform: translateY(-3px);
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: #25D366;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 40px rgba(37,211,102,0.4);
    transition: var(--transition);
    animation: pulse-wa 2s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1) rotate(-5deg);
}
.whatsapp-float svg {
    width: 36px;
    height: 36px;
    fill: white;
}

/* ===== HAMBURGER ===== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}
.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--light);
    border-radius: 4px;
    transition: var(--transition);
    transform-origin: center;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
    background: transparent;
}
.navbar.scrolled {
    background: rgba(26, 58, 92, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--light);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-logo span {
    color: var(--accent);
}
.nav-logo small {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.8;
    display: block;
    letter-spacing: 2px;
}
.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
}
.nav-links a {
    color: var(--light);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 4px 0;
    transition: var(--transition);
    opacity: 0.85;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}
.nav-links a:hover {
    opacity: 1;
}
.nav-links a:hover::after {
    width: 100%;
}
.nav-links a.active {
    opacity: 1;
}
.nav-links a.active::after {
    width: 100%;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(201,168,76,0.08);
    animation: float-shape 20s infinite ease-in-out;
    will-change: transform;
}
.shape:nth-child(1) {
    width: 500px;
    height: 500px;
    top: -150px;
    right: -100px;
    animation-delay: 0s;
}
.shape:nth-child(2) {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -80px;
    background: rgba(201,168,76,0.05);
    animation-delay: -5s;
}
.shape:nth-child(3) {
    width: 200px;
    height: 200px;
    top: 40%;
    left: 40%;
    background: rgba(255,255,255,0.03);
    animation-delay: -10s;
}
.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--light);
    line-height: 1.1;
    letter-spacing: -1px;
}
.hero-content h1 span {
    color: var(--accent);
    display: block;
}
.hero-content .subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    margin: 20px 0 30px;
    max-width: 480px;
    line-height: 1.7;
}
.hero-badges {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}
.hero-badge {
    color: var(--light);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
}
.hero-badge .icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(201,168,76,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}
.hero-image .card-3d {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    transform: rotateY(-5deg) rotateX(3deg);
    transition: var(--transition);
    box-shadow: 0 40px 80px rgba(0,0,0,0.3);
}
.hero-image .card-3d:hover {
    transform: rotateY(0deg) rotateX(0deg);
    box-shadow: 0 60px 100px rgba(0,0,0,0.4);
}
.hero-image .card-3d .stat {
    color: var(--light);
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: space-between;
}
.hero-image .card-3d .stat:last-child {
    border-bottom: none;
}
.hero-image .card-3d .stat .label {
    opacity: 0.6;
    font-weight: 400;
}
.hero-image .card-3d .stat .value {
    font-weight: 700;
    color: var(--accent);
}
.hero-image .card-3d .badge-accent {
    background: var(--accent);
    color: var(--dark);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 16px;
}

/* ===== SECTION TITLES ===== */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}
.section-title h2 span {
    color: var(--accent);
}
.section-title p {
    color: #666;
    max-width: 600px;
    margin: 12px auto 0;
    font-size: 1.1rem;
}
.section-title .line {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 16px auto 0;
    border-radius: 4px;
}

/* ===== PROPERTY CARDS ===== */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.property-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}
.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}
.property-card img {

width: 100%;

height: auto;

display: block;

aspect-ratio: auto;

background: #f5f5f5;


}
.property-card .card-body {
    padding: 20px;
}
.property-card .tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
}
.property-card .tag.for-sale { background: #e74c3c; }
.property-card .tag.resale { background: #e67e22; }
.property-card .tag.premium { background: #2ecc71; }
.property-card .tag.prelaunch { background: #f1c40f; color: #222; }
.property-card .tag.for-rent { background: #3498db; }
.property-card h3 {
    margin: 12px 0 6px;
    color: var(--primary);
    font-size: 1.2rem;
}
.property-card .location {
    color: #888;
    font-size: 0.85rem;
}
.property-card .features {
    list-style: none;
    margin: 10px 0;
    color: #555;
    font-size: 0.9rem;
    line-height: 2;
}
.property-card .features li::before {
    content: "✅ ";
}
.property-card .price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}
.property-card .price {
    font-weight: 800;
    color: var(--accent);
    font-size: 1.3rem;
}
.property-card .action-buttons {
    display: flex;
    gap: 8px;
}
.property-card .action-buttons a,
.property-card .action-buttons button {
    padding: 8px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.property-card .action-buttons .call-btn {
    background: var(--primary);
    color: white;
}
.property-card .action-buttons .whatsapp-btn {
    background: #25D366;
    color: white;
}
.property-card .action-buttons a:hover,
.property-card .action-buttons button:hover {
    transform: scale(1.05);
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.service-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}
.service-card .icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
}
.service-card h3 {
    color: var(--primary);
    margin-bottom: 8px;
}
.service-card p {
    color: #666;
    font-size: 0.95rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand h3 {
    color: var(--light);
    font-size: 1.6rem;
    font-weight: 800;
}
.footer-brand h3 span {
    color: var(--accent);
}
.footer-brand p {
    margin: 12px 0 20px;
    max-width: 300px;
    line-height: 1.7;
    font-size: 0.95rem;
}
.footer-brand .address {
    font-style: normal;
    line-height: 1.8;
    font-size: 0.95rem;
}
.footer-brand .address strong {
    color: var(--light);
}
.footer-links h4 {
    color: var(--light);
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 1.1rem;
}
.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    transition: var(--transition);
    font-size: 0.95rem;
}
.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.9rem;
}

/* ===== PREMIUM SOCIAL ICONS ===== */
.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    position: relative;
}

.social-icon-link svg {
    width: 22px;
    height: 22px;
    display: block;
    fill: #fff;
    transition: transform 0.3s ease;
}

.social-icon-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.social-icon-link:hover svg {
    transform: scale(1.05);
}

/* Individual Brand Colors on Hover */
.social-icon-link.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 10px 30px rgba(24, 119, 242, 0.35);
}

.social-icon-link.instagram:hover {
    background: #E4405F;
    border-color: #E4405F;
    box-shadow: 0 10px 30px rgba(228, 64, 95, 0.35);
}

.social-icon-link.justdial:hover {
    background: #14954a;
    border-color: #14954a;
    box-shadow: 0 10px 30px rgba(20, 149, 74, 0.35);
}

/* Smaller version for bottom bar */
.social-icon-link.sm {
    width: 36px;
    height: 36px;
}
.social-icon-link.sm svg {
    width: 18px;
    height: 18px;
}





/* ===== FIX: HERO CONTENT CENTERING ===== */
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    justify-items: center; /* ← NEW: centers grid items horizontally */
}

.hero-content {
    text-align: left; /* default left align for desktop */
    max-width: 600px;
    margin: 0 auto; /* ensures it stays centered if grid collapses */
}

.hero-content h1,
.hero-content .subtitle,
.hero-content .hero-badges,
.hero-content .btn-group {
    text-align: left;
}

/* On mobile, we want everything centered */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 30px;
        justify-items: center;
        text-align: center;
    }
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    .hero-content h1,
    .hero-content .subtitle,
    .hero-content .hero-badges,
    .hero-content .btn-group {
        text-align: center;
    }
    .hero-badges {
        justify-content: center;
    }
    /* Fix for quick property cards (Residential/Commercial/Warehousing) */
    .hero-content > div[style*="grid-template-columns"] {
        justify-items: center;
        margin: 0 auto;
    }
}









/* ===== FIX: HERO CONTENT CENTER ALIGNMENT ON MOBILE ===== */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
    .hero-content {
        text-align: center !important;
        padding: 0 10px !important; /* removes any left padding */
        margin: 0 auto !important;
    }
    .hero-content h1,
    .hero-content .subtitle,
    .hero-content .hero-badges,
    .hero-content .btn-group {
        text-align: center !important;
    }
    .hero-badges {
        justify-content: center !important;
    }
    /* Fix quick cards (Residential, Commercial, Warehousing) */
    .hero-content > div[style*="grid-template-columns"] {
        justify-items: center !important;
        margin: 30px auto 0 auto !important;
        max-width: 300px !important;
    }
    /* If they are using a class (like .quick-cards) – uncomment below */
    /*
    .quick-cards {
        grid-template-columns: 1fr !important;
        max-width: 300px !important;
        margin: 30px auto 0 auto !important;
    }
    */
}























/* ===== FIX: CENTER QUICK CARDS (Residential, Commercial, Warehousing) ===== */
.hero-content > div[style*="grid-template-columns"] {
    margin-left: auto !important;
    margin-right: auto !important;
    justify-items: center !important;
}

/* On mobile, make them single column and centered */
@media (max-width: 768px) {
    .hero-content > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        max-width: 280px !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .hero-content > div[style*="grid-template-columns"] a {
        text-align: center !important;
        width: 100% !important;
    }
}

















/* ===== FIX: Contact Page Map Link & Office Visit Box Centering ===== */
/* Target the paragraph containing the map link (it has inline margin and color) */
p[style*="margin-top:16px"][style*="color:#666"] {
    text-align: center !important;
}
p[style*="margin-top:16px"][style*="color:#666"] a {
    display: inline-block !important; /* ensures the link itself is centered */
}

/* Target the "Visit our office" box (it has inline background and border-radius) */
div[style*="background:var(--accent-light)"][style*="border-radius:12px"] {
    text-align: center !important;
}




















/* ===== CAROUSEL / SLIDESHOW ===== */
.carousel-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    background: #f5f5f5;
}

.carousel-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Dots (bottom indicators) */
.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot.active {
    background: #ffffff;
    transform: scale(1.2);
}

/* Optional: Previous/Next buttons (uncomment if you want arrows) */
/*
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    color: white;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    border-radius: 50%;
    transition: background 0.3s;
}
.carousel-btn:hover { background: rgba(0,0,0,0.6); }
.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }
*/