/* Base Styles */
        :root {
            --primary: #1a5276;
            --secondary: #ffc000;
            --light: #f8f9fa;
            --dark: #2c3e50;
            --success: #28a745;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            line-height: 1.6;
            color: #333;
            padding-top: 70px;
            /* Prevent content from going under fixed header */
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        section {
            padding: 20px 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 50px;
        }

        .section-title h2 {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }

        .section-title h2::after {
            content: '';
            position: absolute;
            width: 70px;
            height: 3px;
            background: var(--secondary);
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
        }

        .btn {
            display: inline-block;
            padding: 12px 30px;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1rem;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .btn:hover {
            background: var(--secondary);
            transform: translateY(-3px);
        }

        .btn:disabled {
            background: #ccc;
            cursor: not-allowed;
            transform: none;
        }

        .loading {
            text-align: center;
            padding: 40px;
            color: var(--primary);
        }

        .loading i {
            font-size: 2rem;
            margin-bottom: 10px;
        }

        .error {
            text-align: center;
            padding: 40px;
            color: #dc3545;
            background: #f8d7da;
            border-radius: 5px;
            margin: 20px 0;
        }

        /* Header Styles - FIXED */
        header {
            background: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1001;
            /* Increased to be above hero */
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
            height: 70px;
        }

        /* ===== LOGO STYLES ===== */
        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            color: inherit;
            height: 100%;
        }

        .logo-image {
            height: 100px;
            /* Adjust this number to change size */
            width: auto;
            object-fit: contain;
            transition: transform 0.3s ease;
        }

        .logo-image:hover {
            transform: scale(1.05);
        }

        .logo-text {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--primary);
            white-space: nowrap;
        }

        .logo-text span {
            color: var(--secondary);
        }

        /* Mobile responsive logo */
        @media (max-width: 992px) {
            .logo-text {
                display: none;
            }

            .logo-image {
                height: 55px;
            }
        }

        @media (max-width: 768px) {
            .logo-text {
                display: none;
                /* Hide text on mobile */
            }

            .logo-image {
                height: 50px;
            }

            .logo {
                gap: 0;
            }
        }

        @media (max-width: 480px) {
            .logo-image {
                height: 35px;
            }
        }

        nav ul {
            display: flex;
            list-style: none;
        }

        nav ul li {
            margin-left: 30px;
        }

        nav ul li a {
            text-decoration: none;
            color: var(--dark);
            font-weight: 500;
            transition: color 0.3s;
        }

        nav ul li a:hover {
            color: var(--secondary);
        }

        .mobile-menu {
            display: none;
            font-size: 1.5rem;
            cursor: pointer;
        }

        /* ===== HERO SECTION STYLING ===== */
        .hero {
            position: relative;
            height: 100vh;
            min-height: 700px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg,
                    rgba(26, 82, 118, 0.92) 0%,
                    rgba(44, 62, 80, 0.85) 100%),
                url('/uploads/preloads/hero-image.jfif') center/cover;
            overflow: hidden;
            margin-top: -100px;
            /* Pull hero up to overlap with header */
            padding-top: 100px;
            /* Push content down so it's not behind header */
            z-index: 1000;
            /* Lower than header */
        }

        .hero-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        .bg-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg,
                    rgba(26, 82, 118, 0.4) 0%,
                    rgba(243, 156, 18, 0.2) 50%,
                    rgba(44, 62, 80, 0.4) 100%);
            z-index: 2;
        }

        .hero-content {
            text-align: center;
            color: white;
            position: relative;
            z-index: 3;
            /* Above background/overlay */
            width: 100%;
            max-width: 1200px;
            padding: 0 20px;
        }

        .hero-main {
            margin-bottom: 1.5rem;
        }

        .hero-title {
            font-size: 3.5rem;
            font-weight: 700;
            line-height: 1.1;
            margin-bottom: 1.5rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }

        .title-line {
            display: block;
            opacity: 0;
            animation: fadeInUp 0.8s ease forwards;
        }

        .title-line:nth-child(1) {
            animation-delay: 0.3s;
        }

        .title-line:nth-child(2) {
            animation-delay: 0.6s;
        }

        .title-line:nth-child(3) {
            animation-delay: 0.9s;
        }

        .title-line.highlight {
            color: #f39c12;
            font-size: 4rem;
            background: linear-gradient(45deg, #f39c12, #e67e22);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: none;
        }

        .hero-subtitle {
            font-size: 1.4rem;
            margin-bottom: 3rem;
            opacity: 0;
            animation: fadeInUp 0.8s ease 1.2s forwards;
            line-height: 1.6;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .location-highlight {
            color: #f39c12;
            font-weight: 600;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
        }

        .hero-benefits {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin: 1.5rem 0;
            flex-wrap: wrap;
            opacity: 0;
            animation: fadeInUp 0.8s ease 1.5s forwards;
        }

        .benefit-item {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            background: rgba(255, 255, 255, 0.15);
            padding: 1rem 1.8rem;
            border-radius: 50px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .benefit-item:hover {
            background: rgba(255, 255, 255, 0.25);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        }

        .benefit-item i {
            color: #f39c12;
            font-size: 1.1rem;
        }

        .hero-actions {
            display: flex;
            gap: 1.5rem;
            justify-content: center;
            margin: 1.5rem 0;
            flex-wrap: wrap;
            opacity: 0;
            animation: fadeInUp 0.8s ease 1.8s forwards;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 0.8rem;
            padding: 1.2rem 2.5rem;
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            cursor: pointer;
            text-transform: none;
        }

        .btn-primary {
            background: linear-gradient(45deg, #f39c12, #e67e22);
            color: white;
            box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(243, 156, 18, 0.4);
            background: linear-gradient(45deg, #e67e22, #f39c12);
        }

        .btn-secondary {
            background: transparent;
            border: 2px solid rgba(255, 255, 255, 0.8);
            color: white;
            backdrop-filter: blur(10px);
        }

        .btn-secondary:hover {
            background: white;
            color: #1a5276;
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
        }

        .trust-indicators {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin: 1.5rem 0;
            flex-wrap: wrap;
            opacity: 0;
            animation: fadeInUp 0.8s ease 2.1s forwards;
        }

        .trust-item {
            text-align: center;
            padding: 1rem;
        }

        .trust-item .number {
            display: block;
            font-size: 2.8rem;
            font-weight: 800;
            color: #f39c12;
            line-height: 1;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
        }

        .trust-item .label {
            font-size: 0.95rem;
            opacity: 0.9;
            margin-top: 0.5rem;
            font-weight: 500;
        }

        .scroll-indicator {
            position: absolute;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%);
            text-align: center;
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.9rem;
            animation: bounce 2s infinite;
            opacity: 0;
            animation: fadeInUp 0.8s ease 2.4s forwards, bounce 2s infinite 3s;
            z-index: 3;
        }

        .scroll-indicator i {
            display: block;
            margin-top: 0.5rem;
            font-size: 1.2rem;
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes bounce {

            0%,
            20%,
            50%,
            80%,
            100% {
                transform: translateY(0) translateX(-50%);
            }

            40% {
                transform: translateY(-10px) translateX(-50%);
            }

            60% {
                transform: translateY(-5px) translateX(-50%);
            }
        }

        /* ===== RESPONSIVE DESIGN ===== */
        @media (max-width: 768px) {
            .hero {
                min-height: 600px;
                height: 100vh;
                padding: 0 15px;
                margin-top: -70px;
                padding-top: 70px;
            }

            .hero-title {
                font-size: 2.5rem;
                margin-bottom: 1rem;
            }

            .title-line.highlight {
                font-size: 2.8rem;
            }

            .hero-subtitle {
                font-size: 1.1rem;
                margin-bottom: 1.5rem;
            }

            .hero-benefits {
                gap: 1rem;
                margin: 2rem 0;
            }

            .benefit-item {
                padding: 0.8rem 1.2rem;
                font-size: 0.9rem;
            }

            .benefit-item i {
                font-size: 1rem;
            }

            .hero-actions {
                flex-direction: column;
                align-items: center;
                gap: 1rem;
                margin: 2rem 0;
            }

            .btn {
                padding: 1rem 2rem;
                font-size: 1rem;
                width: 100%;
                max-width: 280px;
                justify-content: center;
            }

            .trust-indicators {
                gap: 2rem;
                margin: 2rem 0;
            }

            .trust-item .number {
                font-size: 2.2rem;
            }

            .trust-item .label {
                font-size: 0.85rem;
            }
        }

        @media (max-width: 480px) {
            .hero-title {
                font-size: 2rem;
            }

            .title-line.highlight {
                font-size: 2.2rem;
            }

            .hero-subtitle {
                font-size: 1rem;
            }

            .hero-benefits {
                flex-direction: column;
                align-items: center;
            }

            .benefit-item {
                width: 100%;
                max-width: 250px;
                justify-content: center;
            }

            .trust-indicators {
                gap: 1.5rem;
            }

            .trust-item {
                padding: 0.5rem;
            }

            .trust-item .number {
                font-size: 1.8rem;
            }
        }

        /* About Section */
        .about {
            background: var(--light);
        }

        .about-content {
            display: flex;
            align-items: flex-start;
            gap: 50px;
        }

        .about-text {
            flex: 1;
        }

        .about-text h3 {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 20px;
            margin-top: 0;
        }

        .about-image {
            flex: 1;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .about-image img {
            width: 100%;
            height: auto;
            display: block;
        }

        /* Improve overall text readability */
        .about-text p {
            font-size: 1rem;
            line-height: 1.8;
            color: #444;
            margin-bottom: 14px;
        }

        /* Style the main "WHY CHOOSE..." heading */
        .about-text h3 {
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Style the internal h2 headings (Purpose, Vision, Mission) */
        .about-text h2 {
            font-size: 1.3rem;
            margin-top: 25px;
            margin-bottom: 10px;
            color: var(--primary);
            position: relative;
            padding-left: 12px;
        }

        /* small left line indicator */
        .about-text h2::before {
            content: "";
            position: absolute;
            left: 0;
            top: 5px;
            width: 4px;
            height: 70%;
            background: var(--primary);
            border-radius: 10px;
        }

        /* Make About image look more modern */
        .about-image {
            border-radius: 14px;
        }

        .about-image img {
            height: 100%;
            object-fit: cover;
        }

        /* Make spacing better on smaller screens */
        @media (max-width: 992px) {
            .about-content {
                flex-direction: column;
                gap: 30px;
            }

            .about-image {
                width: 100%;
                max-height: 380px;
            }

            .about-text h3 {
                font-size: 1.6rem;
            }

            .about-text h2 {
                font-size: 1.15rem;
            }
        }

        /* Properties Section */
        .properties {
            background: white;
        }

        .property-filters {
            display: flex;
            justify-content: center;
            margin-bottom: 30px;
            flex-wrap: wrap;
            gap: 10px;
        }

        .filter-btn {
            padding: 8px 20px;
            background: var(--light);
            border: none;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .filter-btn.active {
            background: var(--primary);
            color: white;
        }

        .properties-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
        }

        .property-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s;
        }

        .property-card:hover {
            transform: translateY(-10px);
        }

        .property-image {
            height: 200px;
            overflow: hidden;
        }

        .property-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }

        .property-card:hover .property-image img {
            transform: scale(1.1);
        }

        .property-info {
            padding: 20px;
        }

        .property-info h3 {
            font-size: 1.3rem;
            margin-bottom: 10px;
            color: var(--primary);
        }

        .property-location {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
            color: #666;
        }

        .property-location i {
            margin-right: 5px;
            color: var(--secondary);
        }

        .property-price {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--secondary);
            margin-bottom: 15px;
        }

        .property-features {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
            border-top: 1px solid #eee;
            padding-top: 15px;
        }

        .feature {
            text-align: center;
        }

        .feature i {
            display: block;
            font-size: 1.2rem;
            color: var(--primary);
            margin-bottom: 5px;
        }

        /* Image Loading Optimizations */
        .property-image-container {
            position: relative;
            height: 200px;
            overflow: hidden;
            background: #f8f9fa;
        }

        .property-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.5s ease;
            opacity: 0;
        }

        .property-image.loaded {
            opacity: 1;
        }

        .image-placeholder {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: loading 1.5s infinite;
        }

        .property-image.loaded+.image-placeholder {
            display: none;
        }

        @keyframes loading {
            0% {
                background-position: 200% 0;
            }

            100% {
                background-position: -200% 0;
            }
        }

        .property-card:hover .property-image {
            transform: scale(1.1);
        }

        /* the team and story images */
        .member-image,
        .story-image {
            position: relative;
            overflow: hidden;
        }

        .member-image img,
        .story-image img {
            transition: transform 0.5s ease;
            opacity: 0;
        }

        .member-image img.loaded,
        .story-image img.loaded {
            opacity: 1;
        }

        .team-member:hover .member-image img,
        .story-card:hover .story-image img {
            transform: scale(1.1);
        }

        /* Team Section */
        .team {
            background: var(--light);
        }

        /* Default (show only 3 members visually) */
        .team-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            overflow: hidden;
            transition: all 0.4s ease;
        }

        /* Expanded → show 4 per row */
        .team-grid.expanded {
            grid-template-columns: repeat(4, 1fr);
        }

        /* Hide members after the first 3 */
        .team-grid:not(.expanded) .team-member:nth-child(n+4) {
            display: none;
        }

        @media (max-width: 992px) {
            .team-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .team-grid.expanded {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 600px) {
            .team-grid {
                grid-template-columns: 1fr;
            }
        }

        .team-member {
            text-align: center;
            background: white;
            padding: 30px 20px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s;
        }

        .team-member:hover {
            transform: translateY(-10px);
        }

        .member-image {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            overflow: hidden;
            margin: 0 auto 20px;
            border: 5px solid var(--light);
        }

        .member-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .member-info h3 {
            font-size: 1.3rem;
            margin-bottom: 5px;
            color: var(--primary);
        }

        .member-role {
            color: var(--secondary);
            font-weight: 500;
            margin-bottom: 15px;
        }

        /* Team Section Toggle Styles */
        .team-toggle {
            text-align: center;
            margin-top: 40px;
        }

        #showMoreTeam,
        #showLessTeam {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 30px;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 1rem;
        }

        #showMoreTeam:hover,
        #showLessTeam:hover {
            background: var(--secondary);
            transform: translateY(-3px);
        }

        /* Animation for showing more team members */
        .team-grid.expanded {
            animation: fadeIn 0.5s ease;
        }

        @keyframes fadeIn {
            from {
                opacity: 0.8;
            }

            to {
                opacity: 1;
            }
        }

        /* Smooth transition for team grid */
        .team-grid {
            transition: all 0.3s ease;
            overflow: hidden;
        }

        /* Grid layout adjustments */
        .team-grid:not(.expanded) {
            max-height: 1000px;
            /* Adjust based on your content */
        }

        .team-grid.expanded {
            max-height: none;
        }

        /* Success Stories */
        .success-stories {
            background: white;
        }

        .stories-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
        }

        .story-card {
            background: var(--light);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .story-image {
            height: 200px;
            overflow: hidden;
        }

        .story-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .story-content {
            padding: 20px;
        }

        .story-content h3 {
            font-size: 1.3rem;
            margin-bottom: 10px;
            color: var(--primary);
        }

        .story-location {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
            color: #666;
        }

        .story-location i {
            margin-right: 5px;
            color: var(--secondary);
        }

        /* Contact Section */
        /* About section contact details layout (3 items in one row) */
        .about .contact-details {
            display: grid;
            grid-template-columns: 1fr 1fr auto;
            /* office | phones | button */
            gap: 15px;
            align-items: center;
        }

        /* make button align nicely */
        .about .about-btn {
            white-space: nowrap;
            height: fit-content;
            text-align: center;
        }

        /* responsive: stack nicely */
        @media (max-width: 992px) {
            .about .contact-details {
                grid-template-columns: 1fr;
            }

            .about .about-btn {
                width: 100%;
            }
        }

        .contact {
            background: var(--light);
        }

        .contact-container {
            display: flex;
            gap: 50px;
        }

        .contact-info {
            flex: 1;
        }

        .contact-info h3 {
            font-size: 1.8rem;
            color: var(--primary);
            margin-bottom: 20px;
        }

        .contact-details {
            margin-bottom: 30px;
        }

        .contact-item {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }

        .contact-item i {
            width: 40px;
            height: 40px;
            background: var(--primary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
        }

        .contact-form {
            flex: 1;
            background: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: 500;
        }

        .form-control {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
        }

        textarea.form-control {
            resize: vertical;
            min-height: 100px;
        }

        /* Social Media Links Styles */
        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
            flex-wrap: wrap;
        }

        .social-links a {
            width: 45px;
            height: 45px;
            background: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            transition: all 0.3s ease;
            text-decoration: none;
            position: relative;
        }

        .social-links a:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        .social-links a i {
            font-size: 1.2rem;
        }

        /* Footer social links with text */
        footer .social-links a {
            width: auto;
            height: auto;
            background: transparent;
            border-radius: 5px;
            padding: 10px 15px;
            border: 2px solid rgba(255, 255, 255, 0.2);
        }

        footer .social-links a:hover {
            background: var(--secondary);
            border-color: var(--secondary);
        }

        footer .social-links a span {
            margin-left: 8px;
            font-size: 0.9rem;
        }

        .whatsapp-float,
        .call-float {
            display: flex;
            align-items: center;
            background: #25D366;
            color: white;
            padding: 12px 20px;
            border-radius: 50px;
            text-decoration: none;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            transition: all 0.3s ease;
            animation: float 3s ease-in-out infinite;
        }

        .call-float {
            background: var(--success);
        }

        .whatsapp-float:hover,
        .call-float:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
        }

        .whatsapp-float i,
        .call-float i {
            font-size: 1.5rem;
            margin-right: 10px;
        }

        .whatsapp-float span,
        .call-float span {
            font-weight: 600;
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-10px);
            }
        }

        /* Social Media Brand Colors on Hover */
        .social-links a[href*="facebook"]:hover {
            background: #1877F2;
        }

        .social-links a[href*="tiktok"]:hover {
            background: #000000;
        }

        .social-links a[href*="instagram"]:hover {
            background: #E4405F;
        }

        .social-links a[href*="whatsapp"]:hover {
            background: #25D366;
        }

        .social-links a[href*="mailto"]:hover {
            background: #EA4335;
        }

        .social-links a[href*="tel"]:hover {
            background: var(--success);
        }

        /* Footer */
        footer {
            background: var(--dark);
            color: white;
            padding: 50px 0 20px;
        }

        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            margin-bottom: 30px;
        }

        .footer-col h3 {
            font-size: 1.3rem;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-col h3::after {
            content: '';
            position: absolute;
            width: 50px;
            height: 2px;
            background: var(--secondary);
            bottom: 0;
            left: 0;
        }

        .footer-col ul {
            list-style: none;
        }

        .footer-col ul li {
            margin-bottom: 10px;
        }

        .footer-col ul li a {
            color: #bbb;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-col ul li a:hover {
            color: var(--secondary);
        }

        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.9rem;
            color: #bbb;
        }

        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 2000;
            overflow: auto;
        }

        .modal-content {
            background: white;
            margin: 5% auto;
            width: 90%;
            max-width: 600px;
            border-radius: 10px;
            animation: modalFade 0.5s;
        }

        @keyframes modalFade {
            from {
                opacity: 0;
                transform: translateY(-50px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .modal-header {
            padding: 20px;
            border-bottom: 1px solid #eee;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .modal-header h2 {
            color: var(--primary);
        }

        .close-modal {
            font-size: 1.5rem;
            cursor: pointer;
            color: #999;
        }

        .close-modal:hover {
            color: var(--dark);
        }

        .modal-body {
            padding: 20px;
        }

        .alert {
            padding: 15px;
            border-radius: 5px;
            margin-bottom: 20px;
        }

        .alert-success {
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }

        .alert-error {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }

        /* Responsive Styles */
        @media (max-width: 992px) {
            .about-content {
                flex-direction: column;
            }

            .contact-container {
                flex-direction: column;
            }

            .floating-social {
                bottom: 20px;
                right: 20px;
            }
        }

        @media (max-width: 768px) {
            nav ul {
                display: none;
                position: absolute;
                top: 70px;
                left: 0;
                width: 100%;
                background: white;
                flex-direction: column;
                padding: 20px;
                box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
                z-index: 1002;
            }
           @media (max-width: 768px) {
    .hero-main {
        margin-bottom: 1rem;
    }
    
    .hero-benefits {
        gap: 0.8rem;
        margin: 1rem 0;
    }
    
    .hero-actions {
        margin: 1rem 0;
    }
    
    .trust-indicators {
        gap: 1.5rem;
        margin: 1rem 0;
    }
    
    .hero-title {
        font-size: 2.2rem;  /* Smaller on mobile */
    }
    
    .title-line.highlight {
        font-size: 2.5rem;
    }
}
            nav ul.show {
                display: flex;
            }

            nav ul li {
                margin: 10px 0;
            }

            .mobile-menu {
                display: block;
            }

            .hero-content h1 {
                font-size: 2.5rem;
            }

            .whatsapp-float,
            .call-float {
                padding: 10px 15px;
                font-size: 0.9rem;
            }

            .whatsapp-float span,
            .call-float span {
                display: none;
            }

            .whatsapp-float i,
            .call-float i {
                margin-right: 0;
                font-size: 1.3rem;
            }

            .social-links {
                justify-content: center;
            }
        }

        /* Map Button Styles */
        .map-btn {
            background-color: #34a853;
            /* Google Maps green */
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-weight: 500;
            transition: all 0.3s ease;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        .map-btn:hover {
            background-color: #2d9249;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        }

        .map-btn i {
            font-size: 16px;
        }

        .map-btn.disabled {
            background-color: #6c757d;
            cursor: not-allowed;
            opacity: 0.7;
        }

        .map-btn.disabled:hover {
            transform: none;
            background-color: #6c757d;
        }

        /* Property card map button */
        .property-card .map-btn {
            padding: 8px 15px;
            font-size: 0.9rem;
            margin-top: 10px;
            width: 100%;
            justify-content: center;
        }

        /* Property details page map button */
        .property-details .map-btn {
            padding: 12px 25px;
            font-size: 1rem;
            margin: 15px 0;
        }

        /* Map icon in property listings */
        .map-indicator {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(52, 168, 83, 0.9);
            color: white;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            z-index: 10;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .map-indicator:hover {
            background: #2d9249;
            transform: scale(1.1);
        }

        .map-indicator i {
            font-size: 14px;
        }

        /* Map modal for embedded preview */
        .map-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 9999;
            align-items: center;
            justify-content: center;
        }

        .map-modal-content {
            background: white;
            border-radius: 10px;
            width: 90%;
            max-width: 800px;
            height: 80%;
            overflow: hidden;
        }

        .map-modal-header {
            background: #34a853;
            color: white;
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .map-modal-header h3 {
            margin: 0;
            font-size: 1.2rem;
        }

        .map-modal-close {
            background: none;
            border: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
            padding: 0;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .map-modal-iframe {
            width: 100%;
            height: calc(100% - 60px);
            border: none;
        }

        /* Responsive map buttons */
        @media (max-width: 768px) {
            .map-btn {
                padding: 8px 15px;
                font-size: 0.9rem;
            }

            .map-modal-content {
                width: 95%;
                height: 70%;
            }

            .map-indicator {
                width: 28px;
                height: 28px;
                font-size: 12px;
            }
        }

        /* Property Details Page Map Styles */
        .property-map-section {
            background: white;
            border-radius: 10px;
            padding: 25px;
            margin: 30px 0;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        .property-map-section h3 {
            color: #2c3e50;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #f1f1f1;
        }

        .property-map-section h3 i {
            color: #34a853;
            margin-right: 10px;
        }

        .location-info {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
        }

        .location-info p {
            margin: 8px 0;
            font-size: 1rem;
        }

        .location-info strong {
            color: #2c3e50;
            min-width: 100px;
            display: inline-block;
        }

        .map-actions {
            margin: 20px 0;
        }

        .map-actions .btn-group {
            flex-wrap: wrap;
            gap: 10px;
        }

        .map-actions .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 20px;
            border-radius: 5px;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .map-actions .btn i {
            font-size: 16px;
        }

        .map-actions .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .map-actions .btn-primary {
            background: #0d6efd;
            border-color: #0d6efd;
        }

        .map-actions .btn-success {
            background: #34a853;
            border-color: #34a853;
        }

        .map-actions .btn-info {
            background: #17a2b8;
            border-color: #17a2b8;
        }

        .map-actions .btn-outline-primary {
            color: #0d6efd;
            border-color: #0d6efd;
        }

        .map-actions .btn-outline-primary:hover {
            background: #0d6efd;
            color: white;
        }

        .map-preview {
            transition: all 0.3s ease;
        }

        .map-preview:hover .map-placeholder {
            border-color: #34a853;
            background: #f0fff4;
        }

        .map-placeholder i {
            transition: transform 0.3s ease;
        }

        .map-placeholder:hover i {
            transform: scale(1.1);
        }

        /* Responsive styles for property details */
        @media (max-width: 768px) {
            .property-map-section {
                padding: 15px;
                margin: 20px 0;
            }

            .map-actions .btn-group {
                flex-direction: column;
            }

            .map-actions .btn {
                width: 100%;
                justify-content: center;
                margin-bottom: 10px;
            }

            .location-info {
                font-size: 0.9rem;
            }
        }

        .team-grid {
            overflow: hidden;
            transition: max-height 0.5s ease, opacity 0.5s ease;
        }

        /* Collapsed */
        .team-grid:not(.expanded) {
            max-height: 1200px;
            /* height for default 4 members */
        }

        /* Expanded */
        .team-grid.expanded {
            max-height: 5000px;
            /* large enough for all members */
            opacity: 1;
        }


        /* ===== PROPERTY GALLERY STYLES ===== */
        .property-gallery {
            position: relative;
            height: 250px;
            overflow: hidden;
            background: #f8f9fa;
            border-radius: 10px 10px 0 0;
        }

        .gallery-slides {
            display: flex;
            height: 100%;
            transition: transform 0.5s ease-in-out;
            will-change: transform;
        }

        .gallery-slide {
            min-width: 100%;
            height: 100%;
            position: relative;
            flex-shrink: 0;
        }

        .gallery-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0;
            transition: opacity 0.5s ease;
        }

        .gallery-slide img.loaded {
            opacity: 1;
        }

        /* Navigation Arrows */
        .gallery-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.6);
            color: white;
            border: none;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            z-index: 10;
            opacity: 0;
            transition: all 0.3s ease;
            backdrop-filter: blur(5px);
        }

        .property-card:hover .gallery-nav {
            opacity: 1;
        }

        .gallery-nav:hover {
            background: rgba(0, 0, 0, 0.8);
            transform: translateY(-50%) scale(1.1);
        }

        .gallery-prev {
            left: 10px;
        }

        .gallery-next {
            right: 10px;
        }

        /* Dots Indicator */
        .gallery-dots {
            position: absolute;
            bottom: 15px;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;
            gap: 6px;
            z-index: 10;
        }

        .gallery-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            border: none;
            cursor: pointer;
            padding: 0;
            transition: all 0.3s ease;
        }

        .gallery-dot.active {
            background: var(--secondary);
            transform: scale(1.3);
        }

        .gallery-dot:hover {
            background: rgba(255, 255, 255, 0.8);
        }

        /* Image Counter */
        .image-counter {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(0, 0, 0, 0.6);
            color: white;
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 0.8rem;
            z-index: 10;
            backdrop-filter: blur(5px);
        }

        /* Image Loading Placeholder */
        .gallery-slide .image-placeholder {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: loading 1.5s infinite;
        }

        .gallery-slide img.loaded+.image-placeholder {
            display: none;
        }

        /* Touch support for mobile */
        .gallery-slides {
            touch-action: pan-y pinch-zoom;
        }

        /* ===== RESPONSIVE GALLERY ===== */
        @media (max-width: 768px) {
            .property-gallery {
                height: 200px;
            }

            .gallery-nav {
                width: 32px;
                height: 32px;
                font-size: 1rem;
                opacity: 0.7;
            }

            .property-card:hover .gallery-nav {
                opacity: 0.7;
            }
        }

        @media (max-width: 480px) {
            .property-gallery {
                height: 180px;
            }

            .gallery-nav {
                display: none;
                /* Hide arrows on very small screens */
            }

            .gallery-dots {
                bottom: 10px;
            }
        }

        /* ===== ANIMATIONS ===== */
        @keyframes slideIn {
            from {
                opacity: 0.5;
                transform: translateX(10px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .gallery-slide {
            animation: slideIn 0.3s ease-out;
        }

        /* ADD THIS AT THE VERY END */
        header {
            z-index: 9999;
            background: white !important;
        }

        /* ===== FIX FOR FIXED HEADER ===== */
        header {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            right: 0 !important;
            z-index: 9999 !important;
            background: white !important;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
        }

        body {
            padding-top: 70px !important;
        }

        header {
            position: fixed !important;
            top: 0 !important;
            transform: none !important;
        }

        header {
            position: fixed !important;
            top: 0 !important;
            left: 0;
            right: 0;
            transform: none !important;
            transition: none !important;
            z-index: 999999 !important;
        }

        .team-grid {
            overflow: hidden;
            transition: height 0.5s ease;
        }

        /* Success Stories Grid Animation */
        .stories-grid {
            overflow: hidden;
            transition: max-height 0.5s ease, opacity 0.5s ease;
        }

        /* Collapsed - shows only 3 stories */
        .stories-grid:not(.expanded) {
            max-height: 1200px;
            /* Adjust based on 3 story cards height */
        }

        /* Expanded - shows all stories */
        .stories-grid.expanded {
            max-height: 5000px;
            /* Large enough for all stories */
            opacity: 1;
        }

        /* Stories Toggle Button Styling */
        .stories-toggle {
            text-align: center;
            margin-top: 40px;
            display: none;
            /* Hidden by default */
        }

        #showMoreStories,
        #showLessStories {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 30px;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 1rem;
        }

        #showMoreStories:hover,
        #showLessStories:hover {
            background: var(--secondary);
            transform: translateY(-3px);
        }

        .stories-grid:not(.expanded) {
            max-height: 1400px;
            /* Adjust this based on your actual story card height */
        }

        .stories-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
            transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .property-description {
            margin: 10px 0 15px 0;
            color: #555;
            font-size: 0.95rem;
            line-height: 1.5;
            max-height: 4.5em;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            transition: max-height 0.3s ease;
        }

        .property-description.expanded {
            max-height: none;
            -webkit-line-clamp: unset;
            overflow: visible;
        }

        .read-more-toggle {
            color: var(--primary);
            background: none;
            border: none;
            cursor: pointer;
            font-size: 0.9rem;
            padding: 0;
            margin: 0 0 15px 0;
            font-weight: 500;
            display: inline-block;
        }

        .read-more-toggle:hover {
            color: var(--secondary);
            text-decoration: underline;
        }

        /* Map Modal Styles */
        .map-modal-content {
            width: 90%;
            max-width: 1000px;
            height: 80vh;
            padding: 0;
            overflow: hidden;
        }

        .map-modal-header {
            background: #34a853;
            color: white;
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .map-modal-close {
            background: none;
            border: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
            padding: 0 10px;
        }

        .map-modal-iframe {
            width: 100%;
            height: calc(100% - 60px);
            border: none;
        }

        /* Gallery Navigation Improvements */
        .gallery-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.5);
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            z-index: 10;
            font-size: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s;
        }

        .gallery-nav:hover {
            background: rgba(0, 0, 0, 0.8);
        }

        .gallery-prev {
            left: 10px;
        }

        .gallery-next {
            right: 10px;
        }

        .gallery-dots {
            position: absolute;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 8px;
            z-index: 10;
        }

        .gallery-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            border: none;
            cursor: pointer;
            padding: 0;
        }

        .gallery-dot.active {
            background: var(--secondary);
        }

        #bb-chatbot-button {
            position: fixed;
            bottom: 20px;
            /* Changed from 90px to 20px */
            right: 20px;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: #25D366;
            color: white;
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            z-index: 999999;
            font-size: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        #bb-chatbot-button:hover {
            transform: scale(1.1);
            background: #128C7E;
        }

        #bb-chatbot-container {
            position: fixed;
            bottom: 90px;
            /* Changed from 160px to 90px */
            right: 20px;
            width: 450px;
            height: 500px;
            background: white;
            border-radius: 15px;
            box-shadow: 0 5px 40px rgba(0, 0, 0, 0.2);
            display: none;
            flex-direction: column;
            overflow: hidden;
            z-index: 999999;
            /* Increased z-index to be above everything */
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }

        #bb-chatbot-container.open {
            display: flex;
        }

        .chat-header {
            background: linear-gradient(135deg, #1a5276, #2c3e50);
            color: white;
            padding: 15px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .chat-header img {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            border: 2px solid #f39c12;
            background: white;
            padding: 0;
            /* No padding */
            object-fit: cover;
            /* Cover fills the entire circle */
            box-sizing: border-box;
        }

        .chat-header h3 {
            margin: 0;
            font-size: 1rem;
        }

        .chat-header p {
            margin: 5px 0 0;
            font-size: 0.8rem;
            opacity: 0.9;
        }

        .chat-messages {
            flex: 1;
            overflow-y: auto;
            padding: 15px;
            background: #f8f9fa;
        }

        .message {
            display: flex;
            margin-bottom: 15px;
        }

        .message.bot {
            justify-content: flex-start;
        }

        .message.user {
            justify-content: flex-end;
        }

        .bubble {
            max-width: 80%;
            padding: 10px 15px;
            border-radius: 18px;
            font-size: 0.9rem;
            line-height: 1.4;
        }

        .bot .bubble {
            background: white;
            border: 1px solid #e0e0e0;
            border-top-left-radius: 4px;
        }

        .user .bubble {
            background: #1a5276;
            color: white;
            border-top-right-radius: 4px;
        }

        .chat-input {
            padding: 15px;
            border-top: 1px solid #ddd;
            display: flex;
            gap: 10px;
            background: white;
        }

        .chat-input input {
            flex: 1;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 0.95rem;
            outline: none;
        }

        .chat-input button {
            padding: 12px 20px;
            background: #1a5276;
            color: white;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
        }

        .chat-input button:hover {
            background: #154360;
        }

        .quick-replies {
            padding: 10px 15px;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            border-top: 1px solid #eee;
            background: #f8f9fa;
        }

        .quick-reply-btn {
            padding: 8px 12px;
            background: white;
            border: 1px solid #ddd;
            border-radius: 20px;
            font-size: 0.8rem;
            cursor: pointer;
            transition: all 0.2s;
        }

        .quick-reply-btn:hover {
            background: #1a5276;
            color: white;
            border-color: #1a5276;
        }

        .typing-indicator {
            display: flex;
            gap: 5px;
            padding: 12px 16px;
            background: white;
            border-radius: 18px;
            border: 1px solid #e0e0e0;
            width: fit-content;
        }

        .typing-indicator span {
            width: 8px;
            height: 8px;
            background: #90a4ae;
            border-radius: 50%;
            display: inline-block;
            animation: typing 1.4s infinite;
        }

        .typing-indicator span:nth-child(2) {
            animation-delay: 0.2s;
        }

        .typing-indicator span:nth-child(3) {
            animation-delay: 0.4s;
        }

        @keyframes typing {

            0%,
            60%,
            100% {
                transform: translateY(0);
            }

            30% {
                transform: translateY(-10px);
            }
        }

        .chat-close-btn {
            background: transparent;
            border: none;
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
            padding: 5px 10px;
            margin-left: auto;
            transition: transform 0.2s;
        }

        .chat-close-btn:hover {
            transform: scale(1.2);
            color: #f39c12;
        }

        #bb-chatbot-button {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: auto;
            /* Changed from 60px to auto */
            min-width: 60px;
            height: 60px;
            border-radius: 30px;
            /* Pill shape instead of circle */
            background: linear-gradient(135deg, #1a5276, #0a2f4a);
            color: white;
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(26, 82, 118, 0.4);
            z-index: 999999;
            font-size: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            /* Space between icon and text */
            padding: 0 20px;
            /* Horizontal padding */
            transition: all 0.3s ease;
            border: 2px solid #f39c12;
            animation: pulse 2s infinite;
        }

        #bb-chatbot-button i {
            font-size: 28px;
        }

        .button-text {
            font-size: 14px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        #bb-chatbot-button:hover {
            transform: scale(1.05);
            background: linear-gradient(135deg, #f39c12, #e67e22);
            border-color: #1a5276;
            box-shadow: 0 6px 20px rgba(243, 156, 18, 0.5);
        }

        /* Pulse animation */
        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(26, 82, 118, 0.7);
            }

            70% {
                box-shadow: 0 0 0 10px rgba(26, 82, 118, 0);
            }

            100% {
                box-shadow: 0 0 0 0 rgba(26, 82, 118, 0);
            }
        }

        /* Optional: Add a small notification dot */
        #bb-chatbot-button::after {
            content: '';
            position: absolute;
            top: 2px;
            right: 2px;
            width: 12px;
            height: 12px;
            background: #4CAF50;
            border-radius: 50%;
            border: 2px solid white;
            animation: blink 2s infinite;
        }

        @keyframes blink {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0.5;
            }
        }

        /* Mobile responsive */
        @media (max-width: 768px) {
            #bb-chatbot-button {
                min-width: 50px;
                height: 50px;
                padding: 0 15px;
                font-size: 20px;
            }

            #bb-chatbot-button i {
                font-size: 24px;
            }

            .button-text {
                font-size: 12px;
            }
        }

        @media (max-width: 480px) {
            .button-text {
                display: none;
                /* Hide text on very small screens, keep only icon */
            }

            #bb-chatbot-button {
                width: 60px;
                min-width: 60px;
                padding: 0;
                justify-content: center;
                border-radius: 50%;
                /* Back to circle on mobile */
            }
        }

        .header-buttons {
            display: flex;
            gap: 5px;
            margin-left: auto;
        }

        .chat-maximize-btn {
            background: transparent;
            border: none;
            color: white;
            font-size: 1rem;
            cursor: pointer;
            padding: 5px 8px;
            transition: transform 0.2s;
        }

        .chat-maximize-btn:hover {
            transform: scale(1.2);
            color: #f39c12;
        }

        /* Maximized state */
        #bb-chatbot-container.maximized {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 90vw;
            height: 90vh;
            max-width: 1200px;
            max-height: 900px;
            bottom: auto;
            right: auto;
            z-index: 999999;
        }

        #bb-chatbot-container.maximized .chat-messages {
            height: calc(90vh - 140px);
            max-height: none;
        }

        /* Animation for maximize/minimize */
        #bb-chatbot-container {
            transition: all 0.3s ease;
        }

        /* Mobile responsive for maximized state */
        @media (max-width: 768px) {
            #bb-chatbot-container.maximized {
                width: 100vw;
                height: 100vh;
                top: 0;
                left: 0;
                transform: none;
                border-radius: 0;
            }

            #bb-chatbot-container.maximized .chat-messages {
                height: calc(100vh - 140px);
            }
        }
        /* Maximized state */
#bb-chatbot-container.maximized {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 90vw !important;
    height: 90vh !important;
    max-width: 1200px !important;
    max-height: 900px !important;
    bottom: auto !important;
    right: auto !important;
    z-index: 999999;
}

/* Remove any transform that might conflict */
#bb-chatbot-container:not(.maximized) {
    transform: none !important;
}

/* Voice input button */
.voice-input-btn {
    margin-left: 5px;
    background-color: #1a5276;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.voice-input-btn:hover {
    background-color: #154360;
    transform: scale(1.05);
}

.voice-input-btn:active {
    transform: scale(0.95);
}

/* Pulse animation when listening */
.voice-input-btn.listening {
    animation: pulse 1.5s infinite;
    background-color: #dc3545;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

/* Quiz recommendation highlighting */
.quiz-match-highlight {
    border-left: 4px solid #f39c12;
    padding-left: 10px;
    margin: 10px 0;
    background: rgba(243, 156, 18, 0.05);
}

.quiz-score {
    display: inline-block;
    background: #1a5276;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-left: 10px;
}

.quiz-medal {
    font-size: 1.2rem;
    margin-right: 5px;
}


/* Chat input container */
.chat-input {
    padding: 15px;
    border-top: 1px solid #ddd;
    display: flex;
    gap: 10px;
    background: white;
    flex-wrap: wrap;
    align-items: center;
}

.chat-input input {
    flex: 1;
    min-width: 150px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
}

.chat-input button {
    padding: 12px 20px;
    background: #1a5276;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.chat-input button:hover {
    background: #154360;
}

/* Voice button specific styles */
.voice-input-btn,
.voice-output-btn {
    padding: 12px 15px !important;
    margin-left: 5px;
    background-color: #1a5276;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.voice-output-btn {
    background-color: #27ae60;
}

.voice-output-btn:hover {
    background-color: #229954 !important;
}

/* When maximized, ensure buttons are still visible */
#bb-chatbot-container.maximized .chat-input {
    padding: 20px;
}

#bb-chatbot-container.maximized .chat-input button {
    padding: 15px 25px;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .chat-input {
        flex-wrap: wrap;
    }
    
    .chat-input input {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .chat-input button,
    .voice-input-btn,
    .voice-output-btn {
        width: auto;
        flex: 1;
    }
}

/* Properties Section Toggle Styles - Matching Team Section */
.properties-toggle {
    text-align: center;
    margin-top: 40px;
}

#showMoreProperties,
#showLessProperties {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

#showMoreProperties:hover,
#showLessProperties:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

/* Animation for showing more properties */
.properties-grid.expanded {
    animation: fadeIn 0.5s ease;
}

/* Smooth transition for properties grid */
.properties-grid {
    transition: all 0.3s ease;
    overflow: hidden;
}

.properties-grid:not(.expanded) {
    max-height: none; /* Since grid layout handles this automatically */
}

.properties-grid.expanded {
    max-height: none;
}

/* Payment plan styling */
.payment-plan-card {
    border-left: 4px solid #f39c12;
    padding: 15px;
    margin: 10px 0;
    background: rgba(243, 156, 18, 0.05);
    border-radius: 8px;
}

.plan-name {
    color: #1a5276;
    font-weight: bold;
    font-size: 1.1rem;
}

.plan-highlight {
    background: #27ae60;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-left: 10px;
}

/* ===== MOBILE FIXES FOR TEAM SECTION ===== */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr !important;
        gap: 25px;
        padding: 0 15px;
    }
    
    .team-member {
        max-width: 350px;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100%;
    }
    
    .member-image {
        width: 140px !important;
        height: 140px !important;
        margin: 0 auto 20px !important;
    }
    
    .member-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }
    
    .member-info {
        text-align: center;
        padding: 0 15px 20px !important;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .team-member {
        max-width: 300px;
    }
    
    .member-image {
        width: 120px !important;
        height: 120px !important;
    }
}

/* ===== MOBILE FIXES FOR SHOW MORE TEAM ===== */
@media (max-width: 768px) {
    .team-grid {
        max-height: none !important;
        overflow: visible !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
    }
    
    .team-grid:not(.expanded) .team-member:nth-child(n+5) {
        display: none !important;
    }
    
    .team-grid.expanded {
        display: grid !important;
        grid-template-columns: 1fr !important;
        max-height: none !important;
        height: auto !important;
    }
    
    .team-grid.expanded .team-member {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .team-toggle {
        margin-top: 30px;
        width: 100%;
        text-align: center;
    }
    
    #showMoreTeam, #showLessTeam {
        width: auto;
        min-width: 200px;
        padding: 12px 20px;
        font-size: 1rem;
    }
}


/* ===== MOBILE HEADER FIXES ===== */
@media (max-width: 992px) {
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
    }
    
    .logo {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .logo-image {
        height: 45px;
        width: auto;
    }
    
    .logo-text {
        display: inline-block !important;
        font-size: 1.2rem;
        white-space: nowrap;
    }
    
    .mobile-menu {
        display: block !important;
        font-size: 1.8rem;
        cursor: pointer;
        color: var(--primary);
        order: 3;
    }
    
    nav ul {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        display: none;
        z-index: 999;
        margin: 0;
    }
    
    nav ul.show {
        display: flex !important;
    }
    
    nav ul li {
        margin: 12px 0;
        text-align: center;
    }
    
    nav ul li a {
        font-size: 1.1rem;
        padding: 8px 15px;
        display: block;
    }
}

/* Small mobile */
@media (max-width: 576px) {
    .logo-image {
        height: 35px;
    }
    
    .logo-text {
        font-size: 1rem !important;
    }
    
    .mobile-menu {
        font-size: 1.6rem;
    }
}
