body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
}

.container {
    max-width: 85rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}


.navbar {
    padding: 0.9375rem 0;
    position: absolute;
    width: 100%;
    z-index: 1000;
}
.navbar nav {
    margin-right: -2.5rem;
}

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

.navbar .logo img {
    height: 1.5rem;
    width: 9.22125rem;
    font-weight: 700;
    color: #ffffff;
    top: 1.875rem;
    margin-left: -3.75rem;
}

.navbar nav a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 0.9375rem;
    padding: 0.5rem 0.9375rem;
    border-radius: 0.3125rem;
    transition: background-color 0.3s ease;
}

.navbar .btn-login {
    background-color: #ffffff;
    color: #ff1900;
}

.navbar .btn-signup {
    background-color: #ff1900;
    border: 1px solid #ff1900;
    padding-right: -1.875rem;
}

.terrax-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
}

.terrax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}
.terrax-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(26,26,26,0.85) 100%);
    pointer-events: none;
}
.terrax-bg .background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.terrax-content {
    position: relative;
    z-index: 1;
    max-width: 75rem;
    padding: 1.25rem;
}

.terrax-content h1 {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.terrax-content p {
    font-size: 1.25rem;
    margin-bottom: 1.875rem;
}

.btn-get-started {
    background-color: #EB1C2D;
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 6.875rem;
    height: 1.875rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.75rem;
    gap: 0.375rem;
    transition: background-color 0.3s ease;
}

/* .btn-get-started:hover {
    background-color: #c0392b;
} */

.btn-get-started .arrow {
    margin-left: 0.625rem;
    font-size: 1.25rem;
}

.data-provider-section {
    background-color: #1a1a1a;
    padding: 5rem 0;
    text-align: center;
}

.data-provider-section h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 3.0rem; 
    margin-bottom: 3.75rem;
    text-align: left;
    margin-left: 1.75rem;
    justify-content: space-between; 
}

.features-grid {
    display: flex;
    flex-wrap: wrap; 
    gap: 1rem;
    justify-content: center; 
}

.feature-item {
    width: 19rem; 
    padding: 0.7rem;
    border-radius: 0.5rem;
    text-align: center;
    transition: transform 0.3s ease;
    border: none;
}

.icon-wrapper {
    width: 5rem;
    height: 5rem;
    background-color: #EB1C2D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}
.feature-item img {
    width: 3.75rem;
    height: 3.75rem;
    margin-bottom: 0.25rem;
}

.feature-item h3 {
    font-family: 'Roboto', sans-serif;
    white-space: nowrap;
    font-weight: 600;
    font-size: 1.5rem; 
    line-height: 1em;
    margin-bottom: 1rem; 
    letter-spacing: 0;
    color: #ffffff;
    text-align: center;
}

.feature-item p {
    font-size: 0.9rem;
    color: #555A65;
    font-family: 'Roboto', sans-serif;
}
.site-footer {
    background-color: #ffffff;
    color: #ffffff;
    padding: 3rem 5rem;
    font-family: 'Roboto', sans-serif;
}

.footer-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
    max-width: 78rem;
    width: 100%;
    min-height: 7rem;
    border-radius: 1.5rem;
    padding: 1.7rem;
    gap: 7.5rem;
    background-color: #202124;
    margin: 0 auto 2rem;
}
.footer-contact-text{
    padding-left: 1.5rem;

}
.footer-contact-text h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    
}

.footer-contact-text p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.15rem;
    color: #F7F8FA;
    max-width: 30rem;
    white-space: nowrap;
}

.btn-contact {
    background-color: #EB1C2D;
    color: #ffffff;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
}

.footer-bottom-wrapper {
    background-color: #F7F8FA;
    padding: 6.25rem 7.5rem;
}

.footer-bottom {
    flex-direction: column !important;
    justify-content: center !important; 
    align-items: center !important;
    height: auto !important;
    width: 100%;
}

.footer-logo-text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo-text img {
    height: 1.5rem;
    width: 9.2rem;
}

.footer-logo-name {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.125rem;
}

.footer-bottom-wrapper .footer-copyright {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 0.875rem;
    line-height: 1.2;
    letter-spacing: 0; 
    color: #202124;
    margin-top: 1rem;
    flex-basis: 100%; 
    
}

.application-section {
    background-color: #ffffff;
    padding: 6rem 8rem;
    text-align: center;
}

.application-container {
    max-width: 1200px;
    margin: 0 auto;
}

.application-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: #202124;
    margin-bottom: 3rem;
}

.application-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 1.125rem;
    color: #5f6368;
    margin-bottom: 4rem;
}

.application-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.application-card {
    background-color: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.3s ease;
    flex: 1 1 calc(33.333% - 2rem);
    display: flex;
    flex-direction: column;
    text-align: left;
}

.application-card img {
    width: 100%;
    height: 25rem;
    object-fit: cover;
    object-position: top;
    display: block;
    border-radius: 0.5rem !important;
}

.application-content {
    padding: 1.75rem;
    background-color: #fff;
    flex: 1;
}

.application-content {
    text-align: left;
    margin-left:-1.7rem;
}
.application-content p {
    text-align: justify;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: #5f6368;
    line-height: 1.6;
    margin-top: 0.4rem;
}

.application-content h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #202124;
    margin-bottom: 0.2rem;
    margin-top: -0.7rem;
}

@media (max-width: 1280px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .navbar .logo img {
        margin-left: 0 !important; 
    }

    .navbar nav {
        margin-right: 0 !important; 
        gap: 0.5rem;
    }

    .navbar nav a {
        font-size: 0.85rem; 
        padding: 0.5rem 0.8rem;
    }

    .terrax-content h1 {
        font-size: 2.5rem; 
    }
    
    .site-footer {
        padding: 2rem 5rem !important;  
    }

    .footer-contact {
        padding: 1.5rem !important;
        gap: 2rem !important;
        margin: 0 auto 1.5rem !important;
        max-width: 100% !important;
    }
    
    .footer-bottom-wrapper {
        padding: 3rem 1.5rem !important;
    }
    
    .footer-contact-text p {
        white-space: normal !important; 
        max-width: 100%;
    }
    .application-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .application-card {
        flex: 1 1 100%;
    }
}

.spec-section {
    background: #ffffff;
    padding: 6rem 8rem;
}

.spec-container {
    max-width: 1000px;
    margin: 0 auto;
    margin-top: -3rem;
}

.spec-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #202124;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}


.spec-table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: #202124;
}

.spec-table th,
.spec-table td {
    border: 1px solid #dcdcdc;
    padding: 0.9rem 1.2rem;
    text-align: left;
}

.spec-table thead tr {
    background-color: #FDEFF0;
}

.spec-table th {
    font-weight: 700;
}
.wave-divider {
    width: 100%;
    padding-top: 15%;
    background: url("{% static 'main/images/wave.png' %}") no-repeat center top;
    background-size: cover;
}

@media (max-width: 768px) {

    body, html {
        overflow-x: hidden;
    }
    .container, 
    .application-container, 
    .spec-container, 
    .terrax-content {
        width: 100%;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        box-sizing: border-box;
    }

    .navbar {
        position: absolute;
        padding: 0.5rem 0;
    }

    .navbar .container {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
    }

    .navbar .logo img {
        width: 6rem !important;
        height: auto;
        margin: 0;
        top: 0;
    }

    .navbar nav {
        margin-right: 0;
        display: flex;
        gap: 0.3rem;
        white-space: nowrap;
    }

    .navbar nav a {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
        margin-left: 0;
    }

    .spec-section {
        padding: 3rem 1rem !important;
    }

    .spec-container {
        width: 100%;
        overflow-x: hidden;
        display: block;
        padding: 0;
        margin-top: 0;
    }

    .spec-table {
        min-width: auto !important;
        width: 100% !important;
        table-layout: fixed;
    }
    
    .spec-table th, 
    .spec-table td {
        white-space: normal !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0.8rem 0.4rem;
        font-size: 0.85rem;
        height: auto;
    }

    .spec-table th:nth-child(1),
    .spec-table td:nth-child(1) {
        width: 35%;
    }
    
    .spec-table th:nth-child(2),
    .spec-table td:nth-child(2) {
        width: 65%;
    }

    .terrax-section {
        padding-top: 160px;
        height: auto;
        min-height: 100vh;
        align-items: flex-start;
    }
    
    .terrax-content h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .terrax-content p {
        font-size: 1rem;
    }

    .data-provider-section {
        padding: 3rem 0;
    }
    .data-provider-section h2 {
        font-size: 1.8rem;
        margin-left: 0;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .feature-item h3 {
        white-space: normal;
        font-size: 1.25rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .site-footer {
        padding: 2rem 1rem;
    }
    
    .footer-contact {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 1rem;
        height: auto;
        text-align: center;
    }
    
    .footer-contact-text {
        padding-left: 0;
    }
    
    .footer-contact-text p {
        white-space: normal;
        max-width: 100%;
        font-size: 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
.footer-bottom-wrapper {
    margin-top: 0 !important;
 clear: both;
}

.footer-logo-text {
    flex-direction: column !important; 
    align-items: center !important; 
    text-align: center !important;
}

.footer-logo-text img {
    height: 1.5rem !important;
    width: auto !important;
    margin-bottom: 0.5rem;
}

.footer-logo-name {
    color: #4D4D4D !important;
    font-size: 0.9rem !important;
    white-space: normal !important;
    display: block;
    width: 100%;
    padding-left: 0 !important;
    margin-top: 0.5rem;
}

.footer-copyright {
    color: #202124 !important;
    font-size: 0.75rem !important;
    text-align: center !important;
    margin-top: 1rem;
}
    .application-section {
        padding: 4rem 1.5rem;
    }
    
    .application-title {
        font-size: 1.8rem;
    }
    
    .application-content {
        margin-left: 0;
    }
    
    .application-card {
        box-shadow: none !important;
        border-radius: 0.75rem;
    }
    .application-card img {
        border-radius: 0.75rem 0.75rem 0 0 !important;
    }

    .site-footer {
        padding-bottom: 2rem !important;
        padding-left: 2rem !important;
        padding-right: 2rem !important;
        margin-bottom: 0 !important; 
        overflow: hidden !important; 
    }

    .footer-contact {
        flex-direction: column !important;
        height: auto !important;
        padding: 2rem 1rem !important;
        width: 98% !important;
        max-width: none !important;
        margin: 0 auto 1.5rem !important;
        box-sizing: border-box;
    }
    .footer-contact-text {
        padding-left: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .footer-contact-text h2 {
        font-size: 1.5rem !important;
        white-space: normal !important;
        box-sizing: border-box;
    }

div[style*="wave.png"],
.wave-divider {
    height: 10rem !important; 
    padding-top: 0 !important;
    margin-bottom: 0 !important;
    position: relative !important;
}
}

.cta-section {
    background-color: #202124; 
    padding: 10rem 0;
    color: #ffffff; 
}

.cta-container {
    max-width: 85rem; 
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    align-items: flex-start; 
    justify-content: space-between;
    gap: 3rem;
}

.cta-content {
    margin-left: 2rem;
    flex: 0.9; 
    max-width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    text-align: left;
}

.cta-heading {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1.5rem 0 1rem 0; 
    line-height: 1.2;
}

.cta-paragraph {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 2rem; 
    color: #cccccc;
}

.cta-btn {
    display: flex; 
    align-items: center;
    justify-content: center;
    background-color: #EB1C2D;
    color: #ffffff;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 0.5rem;
    font-weight: 400;
    transition: background-color 0.3s ease;
    white-space: nowrap; 
    font-family: 'Roboto', sans-serif;
    gap: 0.5rem;
}
.cta-btn .back-icon {
    transform: rotate(180deg); 
    width: 1rem;
    height: 1rem;
    margin-right: 0;
}
.cta-btn .arrow-icon {
    width: 1rem;
    height: 1rem;
}


.cta-image-wrapper {
    height: 29rem;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: -1.5rem; 
}

.cta-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.6rem;
    
}
@media (max-width: 992px) {
.cta-container {
        flex-direction: column; 
        gap: 2rem;
        align-items: center; 
    }

    .cta-content,
    .cta-image-wrapper {
        max-width: 100%;
        text-align: center;
        align-items: center; 
    }
    
    .cta-heading {
        font-size: 2rem;
        margin-top: 1rem;
    }
    
    .cta-paragraph {
        margin-bottom: 1.5rem;
    }
    
    .cta-image {
        max-height: 19rem;
    }
}


.image-gallery-section {
    padding: 3rem 0;
    background-color: #ffffff; 
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}


.grid-one-column {
    display: grid;
    grid-template-columns: 1fr; 
    margin-bottom: 2rem;
}

.grid-one-column .tall-image {
    width: 100%;
    height: 20rem;
    border-radius: 0.5rem;
    object-fit: cover;
}

.grid-two-columns { 
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.grid-item {
    font-family: 'Roboto', sans-serif;
    text-align: center;
    font-weight: 600;
}

.grid-item img {
    width: 100%;
    height: 100%;
}

.img-caption {
    padding-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}
.grid-two-columns .grid-item {
    width: 100%;
    height: 20rem;
    border-radius: 0.5rem;
}

.grid-two-columns .grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}


.grid-three-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 1rem;
    margin-bottom: 2rem;
}

.grid-three-columns .grid-item {
    height: 100%;
    width: 100%;
    border-radius: 0.5rem;
}

.grid-four-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 1rem;
}

.grid-four-columns .grid-item {
    height: 100%;
    width: 100%;
    border-radius: 0.5rem;
}

@media (max-width: 992px) {

    .cta-container {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }

    .cta-content {
        max-width: 100%;
        align-items: center;
        text-align: center;
        margin-left: 0;
    }

    .cta-heading {
        font-size: 2rem;
    }

    .cta-image-wrapper {
        max-width: 100%;
        margin-top: 0;
    }

    .cta-image {
        max-height: 19rem;
    }

    .grid-two-columns {
        grid-template-columns: 1fr; 
    }
}
@media (max-width: 768px) {

    .grid-three-columns {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-four-columns {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-one-column .tall-image {
        height: 14rem;
    }

    .grid-two-columns .grid-item {
        height: 14rem;
    }
}

@media (max-width: 480px) {
    
    .grid-three-columns,
    .grid-four-columns {
        grid-template-columns: 1fr;
    }

    .grid-two-columns .grid-item {
        height: 12rem;
    }
}

/* contact us page */

.contact-info-section {
    padding: 4rem 2rem;
    background-color: #ffffff;
}

.contact-info-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    align-items: flex-start;
}

.contact-left {
    flex: 1;
}

.contact-left h2 {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 1rem;
    color: #000000;
}

.contact-left p {
    font-size: 1.4rem;
    font-family: 'Roboto', sans-serif;
    color: #000000;
    line-height: 1.6rem;
    font-weight: 700;
}

.contact-right {
    flex: 1;
}

.contact-right h5 {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 1.5rem;
    color: #202124;
}

.contact-row {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: #EB1C2D;
    margin-right: 0.8rem;
}


.contact-row span {
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    color: #555A65;
}
@media (max-width: 768px) {
    .contact-info-container {
        flex-direction: column;
        text-align: center;    /* Optional: center align on mobile */
        gap: 2rem;             /* Reduce gap for mobile */
    }

    .contact-left, .contact-right {
        width: 100%;           /* Make each section full width */
    }

    .contact-row {
        justify-content: center; /* Icons + text centered (optional) */
    }
}