/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Crete+Round:ital@0;1&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');


html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  background: #FFFCF3;
  font-family: "Crete Round", serif;
  font-weight: 400;
  font-style: normal;
  color: #333;
  overflow-x: hidden;
}

/* Crete Round */
.crete-round-regular {
  font-family: "Crete Round", serif;
  font-weight: 400;
  font-style: normal;
}

.crete-round-regular-italic {
  font-family: "Crete Round", serif;
  font-weight: 400;
  font-style: italic;
}

/* Source Code Pro */
.source-code-pro-regular {
  font-family: "Source Code Pro", monospace;
  font-weight: 400;
  font-style: normal;
}

/* Quote Section Styles */
.quote-section {
  position: relative;
  padding: 80px 0 180px;
  overflow: hidden;
}

.quote-image {
  position: relative;
  max-width: 100%;
  height: auto;
}

.quote-content {
  max-width: 900px;
  padding-left: 30px;
  position: relative;
}

.quote-marks {
  position: absolute;
  top: -40px;
  left: 0;
}

.quote-marks i {
  font-size: 6rem;
}

.main-quote {
  font-family: "Crete Round", serif;
  font-size: 35px;
  line-height: 50px;
  color: rgb(144, 26, 91); /* Purple color from the image */
  margin-bottom: 30px;
  font-weight: 400;
  position: relative;
}

.quote-author {
  font-family: "Crete Round", serif;
  font-size: 1.25rem;
  text-align: right;
  margin-right: 80px;
  color: #333;
  margin-top: 20px;
}

.quote-author-image i{
  position: absolute;
  bottom: 0;
  font-size: 6rem;
  right: 40px;
  transform: rotate(180deg) !important;
}

.custom-path-container {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 40px;
    width: 100%;
    height: 386px;
    overflow: hidden;
}

.custom-path-component {
    width: 100%;
    height: 100%;
    transform: scale(1.2);
}

/* Single Family Section Styles */
.single-family-section {
    padding: 40px;
    position: relative;
}

.single-family-content {
  max-width: 800px;
  margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    font-family: "Crete Round", serif;
    font-size: 48px;
    line-height: 56px;
    color: rgb(35, 128, 149);
}

.section-text {
    margin-top: 10px;
}

.main-text {
    font-family: "Source Sans 3", sans-serif;
    font-size: 18px;
    line-height: normal;
    font-weight: 400;
    color: rgb(0, 0, 0);
    margin-bottom: 30px;
}

.sub-text {
    font-family: "Source Sans 3", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
    color: rgb(0, 0, 0);
}

.single-family-image img.house-image {
    max-width: 400px;
    position: absolute;
    top: -180px;
    right: 100px;
}

.decorative-images {
    position: relative;
}

.tree-image {

    position: absolute;
    max-width: 120px;
    right: 150px;
    top: -210px;
    bottom: -100px;

}

.walking-person-image {
    position: absolute;
    max-width: 150px;
    right: 20px;
    bottom: -80px;
}

/* Features Section Styles */
.features-section {
    padding: 80px;
    background-color: #FFFCF3;
}

.feature-circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    margin: 0 auto 40px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.feature-circle[data-circle="1"] {
    border: 2px solid #E87722;
}

.feature-circle[data-circle="2"] {
    border: 2px solid #901A5B;
}

.feature-circle[data-circle="3"] {
    border: 2px solid #238095;
}

.circle-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.circle-icon {
    margin-bottom: 20px;
    position: relative;
}

.circle-icon i {
    font-size: 45px;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.feature-circle[data-circle="1"] .circle-icon i,
.feature-circle[data-circle="1"] .circle-title {
    color: #E87722;
}

.feature-circle[data-circle="2"] .circle-icon i,
.feature-circle[data-circle="2"] .circle-title {
    color: #901A5B;
}

.feature-circle[data-circle="3"] .circle-icon i,
.feature-circle[data-circle="3"] .circle-title {
    color: #238095;
}

.circle-title {
    font-family: "Crete Round", serif;
    font-size: 44px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.circle-text {
    display: none;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    opacity: 0;
    transition: opacity 0.3s ease;
    max-width: 280px;
    margin: 0 auto;
}

.feature-circle.active .circle-text {
    display: block;
    opacity: 1;
}


.feature-circle.active .circle-icon i {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: -10px;
    margin-bottom: 0;
    transform: rotate(90deg);
    color: #333;
}

.feature-circle.active .circle-title {
    display: none !important; 
}

.feature-description {
    max-width: 900px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.feature-description p {
    font-family: "Source Sans Pro", sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 0;
}

/* Info Section Styles */
.info-section {
    
   
    background-color: #FFFCF3;
}

.info-box {
    max-width: 1000px;
    margin: 0 auto;
    background-color: white;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    border: 1px solid #333;
}

.info-content {
    position: relative;
    padding-left: 50px;
    max-width: 700px;
    z-index: 2;
}

.tree-icon {
    position: absolute;
    left: -50px;
    top: -100px;
    z-index: 2;
}

.tree-icon img {
    width: 100px;
    height: auto;
}

.info-text {
    font-family: "Crete Round", serif;
    font-size: 24px;
    line-height: 1.4;
    color: rgb(0, 48, 87);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.info-link {
    color: rgb(0, 48, 87);
    text-decoration: underline;
}

.info-image {
    position: absolute;
    right: -50px;
    top: -80px;
    width: 400px;
    height: auto;
    z-index: 1;
}

.info-image img {
    max-width: 100%;
    height: auto;
}

/* Disclaimer Styles */
.disclaimer-section {
    padding: 20px 0;
}

.disclaimer-text {
    max-width: 800px;
    margin: 0 auto;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 300;
    color: #666;
    margin-bottom: 20px;
}

.reuters-disclaimer {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    background: #FFFFFF;
}

.reuters-disclaimer p {
    max-width: 750px;
    margin: 0 auto;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 14px;
    font-weight: 100;
    line-height: 1.5;
    color: #666;
}

.disclaimer-link {
    color: rgb(0, 48, 87);
    text-decoration: underline;
}

/* Mission Index Section Styles */
.mission-index-section {
    max-width: 900px;
    margin: 10px auto;

    border-radius: 40px;
    background: #FFFCF3;
}
.mission-index-section #bg-white-div{
    border: 1px solid #238095;
    margin: 10px;
}
.mission-index-section .bg-white{
    border-radius: 40px;
}

.mission-title {
    font-family: "Crete Round", serif;
    font-size: 20px;
    line-height: 1.2;
    color: #333;
    text-align: left;
    margin-bottom: 30px;
}

.mission-card {
    text-align: center;
    padding: 10px 0px;
}

.icon-circle {
    width: 140px;
    height: 140px;
    border-radius: 50% !important;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle img {
    width: 80px;
    height: 80px;
}

.icon-circle.income {
    background-color: #238095;
}

.icon-circle.borrower {
    background-color: #2F5F3A;
}

.icon-circle.property {
    background-color: #E87722;
}

.mission-card h3 {
    font-family: "Crete Round", serif;
    font-size: 20px;
    margin-bottom: 20px;
}

/* Add specific color classes for each title */
.mission-card .income-text h3 {
    color: #238095;
}

.mission-card .borrower-text h3 {
    color: #2F5F3A;
}

.mission-card .property-text h3 {
    color: #E87722;
}

.mission-card p {
    font-family:  sans-serif;
    font-size: 18px;
    line-height: 21px;
    font-weight: 400;
    color: #333;
    max-width: 350px;
}

.mission-image {
    position: absolute;
    bottom: -40px;
    left: -70px;
    z-index: 1;
}

.mission-image img.img-fluid {
    max-width: 150px;
}

.mission-image-decorative {
    position: absolute;
    top: 20px;
    right: -80px;
    display: flex;
    align-items: baseline;
}

.mission-image-decorative .women-image {
    width: 80px;
    height: 200px;
    transform: translateX(80px);
    
}

.mission-image-decorative .lamp-image {
    width: 150px;
    height: 350px;
}

/* Methodology Section Styles */
.methodology-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 10px;
}

.methodology-content {
    background: #FFFCF3;
    
}

.methodology-text {
    font-family: sans-serif;
    font-size: 18px;
    line-height: 26px;
    color: rgb(0, 0, 0);
    font-weight: 300;
    margin-bottom: 20px;
}

.methodology-text:last-child {
    margin-bottom: 0;
}

/* Unique Section Styles */
.unique-section {
    padding: 0px 0px 80px 0px;
    background-color: #FFFCF3;
    position: relative;
    overflow: hidden;
}

.unique-illustration {
    position: relative;
    padding-right: 20px;
}

.city-img {
    width: 100%;
}

.person-dog-img {
    position: absolute;
    bottom: -40px;
    right: -30px;
    width: 100px;
    height: auto;
    z-index: 2;
}



.unique-text {
    max-width: 800px;
    padding: 10px;
}

.unique-text h1 {
    font-family: "Crete Round", serif;
    font-size: 42px;
    line-height: 1.2;
    color: #C45421;
    margin-bottom: 30px;
}

.unique-text p {
    font-family: "Source Sans 3", serif;
    font-size: 19px;
    line-height: 30px;
    font-style: normal;
    color: rgb(0, 0, 0);
    font-weight: 00;
    margin-bottom: 0;
    font-weight: 400;
}

/* Ensuring Section Styles */
.ensuring-section {
    padding: 80px 0 180px;
    background-color: #FFFCF3;
    position: relative;
    overflow: hidden;
}

.ensuring-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.ensuring-content h1 {
    font-family: "Crete Round", serif;
    font-size: 48px;
    line-height: 1.2;
    color: #003057;
    margin: 30px 0;
}

.ensuring-text {
    font-family: sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    font-weight: 300;
    margin-bottom: 20px;
}

.ensuring-text:last-child {
    margin-bottom: 0;
}

/* Add after the ensuring-section styles */

.stats-2023 {
    background: #FFFFFF;
    border-radius: 30px;
    padding: 40px;
    margin: 60px auto;
    position: relative;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.stats-content {
    flex: 1;
    padding-right: 40px;
}

.stats-year {
    font-family: "Crete Round", serif;
    font-size: 30px;
    color: rgb(144, 26, 91);
    margin-bottom: 20px;
}

.stats-number {
    font-family: "Crete Round", serif;
    font-size: 100px;
    font-weight: 400;
    color: #901A5B;
    line-height: 1;
    margin-bottom: 20px;
}

.stats-text {
    font-family: "Crete Round", serif;
    font-size: 28px;
    color: #901A5B;
    margin-bottom: 0;
}

.stats-image {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 400px;
    height: 400px;
    flex-shrink: 0;
}

.stats-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Add after stats-image styles */

.stats-decorative {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.stats-decorative .tree-left {
    position: absolute;
    width: 80px;
    left: -100px;
    top: -30px;
}

.stats-decorative .tree-right {
    position: absolute;
    width: 80px;
    right: -40px;
    bottom: -30px;
}
.stats-decorative .tree-center{
    position: absolute;
    width: 100px;
    left: -300px;
    top: 30px;
}

.stats-decorative .women-left {
    position: absolute;
    width: 100px;
    height: auto;
    left: -180px;
    bottom: 100px;
}

/* Add at the beginning of the file, after imports */

.site-header {
    background: #FFFFFF;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 999;
}

.navbar {
    padding: 0;
}

.reuters-logo {
    height: 50px;
    width: auto;
}

.produced-text {
    color: #9F9F9F;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 13px;
    font-weight: 100;
    white-space: nowrap;
    display: inline-block !important; /* Override bootstrap d-none */
    margin-right: 8px;
}

.info-btn {
    color: #A0A6AF;
    font-size: 14px;
    margin-left: 8px;
    cursor: pointer;
}

.fannie-logo {
    
    width: 200px;
    object-fit: contain;
}

.navbar-text {
    gap: 5px;
}

/* Add after navbar styles */

.hero-section {
    background-image: url('../images/bg-image-big.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    height: 1400px;
    transform: scale(1, 1);
    transform-origin: center center;
    position: relative;
    padding: 80px 0;
    margin: 0 auto; /* Center the section */
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #333;
    padding-top: 20px; /* Add some space from top */
}

.hero-title {
    font-family: "Crete Round", sans-serif;
    font-size: 68px;
    line-height: 71px;
    margin-bottom: 30px;
    color: rgb(23, 33, 30);
    font-weight: 400;
text-shadow: 5px 0 0 #fff;
}

.hero-description {
    font-family: "Source Sans Pro", sans-serif;
    font-size: 20px;
    line-height: 27px;
    margin-bottom: 30px;
    font-weight: 100;
    color: rgb(23, 33, 30);
}

.explore-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 22px;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.explore-link:hover {
    transform: translateY(3px);
}

.explore-link i {
    font-size: 20px;
    color: white;
    transform: rotate(90deg);
}

/* Update Social Share Styles */
.social-share {
    position: absolute;
    right: 30px;
    top: 30px;
    z-index: 100;
}

.share-toggle {
    background: #C45421;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
}

.share-panel {
    position: absolute;
    right: 0;
    top: 0;
    background: #C45421;
    padding: 15px;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    width: 60px;
    border-radius: 30px;
    height: 280px; /* Adjust based on your needs */
}

.share-panel.active {
    opacity: 1;
    visibility: visible;
    right: 0;
}

.close-share {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 60px;
}

.share-link {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.share-link:hover {
    transform: scale(1.1);
    color: white;
}

/* Hide first share-link which has the X icon */
.share-links .share-link:first-child {
    display: none;
}

/* Hero Section Number Indicators */
.number-indicator {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Crete Round", serif;
    font-size: 30px;
    position: absolute;
    z-index: 10;
    cursor: pointer;
}

/* Individual indicator styles with matching shadows */
.number-indicator[data-number="1"] {
    color: #901A5B;
    box-shadow: 3px 3px 0px #901A5B;
}

.number-indicator[data-number="2"] {
    color: #238095;
    box-shadow: 3px 3px 0px #238095;
}

.number-indicator[data-number="3"] {
    color: #2F5F3A;
    box-shadow: 3px 3px 0px #2F5F3A;
}

.number-indicator[data-number="4"] {
    color: #C45421;
    box-shadow: 3px 3px 0px #C45421;
}

/* Adding the V-shaped pointer */
.number-indicator::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
    filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.16));
    
    z-index: -1;
}

.number-indicator[data-number="1"] {
    left: 12%;
    bottom: 25%;
}

.number-indicator[data-number="2"] {
    left: 30%;
    bottom: 30%;
}

.number-indicator[data-number="3"] {
    right: 45%;
    top: 50%;
}

.number-indicator[data-number="4"] {
    right: 15%;
    bottom: 25%;
}

/* Add after the number-indicator styles */



.indicator-popup {
    position: absolute;
    top: auto;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 350px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.indicator-popup h3 {
    font-family: "Crete Round", serif;
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.indicator-popup p {
    font-family: "Source Sans Pro", sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    margin: 0;
}

/* Update styles for the first popup */
.popup-1 {
    background: white;
    border: 2px solid #901A5B;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
}

.popup-1 h3 {
    font-family: "Source Sans Pro", sans-serif;
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 400;
}

.popup-1 p {
    font-family: "Source Sans Pro", sans-serif;
    font-size: 18px;
    line-height: 1.4;
    color: #333;
    margin: 0;
    text-align: center;
}

.popup-1 p span.highlight {
    display: block;
    color: #901A5B;
    font-family: "Crete Round", serif;
}

.popup-1 p span.highlight-over {
    font-size: 32px;
    line-height: 1.2;
    display: block;
    margin-bottom: 5px;
}

.popup-1 p span.highlight-number {
    font-size: 80px;
    line-height: 1;
    display: block;
    margin: 10px 0;
}

.popup-1 p span.highlight-years {
    font-size: 42px;
    line-height: 1.2;
    display: block;
    margin-bottom: 15px;
}



/* Add close button */
.popup-1 .popup-close {
    text-decoration: underline;
    color: #333;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 16px;
    display: block;
    margin-top: 15px;
    cursor: pointer;
}

/* Different colors for each popup */
.popup-2 h3 { color: #901A5B; }
.popup-3 h3 { color: #238095; }
.popup-4 h3 { color: #2F5F3A; }

.number-indicator.active .indicator-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Add responsive styles */
@media (max-width: 767px) {
    .indicator-popup {
        width: 250px;
        padding: 15px;
    }

    .indicator-popup h3 {
        font-size: 18px;
    }

    .indicator-popup p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .indicator-popup {
        width: 200px;
        padding: 12px;
    }

    .indicator-popup h3 {
        font-size: 16px;
    }

    .indicator-popup p {
        font-size: 12px;
    }
}

/* Add styles for popup 2 */
.popup-2 {
    background: white;
    border: 2px solid #2F5F3A;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
}

.popup-2 h3 {
    font-family: "Source Sans Pro", sans-serif;
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 400;
}

.popup-2 p {
    font-family: "Source Sans Pro", sans-serif;
    font-size: 18px;
    line-height: 1.4;
    color: #333;
    margin: 0;
    text-align: center;
}

.popup-2 p span.highlight {
    display: block;
    color: #238095;
    font-family: "Crete Round", serif;
    font-size: 32px;
    line-height: 1.3;
    margin: 15px 0;
}

.popup-2 .popup-close {
    text-decoration: underline;
    color: #333;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 16px;
    display: block;
    margin-top: 15px;
    cursor: pointer;
}

/* Add styles for popup 3 */
.popup-3 {
    background: white;
    border: 2px solid #2F5F3A;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
}

.popup-3 h3 {
    font-family: "Source Sans Pro", sans-serif;
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 400;
}

.popup-3 p {
    font-family: "Source Sans Pro", sans-serif;
    font-size: 18px;
    line-height: 1.4;
    color: #333;
    margin: 0;
    text-align: center;
}

.popup-3 p span.highlight {
    display: block;
    color: #2F5F3A;
    font-family: "Crete Round", serif;
}

.popup-3 p span.highlight-number {
    font-size: 80px;
    line-height: 1;
    display: block;
    margin: 20px 0;
}

.popup-3 .popup-close {
    text-decoration: underline;
    color: #333;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 16px;
    display: block;
    margin-top: 15px;
    cursor: pointer;
}

/* Update responsive styles to include new popups */
@media (max-width: 767px) {
    .popup-2, .popup-3 {
        padding: 20px;
    }
    
    .popup-2 p span.highlight {
        font-size: 28px;
    }
    
    .popup-3 p span.highlight-number {
        font-size: 60px;
    }
}

@media (max-width: 480px) {
    .popup-2, .popup-3 {
        padding: 15px;
    }
    
    .popup-2 p span.highlight {
        font-size: 24px;
    }
    
    .popup-3 p span.highlight-number {
        font-size: 50px;
    }
}

/* Add styles for popup 4 */
.popup-4 {
    background: white;
    border: 2px solid #C45421;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
}

.popup-4 h3 {
    font-family: "Source Sans Pro", sans-serif;
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 400;
}

.popup-4 p {
    font-family: "Source Sans Pro", sans-serif;
    font-size: 18px;
    line-height: 1.4;
    color: #333;
    margin: 0;
    text-align: center;
}

.popup-4 p span.highlight {
    display: block;
    color: #C45421;
    font-family: "Crete Round", serif;
}

.popup-4 p span.highlight-number {
    font-size: 80px;
    line-height: 1;
    display: block;
    margin: 20px 0;
}

.popup-4 .popup-close {
    text-decoration: underline;
    color: #333;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 16px;
    display: block;
    margin-top: 15px;
    cursor: pointer;
}

/* Add to the existing responsive styles */
@media (max-width: 767px) {
    .popup-4 {
        padding: 20px;
    }
    
    .popup-4 p span.highlight-number {
        font-size: 60px;
    }
}

@media (max-width: 480px) {
    .popup-4 {
        padding: 15px;
    }
    
    .popup-4 p span.highlight-number {
        font-size: 50px;
    }
}

/* Add these styles for mobile popup positioning */
@media (max-width: 992px) {
    .indicator-popup {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.95) translateY(20px);
        bottom: auto;
        width: 90%;
        max-width: 350px;
        z-index: 1001;
    }

    /* Add overlay background */
    .number-indicator.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    /* Ensure other indicators go behind the popup when one is active */
    .number-indicator.active {
        z-index: 1000;
    }

    .number-indicator:not(.active) {
        z-index: 5;
    }

    /* Remove the arrow for mobile */
    .indicator-popup .popup-arrow {
        display: none;
    }

    .number-indicator.active .indicator-popup {
        transform: translate(-50%, -50%) scale(1) translateY(0);
    }

    .indicator-popup {
        transform: translate(-50%, -50%) scale(0.95);
        transition: all 0.3s ease;
    }

    /* Make close button more prominent on mobile */
    .popup-1 .popup-close,
    .popup-2 .popup-close,
    .popup-3 .popup-close,
    .popup-4 .popup-close {
        margin-top: 20px;
        padding: 5px;
        font-size: 18px;
    }
}

/* Update wave section styles */
.wave-section {
    position: relative;
    margin-top: -80px;
    width: 100%;
    overflow: hidden;
    height: 100px; /* Fixed height for the wave container */
}

.custom-path-component {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scale(1.3);
}

/* Add responsive styles for wave */
@media (max-width: 992px) {
    .wave-section {
        margin-top: -100px;
    }
}

@media (max-width: 576px) {
    .wave-section {
        margin-top: -90px;
        
    }
}

/* Preloader styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}



.circular {
    animation: rotate 2s linear infinite;
    height: 50px;
    width: 50px;
    position: relative;
}

.path {
    stroke: #000;
    stroke-dasharray: 89, 200;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -124;
    }
}

/* Add smooth scroll behavior to html */
html {
    scroll-behavior: smooth;
}

/* Optional: Add offset for fixed header if needed */
html {
    scroll-padding-top: 100px; /* Adjust this value based on your header height */
}

/* Update the info bar styles */
.info-bar {
    position: relative;
    width: 100%;
    background: #333333;
    color: white;
    padding: 15px 0;
    display: none;
    z-index: 998;
}

.info-bar.active {
    display: block;
}

.info-bar .container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-bar-text {
    margin: 0;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: white;
    padding-right: 20px;
}

.info-bar-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.info-btn {
    cursor: pointer;
}

/* Update responsive styles */
@media (max-width: 768px) {
    .info-bar-text {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .info-bar {
        padding: 10px 0;
    }
    
    .info-bar-text {
        font-size: 11px;
    }
    
    .info-bar-close {
        font-size: 16px;
    }
}

