.banner-img span.brown-box {
    border-radius: 0px 0px 1.563vw 1.563vw;
    background: #B55438;
    width: 17.552vw;
    height: 17.708vw;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2.917vw;
    /* position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);*/
}

.banner-element {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    z-index: 1;
}

span.brown-box p {
    color: #FFF;
    text-align: center;
    font-size: 1.094vw;
    font-weight: 900;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 0;
}

span.brown-box img {
    filter: invert(1);
}

.banner-img img.bg-banner {
    height: 100vh;
    width: 100%;
    object-fit: cover;
    transform: scale(1);
    filter: blur(0px);
    transition: all 0.5s ease;
}



.mt-5rem {
    margin-top: 5rem;
}

.gizlogo {
    position: absolute;
    bottom: 5%;
    left: 2.083vw;
    width: 13vw;
    z-index: 9;
}

.explore-btn {
    border-radius: 62px;
    border: 0.25rem solid #802409;
    background: #B55438;
    color: #FFF;
    font-size: 1.458vw;
    /* Use rem for scalability */
    font-weight: 700;
    text-transform: uppercase;
    padding: 1rem 3rem;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.explore-btn:hover {
    background: #80270c;
    color: #FFF;
}

.bottom-btn {
    bottom: 37vh;
    /* Adjust for relative position */
}

/* Modal Styling */
.custom-modal .modal-content {
    border-radius: 0.625rem;
    /* 10px converted to rem */
}

.custom-modal .modal-header {
    background-color: #DA7F64;
    color: white;
}

.custom-modal .modal-header .btn-close {
    position: absolute;
    right: 20px;
    width: 37px;
    height: 37px;
    border-radius: 50%;
    border: 2px solid #000;
    padding: 0;
    filter: invert(1) drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    opacity: 1;
    box-shadow: 0px 2px 2px 2px #ffffff2b;
}

/* Objective Section Grid */
.objectives-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* Auto-fit for responsiveness */
    padding: 3rem 5%;
    gap: 1.5rem;
}


@-webkit-keyframes zoom {
    from {
      -webkit-transform: scale(1, 1);
    }
    to {
      -webkit-transform: scale(1.5, 1.5);
    }
  }
  
  @keyframes zoom {
    from {
      transform: scale(1, 1);
    }
    to {
      transform: scale(1.5, 1.5);
    }
  }
  
  .banner-img .carousel-inner .carousel-item.active > img {
    -webkit-animation: zoom 10s;
    animation: zoom 10s;
  }


/* Card Container with Flip Effect */
.objective-card {
    position: relative;
    perspective: 1000px;
    width: 100%;
    /* Full width inside grid */
    height: 49vh;
}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s;
}

.objective-card:hover .card-inner {
    transform: rotateY(180deg);
}

/* Front and Back Faces */
.card-front,
.card-back {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.563vw;
    border-radius: 0.75rem;
    padding: 1.25rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

.card-front {
    background: linear-gradient(180deg, #DA7F64 0%, #AA3D1C 100%);
    border: 1px solid #DA7F64;
    color: white;
    text-align: center;
}

.card-back {
    background: #FFF5F2;
    border: 1px solid #DBCDC9;
    color: #333;
    transform: rotateY(180deg);
    text-align: center;
}

/* Icon Styling */
.icon img {
    width: 9.531vw;
    height: 9.531vw;
    transition: filter 0.5s;
}

.card-front h3 {
    font-size: 1.563vw;
}

/* Text Styling */
h3 {
    margin-top: 1rem;
    font-size: 1.5rem;
}

.card-back p {
    font-size: 1.125rem;
    line-height: 1.5;
}

.homeHeading {
    color: #B55438;
    font-size: 2.083vw;
    font-weight: 700;
    margin-bottom: 3rem;
    padding-top: 4.271vw;
}

.design-principle .modal-dialog {
    max-width: 67.708vw;
}

.design-principle .modal-body {
    padding: 2.813vw 5vw;
    display: flex;
    flex-direction: column;
    gap: 2.083vw;
    overflow-y: auto;
    max-height: calc(100vh - 250px);
}

.design-principle .del3 {
    padding: 1.042vw 1.25vw;
}

.box-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Information Section */
.information-section {
    background: url(../images/info-background.jpg);
    padding: 6.302vw 5.208vw 13.125vw;
    text-align: center;
}

.info-heading {
    font-size: 2.083vw;
    color: #b55438;
    margin-bottom: 3rem;
    font-weight: 600;
}

.info-cards {
    display: flex;
    justify-content: center;
    gap: 1.823vw;
}

.info-card {
    border-radius: 8px;
    border: 1px solid #DA7F64;
    background: #FFF;
    box-shadow: 0px 4px 23px 0px rgba(0, 0, 0, 0.10);
    padding: 2.083vw 1.25vw 1.042vw 2.813vw;
    max-width: 33.3%;
    flex: 0 0 33.3%;
    display: flex;
    align-items: center;
    gap: 3.125vw;
    text-align: left;
    transition: 0.2s ease-in;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

.info-text {
    width: 100%;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-icon {
    width: 27%;
    margin-bottom: 1.5rem;
    filter: invert(75%) sepia(24%) saturate(2975%) hue-rotate(314deg) brightness(91%) contrast(87%)
}

.info-card h3 {
    color: #333;
    font-size: 1.563vw;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.read-more {
    color: #b55438;
    text-decoration: none;
    font-weight: bold;
    margin-top: 0.99vw;
    font-size: 0.833vw;
    float: right;
    margin-left: auto;
    position: absolute;
    left: auto;
    right: 0;
    top: auto;
    bottom: 0;
}

.read-more:hover {
    text-decoration: underline;
}

/* .design-principle .pink-box {
    background: linear-gradient(91deg, #F7E8E3 0.52%, #FFF 99.21%);
} */

.design-principle .del3 h5 {
    color: #B55438;
    font-size: 1.25vw;
    font-weight: 500;
    line-height: normal;
}

.design-principle .del3 h6,
.design-principle .del3 p,
.design-principle .del3 ul li {
    color: #333;
    font-size: 0.833vw;
    font-weight: 400;
    line-height: 1.354vw;
    margin-bottom: 1.198vw;
}

.design-principle .del3 p b {
    font-weight: 600;
}

.design-principle .del3 ul li {
    list-style-type: disc;
    padding-left: 0;
    list-style-position: inherit;
    margin-bottom: 0;
}

.design-principle .del3 h6 {
    margin-bottom: 0.313vw;
    font-weight: 600;
}




.modal-custom-table table th,
.modal-custom-table table td {
    border: 2px solid #999;
    padding: 0.785vw 0.577vw;
    /* white-space: nowrap; */
    color: #333;
    font-size: 0.625vw;
    font-weight: 600;
    line-height: normal;
    text-align: left;
    vertical-align: middle;
}



.modal-custom-table table th {
    background: #E4AB98;
    font-size: 0.781vw;
}


.modal-custom-table table tr:first-child td {
    background: #F7E8E3;
}

.modal-custom-table table tr td {
    background: #fff;
    text-align: center;
}


.design-principle .del3 ul.floor-list li {
    color: #000;
    font-size: 0.833vw;
    font-weight: 500;
    line-height: normal;
    background: #F7E8E3;
    margin-bottom: 1.198vw;
    padding: 0.621vw 2.188vw;
    position: relative;
    padding-left: 3.458vw;
    list-style-type: none;
}

.design-principle .del3 ul.floor-list li span {
    width: 47px;
    height: 47px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #DA7F64;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #FFF;
    font-size: 1.042vw;
    font-weight: 500;
    line-height: normal;
}


/* .design-principle .modal-content {
    padding-bottom: 2.604vw;
} */

.custom-modal.design-principle .modal-title {
    color: #FFF;
    text-align: center;
    font-size: 1.458vw;
    font-weight: 600;
    line-height: normal;
}

.scroll-down {
    bottom: 17px;
    position: relative;
    /* position: absolute;
    bottom: -1%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
     */
}

/* 
.scroll-down a {
    display: flex;
    flex-direction: column;
    align-items: center;
} */

.scroll-down .scroll-btn {
    border-radius: 50%;
    border: 4px solid #802409;
    background: #B55438;
    width: 3.958vw;
    height: 3.958vw;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-animation: downarrow 0.6s infinite alternate ease-in-out;
    animation: downarrow 0.6s infinite alternate ease-in-out;
}

@keyframes downarrow {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }

    100% {
        -webkit-transform: translateY(1em);
        transform: translateY(1em);
    }
}

.scroll-down p {
    color: #333;
    text-align: center;
    font-size: 0.729vw;
    font-weight: 600;
    line-height: normal;
    margin-top: 11px;
}

div.modal-dialog {
    margin-inline: auto;
}


/* Responsive Font Adjustments */

.exlore-btn {
    position: absolute;
    top: 61%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.exlore-btn .btn-brown {
    border-radius: 62px;
    border: 4px solid #802409;
    background: #B55438;
    padding: 21px 64px;
    color: #FFF;
    font-size: 28px;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

/* Footer */

.footer-list {
    display: flex;
    gap: 2.083vw;
    padding: 1.146vw 4.583vw 0.885vw;
    margin-bottom: 0;
}

.menu_row {
    border-bottom: 1px solid #ddd;
}

.footer-list li {}

.footer-list li a {
    color: #333;
    font-size: 0.938vw;
    font-weight: 400;
    line-height: 1.354vw;
}

.footer-list li a:hover {
    color: #B55438;
}

.home_footer .copyright_row {
    background: #B55438;
    padding: 0.573vw 1.719vw;
}

.home_footer .mainFooter__left p {
    color: #fff;
    display: flex;
    gap: 0.781vw;
}

.home_footer .mainFooter__left p a {
    font-size: 0.729vw;
    color: #fff;
}

.home_footer .mainFooter__right p {
    color: #fff;
}


ul.social-link {
    display: flex;
    gap: 1.042vw;
    padding-left: 4.583vw;
    margin-bottom: 0;
}

ul.social-link li img {
    width: 1.979vw;
    height: 1.979vw;
    filter: invert(13%) sepia(89%) saturate(0%) hue-rotate(135deg) brightness(98%) contrast(85%);
    transition: 0.2s ease-in;
}

ul.social-link li img:hover {
    filter: invert(37%) sepia(87%) saturate(451%) hue-rotate(327deg) brightness(90%) contrast(90%);
    transform: scale(1.1);
}

.download-app {
    display: flex;
    gap: 1.217vw;
    padding-left: 4.583vw;
    margin-bottom: 0;
}

.download-app a img {
    transition: 0.5s ease;
}

.download-app a img:hover {
    transform: scale(1.1);
}

.row.footer-second {
    padding-block: 1.979vw 1.25vw;
}

.del1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    gap: 2.135vw;
}

.right-giz-logo {
    padding-right: 5.208vw;
}

.del2 {
    margin-top: 0.99vw;
    margin-bottom: 0.521vw;
}

p.address {
    margin-bottom: 0;
}


p.address,
.del2 {
    color: #666;
    font-size: 0.729vw;
    font-weight: 600;
    line-height: 1.146vw;
}

.tooltip {
    border-radius: 11px;
    background-color: rgba(255, 255, 255, 0.80);
}

div.tooltip-inner {
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.80);
    color: #000;
    font-size: 0.833vw;
    font-weight: 500;
    line-height: 24px;
    max-width: 31.719vw;
    padding: 12px 10px;
    text-align: left;
}

div.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before,
div.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: #fff;
}

.home-header {
    position: absolute;
    left: auto;
    right: 0;
    background-color: transparent;
    z-index: 9;
}

/* Responsive  */

@media (max-width:1600px) {
    .objectives-section {
        grid-template-columns: repeat(auto-fit, minmax(236px, 1fr));
        padding-top: 0;
    }

    .objective-card {
        min-height: 65vh;
    }

    .banner-img span.brown-box {
        width: 19.552vw;
        height: 19.708vw;

    }
}

@media (max-width: 1366px) {
    .scroll-down .scroll-btn img {
        width: 50%;
    }
    .objectives-section{
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .card-back p {
        font-size: 0.825rem;
    }
    .card-front h3 {
        font-size: 1.263vw;
    }
    .objective-card {
        min-height: 52vh;
    }
}

@media (max-width: 991px) {
    .banner-img span.brown-box {
        width: 28.552vw;
        height: 28.708vw;
    }

    span.brown-box img {
        width: 70%;
        display: block;
        margin: 0 auto;
    }

    span.brown-box p {
        font-size: 1.594vw;
    }

    .explore-btn {
        font-size: 0.75rem;
    }


    .scroll-down .scroll-btn img {
        width: 54%;
    }

    .scroll-down p {
        font-size: 1.729vw;
    }


    .gizlogo img {
        width: 60%;
    }
}

@media (max-width: 767px) {
    .objectives-section {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
        padding-top: 0;
    }

    .objective-card {
        height: 250px;
    }

    .card-front h3 {
        font-size: 5.263vw;
    }

    .card-back p {
        font-size: 0.925rem;
    }

    .card-front,
    .card-back {
        justify-content: center;
    }

    .explore-btn {
        font-size: 1.25rem;
        padding: 0.75rem 2rem;
    }

    .info-heading,
    .homeHeading {
        font-size: 7.083vw;
        padding-top: 7.263vw;
    }

    .info-cards {
        flex-direction: column;
    }

    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .info-card {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .info-card h3 {
        font-size: 4.563vw;
    }

    .info-card {
        padding: 5vw;
        justify-content: space-between;
    }

    .footer-list li a {
        font-size: 3vw;
    }


    .footer-list {
        justify-content: space-between;
    }

    ul.social-link li img {
        width: 4vw;
        height: 4vw;
    }

    ul.social-link {
        gap: 6vw;
    }

    .row.footer-second {
        padding-block: 3.979vw;
    }

    .right-giz-logo img {
        width: 140px;
        padding-left: 4.583vw;
        margin-top: 10px;
    }

    ul.download-app img {
        width: 90px;
    }

    ul.download-app {
        gap: 2vw;
    }

    .right-giz-logo img {
        margin-bottom: 1.042vw;
    }

    .del2 {
        margin-bottom: 2.521vw;
        line-height: normal;
    }

    .del2,
    p.address {
        padding-left: 4.583vw;
        font-size: 2.8vw;
    }

    .del1 {
        gap: 5.135vw;
    }

    .mainFooter__right a p,
    .home_footer .mainFooter__left p {
        font-size: 1.725vw;
        justify-content: center;

    }

    .home_footer .mainFooter__left p a {
        font-size: 2.229vw;
    }

    .home_footer .mainFooter__right p {
        text-align: center !important;
    }

    .mainFooter__right a p span {
        font-size: 2.525vw;
    }

    .read-more {
        font-size: 3.333vw;
        top: 58px;
    }

    .banner-img span.brown-box {
        width: 37.552vw;
        height: 36vw;
        padding: 10px;
    }

    span.brown-box p {
        font-size: 1.6vw;
    }

    .banner-img span.brown-box img {
        width: 70%;
        display: block;
        margin: 0 auto;
    }

    .scroll-down .scroll-btn {
        width: 7.958vw;
        height: 7.958vw;
        padding: 1vw;
    }

    .scroll-down p {
        font-size: 2.729vw;
    }


    .design-principle .modal-dialog {
        max-width: 87.708vw;
    }

    .custom-modal .modal-header .btn-close {
        width: 25px;
        height: 25px;
        font-size: 11px;
    }

    .custom-modal.design-principle .modal-title {
        font-size: 4.458vw;
    }

    .modal-custom-table table th,
    .modal-custom-table table td {
        font-size: 1.833vw;
    }

    .design-principle .del3 h6,
    .design-principle .del3 p,
    .design-principle .del3 ul li {
        font-size: 2.233vw;
        line-height: 150%;
    }

    .design-principle .del3 ul.floor-list li,
    .design-principle .del3 h5 {
        font-size: 2.85vw;
    }

    .design-principle .modal-body {
        gap: 5.883vw;
    }

    .design-principle .del3 ul.floor-list li {
        font-size: 2.85vw;
        margin-bottom: 5.198vw;
        padding: 2.621vw 2.188vw;
        padding-left: 10.458vw;
    }

    .design-principle .del3 ul.floor-list li span {
        width: 30px;
        height: 30px;
        font-size: 3.042vw;
    }
}