@media only screen and (max-width: 1400px) {
    .stats-image {
        width: 350px;
        height: 350px;
        position: relative;
        top: 0;
        right: 0;
    }
    
    .stats-decorative .tree-left,
    .stats-decorative .tree-right {
        width: 70px;
    }
    
    .stats-decorative .women-left {
        width: 90px;
    }
}
@media (max-width: 1200px) {
    .quote-content {
        max-width: 700px;
    }

    .main-quote {
        font-size: 32px;
        line-height: 45px;
    }

    .section-title {
        font-size: 55px;
        line-height: 65px;
    }

    .main-text, .sub-text {
        font-size: 24px;
        line-height: 36px;
    }

    .splash-image {
        max-width: 250px;
        top: -80px;
        right: -30px;
    }

    .feature-circle {
        width: 350px;
        height: 350px;
    }

    .circle-title {
        font-size: 28px;
    }

    .circle-text {
        font-size: 16px;
        max-width: 250px;
    }

    .info-box {
        padding: 30px;
        min-height: auto;
    }

    .tree-icon {
        position: relative;
        left: 0;
        top: 0;
        margin-bottom: 20px;
    }

    .tree-icon img {
        width: 80px;
    }

    .info-image {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        max-width: 350px;
        margin: 30px auto 0;
    }

    .info-content {
        padding-left: 0;
        max-width: 100%;
    }
    .disclaimer-image{
        margin-left: 100px;
    }
    .tree-image{
        position: unset;
    }
    .walking-person-image{
        position: unset;
    }

    .mission-title {
        font-size: 42px;
        margin-bottom: 50px;
    }
    
    .icon-circle {
        width: 160px;
        height: 160px;
    }
    
    .icon-circle img {
        width: 70px;
        height: 70px;
    }
    
    .mission-card h3 {
        font-size: 28px;
    }
    
    .mission-card p {
        font-size: 16px;
    }

    .unique-text h1 {
        font-size: 42px;
    }
    
    .city-img {
        max-width: 450px;
    }

    .stats-2023 {
        margin: 40px 20px;
    }
    
   
    
    .stats-number {
        font-size: 80px;
    }
    
    .stats-year {
        font-size: 26px;
    }
    
    .stats-text {
        font-size: 26px;
    }

    .stats-decorative .tree-left {
        left: -30px;
        top: -20px;
    }
    
    .stats-decorative .tree-right {
        right: -30px;
        bottom: -20px;
    }
    
    .stats-decorative .women-left {
        left: -60px;
    }
}

@media (max-width: 1000px) {
    .mission-image-decorative {
        right: -70px;
    }
    .mission-image { 
        left: 20px;
    }
}

/* Tablet devices */
@media (max-width: 991px) {
    .quote-section {
        padding: 60px 0 160px;
    }

    .main-quote {
        font-size: 28px;
        line-height: 40px;
    }
    
    .quote-content {
        padding-left: 0;
        margin-top: 40px;
        max-width: 100%;
    }

    .quote-author {
        margin-right: 60px;
        font-size: 1.1rem;
    }

    .custom-path-container {
        bottom: -30px;
        height: 300px;
    }

    .custom-path-component {
        transform: scale(1.4) translateX(-5%);
    }

    .single-family-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 45px;
        line-height: 55px;
    }

    .main-text, .sub-text {
        font-size: 22px;
        line-height: 34px;
    }

    .single-family-content {
        padding-right: 0;
    }

    .splash-image {
        position: relative;
        top: 0;
        right: 0;
        max-width: 200px;
        margin: 30px auto;
        display: block;
    }

    .single-family-image img.house-image {
        max-width: 300px;
        top: -120px;
        right: 50px;
    }

    .tree-image {
        max-width: 100px;
        right: 30px;
        bottom: -80px;
    }

    .walking-person-image {
        max-width: 120px;
        right: 10px;
        bottom: -60px;
    }

    .feature-circle {
        width: 300px;
        height: 300px;
        margin-bottom: 30px;
    }

    .circle-title {
        font-size: 26px;
    }

    .circle-text {
        font-size: 15px;
        max-width: 220px;
    }

    .feature-description {
        margin-top: 40px;
    }

    .info-box {
        padding: 25px;
    }

    .tree-icon img {
        width: 70px;
    }

    .info-text {
        font-size: 22px;
    }

    .info-image {
        max-width: 300px;
    }

    
    
    .mission-title {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .icon-circle {
        width: 140px;
        height: 140px;
    }
    
    .icon-circle img {
        width: 60px;
        height: 60px;
    }
    
    .mission-card h3 {
        font-size: 24px;
    }

    .unique-section {
        padding: 40px 0;
    }
    
    .unique-text h1 {
        font-size: 36px;
    }
    
    .unique-text p {
        font-size: 16px;
    }
    
    .city-img {
        max-width: 400px;
    }
    
    .person-dog-img {
        width: 100px;
    }
    
    .tree-small-img {
        width: 50px;
    }

    .unique-illustration {
        margin-bottom: 30px;
        padding-right: 0;
    }
    
    .city-img {
        max-width: 400px;
        margin: 0 auto;
        display: block;
    }
    
    .unique-text {
        padding-left: 0;
        text-align: center;
    }
    
    .unique-text h1 {
        font-size: 36px;
    }
    
    .unique-text p {
        font-size: 15px;
    }

    .ensuring-section {
        padding: 60px 0 160px;
    }
    
    .ensuring-content h1 {
        font-size: 42px;
    }
    
    .ensuring-text {
        font-size: 16px;
    }

    .stats-2023 {
        flex-direction: column;
        text-align: center;
        padding: 30px;
        background: transparent;
        box-shadow: none;
    }

    .stats-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .stats-image {
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }

    .stats-year {
        font-size: 24px;
    }

    .stats-number {
        font-size: 70px;
    }

    .stats-text {
        font-size: 24px;
    }
    
    .stats-text br {
        display: none;
    }

    .stats-decorative {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin-top: 30px;
        height: auto;
    }

    .stats-decorative .tree-left,
    .stats-decorative .tree-right,
    .stats-decorative .tree-center,
    .stats-decorative .women-left {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }

    .stats-decorative .tree-left,
    .stats-decorative .tree-right,
    .stats-decorative .tree-center {
        width: 60px;
    }
    .stats-decorative .tree-right{
        display: none;
    }

    .stats-decorative .women-left {
        width: 80px;
    }

    .site-header {
        padding: 12px 0;
    }
    
    .reuters-logo {
        height: 30px;
    }
    
    .fannie-logo {
        width: 100px;
    }
    
    .produced-text {
        font-size: 10px;
    }

    .hero-section {
        aspect-ratio: auto;
        min-height: 800px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-description {
        font-size: 16px;
    }

    .number-indicator {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

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

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

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

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

    .feature-circle.active .circle-icon i {
      
        bottom: -60px;
        
    }
}

/* Mobile devices */
@media (max-width: 767px) {
    .quote-section {
        padding: 40px 0 120px;
    }

    .main-quote {
        font-size: 24px;
        line-height: 36px;
        padding: 2rem !important;
    }

    .quote-marks {
        top: -20px;
    }

    .quote-marks i {
        margin-left: 20px;
        font-size: 4rem;
    }

    .quote-author {
        margin-right: 40px;
        font-size: 1rem;
    }

    .quote-author-image i {
        font-size: 4rem;
        right: 20px;
    }

    .custom-path-container {
        bottom: -20px;
        height: 250px;
    }

    .custom-path-component {
        transform: scale(2) translateX(-25%);
    }

    .single-family-section {
        padding: 40px;
    }

    .section-title {
        font-size: 36px;
        line-height: 46px;
        margin-bottom: 30px;
    }

    .main-text, .sub-text {
        font-size: 20px;
        line-height: 32px;
    }

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

    .single-family-image img.house-image {
        max-width: 250px;
        top: -100px;
        right: 20px;
    }

    .tree-image {
        max-width: 80px;
        right: 20px;
        bottom: -60px;
    }

    .walking-person-image {
        max-width: 100px;
        right: 5px;
        bottom: -40px;
    }

    .feature-circle {
        width: 280px;
        height: 280px;
        margin-bottom: 25px;
    }

    .circle-title {
        font-size: 26px;
    }

    .circle-icon i {
        font-size: 30px;
    }

    .circle-text {
        font-size: 15px;
        max-width: 220px;
    }

    .feature-description {
        margin-top: 30px;
    }

    .feature-description p {
        font-size: 16px;
    }

    .info-section {
        padding: 40px 0;
    }

    .info-box {
        padding: 20px;
    }

    .tree-icon img {
        width: 70px;
    }

    .info-text {
        font-size: 22px;
    }

    .info-image {
        max-width: 300px;
    }

   
    
    .mission-title {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .mission-card {
        margin-bottom: 0px;
    }
    
    .icon-circle {
        width: 90px;
        height: 90px;
    }
    
    .icon-circle img {
        width: 50px;
        height: 50px;
    }
    .mission-image img.img-fluid {
        max-width: 80px;
    }

    .unique-section {
        padding: 30px 15px;
    }
    
    .city-img {
        max-width: 300px;
    }
    
    .person-dog-img {
        width: 80px;
        bottom: -30px;
        left: 0;
    }
    
    
    
    .unique-text h1 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .unique-text p {
        font-size: 14px;
        line-height: 1.5;
    }

    .ensuring-section {
        padding: 40px 0 120px;
    }
    
    .ensuring-content h1 {
        font-size: 36px;
        line-height: 1.3;
        margin: 20px 0;
    }
    
    .ensuring-text {
        font-size: 15px;
        line-height: 1.5;
    }

    .stats-2023 {
        padding: 25px;
        margin: 30px 15px;
    }
    
    .stats-content {
        margin-bottom: 25px;
    }

    .stats-year {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .stats-number {
        font-size: 60px;
        margin-bottom: 15px;
    }

    .stats-text {
        font-size: 22px;
    }

    .stats-image {
        width: 250px;
        height: 250px;
    }

    .site-header {
        padding: 8px 0;
    }
    
    .reuters-logo {
        height: 25px;
    }
    
    .fannie-logo {
        width: 90px;
    }
    
    .produced-text {
        font-size: 9px;
    }
    
    .info-btn {
        font-size: 12px;
    }

    .hero-section {
        min-height: 600px;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .explore-link {
        font-size: 16px;
    }

    .number-indicator {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }

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

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

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

    .number-indicator[data-number="4"] {
        right: 5%;
    }
    .mission-image-decorative {
        right: -30px;
    }

    .feature-circle.active .circle-icon i {
      
        bottom: -30px;
        
    }
}

@media (max-width: 650px) {
    .mission-image-decorative {
        top: -200px;
    }
    .mission-image-decorative .women-image {
        width: 60px;
        height: 150px;
        transform: translateX(50px);
    }
    .mission-image-decorative .lamp-image {
        width: 100px;
        height: 230px;
    }
}


@media (max-width: 576px) {
    .features-section {
        padding: 20px;
    }
}
/* Small mobile devices */
@media (max-width: 480px) {
    .quote-section {
        padding: 30px 0 100px;
    }

    .main-quote {
        font-size: 20px;
        line-height: 32px;
        padding: 1.5rem !important;
    }

    .quote-marks {
        
        top: -15px;
    }

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

    .quote-author {
        margin-right: 30px;
    }

    .quote-author-image i {
        font-size: 3rem;
        right: 15px;
        bottom: -10px;
    }

    .custom-path-container {
        bottom: -15px;
        height: 200px;
    }

    .custom-path-component {
        transform: scale(2.5) translateX(-30%);
    }

    .single-family-section {
        padding: 30px;
    }

    .section-title {
        font-size: 32px;
        line-height: 42px;
        margin-bottom: 20px;
    }

    .main-text, .sub-text {
        font-size: 18px;
        line-height: 30px;
    }

    .splash-image {
        max-width: 150px;
    }

    .single-family-image img.house-image {
        max-width: 200px;
        top: -80px;
        right: 10px;
    }

    .tree-image {
        max-width: 60px;
        right: 10px;
        bottom: -40px;
    }

    .walking-person-image {
        max-width: 80px;
        right: 0;
        bottom: -30px;
    }

    .feature-circle {
        width: 300px;
        height: 300px;
        margin-bottom: 20px;
    }

    .circle-title {
        font-size: 22px;
    }

    .circle-icon i {
        font-size: 28px;
    }

    .circle-text {
        font-size: 13px;
        max-width: 180px;
    }

    .feature-description p {
        font-size: 15px;
    }

    .info-section {
        padding:  0px;
    }

    

    .tree-icon img {
        width: 50px;
    }

    .info-text {
        font-size: 18px;
    }

    .info-image {
        max-width: 200px;
    }

    .disclaimer-text,
    .reuters-disclaimer p {
        font-size: 13px;
    }

    .mission-title {
        font-size: 20px;
    }
    
    .mission-card p {
        font-size: 15px;
    }

    .unique-section {
        padding: 20px 0;
    }
    
    .unique-text h1 {
        font-size: 28px;
    }
    
    .unique-text p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .city-img {
        max-width: 250px;
    }
    
    .person-dog-img {
        width: 60px;
        bottom: -20px;
    }
    
    .tree-img {
        width: 30px;
        top: -15px;
    }
    
    .unique-text h1 {
        font-size: 24px;
    }

    .ensuring-section {
        padding: 0px;
    }
    
    .ensuring-content h1 {
        font-size: 28px;
    }
    
    .ensuring-text {
        font-size: 14px;
    }

    .stats-2023 {
        padding: 20px;
        margin: 20px 10px;
    }

    .stats-year {
        font-size: 20px;
    }

    .stats-number {
        font-size: 50px;
    }

    .stats-text {
        font-size: 20px;
    }

    .stats-image {
        width: 200px;
        height: 200px;
    }

    .site-header {
        padding: 6px 0;
    }
    
    .reuters-logo {
        height: 20px;
    }
    
    .fannie-logo {
        width: 80px;
    }
    
    .produced-text {
        font-size: 8px;
    }
    
    .info-btn {
        font-size: 11px;
    }

    .hero-section {
        min-height: 500px;
    }

    .hero-title {
        font-size: 28px;
        line-height: 32px;
    }

    .hero-description {
        font-size: 14px;
        line-height: 20px;
    }

    .explore-link {
        font-size: 14px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .main-quote {
        font-size: 18px;
        line-height: 28px;
        padding: 1rem !important;
    }

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

    .quote-author-image i {
        font-size: 2.5rem;
        right: 10px;
        bottom: -5px;
    }

    .quote-author {
        margin-right: 20px;
        font-size: 0.9rem;
    }

    .custom-path-container {
        bottom: -10px;
        height: 150px;
    }

    .custom-path-component {
        transform: scale(3) translateX(-33%);
    }

    .unique-text h1 {
        font-size: 24px;
    }
    
    .city-img {
        max-width: 250px;
    }

    .stats-2023 {
        padding: 15px;
    }

    .stats-year {
        font-size: 18px;
    }

    .stats-number {
        font-size: 45px;
    }

    .stats-text {
        font-size: 18px;
    }

    .stats-image {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 500px) {
    .navbar > .container-fluid {
        flex-direction: column;
        gap: 10px;
    }
    
    .navbar-brand {
        margin: 0 auto;
    }
    
    .navbar-text {
        margin: 0 auto !important;
        justify-content: center;
        width: 100%;
    }
    
    .reuters-logo {
        height: 22px;
    }
    
    .fannie-logo {
        width: 85px;
    }
    
    .produced-text {
        font-size: 8.5px;
        text-align: center;
    }
    
    .info-btn {
        font-size: 12px;
    }
    
    .site-header {
        padding: 8px 0;
    }
}

@media (max-width: 1447px) {
    .hero-section {
        width: 100%;
        height: 900px;
        aspect-ratio: 1447/1174; /* Maintain original proportions */
    }
}
