/* =========================================================
   GOAPROPERTYSALE.COM
   MASTER STYLESHEET
   Premium Real Estate UI + Responsive + SEO Safe
========================================================= */


/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {
    --primary: #0ba67d;
    --primary-dark: #088764;
    --text: #1f2937;
    --muted: #6b7280;
    --bg: #f8fafc;
    --white: #ffffff;
    --border: #e5e7eb;
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
    --radius: 14px;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

img {
    width: 100%;
    display: block;
    border-radius: 12px;
}

a {
    text-decoration: none;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1240px;
    margin: auto;
}


/* =========================================================
   HEADER — PREMIUM STICKY HEADER
========================================================= */

/* =========================================================
   UPDATED HEADER NAVIGATION + DROPDOWN CSS
   Replace old header/nav CSS with this block
========================================================= */

/* HEADER */

.header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}

/* TOP STRIP */

.top-strip {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 0;
}

.top-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-left span {
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
}

.top-left i {
    color: #0ba67d;
    margin-right: 8px;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-right a {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: 0.3s;
}

.top-right a:hover {
    color: #0ba67d;
}

.top-right i {
    margin-right: 8px;
    color: #0ba67d;
}

/* MAIN NAVBAR */

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
}

/* LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo-icon {
    width: 52px;
    height: 52px;
    background: #0ba67d;
    color: #ffffff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

.logo-sub {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

/* NAVIGATION */

.nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav ul li {
    position: relative;
}

.nav ul li > a {
    color: #1f2937;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
}

.nav ul li > a:hover {
    color: #0ba67d;
}

.nav ul li i {
    margin-left: 6px;
    font-size: 12px;
}

.nri-link {
    color: #0ba67d !important;
    font-weight: 700 !important;
}

/* DROPDOWN MENU */

.dropdown-menu {
    position: absolute;
    top: 130%;
    left: 0;
    min-width: 230px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 999;
    display: block !important;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 22px;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: #f8fafc;
    color: #0ba67d;
}

/* SHOW DROPDOWN */

.has-dropdown:hover .dropdown-menu {
    top: 115%;
    opacity: 1;
    visibility: visible;
}

/* ACTION BUTTON */

.header-actions {
    display: flex;
    align-items: center;
}

.btn-outline {
    padding: 12px 24px;
    border: 1px solid #0ba67d;
    border-radius: 50px;
    color: #0ba67d;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-outline:hover {
    background: #0ba67d;
    color: #ffffff;
}

/* MOBILE MENU */

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: #111827;
    cursor: pointer;
}

/* RESPONSIVE */

@media (max-width: 1200px) {
    .nav ul {
        gap: 20px;
    }
}

@media (max-width: 992px) {

    .top-strip {
        display: none;
    }

    .nav {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-inner {
        padding: 18px 0;
    }

    .logo-main {
        font-size: 18px;
    }
}

@media (max-width: 768px) {

    .logo-icon {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }

    .logo-main {
        font-size: 16px;
    }

    .logo-sub {
        font-size: 11px;
    }

    .mobile-menu-btn {
        font-size: 22px;
    }
}

@media (max-width: 480px) {

    .logo-sub {
        display: none;
    }

    .header-inner {
        padding: 15px 0;
    }
}
/* =========================================================
   HERO SECTION
========================================================= */

.hero {
    text-align: center;
    padding: 80px 0;
}

.hero h1 {
    font-size: 70px;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero p {
    color: var(--muted);
    margin-bottom: 35px;
}


/* ======================
   SEARCH BOX
====================== */

.search-box {
    max-width: 800px;
    margin: auto;
    background: var(--white);
    padding: 10px;
    border-radius: 60px;
    display: flex;
    box-shadow: var(--shadow);
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 18px;
    font-size: 15px;
}

.search-box button {
    border: none;
    background: var(--primary);
    color: var(--white);
    padding: 18px 35px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
}


/* =========================================================
   PROPERTY CATEGORIES
========================================================= */

.categories {
    padding: 40px 0 80px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.card i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 15px;
}

.card h3 {
    margin-bottom: 10px;
}


/* =========================================================
   FEATURED PROPERTIES
========================================================= */

.featured {
    padding: 80px 0;
}

.section-title h2 {
    font-size: 34px;
    margin-bottom: 30px;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.property-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.property-content {
    padding: 20px;
}

.property-content h3 {
    margin-bottom: 10px;
}

.property-content p {
    color: var(--muted);
    margin-bottom: 10px;
}

.property-content h4 {
    color: var(--primary);
    font-size: 22px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 30px 0;
    text-align: center;
    margin-top: 80px;
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1200px) {

    .nav ul {
        gap: 20px;
    }
}

@media (max-width: 992px) {

    .top-strip {
        display: none;
    }

    .nav {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-inner {
        padding: 18px 0;
    }

    .logo-main {
        font-size: 18px;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .property-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 48px;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 768px) {

    .grid-4,
    .property-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 36px;
    }

    .search-box {
        flex-direction: column;
        border-radius: 20px;
    }

    .search-box button {
        width: 100%;
    }

    .logo-icon {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }

    .logo-main {
        font-size: 16px;
    }

    .logo-sub {
        font-size: 11px;
    }

    .mobile-menu-btn {
        font-size: 22px;
    }
}

@media (max-width: 480px) {

    .logo-sub {
        display: none;
    }

    .header-inner {
        padding: 15px 0;
    }
}

/***** pop up form *****/
/* POPUP FORM CSS */

.popup-form {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.popup-box {
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.close-popup {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 28px;
    cursor: pointer;
    color: #111827;
}

.popup-box h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.popup-box p {
    color: #6b7280;
    margin-bottom: 25px;
}

.popup-box form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.popup-box input {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    outline: none;
    font-size: 15px;
}

.popup-box button {
    background: #0ba67d;
    color: #ffffff;
    border: none;
    padding: 16px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 15px;
}

.popup-box button:hover {
    background: #088764;
}

/* =========================================================
   SUBTLE VISITOR COUNTER
========================================================= */

.visitor-count {
    margin-top: 12px;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    color: #c7c9cc;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/******** article for seo****/
/* WHY INVEST IN GOA SECTION */

.why-invest-goa {
    padding: 90px 0;
    background: #ffffff;
}

.invest-content {
    max-width: 1000px;
    margin: auto;
}

.invest-content p {
    font-size: 17px;
    line-height: 1.9;
    color: #374151;
    margin-bottom: 28px;
}

.invest-content strong {
    color: #111827;
    font-weight: 700;
}

@media (max-width: 768px) {
    .why-invest-goa {
        padding: 70px 0;
    }

    .invest-content p {
        font-size: 15px;
        line-height: 1.8;
    }
}

/* =========================================================
   SELL PROPERTY POPUP FORM
========================================================= */

.sell-popup-form {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.sell-popup-box {
    background: #ffffff;
    width: 100%;
    max-width: 520px;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.sell-popup-box h3 {
    font-size: 30px;
    margin-bottom: 14px;
    color: #111827;
}

.popup-text {
    font-size: 15px;
    line-height: 1.8;
    color: #6b7280;
    margin-bottom: 18px;
}

.listing-price {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    padding: 16px 18px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 15px;
    color: #374151;
}

.listing-price strong {
    color: #0ba67d;
    font-size: 17px;
}

.sell-popup-box form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sell-popup-box input {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    outline: none;
    font-size: 15px;
}

.sell-popup-box button {
    background: #0ba67d;
    color: #ffffff;
    border: none;
    padding: 16px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 15px;
    transition: 0.3s;
}

.sell-popup-box button:hover {
    background: #088764;
}

@media (max-width: 768px) {

    .sell-popup-box {
        padding: 30px 24px;
    }

    .sell-popup-box h3 {
        font-size: 24px;
    }
}