
/* ==========================================
   STAR INDIA CONSTRUCTION - FOOTER
========================================== */

.sic-footer {
    --sic-footer-bg: #070815;
    --sic-footer-green: #20bd43;
    --sic-footer-text: #d2d5df;
    --sic-footer-heading: #ffffff;
    --sic-footer-border: rgba(255, 255, 255, 0.13);

    background: var(--sic-footer-bg);
    color: var(--sic-footer-text);
    font-family: inherit;
}

.sic-footer,
.sic-footer * {
    box-sizing: border-box;
}

.sic-footer a {
    text-decoration: none;
}

.sic-footer .sic-footer-main {
    display: grid;
    grid-template-columns: 1.25fr 0.8fr 0.95fr 1.75fr;
    gap: 38px;
    padding-top: 65px;
    padding-bottom: 55px;
}

/* Brand */

.sic-footer .sic-footer-brand {
    min-width: 0;
}

.sic-footer .sic-footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 22px;
}

.sic-footer .sic-footer-logo img {
    display: block;
    width: 280px;
    max-width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    object-position: left center;
}

.sic-footer .sic-footer-description {
    margin: 0 0 24px;
    color: var(--sic-footer-text);
    font-size: 15px;
    line-height: 1.85;
}

.sic-footer .sic-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sic-footer .sic-footer-socials a {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.055);
    color: #fff;
    font-size: 17px;
    transition: background 0.25s ease,
                border-color 0.25s ease,
                transform 0.25s ease;
}

.sic-footer .sic-footer-socials a:hover {
    transform: translateY(-4px);
    border-color: var(--sic-footer-green);
    background: var(--sic-footer-green);
    color: #07130a;
}

/* Column Headings */

.sic-footer .sic-footer-links,
.sic-footer .sic-footer-contact {
    min-width: 0;
}

.sic-footer .sic-footer-links h2,
.sic-footer .sic-footer-contact > h2 {
    margin: 0 0 25px;
    color: var(--sic-footer-heading);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.3;
}

.sic-footer .sic-footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 17px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sic-footer .sic-footer-links li {
    margin: 0;
    padding: 0;
}

.sic-footer .sic-footer-links a {
    display: inline-block;
    color: var(--sic-footer-text);
    font-size: 14px;
    line-height: 1.65;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.sic-footer .sic-footer-links a:hover {
    padding-left: 4px;
    color: var(--sic-footer-green);
}

/* Office Address Card */

.sic-footer .sic-footer-office {
    display: grid;
    grid-template-columns: 142px minmax(0, 1fr);
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 10px;
}

.sic-footer .sic-footer-office-tabs {
    display: flex;
    flex-direction: column;
    background: #f7f8f7;
}

.sic-footer .sic-office-tab {
    flex: 1;
    min-height: 77px;
    padding: 15px 13px;
    border: 0;
    border-bottom: 1px solid #e5eae5;
    background: #f7f8f7;
    color: #18251b;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.55;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.sic-footer .sic-office-tab:last-child {
    border-bottom: 0;
}

.sic-footer .sic-office-tab:hover {
    background: #eaf6ec;
}

.sic-footer .sic-office-tab.sic-office-active {
    background: linear-gradient(120deg, #12b52e, #bdf2c5);
    color: #092b10;
}

.sic-footer .sic-office-tab:focus-visible {
    position: relative;
    z-index: 2;
    outline: 2px solid var(--sic-footer-green);
    outline-offset: -3px;
}

/* Office Information */

.sic-footer .sic-footer-office-content {
    min-width: 0;
    padding: 24px;
    background: rgba(255, 255, 255, 0.015);
}

.sic-footer .sic-office-panel h3 {
    margin: 0 0 22px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
}

.sic-footer .sic-office-panel[hidden] {
    display: none !important;
}

.sic-footer .sic-office-address-note {
    margin: 0 0 20px;
    color: var(--sic-footer-text);
    font-size: 14px;
    line-height: 1.8;
}

.sic-footer .sic-footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 17px;
    color: var(--sic-footer-text);
    font-size: 14px;
    line-height: 1.75;
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}

.sic-footer .sic-footer-contact-row:last-child {
    margin-bottom: 0;
}

.sic-footer .sic-footer-contact-row:hover {
    color: var(--sic-footer-green);
}

.sic-footer .sic-footer-contact-icon {
    display: inline-flex;
    flex: 0 0 31px;
    width: 31px;
    height: 31px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: #17952f;
    font-size: 14px;
}

/* Copyright */

.sic-footer .sic-footer-bottom {
    border-top: 1px solid var(--sic-footer-border);
}

.sic-footer .sic-footer-bottom-inner {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.sic-footer .sic-footer-bottom p {
    margin: 0;
    color: var(--sic-footer-text);
    font-size: 13px;
    line-height: 1.7;
}

.sic-footer .sic-footer-bottom p a {
    color: var(--sic-footer-green);
    transition: color 0.2s ease;
}

.sic-footer .sic-footer-bottom p a:hover {
    color: #8ce69d;
}

.sic-footer .sic-footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    color: #777d8b;
    font-size: 12px;
}

.sic-footer .sic-footer-legal a {
    color: #a5a9b4;
    transition: color 0.2s ease;
}

.sic-footer .sic-footer-legal a:hover {
    color: var(--sic-footer-green);
}

/* Tablet */

@media (max-width: 1199.98px) {
    .sic-footer .sic-footer-main {
        grid-template-columns: 1.2fr 0.8fr 1fr;
        gap: 35px 28px;
    }

    .sic-footer .sic-footer-contact {
        grid-column: 1 / -1;
    }

    .sic-footer .sic-footer-office {
        grid-template-columns: 155px minmax(0, 1fr);
    }

    .sic-footer .sic-footer-office-content {
        padding: 25px;
    }
}

/* Mobile */

@media (max-width: 767.98px) {
    .sic-footer .sic-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px 22px;
        padding-top: 45px;
        padding-bottom: 35px;
    }

    .sic-footer .sic-footer-brand,
    .sic-footer .sic-footer-contact {
        grid-column: 1 / -1;
    }

    .sic-footer .sic-footer-logo img {
        width: 245px;
    }

    .sic-footer .sic-footer-links h2,
    .sic-footer .sic-footer-contact > h2 {
        margin-bottom: 18px;
        font-size: 22px;
    }

    .sic-footer .sic-footer-links ul {
        gap: 13px;
    }

    .sic-footer .sic-footer-office {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .sic-footer .sic-office-tab {
        min-height: 75px;
        padding: 12px 9px;
        font-size: 12px;
    }

    .sic-footer .sic-footer-office-content {
        padding: 19px 14px;
    }

    .sic-footer .sic-office-panel h3 {
        font-size: 19px;
        margin-bottom: 18px;
    }

    .sic-footer .sic-footer-contact-row {
        gap: 9px;
        font-size: 12px;
        line-height: 1.7;
    }

    .sic-footer .sic-footer-contact-icon {
        flex-basis: 27px;
        width: 27px;
        height: 27px;
        font-size: 12px;
    }

    .sic-footer .sic-footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding-top: 17px;
        padding-bottom: 17px;
    }
}

/* Small Mobile */

@media (max-width: 380px) {
    .sic-footer .sic-footer-main {
        column-gap: 15px;
    }

    .sic-footer .sic-footer-links h2,
    .sic-footer .sic-footer-contact > h2 {
        font-size: 20px;
    }

    .sic-footer .sic-footer-office {
        grid-template-columns: 95px minmax(0, 1fr);
    }

    .sic-footer .sic-office-tab {
        padding: 10px 7px;
        font-size: 11px;
    }

    .sic-footer .sic-footer-office-content {
        padding: 15px 10px;
    }

    .sic-footer .sic-footer-legal {
        gap: 6px;
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sic-footer *,
    .sic-footer *::before,
    .sic-footer *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* ===== SIC Property Enquiry Modal ===== */

.sic-modal-overlay,
.sic-modal-overlay * {
    box-sizing: border-box;
}

.sic-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(13, 38, 28, .35);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.sic-modal-overlay.sic-modal-active {
    opacity: 1;
    visibility: visible;
}

.sic-modal-card {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 27px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .2);
    transform: translateY(20px) scale(.98);
    transition: transform .3s ease;
    scrollbar-width: thin;
    scrollbar-color: #a1a1a1 transparent;
}

.sic-modal-active .sic-modal-card {
    transform: translateY(0) scale(1);
}

/* Header */

.sic-modal-header {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 20px;
    overflow: hidden;
    background: linear-gradient(115deg, #075536, #078747);
    color: #fff;
}

.sic-modal-header::after {
    position: absolute;
    top: -95px;
    right: -25px;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 50%;
    box-shadow: 0 0 0 24px rgba(255,255,255,.035),
                0 0 0 48px rgba(255,255,255,.025);
    content: "";
    pointer-events: none;
}

.sic-modal-header > div {
    position: relative;
    z-index: 1;
}

.sic-modal-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #c9f5d6;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.7px;
}

.sic-modal-header h2 {
    margin: 0 0 9px;
    color: #fff;
    font-family: inherit;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.25;
}

.sic-modal-header p {
    margin: 0;
    color: rgba(255, 255, 255, .9);
    font-size: 13px;
    line-height: 1.6;
}

.sic-modal-close {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #075536;
    font-size: 19px;
    cursor: pointer;
    transition: transform .25s ease, background .25s ease;
}

.sic-modal-close:hover {
    background: #e7f8eb;
    transform: rotate(90deg);
}

/* Form body */

.sic-modal-body {
    padding: 20px 30px 20px;
}

.sic-modal-body form {
    margin: 0;
}

.sic-modal-field {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 45px;
    margin-bottom: 10px;
    padding: 0 18px;
    border: 1px solid #dce9df;
    border-radius: 13px;
    background: #f5f8f5;
    transition: border-color .25s ease, box-shadow .25s ease,
                background .25s ease;
}

.sic-modal-field:focus-within {
    border-color: #138548;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(19, 133, 72, .09);
}

.sic-modal-field > i {
    width: 21px;
    flex: 0 0 21px;
    margin-right: 12px;
    color: #087d43;
    font-size: 16px;
    text-align: center;
}

.sic-modal-field input,
.sic-modal-field select {
    width: 100%;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    box-shadow: none;
    color: #263f31;
    font-family: inherit;
    font-size: 15px;
}

.sic-modal-field input::placeholder {
    color: #91a096;
    opacity: 1;
}

.sic-modal-field select {
    cursor: pointer;
    appearance: auto;
    -webkit-appearance: auto;
}

.sic-modal-field select:invalid {
    color: #65766a;
}

.sic-modal-field select option {
    color: #263f31;
    background: #fff;
}

/* Submit */

.sic-modal-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    min-height: 45px;
    margin: 3px 0 0;
    padding: 10px 20px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(110deg, #075d38, #07894a);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease;
}

.sic-modal-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 22px rgba(7, 121, 62, .2);
}

.sic-modal-submit i {
    transition: transform .25s ease;
}

.sic-modal-submit:hover i {
    transform: translateX(4px);
}

.sic-modal-submit:disabled {
    cursor: wait;
    opacity: .7;
}

.sic-modal-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 17px 0 0;
    color: #819087;
    font-size: 11px;
    text-align: center;
}

.sic-modal-privacy i {
    color: #087d43;
}

.sic-modal-message {
    margin: 8px 0 0;
    color: #087d43;
    font-size: 13px;
    text-align: center;
}

/* Mobile */

@media (max-width: 575.98px) {
    .sic-modal-overlay {
        align-items: center;
        padding: 12px;
    }

    .sic-modal-card {
        max-height: calc(100dvh - 24px);
        border-radius: 21px;
    }

    .sic-modal-header {
        padding: 22px 18px;
    }

    .sic-modal-header h2 {
        max-width: 270px;
        font-size: 23px;
    }

    .sic-modal-header p {
        max-width: 270px;
        font-size: 12px;
    }

    .sic-modal-close {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        font-size: 16px;
    }

    .sic-modal-body {
        padding: 21px 18px 22px;
    }

    .sic-modal-field {
        height: 55px;
        margin-bottom: 13px;
        padding: 0 13px;
        border-radius: 11px;
    }

    .sic-modal-field input,
    .sic-modal-field select {
        font-size: 14px;
    }

    .sic-modal-submit {
        min-height: 56px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sic-modal-overlay,
    .sic-modal-card,
    .sic-modal-close,
    .sic-modal-submit {
        transition: none;
    }
}
