* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: "Lexend Deca", sans-serif;
    font-size: 1.8rem;
    background-color: #faffff;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10rem;
    height: 7.2rem;
    background-color: #1a343b;
    position: fixed;
    width: 100%;
    z-index: 9999;
}

.header-logo {
    height: 4.5rem;
    width: auto;
    margin-top: 5px;
    border-radius: 10px;
}

.header-container {
    display: flex;
    align-items: center;
}

/* Included: Logo link styling */
.header-logo-link {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.header-logo-link:hover {
    opacity: 0.8;
}

#vision {
    margin-left: 1.5rem;
    font-size: 2rem;
    color: whitesmoke;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

#vision:hover {
    color: #dadada;
}

.section {
    padding: 9rem 10rem 8rem 10rem;
}

.section:not(:first-child) {
    border-top: 1px solid #64e0ff;
}

/* .primary-heading {
    font-size: 6rem;
    font-weight: 700;
    color: #0088aa;
    text-shadow: 2px 2px 3px #0088aa86;  
    line-height: 1.01;
    letter-spacing: -3px;  
  } */
.primary-heading {
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.01;
    letter-spacing: -3px;
    position: relative;
    display: inline-block;

    /* Gradient text setup */
    background: linear-gradient(45deg,
            #ff0033,
            /* Rich red */
            #ff5e00,
            /* Deep orange */
            #ff00c8,
            /* Hot pink */
            #8e00ff,
            /* Vivid purple */
            #002bff,
            /* Bold blue */
            #00ffd0,
            /* Deeper aqua */
            #ff0033
            /* Loop back to red */
        );
    background-size: 600%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* animation: glowing-gradient 20s linear infinite; */
    animation: glowing-gradient 20s linear infinite;
    /* Outer glow effect */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2);
}

/* Gradient animation */
@keyframes glowing-gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.secondary-heading {
    color: #0088aa;
    text-shadow: 2px 2px 3px #0088aa86;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    font-size: 4.8rem;
}

.ternary-heading {
    font-size: 4rem;
    color: #0088aa;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    font-weight: 500;
}

.btn:link,
.btn:visited {
    font-size: 2rem;
    padding: 1.6rem 2.6rem;
    border-radius: 10px;
    text-decoration: none;
}

.nav {
    display: flex;
    column-gap: 4rem;
    text-transform: uppercase;
}

.nav-links:link,
.nav-links:visited {
    display: inline-block;
    font-size: 1.6rem;
    color: #f1ffff;
    text-decoration: none;
    letter-spacing: 0.5px;
    font-weight: 500;
    transition: ease-in-out 0.2s;
}

.nav-links:hover {
    color: #43e3ee;
    box-shadow: 0 8px 20px rgba(88, 22, 22, 0.1);
    background-color: #0a0a0a;
    padding: 1rem 2rem;
    border-radius: 8px;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 0.6fr;
    align-items: center;
    gap: 10rem;
    padding: 10rem 6rem;
    height: 100vh;
    width: 125rem;
    justify-content: center;
    margin: 0 auto;
}

.hero-description {
    margin: 3rem 0 2rem 0;
    color: #555;
    line-height: 1.6;
}

.hero-prices {
    margin: 6rem 0 1rem 0;
    text-transform: uppercase;
}

.hero-img {
    border-top-right-radius: 10rem;
    border-bottom-right-radius: 10rem;
    height: 47rem;
}

.btn-properties:link,
.btn-properties:visited {
    background-color: #195969;
    color: #f1ffff;
    margin-right: 3rem;
}

.btn-properties:hover,
.btn-properties:active {
    background-color: #1a343b;
    color: #d8ffff;
    transition: ease-in-out 0.2s;
}

.btn-contact:link,
.btn-contact:visited {
    background-color: #c6ffff;
    color: #153138;
}

.btn-contact:hover,
.btn-contact:active {
    background-color: #195969;
    color: #f1ffff;
    transition: ease-in 0.2s;
}

/* Included: About section styling */
.about-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    gap: 25px;
    flex-wrap: wrap;
}

.about-box {
    flex: 1;
    min-width: 280px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.about-box:hover {
    transform: translateY(-5px);
    box-shadow: 10px 2px 6px rgba(99, 147, 162, 0.916);
    border-color: #31c9eb;
}

.about-logo {
    font-size: 32px;
    color: #1a343b;
    margin: 0 auto 15px auto;
    pointer-events: none;
    background-color: #c6ffff;
    padding: 15px;
    border-radius: 50px;
    display: block;
}

.about-heading {
    font-family: 'Arial', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.about-box-description {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.center-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.properties-set {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6rem;
}

.properties-card {
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    column-gap: 1rem;
    width: 100%;
    background-color: #f8feff;
}

.properties-img {
    border-bottom-left-radius: 8rem;
    border-top-left-radius: 8rem;
    width: 550px;
    height: 400px;
}

.properties-right {
    border-radius: 0;
    border-bottom-right-radius: 8rem;
    border-top-right-radius: 8rem;
}

.properties-container {
    padding: 2rem 3.5rem 2rem 3.5rem;
}

.properties-card-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.properties-card-logo {
    height: 2.4rem;
    width: 2.4rem;
}

.properties-description {
    font-size: 1.7rem;
    line-height: 1.6;
    color: #444;
    margin: 3rem 0 2rem 0;
}

.testimonial-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 6rem;
}

.testimonial-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.testimonial-img {
    height: 6rem;
    width: 6rem;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-description {
    margin: 2rem 0 1rem 0;
    color: #444;
    font-size: 1.6rem;
}

.testimonial-author {
    color: #555;
    font-size: 1.5rem;
    text-align: end;
}

.img-box {
    gap: 1rem;
}

.testimonial-photo-box {
    height: 26rem;
    width: 28rem;
    overflow: hidden;
}

.testimonial-photo {
    height: inherit;
    width: inherit;
    transition: all 0.3s;
}

.testimonial-photo:hover {
    transform: scale(1.1);
}

.contact-heading {
    text-align: center;
    margin-bottom: 5rem;
}

.contact-container {
    display: grid;
    width: 60rem;
    grid-template-columns: 25rem 25rem;
    grid-template-rows: 8rem 8rem 27rem;
    justify-content: center;
    gap: 2rem;
    margin: 0 auto;
}

.contact-label {
    display: block;
    margin-bottom: 1rem;
}

.contact-house {
    grid-column: 1/3;
}

.contact-input {
    padding: 1.4rem 2rem;
    width: 100%;
    border-radius: 8px;
    font-size: 1.6rem;
    font-family: inherit;
    border: 1px solid #0088aa;
}

.contact-input:focus {
    border: 2px solid #0088aa;
    outline: none;
}

.contact-input::placeholder {
    color: #01aaaa;
    font-size: 1.6rem;
    font-family: inherit;
    font-weight: 400;
}

.contact-link {
    padding-top: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copyright {
    font-family: inherit;
    font-size: 1.4rem;
    color: #c6ffff;
}

.social {
    font-size: 1.8rem;
    display: inline-block;
}

.address {
    color: #d2d2ff;
    font-size: 1.6rem;
    margin-bottom: 3rem;
}

.table-1 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 6000px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
}

.table-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: #f2f6fc;
    border: 1px solid #d0d7e4;
    border-radius: 5px;
    overflow: hidden;
    flex-wrap: wrap;
}

.table-cell {
    flex: 1;
    padding: 12px 16px;
    border-right: 1px solid #d0d7e4;
    font-size: 15px;
    color: #333;
    min-width: 200px;
}

.table-cell:last-child {
    border-right: none;
}

.table-row:hover {
    background-color: #d9e9ff;
}

/* new element */
.second-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

#PRODUCT_DETAILS {
    margin-bottom: 30px;
}

.product-container {
    max-width: 1200px;
    width: 100%;
}

.product-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.product-card {
    flex: 0 0 23%;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card.large {
    flex: 0 0 48%;
    max-width: 400px;
    margin: 0 auto;
}

.product-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    user-drag: none;
    -webkit-user-drag: none;
    pointer-events: none;
    /* Disable direct image interaction */
}

.product-img.large-img {
    height: 200px;
    width: auto;
    /* Respect original image width, scaled to fit height */
    max-width: 100%;
    object-fit: contain;
}

.product-name {
    margin: 10px 0 0;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.single-product {
    justify-content: center;
}

/* footer */

.footer {
    background-color: #1a343b;
    color: #fff;
    width: 100%;
    padding: 40px 20px;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand,
.footer-links,
.footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    max-width: 150px;
    height: auto;
    border-radius: 8px;
    user-drag: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 10px;
    opacity: 0.8;
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffd700;
}

.footer-nav {
    list-style: none;
    padding: 0;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    line-height: 2;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-link:hover {
    color: #ffd700;
    transform: translateX(5px);
}

.footer-address p {
    font-size: 14px;
    line-height: 1.8;
    margin: 5px 0;
    opacity: 0.9;
}

.footer-bottom {
    max-width: 1200px;
    margin: 20px auto 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
}

.copyright {
    font-size: 13px;
    opacity: 0.7;
    margin-bottom: 10px;
}

#product-15 {
    margin-bottom: 5rem;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .product-card {
        flex: 0 0 48%;
        margin-bottom: 15px;
    }

    .product-card.large {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .product-img.large-img {
        width: 100%;
        height: 200px;
    }

    .primary-heading {
        margin-top: 10rem;
    }

    #desc {
        padding-bottom: 1.5rem;
    }

    .nav-links:hover {
        padding: 0.5rem 0.5rem;
        box-shadow: none;
    }

}

@media (max-width: 480px) {
    .product-card {
        flex: 0 0 100%;
    }

    .primary-heading {
        margin-top: 12rem;
    }

    #desc {
        padding-bottom: 1.5rem;
    }
}

@media (max-width: 1200px) {

    .btn-properties,
    .btn-contact {
        font-size: 1.8rem;
        padding: 1.4rem 2.4rem;
        margin-right: 2rem;
    }
}

@media (max-width: 992px) {

    .btn-properties,
    .btn-contact {
        font-size: 1.6rem;
        padding: 1.2rem 2rem;
        margin-right: 1.5rem;
    }

    .primary-heading {
        margin-top: 10rem;
    }

    #desc {
        padding-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {

    .btn-properties,
    .btn-contact {
        font-size: 1.4rem;
        padding: 1rem 1.8rem;
        margin-right: 1rem;
        display: inline-block;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {

    .btn-properties,
    .btn-contact {
        font-size: 1.3rem;
        padding: 0.8rem 1.6rem;
        margin-right: 0;
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }
}

@media (min-width: 1440px) {

    .btn-properties,
    .btn-contact {
        font-size: 2.2rem;
        padding: 1.8rem 3rem;
        margin-right: 3.5rem;
    }
}


/* media query for all screens */

@media (max-width: 1200px) {
    .header {
        padding: 0 5rem;
    }

    .hero {
        width: 100%;
        padding: 8rem 4rem;
        gap: 6rem;
    }

    .primary-heading {
        font-size: 5rem;
    }

    .secondary-heading {
        font-size: 4rem;
    }

    .section {
        padding: 7rem 5rem;
    }

    .properties-img,
    .properties-right {
        height: 350px;
        max-width: 450px;
    }

    .properties-card {
        column-gap: 2rem;
    }

    .table-cell {
        min-width: 180px;
        font-size: 14px;
    }

    .footer-container {
        padding: 0 10px;
    }
}

@media (max-width: 992px) {
    .header {
        padding: 0 3rem;
        height: 6.5rem;
    }

    .header-logo {
        height: 4rem;
    }

    #vision {
        font-size: 1.2rem;
        margin-left: 1rem;
    }

    .nav {
        column-gap: 2.5rem;
    }

    .nav-links {
        font-size: 1.4rem;
    }

    .hero {
        grid-template-columns: 1fr;
        height: auto;
        padding: 6rem 3rem;
        gap: 4rem;
    }

    .hero-img {
        height: 40rem;
        width: 100%;
        border-radius: 8rem;
    }

    .primary-heading {
        font-size: 4.2rem;
        letter-spacing: -1.5px;
    }

    .secondary-heading {
        font-size: 3.4rem;
    }

    .ternary-heading {
        font-size: 3.2rem;
    }

    .section {
        padding: 5rem 3rem;
    }

    .about-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .about-box {
        width: 100%;
        max-width: 500px;
    }

    .properties-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .properties-img,
    .properties-right {
        width: 100%;
        height: 300px;
        border-radius: 4rem;
        max-width: none;
    }

    .properties-container {
        padding: 2rem;
    }

    .table-row {
        flex-direction: column;
        gap: 8px;
    }

    .table-cell {
        min-width: 100%;
        border-right: none;
        border-bottom: 1px solid #d0d7e4;
        padding: 10px;
    }

    .table-cell:last-child {
        border-bottom: none;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-brand,
    .footer-links,
    .footer-contact {
        min-width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        height: auto;
        padding: 1.5rem 2rem;
    }

    .header-container {
        margin-bottom: 1rem;
    }

    .nav {
        column-gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links {
        padding: 0.8rem 1.5rem;
    }

    .primary-heading {
        font-size: 3.6rem;
    }

    .secondary-heading {
        font-size: 3rem;
    }

    .ternary-heading {
        font-size: 2.8rem;
    }

    .btn {
        font-size: 1.8rem;
        padding: 1.2rem 2rem;
    }

    .hero {
        padding: 5rem 2rem;
    }

    .hero-description {
        font-size: 1.6rem;
        margin: 2rem 0;
    }

    .section {
        padding: 4rem 2rem;
    }

    .about-logo {
        font-size: 28px;
        padding: 12px;
    }

    .about-heading {
        font-size: 18px;
    }

    .about-box-description {
        font-size: 14px;
    }

    .properties-img,
    .properties-right {
        height: 250px;
    }

    .properties-description {
        font-size: 1.5rem;
        margin: 2rem 0;
    }

    .table-1 {
        padding: 8px;
    }

    .table-cell {
        font-size: 13px;
        padding: 8px;
    }

    .second-container {
        padding: 3rem 0;
    }

    #PRODUCT_DETAILS {
        font-size: 3.2rem;
    }

    .footer {
        padding: 30px 15px;
    }

    .footer-logo {
        max-width: 120px;
    }

    .footer-heading {
        font-size: 16px;
    }

    .footer-description,
    .footer-address p,
    .footer-link {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 55%;
    }

    .header {
        padding: 1rem 1.5rem;
    }

    .header-logo {
        height: 3.5rem;
    }

    #vision {
        font-size: 1.1rem;
        margin-left: 0.8rem;
    }

    .nav {
        column-gap: 1rem;
    }

    .nav-links {
        font-size: 1.3rem;
        padding: 0.2rem 0.2rem;
    }

    .nav-links:hover {
        padding: 0.2rem 0.2rem;
        box-shadow: none;
    }

    .primary-heading {
        font-size: 3rem;
        letter-spacing: -1px;
    }

    .secondary-heading {
        font-size: 2.6rem;
    }

    .ternary-heading {
        font-size: 2.4rem;
    }

    .btn {
        font-size: 1.6rem;
        padding: 1rem 1.8rem;
    }

    .hero {
        padding: 4rem 1.5rem;
        gap: 3rem;
    }

    .hero-img {
        height: 30rem;
        border-radius: 6rem;
    }

    .hero-description {
        font-size: 1.4rem;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .about-box {
        padding: 15px;
        min-width: 100%;
    }

    .about-logo {
        font-size: 24px;
        padding: 10px;
    }

    .about-heading {
        font-size: 16px;
    }

    .about-box-description {
        font-size: 13px;
    }

    .properties-img,
    .properties-right {
        height: 200px;
        border-radius: 3rem;
    }

    .properties-container {
        padding: 1.5rem;
    }

    .properties-description {
        font-size: 1.4rem;
        margin: 1.5rem 0;
    }

    .table-1 {
        padding: 6px;
    }

    .table-cell {
        font-size: 12px;
        padding: 6px;
        min-width: 100%;
    }

    .second-container {
        padding: 2rem 0;
    }

    #PRODUCT_DETAILS {
        font-size: 2.8rem;
        margin-bottom: 20px;
    }

    .product-card {
        flex: 0 0 100%;
        margin-bottom: 10px;
    }

    .product-card.large {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .product-img {
        height: 120px;
    }

    .product-img.large-img {
        height: 180px;
        width: 100%;
    }

    .product-name {
        font-size: 14px;
    }

    .footer {
        padding: 20px 10px;
    }

    .footer-logo {
        max-width: 100px;
    }

    .footer-heading {
        font-size: 14px;
    }

    .footer-description,
    .footer-address p,
    .footer-link {
        font-size: 12px;
    }

    .copyright {
        font-size: 11px;
    }
}

@media (min-width: 1440px) {
    .hero {
        width: 140rem;
        padding: 12rem 8rem;
    }

    .primary-heading {
        font-size: 6.5rem;
    }

    .secondary-heading {
        font-size: 5.2rem;
    }

    .section {
        padding: 10rem 12rem;
    }

    .properties-img,
    .properties-right {
        width: 100%;
        height: 450px;
        max-width: 600px;
        /* Added to prevent image overflow */
    }

    .properties-card {
        column-gap: 2rem;
        /* Ensure sufficient spacing on larger screens */
    }

    .table-cell {
        min-width: 220px;
        font-size: 16px;
    }
}


@media (max-width: 768px) {
    .properties-right {
        border-bottom-right-radius: 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: 4rem;
        border-top-left-radius: 4rem;
    }

    .properties-card {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .properties-card .properties-img,
    .properties-card .properties-right {
        order: -1;
    }
}

@media (max-width: 576px) {
    .properties-right {
        border-bottom-right-radius: 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: 3rem;
        border-top-left-radius: 3rem;
    }

    .properties-card {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .properties-card .properties-img,
    .properties-card .properties-right {
        order: -1;

    }
}

#desc {
    margin-top: 10px;
    margin-bottom: -20px;
    color: #109dbc;
}

.properties-card {
    /* margin-bottom: 1rem; */
    padding-bottom: 5rem;
    border-bottom: #0088aa solid 1px;
}

@media (min-width: 325px) and (max-width: 420px) {
    #vision {
        font-size: 1.4rem;
    }
}

@media (min-width: 421px) and (max-width: 600px) {
    #vision {
        font-size: 1.6rem;
    }
}

@media (min-width: 760px) and (max-width: 1000px) {
    #vision {
        font-size: 2.6rem;
    }
}

@media (min-width: 1020px) and (max-width: 1440px) {
    #vision {
        font-size: 1.6rem;
    }
}

/* Contact bar before the footer */

.contact-bar {
    background-color: #007BFF;
    color: white;
    padding: 1rem 2rem;
    margin-top: 3rem;
    border-radius: 10px;
    text-align: center;
    font-size: 2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-bar:hover {
    background-color: #0056b3;
}

#con-sec {
    display: flex;
    align-items: center;
    justify-content: center;
}