/* Reset and Base Styles */
:root {
    --primary:  #f09b2e; /* Deep blue */
    --primary-light: #3b82f6;
    --primary-dark: #1e40af;
    --secondary: #1e3a8a; /* Gold/Amber */
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-dark: #0f172a; /* Slate 900 */
    --text-main: #1e293b; /* Slate 800 */
    --text-muted: #64748b; /* Slate 500 */
    --border-color: #e2e8f0;
    
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-premium: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }
.bg-primary { background-color: var(--primary); }
.text-white { color: var(--bg-white) !important; }

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid System */
.grid {
    display: grid;
    gap: 2rem;
}

.two-cols {
    grid-template-columns: 1fr 1fr;
}

.align-center {
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--bg-white);
}

.hero-actions .btn-outline {
    border-color: var(--bg-white);
    color: var(--bg-white);
}

.hero-actions .btn-outline:hover {
    background-color: var(--bg-white);
    color: var(--primary);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    width: 250px;
}
.logo img{
    width: 100%;
}
.logo span {
    color: var(--secondary);
}

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

.nav-links a:not(.btn) {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: var(--primary);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('../images/hero.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--bg-white);
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    color: var(--bg-white);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Listings */
.listings-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.listing-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.listing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.card-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.listing-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--secondary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 2;
}

.badge-secondary {
    background-color: var(--primary);
}

.card-content {
    padding: 1.5rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.onwards {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-muted);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.location {
    color: var(--text-muted);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.features {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.features span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Localities */
.localities-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.locality-card {
    position: relative;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.locality-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.locality-placeholder {
    width: 100%;
    height: 100%;
}

.bg-gradient-1 { background: linear-gradient(135deg, #1e3a8a, #3b82f6); }
.bg-gradient-2 { background: linear-gradient(135deg, #0f172a, #475569); }

.locality-card:hover img {
    transform: scale(1.05);
}

.locality-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: white;
}

.locality-overlay h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transform: translateY(10px);
    transition: var(--transition);
}

.locality-overlay p {
    font-size: 0.875rem;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.locality-card:hover .locality-overlay h3 {
    transform: translateY(0);
}

.locality-card:hover .locality-overlay p {
    opacity: 1;
    transform: translateY(0);
}

/* Why Calicut */
.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.icon-box {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: rgb(240 155 46);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}

.feature-list h4 {
    color: white;
    margin-bottom: 0.25rem;
}

.feature-list p {
    color: #94a3b8;
    font-size: 0.875rem;
}

.image-stack {
    position: relative;
    padding-left: 2rem;
    padding-bottom: 2rem;
}

.img-front {
    position: relative;
    z-index: 2;
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
}

.bg-shape {
    position: absolute;
    top: -2rem;
    right: -2rem;
    width: 80%;
    height: 80%;
    background-color: var(--secondary);
    z-index: 1;
    border-radius: 8px;
}

/* Contact */
.contact-wrapper {
    display: flex;
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
}

.contact-info {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
        background: #020024;
    background: linear-gradient(182deg, rgba(2, 0, 36, 1) 0%, rgb(7 38 111) 35%, rgb(1 1 1) 100%);
}
#contact h3{
    font-size: 30px;
}
.contact-info p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-form {
    flex: 1.5;
    padding: 3rem;
}

.contact-form h3 {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-success {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #dcfce7;
    color: #166534;
    border-radius: 4px;
    border: 1px solid #bbf7d0;
}

.hidden {
    display: none;
}

/* Footer */
.footer {
    background-color: #020617;
    color: #94a3b8;
    padding: 2rem 0;
    text-align: center;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
 .whatsapp-help{
    background:#25D366;
    color:#fff;
    display:flex;
    align-items:center;
    gap: 5px;
    padding: 7px 20px;
    border-radius:40px;
    text-decoration:none;
    font-size:16px;
    font-weight:600;
    box-shadow:0 4px 10px rgba(0,0,0,0.15);
    transition:0.3s ease;
    position: fixed;
    width: 220px;
    bottom:10px;
    right: 10px;
    z-index: 25000 !important;
    font-size: 15px;
    line-height: 16px;
}

.whatsapp-help:hover{
    transform:translateY(-2px);
    box-shadow:0 6px 15px rgba(0,0,0,0.2);
}

.whatsapp-help i{
    font-size:24px;
}

/* Accordion Container */
.accordion{
    max-width:100%;
    margin:auto;
}

/* Accordion Item */
.accordion-item{
    background:#fff;
    margin-bottom:15px;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 3px 10px rgba(0,0,0,0.08);
}

/* Accordion Button */
.accordion-header{
    width:100%;
    padding:18px 20px;
    border:none;
    outline:none;
    /* background:#25D366; */
    color:#fff;
    font-size:18px;
    font-weight:600;
    cursor:pointer;
    display:flex;
    justify-content:space-between;
    align-items:center;
    transition:0.3s;
    background: #020024;
    background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 1) 35%, rgb(14 13 14) 100%);
}

.accordion-header:hover{
    background:#f09b2e;
}

/* Plus / Minus Icon */
.accordion-header::after{
    content:"+";
    font-size:24px;
    transition:0.3s;
}

.accordion-item.active .accordion-header::after{
    content:"−";
}

/* Accordion Content */
.accordion-content{
    max-height:0;
    overflow:hidden;
    transition:max-height 0.4s ease;
    background:#fff;
}

.accordion-content p{
    padding:20px;
    margin:0;
    color:#555;
    line-height:1.7;
}

/* Small blue edge */

/* Responsive */
@media (max-width: 992px) {
    .two-cols {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 1.5rem 0;
        box-shadow: var(--shadow-md);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .section {
        padding: 4rem 0;
    }

   .contact-form {
    flex: 1.5;
    padding: 3rem 1rem;
}
.bg-shape {
    position: absolute;
    top: -2rem;
    right: inherit;
    width: 80%;
    height: 80%;
    background-color: var(--secondary);
    z-index: 1;
    border-radius: 8px;
    left: 0px;
}
}
