:root {
    --gold: #d4af37;
    --navy: #000d3a;
}

html,
body {
    overflow-x: hidden;
}

/* body { font-family: 'Montserrat', sans-serif; } */
body {
    font-family: "Poppins", sans-serif;
}

.navbar {
    background: var(--navy);
    border-bottom: 2px solid var(--gold);
}

.navbar-brand {
    color: var(--gold);
    font-family: "Playfair Display", serif;
}

.navbar-toggler {
    background-color: var(--gold) !important;
}

.nav-link {
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    font-weight: 600;
}

.nav-link:hover {
    color: var(--gold) !important;
}

.menu-btn li a {
    background-color: var(--gold);
    color: var(--navy);
}

.menu-btn li a:hover {
    border: 1px solid var(--gold);
    color: var(--gold);
}

header {
    min-height: 100vh;
    background:
        linear-gradient(rgba(11, 16, 33, 0.75), rgba(11, 16, 33, 0.75)),
        url("image/banner.webp") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

header h1 {
    font-family: "Playfair Display", serif;
    font-size: 3.8rem;
    color: var(--gold);
}

header p {
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

section {
    padding: 100px 10%;
}

.section-title h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
}

.navy-divider {
    width: 80px;
    height: 3px;
    background: var(--navy);
    margin: 10px auto;
}

.gold-divider {
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 10px auto;
}

.card-custom {
    border: 1px solid #eee;
    transition: 0.4s;
}

.card-custom h3 {
    color: var(--gold);
}

.card-custom p {
    text-align: left;
}

.card-custom:hover {
    border-color: var(--gold);
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 13, 58, 0.05);
}

.img-container {
    height: 350px;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.img-container .label-navy {
    background-color: var(--navy) !important;
    color: var(--gold) !important;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* filter: grayscale(50%); */
    transition: 0.5s;
}

.img-container:hover img {
    filter: grayscale(0);
    transform: scale(1.05);
}

.label {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gold);
    padding: 5px 15px;
    font-size: 0.75rem;
    font-weight: bold;
}

.sop-section {
    background: var(--navy);
    color: #ffffff;
}

.sop-section h2 {
    font-family: "Playfair Display", serif;
    color: var(--gold);
    font-size: 2.8rem;
}

.sop-item {
    padding: 30px;
    position: relative;
}

.sop-item h4 {
    color: var(--gold);
    font-size: 1.15rem;
    margin-bottom: 15px;
}

.sop-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #e6e6e6;
}

/* horizontal divider under each item */
.sop-item::after {
    content: "";
    position: absolute;
    bottom: -20px;
    width: calc(100% - 30px);
    left: 15px;
    height: 1px;
    background: rgba(212, 175, 55, 0.35);
}

.complete {
    font-size: 35px;
}

.legacy-img {
    width: 100%;
    border-radius: 8px;
}

.project-name {
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.legacy-tab.active {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.legacy-tab {
    border: 1px solid var(--navy);
}

.legacy-tab:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.contact-box {
    background: var(--navy);
    color: #fff;
    padding: 40px;
    border-radius: 8px;
}

.contact-box h3 {
    color: var(--gold);
}

.auto-response {
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-left: 3px solid var(--gold);
}

footer {
    background: var(--navy);
    color: #fff;
}

footer h4 {
    color: var(--gold);
}

#contact .btn {
    background: var(--gold);
}

#contact .btn:hover {
    background: var(--navy);
    color: var(--gold);
}

#about h2 {
    color: var(--gold);
}

.border-navy {
    border-color: var(--navy) !important;
}

.border-navy strong {
    color: var(--navy);
}

#objects {
    background-color: var(--navy);
}

#objects h2 {
    color: var(--gold);
}

#objects p {
    color: #fff;
}

#gallery h2 {
    color: var(--gold);
}

.gallery-container {
    height: auto !important;
}

.legacy h2 {
    color: var(--gold);
    font-family: "Playfair Display", serif;
}

#contact h2 {
    color: var(--gold);
}

#contact .contact-form {
    color: var(--navy);
}

.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}

.form-check-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}

.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select {
    position: relative;
}

.custom-select-trigger {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}

.custom-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ced4da;
    border-top: none;
    display: none;
    z-index: 100;
}

.custom-option {
    display: block;
    width: 100%;
    padding: 10px 12px;
    cursor: pointer;
    white-space: nowrap;
}

.custom-option:hover {
    background-color: var(--navy);
    color: #ffffff;
}

.custom-select.open .custom-options {
    display: block;
}

.what-next {
    color: var(--gold);
    font-size: 12px;
}

.site-partner a {
    color: #fff;
    text-decoration: none;
}

.site-partner a:hover {
    color: var(--gold);
}

@media (max-width: 575px) {
    header {
        min-height: auto;
        padding: 120px 15px 80px;
    }

    .navbar-brand img {
        max-width: 130px;
    }

    .contact-box {
        padding: 25px 20px;
    }

    .label {
        left: 10px;
        top: 10px;
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    footer .col-md-4 {
        margin: 2%;
    }
}

@media (max-width: 767px) {
    .img-container {
        height: auto;
    }

    .img-container img {
        height: auto;
    }

    header h1 {
        font-size: 2.2rem;
    }

    .sop-item:nth-last-child(-n + 3)::after {
        display: none;
    }

    .sop-item::after {
        bottom: -10px;
    }
}

/* why us */
.section-header {
    padding-bottom: 10px;
}

.section-logo {
    height: 60px;
}

.section-tagline {
    font-size: 14px;
    font-weight: 500;
}

.why-us-section h1 {
    font-weight: 600;
}

.section-footer a {
    color: var(--navy);
    text-decoration: none;
}

.section-footer a:hover {
    color: var(--gold);
}

.comparison-table thead th {
    background-color: var(--navy);
    color: #fff;
    text-align: center;
    vertical-align: middle;
}

.table-bordered> :not(caption)>*>* {
    border-width: 2px;
}

.comparison-table thead .aur-column {
    color: var(--gold);
}

.back-color {
    background-color: var(--navy) !important;
    color: #fff !important;
}

.comparison-table td {
    vertical-align: middle;
    font-size: 15px;
}

.section-footer {
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .navbar ul li {
        border-bottom: 1px solid var(--gold);
    }

    .navbar ul li:last-child {
        border: none;
    }

    .menu-btn li {
        margin: 2%;
    }

    .why-us-section {
        padding: 100px 2%;
    }

    .comparison-table td {
        font-size: 12px;
    }
}

/* Redevelopment Form Styling */

form label {
    font-weight: 500;
    color: #333;
}

form .form-control,
form .form-check-input {
    border-radius: 6px;
}

.card {
    border-radius: 14px;
    background: #ffffff;
}

.application-form h1 {
    font-family: "Montserrat", sans-serif;
    /* letter-spacing: 0.5px; */
    color: var(--navy);
}

.application-form .title-primary {
    color: var(--navy);
}

.form-check-input:checked {
    background-color: var(--gold);
    border-color: var(--navy);
}

.form-check-input1:checked {
    background-color: var(--navy);
    border-color: var(--gold);
}

.application-form h5 {
    font-weight: 600;
    border-left: 4px solid var(--gold);
    padding-left: 10px;
}

.application-form1 h5 {
    font-weight: 600;
    border-left: 4px solid white;
    padding-left: 10px;
}

hr {
    opacity: 0.15;
}

.form-check-label {
    font-size: 0.95rem;
}

.box-bg {
    background-color: var(--navy);
    border-radius: 7px;
}

button.btn-primary1 {
    background-color: var(--gold);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

button.btn-primary1:hover {
    background-color: white;
    color: var(--navy);
    transform: translateY(3px);
}

.card-body {
    padding: 3rem;
}

@media (max-width: 768px) {
    .card-body {
        padding: 2rem 1.5rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .application-form {
        padding: 100px 0;
    }
}

.declaration-section {
    color: #555;
}

.declaration-section h6 {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gold);
}

.signature-line {
    border-bottom: 1px solid #999;
    height: 30px;
    width: 100%;
}

.stamp-box {
    border: 1px dashed #999;
    height: 40px;
    width: 100%;
}

input[type="file"] {
    padding: 6px;
}

#faq .section-title h2 {
    color: var(--gold);
}

.accordion-button:not(.collapsed) {
    background-color: var(--navy);
    color: var(--gold);
}

.accordion-button {
    background-color: var(--navy);
    color: var(--gold);
}

.accordion-button:focus {
    box-shadow: -2px -2px 5px 1px var(--gold);
}

.accordion-button::after {
    color: var(--gold);
}

.accordion-button:not(.collapsed)::after {
    color: var(--gold);
}

.accordion-body {
    color: var(--navy);
}

/* Gold arrow for accordion */
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d4af37'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d4af37'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-item {
    border: 1px solid var(--gold);
}