#hp-fl {
    position: relative;
    /* padding: 105px 0 0; */
    /*padding: 55px 0 0;  */
     background-color: #810808;
    
}

.custom-container {
    width: calc(100% - 30px);
    max-width: 1468px;
    margin: 0 auto;
    background-color: blue;
}
.fl-wrapper {
    position: relative;
    
    background-color: brown;
}



@media only screen and (max-width: 1366px) {
    .fl-title h2 strong {
        font-size: 43px;
    }
}
@media only screen and (max-width: 1440px) {
    .fl-title h2 strong {
        font-size: 48px;
        background-size: 75px auto;
    }
}
.fl-title h2 strong {
    display: block;
    font-size: 54px;
    font-weight: 400;
    color: #F0F0F0;
    text-transform: uppercase;
    padding: 0 0 0 91px;
    background: url(palms-1.png) left center no-repeat;
    background-size: 81px auto;
}
.font-term {
    font-family: "termina", sans-serif;
}

.fl-title h2 span {
    font-size: 28px;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.150em;
    /* color: #fff; */
    color: #F0F0F0;
    display: inline-block;
    margin: 10px 0 0;
    position: relative;
    
}

.fl-title h2 strong {
        font-size: 43px;
    }
.fl-title h2 {
    overflow: hidden;
    text-align: right;
    padding: 0 25px 0 0;
    margin: 0 0 25px;
}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, a, abbr, acronym, address, big, cite, code, del, dfn, img, ins, kbd, q, s, samp, small, strike, tt, var, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
*, *:before, *:after {
    box-sizing: inherit;
}

.fl-single.fl-title.fl-ctas {
    position: absolute;
    top: 0;
    left: 0;
    
}
body {
    font-family: "termina", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    
    
}

.fl-title h2 span:after {
    content: '';
    display: block;
    height: 3px;
    width: 100vw;
    position: absolute;
    right: 105%;
    top: 0;
    bottom: 0;
    margin: auto 0;
    background: #f7c1b9;
}

.green {
    background-color: rgb(1, 39, 1);
}


#hp-fl:before {
    content: '';
    display: block;
    position: absolute;
    z-index: 0;
    left: 0;
    top: 0;
    width: 42%;
    height: 680px;
    background: url(images/fl-accent.jpg) center center no-repeat;
    background-size: cover;
    background-color: #810808;
}

*, *:before, *:after {
    box-sizing: inherit;
}


.fl-buttons {
    display: flex
;
    flex-flow: column wrap;
    align-items: flex-start;
}

.font-term {
    font-family: "termina", sans-serif;
}


@media only screen and (max-width: 1366px) {
    .fl-buttons a {
        padding: 18px 20px 18px 58px;
    }
}
.fl-buttons a {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.025em;
    color: #F0F0F0;
    text-transform: uppercase;
    border: 2px solid rgba(245, 187, 179, 0);
    display: block;
    /* width: calc(100% - 20px); */
    max-width: 400px;
    /* padding: 22px 0 22px 58px; */
    padding: 22px 25px 22px 58px;
    background: url(palm-1-hp.png) 20px center no-repeat;
    background-size: 22px auto;
    transition: all ease .4s;
    -webkit-transition: all ease .4s;
    -moz-transition: all ease .4s;
}
a:link, a:visited {
    text-decoration: none;
}



  /* Base styles for both headers */
    .app-header {
      position: fixed; /* Essential for both headers to stick to the top */
      top: 0;
      left: 0;
      width: 100%;
      transition: transform 0.3s ease-in-out; /* Smooth slide animation */
      
    }

    /* Initial header - visible by default, slides out on scroll down */
    .initial-header {
      
      z-index: 1020; /* Higher z-index */
      transform: translateY(0); /* Start visible */
    }

    /* Second header - hidden by default, appears and fixes when scrolled past initial */
    .secondary-header {
      background-color: #810808; /* Bootstrap red (danger) */
      color: white;
      z-index: 1010; /* Slightly lower z-index than initial header */
      transform: translateY(-100%); /* Start hidden above viewport */
      padding: 15px 0; /* Padding for the second header */
      opacity: 1;
    pointer-events: auto;
    }

    /* Utility classes for JS control */
    .initial-header.hidden {
      transform: translateY(-100%); /* Move off-screen upwards */
    }

    .secondary-header.visible {
      transform: translateY(0); /* Slide into view and stick */
    }

     /* Custom CSS for the Real Estate Section */
    .real-estate-section {
      min-height: 80vh; /* Ensures the section takes up significant vertical space */
      display: flex; /* Use flexbox to vertically align content if needed */
      align-items: stretch; /* Stretch columns to fill height */
      background-color: #f8f9fa; /* Light background for the overall section */
    }

    .left-column {
      background-image: url('slide1.jpg'); /* Random real-estate image */
      background-size: cover; /* Cover the entire area */
      background-position: center; /* Center the image */
      display: flex;
      align-items: center;
      justify-content: center;
      color: white; /* Text color over background image */
      text-shadow: 2px 2px 4px rgba(0,0,0,0.7); /* Adds readability to text */
      padding: 30px; /* Some padding for content */
    }

    .right-column {
      padding: 10px; /* Padding inside the right column */
      display: flex;
      flex-direction: column; /* Stack rows vertically */
      gap: 6px; /* Space between rows */
    }

    .image-row {
      display: flex;
      gap: 20px; /* Space between image boxes */
      justify-content: space-around; /* Distribute space if needed */
      flex-wrap: wrap; /* Allow wrapping on smaller screens if images are too wide */
    }

    .image-box {
      flex: 1 1 calc(50% - 10px); /* Two columns, considering gap */
      max-width: calc(50% - 10px); /* Max width for two columns */
      background-color: #e9ecef; /* Light gray background for image box */
      border-radius: 8px; /* Rounded corners */
      overflow: hidden; /* Hide overflowing parts of the image */
      box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Subtle shadow */
      text-align: center;
      padding-bottom: 10px; /* Padding below image for text */
    }
    .image-box img {
      width: 100%;
      height: 200px; /* Fixed height for consistency */
      object-fit: cover; /* Crop image to fit */
      border-top-left-radius: 8px;
      border-top-right-radius: 8px;
    }

    /* Responsive adjustments for smaller screens */
    @media (max-width: 767.98px) {
      .real-estate-section .row {
        flex-direction: column; /* Stack columns on mobile */
      }
      .left-column {
        min-height: 300px; /* Give left column some height on mobile */
      }
      .image-box {
        flex: 1 1 100%; /* Full width for single image per row on small screens */
        max-width: 100%;
      }
    }
	
	  /* GENERAL CONTENT SECTIONS */
        .content-section {
            padding: 80px 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 50px;
        }
/* About Section */
  /* The main container row */
        .main-row {
            min-height: 100vh;
            display: flex;
            flex-wrap: wrap;
        }

        /* Left column styling */
        .left-column {
            background-color: #810808; /* Dark teal color from the image */
            color: #ffffff;
            padding: 5rem 3rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        /* Logo box at the top left */
        .logo-box {
            border: 1px solid #ffffff;
            padding: 0.5rem 1rem;
            max-width: 150px;
            text-align: center;
            margin-bottom: auto; /* Pushes it to the top */
        }

        .logo-box .brand {
            font-family: 'Lato', sans-serif;
            font-weight: 700;
            letter-spacing: 1px;
            font-size: 1.2rem;
            margin: 0;
        }

        .logo-box .sub-brand {
            font-family: 'Lato', sans-serif;
            font-weight: 400;
            letter-spacing: 2px;
            font-size: 0.8rem;
            margin: 0;
        }

        /* Main headline text in the left column */
        .headline-text {
            font-family: 'Playfair Display', serif;
            font-weight: 700;
            font-size: 3.5rem;
            line-height: 1.2;
            margin-top: auto; /* Centers the text block vertically with the logo */
            margin-bottom: auto;
        }

        /* Right column styling */
        .right-column {
            padding: 5rem 4rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        /* Palm tree icons */
        .palm-icons {
            display: flex;
            gap: 0.5rem;
            color: #014d51; /* Match the left column color */
        }
        .palm-icon {
            width: 32px;
            height: 32px;
        }

        /* "About Us" title */
        .about-title {
            font-family: 'Lato', sans-serif;
            font-weight: 700;
            letter-spacing: 4px;
            font-size: 1.5rem;
            margin-top: 1rem;
        }

        /* Pinkish underline */
        .title-underline {
            width: 80px;
            height: 3px;
            background-color: #f1cdc9; /* Pinkish color from the image */
            margin-top: 1rem;
            margin-bottom: 2rem;
        }

        /* Main content text */
        .content-text {
            font-size: 1.1rem;
            line-height: 1.7;
            max-width: 550px; /* To control line length for readability */
        }

        .content-text strong {
            font-weight: 700;
        }
        
        /* "Get to know us more" link */
        .more-info-link {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            margin-top: 2rem;
            text-decoration: none;
            color: #014d51;
            font-weight: 700;
            letter-spacing: 1px;
            font-size: 0.9rem;
            transition: opacity 0.3s ease;
        }

        .more-info-link:hover {
            opacity: 0.7;
            color: #014d51;
        }

        /* Responsive adjustments */
        @media (max-width: 991.98px) {
            .main-row {
                min-height: auto;
            }
            .left-column, .right-column {
                padding: 3rem 2rem;
            }
            .headline-text {
                font-size: 2.5rem;
                margin-top: 3rem;
                margin-bottom: 2rem;
            }
            .right-column {
                 padding-top: 4rem;
                 padding-bottom: 4rem;
            }
        }

    .search-section {
    padding: 5rem 1rem;
    background-color: #810808;
    position: relative;
    background-size: cover;
    background-position: center;
    background-image: linear-gradient(rgb(129 8 8), rgb(129 8 8)), url(https://images.unsplash.com/photo-1600585154340-be6164a83639?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1740&q=80);
    color: #ffffff;
}

        .search-title-container {
            display: flex;
            flex-direction: column;
            justify-content: center;
            height: 100%;
        }

        .search-title-box {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .palm-icon-title {
            width: 32px;
            height: 32px;
            fill: #ffffff;
        }
        
        .search-title {
            font-size: 2.5rem;
            font-weight: 700;
            letter-spacing: 3px;
            margin: 0;
        }

        .title-underline {
            width: 80px;
            height: 3px;
            background-color: #f1cdc9; /* Pinkish color */
            margin-top: 1rem;
        }
        
        .search-subtitle {
            font-size: 1.5rem;
            font-weight: 300;
            letter-spacing: 8px;
            margin-top: 0.5rem;
        }

        .form-container {
            padding-left: 2rem;
        }

        .form-label {
            font-size: 0.8rem;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
            margin-bottom: 0.5rem;
        }

        .form-control, .form-select {
            background-color: transparent;
            border: none;
            border-bottom: 1px solid rgba(255, 255, 255, 0.5);
            border-radius: 0;
            color: #ffffff;
            padding-left: 0;
            font-size: 1rem;
        }

        .form-control:focus, .form-select:focus {
            background-color: transparent;
            box-shadow: none;
            border-color: #ffffff;
            color: #ffffff;
        }

        .form-select {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
        }

        .form-control::placeholder {
            color: rgba(255, 255, 255, 0.7);
        }

        .search-buttons .btn {
            background-color: transparent;
            border: 1px solid #ffffff;
            color: #ffffff;
            border-radius: 4px;
            padding: 0.75rem 1.5rem;
            font-weight: 700;
            letter-spacing: 1px;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
        }

        .search-buttons .btn:hover {
            background-color: #ffffff;
            color: #014d51;
        }

        .btn .palm-icon-btn {
            width: 20px;
            height: 20px;
        }
        
        .btn:hover .palm-icon-btn {
            fill: #014d51;
        }

        @media (max-width: 991.98px) {
            .search-title-container {
                text-align: center;
                margin-bottom: 3rem;
            }
            .search-title-box {
                justify-content: center;
            }
            .title-underline {
                margin-left: auto;
                margin-right: auto;
            }
            .form-container {
                padding-left: 0;
            }
        }
 
          body {
            font-family: 'Lato', sans-serif;
            color: #5a6a6a; /* Softer text color */
            background-color: #f8f9fa;
            position: relative;
        }

        /* Faint architectural background */
        body::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('https://www.transparenttextures.com/patterns/architect.png');
            opacity: 0.08;
            z-index: -1;
        }

        .main-section {
            padding: 6rem 1rem;
        }

        /* Title section styles */
        .title-section {
            text-align: center;
            margin-bottom: 4rem;
        }

        .palm-icons {
            display: flex;
            gap: 0.5rem;
            justify-content: center;
            color: #014d51; 
        }

        .palm-icon {
            width: 32px;
            height: 32px;
        }

        .main-title {
            font-family: 'Lato', sans-serif;
            font-weight: 700;
            letter-spacing: 4px;
            font-size: 1.5rem;
            margin-top: 1rem;
            color: #014d51;
        }
        
        .main-title span {
            font-weight: 400;
        }

        .title-underline {
            width: 120px;
            height: 3px;
            background-color: #f1cdc9; /* Pinkish color */
            margin: 1rem auto 0;
        }

        /* Content columns styles */
        .feature-col {
            text-align: center;
            margin-bottom: 3rem;
        }

        .feature-title {
            font-family: 'Lato', sans-serif;
            font-weight: 700;
            letter-spacing: 2px;
            font-size: 1.1rem;
            color: #014d51;
            margin-bottom: 1rem;
        }

        .feature-text {
            font-size: 1rem;
            line-height: 1.7;
            padding: 0 1rem; /* Add some horizontal padding */
        }

        /* Bottom links section */
        .bottom-links {
            margin-top: 4rem;
            border-top: 1px solid #e0e0e0;
            padding-top: 3rem;
        }
        
        .info-link {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            text-decoration: none;
            color: #014d51;
            font-weight: 700;
            letter-spacing: 1px;
            font-size: 0.9rem;
            transition: opacity 0.3s ease;
            margin-bottom: 1.5rem;
        }

        .info-link:hover {
            opacity: 0.7;
            color: #014d51;
        }

        .info-link .link-icon {
            width: 24px;
            height: 24px;
        }

          /* --------------------------------
           1. Neighborhoods Section
        ----------------------------------- */
        #neighborhoods .guide-card {
            position: relative;
            height: 350px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: #fff;
            cursor: pointer;
        }

        #neighborhoods .guide-card-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            transition: transform 0.5s ease;
        }

        #neighborhoods .guide-card:hover .guide-card-bg {
            transform: scale(1.1);
        }

        #neighborhoods .guide-card-content {
            position: relative;
            z-index: 2;
        }

        #neighborhoods .text-dark-content .palm-logo,
        #neighborhoods .text-dark-content .section-title {
            color: #333;
        }

        #neighborhoods .map-text {
            text-transform: uppercase;
            letter-spacing: 3px;
            font-size: 0.9rem;
            margin: 0;
            line-height: 1;
        }
  /* Reusable Palm Tree Logo */
        .palm-logo {
            font-size: 1.5rem;
            color: #fff;
            letter-spacing: 2px;
        }

        /* Reusable Pink Underline */
        .pink-underline {
            width: 80px;
            height: 2px;
            background-color: #e7a3a1;
            margin: 1rem auto;
        }

        /* Reusable Section Title */
        .section-title {
            font-weight: 700;
            letter-spacing: 4px;
            text-transform: uppercase;
            color: #fff;
        }

        /* Reusable Dark Overlay for Background Images */
        .dark-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color:#bf1d12;
            z-index: 1;
        }
        
        /* Reusable Light Overlay */
        .light-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(255, 255, 255, 0.7);
            z-index: 1;
        }

        /* Fixed Social Icons Sidebar */
        .social-icons {
            position: fixed;
            top: 50%;
            right: 20px;
            transform: translateY(-50%);
            z-index: 1000;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .social-icons a {
            color: #333;
            font-size: 1.2rem;
            transition: color 0.3s ease;
        }

        .social-icons a:hover {
            color: #e7a3a1;
        }

        /* Section Background Helper */
        .section-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-position: center;
            background-size: cover;
            z-index: 0;
        }
 /* --------------------------------
           2. In The Media Section
        ----------------------------------- */
        #media {
            min-height: 60vh;
            display: flex;
            align-items: center;
        }

        #media .section-bg {
            background-attachment: fixed;
        }

        #media .media-text {
            font-size: 1.1rem;
            font-weight: 300;
            line-height: 1.8;
        }

        #media .latest-news-btn {
            font-weight: 700;
            letter-spacing: 2px;
            border-radius: 0;
            padding: 10px 25px;
            border-width: 2px;
            transition: all 0.3s ease;
        }

        #media .latest-news-btn:hover {
            background-color: #333;
            color: #fff;
        }

        #media .palm-logo-small {
            font-size: 1rem;
            display: inline-block;
            vertical-align: middle;
        }
/* --------------------------------
           3. Power of Numbers Section
        ----------------------------------- */
        #power {
            background-color: #213436;
        }
 #power .stat-item {
            padding: 0 15px;
            position: relative;
        }

          @media (min-width: 768px) {
            #power .stat-item:not(:last-child)::after {
                content: '';
                position: absolute;
                right: 0;
                top: 50%;
                transform: translateY(-50%);
                width: 1px;
                height: 60%;
                background-color: rgba(255, 255, 255, 0.3);
            }
        }
        
        @media (max-width: 767.98px) {
            .stat-item {
                margin-bottom: 2rem;
            }
        }

        #power .stat-number {
            font-size: 2rem;
            font-weight: 400;
        }

         #power .stat-text {
            font-size: 0.9rem;
            letter-spacing: 2px;
            line-height: 1.2em;
            text-transform: uppercase;
        }

        #power .learn-offer-btn {
            font-weight: 700;
            letter-spacing: 2px;
            border-radius: 0;
            padding: 10px 25px;
            border-width: 2px;
            transition: all 0.3s ease;
        }

        #power .learn-offer-btn:hover {
            background: #fff;
            color: #213436;
        }

         /* --------------------------------
           4. Video Collection Section
        ----------------------------------- */
        #video-collection .video-thumbnail {
            position: relative;
            cursor: pointer;
            width: 150px;
            height: 90px;
            overflow: hidden;
        }

        #video-collection .video-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        #video-collection .video-thumbnail:hover img {
            transform: scale(1.1);
        }

        #video-collection .video-thumbnail .play-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 2rem;
            color: rgba(255, 255, 255, 0.8);
            pointer-events: none;
            transition: color 0.3s ease;
        }

        #video-collection .video-thumbnail:hover .play-icon {
            color: #fff;
        }
        
        /* --------------------------------
           5. Join Our Network Section
        ----------------------------------- */
        #join-network {
            min-height: 90vh;
            display: flex;
            align-items: center;
        }

        #join-network .form-control {
            background-color: transparent;
            border: none;
            border-bottom: 1px solid #aaa;
            border-radius: 0;
            padding-left: 0;
        }
        #join-network .form-control:focus {
            box-shadow: none;
            background-color: transparent;
            border-color: #e7a3a1;
        }

        #join-network .captcha-box {
            border: 1px solid #ddd;
            background-color: rgba(255, 255, 255, 0.5);
        }

        #join-network .captcha-icon {
            font-size: 2.5rem;
            margin: 0 1rem;
            cursor: pointer;
            color: #555;
            transition: color 0.3s, transform 0.3s;
        }

        #join-network .captcha-icon:hover,
        #join-network .captcha-icon.selected {
            color: #e7a3a1;
            transform: scale(1.1);
        }

        #join-network .submit-btn {
            font-weight: 700;
            letter-spacing: 2px;
            border-radius: 0;
            padding: 12px 40px;
            background: #333;
            border-color: #333;
        }
        #join-network .submit-btn:disabled {
            background: #ccc;
            border-color: #ccc;
            cursor: not-allowed;
        }
/* --------------------------------
   Footer Section
----------------------------------- */
#main-footer {
    background-color: #21484b;  /* Fallback color */
    font-size: 0.9rem;
}

#main-footer .footer-logo {
    max-height: 80px;
    margin-right: 20px;
}

#main-footer .footer-title {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

#main-footer .footer-address {
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

#main-footer .footer-social-icons a {
    color: #fff;
    font-size: 1.2rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

#main-footer .footer-social-icons a:hover {
    color: #e7a3a1; /* Using pink from other sections */
}

#main-footer .footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
}

#main-footer .copyright-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

#main-footer .copyright-text a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
}

#main-footer .copyright-text a:hover {
    text-decoration: underline;
}

#main-footer .partner-logo {
    max-height: 25px;
    margin-left: 20px;
    opacity: 0.8;
}

#main-footer .accessibility-statement {
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
}

#main-footer .accessibility-statement .fa-universal-access {
    margin-right: 8px;
    font-size: 1.2rem;
}

#main-footer .legal-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}