/* =============================================
   ROOTS & TOKENS
   ============================================= */
:root {
    --c-primary: #0F766E;
    --c-primary-d: #0a5c56;
    --c-secondary: #059669;
    --c-accent: #F97316;
    --c-accent-d: #ea6c0a;
    --c-gold: #FACC15;
    --c-bg: #F8FAF5;
    --c-surface: #ffffff;
    --c-text: #1F2937;
    --c-text-soft: #6B7280;
    --c-border: #e5e7eb;
    --c-dark: #111827;
    --f-head: "Inter", "Montserrat", sans-serif;
    --f-body: "Inter", "Open Sans", sans-serif;
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-md: 1.125rem;
    --fs-lg: 1.375rem;
    --fs-xl: 1.75rem;
    --fs-2xl: 2.25rem;
    --fs-3xl: clamp(2rem, 5vw, 3.25rem);
    --radius: 3px;
    --radius-lg: 16px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --gap: 1.5rem;
    --gap-lg: 3rem;
    --nav-h: 45px;
    --top-h: 44px;
    --trans: 0.28s ease;
}

/* =============================================
   RESET & BASE
   ============================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--f-body);
    font-size: var(--fs-md);
    line-height: 1.75;
    color: var(--c-text);
    background: var(--c-bg);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--c-primary);
    text-decoration: none;
    transition: color var(--trans);
}

a:hover {
    color: var(--c-accent);
}

ul,
ol {
    list-style: none;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--f-head);
    font-weight: 700;
    line-height: 1.25;
    color: var(--c-text);
}

h1 {
    font-size: var(--fs-3xl);
}

h2 {
    font-size: var(--fs-2xl);
}

h3 {
    font-size: var(--fs-xl);
}

h4 {
    font-size: var(--fs-lg);
}

h5 {
    font-size: var(--fs-md);
}

p {
    color: var(--c-text-soft);
    margin-bottom: 1rem;
    line-height: 1.8;
}

p:last-child {
    margin-bottom: 0;
}

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

.section {
    padding-block: 5rem;
}

.section-sm {
    padding-block: 3rem;
}

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

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

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

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.flex-gap {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-justify {
    text-align: justify;
}

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

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: .5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.text-primary {
    color: var(--c-primary) !important;
}

.text-accent {
    color: var(--c-accent) !important;
}

.text-soft {
    color: var(--c-text-soft) !important;
}

.text-white {
    color: #fff !important;
}

.bg-surface {
    background: var(--c-surface);
}

.bg-bg {
    background: var(--c-bg);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1.5rem;
    font-family: var(--f-head);
    font-weight: 600;
    font-size: var(--fs-sm);
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: background var(--trans), color var(--trans), border-color var(--trans);
    white-space: nowrap;
}

.btn-primary {
    background: var(--c-primary);
    color: #fff;
    border-color: var(--c-primary);
}

.btn-primary:hover {
    background: var(--c-primary-d);
    border-color: var(--c-primary-d);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--c-primary);
    border-color: var(--c-primary);
}

.btn-outline:hover {
    background: var(--c-primary);
    color: #fff;
}

.btn-accent {
    background: var(--c-accent);
    color: #fff;
    border-color: var(--c-accent);
}

.btn-accent:hover {
    background: var(--c-accent-d);
    border-color: var(--c-accent-d);
    color: #fff;
}

.btn-ghost {
    background: transparent;
    color: var(--c-text-soft);
    border-color: var(--c-border);
}

.btn-ghost:hover {
    border-color: var(--c-primary);
    color: var(--c-primary);
}

/* =============================================
   PRELOADER
   ============================================= */
#preloader {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .6s ease, visibility .6s ease;
}

#preloader.hide {
    opacity: 0;
    visibility: hidden;
}

#preloader span {
    font-family: var(--f-head);
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--c-primary);
    letter-spacing: .15em;
}

/* =============================================
   TOP BAR
   ============================================= */
#topbar {
    height: var(--top-h);
    background: #fff;
    border-bottom: 1px solid var(--c-border);
    display: flex;
    align-items: center;
}

#topbar .tb-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    width: 100%;
}

#topbar .tb-item {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: var(--fs-sm);
    color: var(--c-text-soft);
}

#topbar .tb-item svg {
    flex-shrink: 0;
}

#topbar .tb-socials {
    display: flex;
    gap: .5rem;
}

#topbar .tb-socials a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--c-border);
    color: var(--c-text-soft);
    transition: border-color var(--trans), color var(--trans);
}

#topbar .tb-socials a:hover {
    border-color: var(--c-primary);
    color: var(--c-primary);
}

/* =============================================
   NAVBAR
   ============================================= */
#navbar {
    position: sticky;
    top: 0;
    z-index: 900;
    background: #fff;
    border-bottom: 1px solid var(--c-border);
    height: var(--nav-h);
    display: flex;
    align-items: center;
    transition:
        background var(--trans),
        backdrop-filter var(--trans),
        box-shadow var(--trans),
        border-color var(--trans);
}

#navbar.scrolled::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.35),
            rgba(255, 255, 255, 0.08));
    pointer-events: none;
    z-index: -1;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    position: sticky;
}

#navbar .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-brand {
    font-family: var(--f-head);
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--c-text);
    letter-spacing: .02em;
}

.nav-brand:hover {
    color: var(--c-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: .25rem;
}

.nav-links a,
.nav-links .nav-drop>button {
    font-family: var(--f-head);
    font-size: var(--fs-sm);
    /* font-weight: 600; */
    color: var(--c-dark);
    padding: .1 .75rem;
    border-radius: var(--radius);
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--trans), background var(--trans);
    display: flex;
    align-items: center;
    gap: .3rem;
}

.nav-links a:hover,
.nav-links .nav-drop>button:hover {
    color: var(--c-primary);
}

/* dropdown */
.nav-drop {
    position: relative;
}

.nav-drop .drop-menu {
    z-index: 999;
    position: absolute;
    top: calc(100% + .5rem);
    left: 0;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 170px;
    padding: .4rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity var(--trans), transform var(--trans), visibility var(--trans);
}

.nav-drop:hover .drop-menu,
.nav-drop:focus-within .drop-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.drop-menu a {
    display: block;
    padding: .55rem 1rem;
    font-size: var(--fs-sm);
    color: var(--c-text-soft);
    background: none;
    border-radius: 0;
}

.drop-menu a:hover {
    color: var(--c-primary);
    background: rgba(15, 118, 110, .05);
}

/* hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: .4rem;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--c-text);
    border-radius: 2px;
    transition: transform var(--trans), opacity var(--trans);
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* mobile menu */
#mobile-menu {
    display: none;
    position: fixed;
    top: calc(var(--top-h) + var(--nav-h));
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--c-border);
    padding: 1rem 1.5rem 1.5rem;
    z-index: 890;
    flex-direction: column;
    gap: .25rem;
    box-shadow: var(--shadow);
}

#mobile-menu.open {
    display: flex;
}

#mobile-menu a,
#mobile-menu .mob-drop-toggle {
    font-family: var(--f-head);
    font-weight: 600;
    font-size: var(--fs-base);
    color: var(--c-text);
    padding: .65rem 0;
    border-bottom: 1px solid var(--c-border);
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

#mobile-menu a:last-child {
    border-bottom: none;
}

#mobile-menu .mob-sub {
    padding-left: 1rem;
    display: none;
    flex-direction: column;
}

#mobile-menu .mob-sub.open {
    display: flex;
}

#mobile-menu .mob-sub a {
    font-size: var(--fs-sm);
    color: var(--c-text-soft);
    border-bottom: none;
    padding: .35rem 0;
}

#mobile-menu .btn {
    margin-top: .75rem;
    align-self: flex-start;
}

/* =============================================
   BANNERS
   ============================================= */
/* Index banner — taller */
.banner-index {
    position: relative;
    width: 100%;
    max-height: 88vh;
    overflow: hidden;
}

.banner-index img {
    width: 100%;
    height: 88vh;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Inner page banner — shorter */
.banner-page {
    position: relative;
    background: var(--c-dark);
    overflow: hidden;
    padding-block: 5rem 4rem;
}

.banner-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(15, 118, 110, .55) 0%, rgba(0, 0, 0, .45) 100%);
}

.banner-page .banner-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.banner-page h1 {
    color: #fff;
    font-size: var(--fs-2xl);
    margin-bottom: .5rem;
}

.banner-page .breadcrumb {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, .7);
}

.banner-page .breadcrumb a {
    color: rgba(255, 255, 255, .7);
}

.banner-page .breadcrumb a:hover {
    color: #fff;
}

.banner-page .breadcrumb span.sep {
    opacity: .5;
}

/* optional overlay caption on index banner */
.banner-caption {
    position: absolute;
    bottom: 2.5rem;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2;
    pointer-events: none;
}

.banner-caption p {
    display: inline-block;
    font-family: var(--f-head);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: #fff;
    background: rgba(0, 0, 0, .35);
    padding: .5rem 1.5rem;
    border-radius: var(--radius);
    letter-spacing: .04em;
    margin: 0;
}

/* =============================================
   CARDS
   ============================================= */
.card {
    background: var(--c-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--trans), transform var(--trans);
}

.card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.card-body {
    padding: 1.5rem;
}

.card-body h4 {
    margin-bottom: .5rem;
}

/* service card (what vishwas does) */
.svc-card {
    display: flex;
    flex-direction: column;
}

.svc-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.svc-card .svc-body {
    padding: 1.25rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.svc-card h4 {
    font-size: var(--fs-base);
    font-weight: 700;
    margin-bottom: .35rem;
    color: var(--c-primary);
}

.svc-card p {
    font-size: var(--fs-sm);
    flex: 1;
}

.svc-card .btn {
    align-self: flex-start;
    margin-top: .75rem;
}

/* =============================================
   SECTION HEADING
   ============================================= */
.sec-head {
    margin-bottom: 2.5rem;
}

.sec-head h2 {
    font-size: var(--fs-2xl);
    color: var(--c-text);
}

.sec-head p {
    max-width: 540px;
}

.sec-head.full-sec p {
    max-width: 100%;
}

.sec-head.center {
    text-align: center;
}

.sec-head.center p {
    margin-inline: auto;
}

.sec-label {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--c-primary);
    margin-bottom: .5rem;
}

/* =============================================
   DIVIDER / ACCENT LINE
   ============================================= */
.divider {
    width: 48px;
    height: 3px;
    background: var(--c-accent);
    border-radius: 2px;
    margin-bottom: 1rem;
}

.sec-head.center .divider {
    margin-inline: auto;
}

/* =========================================================
   CONTACT FORM + NEWSLETTER
   ========================================================= */
#contact-form .sec-head {
    margin-bottom: 2rem;
}

#contact-form .sec-head p {
    max-width: 680px;
    margin-inline: auto;
}

/* =========================================================
   CONTACT CARD
   ========================================================= */
.contact-card {
    position: relative;
    padding: 2.5rem;
    border: 1px solid rgba(15, 118, 110, 0.08);
    border-radius: 24px;
    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.98),
            rgba(255, 255, 255, 0.95));
    box-shadow:
        0 10px 35px rgba(15, 23, 42, 0.05),
        0 2px 10px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.contact-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right,
            rgba(15, 118, 110, 0.06),
            transparent 32%);
    pointer-events: none;
}

/* =========================================================
   FORM GRID
   ========================================================= */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
    position: relative;
    z-index: 2;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    grid-column: 1 / -1;
}

/* =========================================================
   LABELS
   ========================================================= */
.form-group label {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 0.55rem;
    letter-spacing: 0.01em;
}

/* =========================================================
   INPUTS / SELECT / TEXTAREA
   ========================================================= */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid #dbe4ea;
    background: #fff;
    color: var(--c-text);
    border-radius: 14px;
    padding: 0 1rem;
    font-size: 0.96rem;
    font-family: var(--f-body);
    transition:
        border-color var(--trans),
        box-shadow var(--trans),
        transform var(--trans),
        background var(--trans);
}

/* input height */
.form-group input,
.form-group select {
    height: 56px;
}

/* textarea */
.form-group textarea {
    min-height: 170px;
    padding: 1rem;
    resize: vertical;
    line-height: 1.7;
}

/* placeholders */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9aa5b1;
    opacity: 1;
}

/* hover */
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #c7d3db;
}

/* focus */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--c-primary);
    background: #fff;
    transform: translateY(-1px);
    box-shadow:
        0 0 0 4px rgba(15, 118, 110, 0.10),
        0 12px 24px rgba(15, 118, 110, 0.08);
}

/* =========================================================
   SELECT CUSTOM ARROW
   ========================================================= */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 3rem;
    background-image:
        linear-gradient(45deg, transparent 50%, #64748b 50%),
        linear-gradient(135deg, #64748b 50%, transparent 50%);
    background-position:
        calc(100% - 22px) 24px,
        calc(100% - 16px) 24px;
    background-size: 6px 6px;
    background-repeat: no-repeat;
}

/* =========================================================
   AUTOFILL FIX
   ========================================================= */
.form-group input:-webkit-autofill,
.form-group textarea:-webkit-autofill,
.form-group select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #fff inset;
    -webkit-text-fill-color: var(--c-text);
}

/* =========================================================
   SUBMIT BUTTON
   ========================================================= */
.form-submit {
    grid-column: 1 / -1;
    margin-top: 0.25rem;
}

.form-submit .btn {
    min-width: 220px;
    justify-content: center;
    padding: 0.95rem 1.6rem;
    border-radius: 14px;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    box-shadow:
        0 10px 24px rgba(15, 118, 110, 0.18);
}

.form-submit .btn:hover {
    transform: translateY(-2px);
}

/* =========================================================
   NEWSLETTER SECTION
   ========================================================= */
.newsletter-box {
    position: relative;
    overflow: hidden;
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(15, 118, 110, 0.08);
    background:
        linear-gradient(135deg,
            rgba(15, 118, 110, 0.05),
            rgba(249, 115, 22, 0.05));
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
}

.newsletter-box::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    top: -120px;
    right: -120px;
    border-radius: 50%;
    background: rgba(15, 118, 110, 0.06);
    pointer-events: none;
}

.newsletter-content {
    position: relative;
    z-index: 2;
}

.newsletter-content h3 {
    margin-bottom: 0.75rem;
}

.newsletter-content p {
    max-width: 480px;
    line-height: 1.8;
}

/* newsletter form */
.newsletter-form-wrap {
    position: relative;
    z-index: 2;
}

.newsletter-form-wrap form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* newsletter button */
.newsletter-form-wrap .btn {
    width: 100%;
    min-height: 56px;
    border-radius: 14px;
    justify-content: center;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    box-shadow:
        0 10px 24px rgba(249, 115, 22, 0.16);
}

/* =============================================
   FOOTER
   ============================================= */
#footer {
    background: #f1f5f2;
    border-top: 1px solid var(--c-border);
    padding-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 2fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-col h5 {
    font-family: var(--f-head);
    font-size: var(--fs-sm);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--c-text);
    margin-bottom: 1.25rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: .85rem;
    font-size: var(--fs-sm);
    color: var(--c-text-soft);
}

/* icon widths */

.footer-contact-item img {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    object-fit: contain;
}

.footer-socials img {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    object-fit: contain;
}

.hero-socials img {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    object-fit: contain;
}

.ci-icon img {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    object-fit: contain;
}

.footer-contact-item svg {
    flex-shrink: 0;
    margin-top: .15rem;
}

.footer-socials {
    display: flex;
    gap: .5rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    border: 1px solid var(--c-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-text-soft);
    transition: border-color var(--trans), color var(--trans), background var(--trans);
}

.footer-socials a:hover {
    border-color: var(--c-primary);
    color: var(--c-primary);
    background: rgba(15, 118, 110, .06);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: var(--fs-sm);
    color: var(--c-text-soft);
}

.footer-links a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-primary-d);
    flex-shrink: 0;
}

.footer-links a:hover {
    color: var(--c-primary);
}

.footer-about p {
    font-size: var(--fs-sm);
    line-height: 1.75;
}

.footer-bottom {
    background: var(--c-dark);
    padding-block: 1.1rem;
    margin-top: 0;
}

.footer-bottom .fb-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, .55);
}

.footer-bottom a {
    color: rgba(255, 255, 255, .55);
}

.footer-bottom a:hover {
    color: #fff;
}

.footer-bottom strong {
    color: rgba(255, 255, 255, .8);
}

/* =============================================
   BACK TO TOP
   ============================================= */
#back-top {
    position: fixed;
    bottom: 2rem;
    right: 1.75rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--c-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--trans), visibility var(--trans), background var(--trans);
    z-index: 800;
    border: none;
    cursor: pointer;
}

#back-top.show {
    opacity: 1;
    visibility: visible;
}

#back-top:hover {
    background: var(--c-primary-d);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-col:last-child {
        grid-column: 1 / -1;
    }

    /* contact form  */
    .newsletter-box {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (min-width: 769px) {
    #navbar .nav-brand {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-h: 60px;
        --top-h: 0px;
    }

    #topbar {
        display: none;
    }

    .nav-links,
    #navbar .btn {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .banner-index img {
        height: 60vh;
    }

    .banner-index {
        max-height: 60vh;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-col:last-child {
        grid-column: auto;
    }

    .section {
        padding-block: 3rem;
    }

    .section-sm {
        padding-block: 2rem;
    }

    h2 {
        font-size: var(--fs-xl);
    }

    h1 {
        font-size: var(--fs-2xl);
    }

    /* contact form  */
    .contact-card,
    .newsletter-box {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-group.full {
        grid-column: auto;
    }

    .form-group input,
    .form-group select {
        height: 54px;
    }

    .form-group textarea {
        min-height: 140px;
    }

    .form-submit .btn,
    .newsletter-form-wrap .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding-inline: 1rem;
    }

    .banner-caption p {
        font-size: .95rem;
        padding: .4rem 1rem;
    }

    .footer-bottom .fb-inner {
        flex-direction: column;
        text-align: center;
    }

    /* contact form  */
    .contact-card,
    .newsletter-box {
        padding: 1.2rem;
    }

    .form-group label {
        font-size: 0.88rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
    }
}