/* ==========================================================================
   Corishta (Marathi) — QuickStart-adapted homepage styles
   --------------------------------------------------------------------------
   Bootstrap 5.3 handles layout, spacing, grids, typography and utilities.
   This file only covers the few design elements Bootstrap cannot express:
   the hero background overlay, the accent colour, the icon tiles, the
   section-title rule, and the Devanagari font rendering.
   ========================================================================== */

:root {
    /* QuickStart accent (teal-blue) reused as the brand accent colour */
    --mr-accent: #388da8;
    --mr-accent-dark: #2b7086;
    --mr-heading-color: #3e5055;
    --mr-default-color: #3d4348;
    --mr-background: #ffffff;
    --mr-surface: #ffffff;
    --mr-light-bg: #f8fbfc;
    --mr-border-soft: rgba(61, 67, 72, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans Devanagari", "Nirmala UI", "Mangal", "Kokila",
        system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--mr-default-color);
    background-color: var(--mr-background);
    /* Devanagari conjuncts and matras need a little more leading than Latin */
    line-height: 1.75;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand, .sitename {
    font-family: "Noto Sans Devanagari", "Nirmala UI", "Mangal", "Kokila",
        system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--mr-heading-color);
    line-height: 1.5;
}

a {
    text-decoration: none;
}

p {
    margin-bottom: 1rem;
}

/* ── Brand accent (Bootstrap utilities can't carry a custom brand token) ── */
.text-primary { color: var(--mr-accent) !important; }
.bg-primary { background-color: var(--mr-accent) !important; }
.btn-primary {
    --bs-btn-bg: var(--mr-accent);
    --bs-btn-border-color: var(--mr-accent);
    --bs-btn-hover-bg: var(--mr-accent-dark);
    --bs-btn-hover-border-color: var(--mr-accent-dark);
    --bs-btn-active-bg: var(--mr-accent-dark);
    --bs-btn-active-border-color: var(--mr-accent-dark);
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-color: #fff;
}
.btn-outline-primary {
    --bs-btn-color: var(--mr-accent);
    --bs-btn-border-color: var(--mr-accent);
    --bs-btn-hover-bg: var(--mr-accent);
    --bs-btn-hover-border-color: var(--mr-accent);
}

/* ── Fixed header ──────────────────────────────────────────────────────── */
.header {
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.08);
}

.header .navbar {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.header .nav-link {
    color: #313336;
    font-weight: 500;
    padding: 0.5rem 0.75rem !important;
    transition: color 0.3s ease;
}

.header .nav-link:hover,
.header .nav-link.active {
    color: var(--mr-accent);
}

.header .sitename {
    color: var(--mr-heading-color);
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    width: 100%;
    min-height: 70vh;
    padding: 170px 0 50px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--mr-light-bg);
}

.hero .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero .hero-bg img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Soft wash so the Devanagari headline stays readable over the photo */
.hero .hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(248, 251, 252, 0.82);
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero h1 {
    margin: 0;
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 700;
    line-height: 1.45;
}

.hero h1 span {
    color: var(--mr-accent);
}

.hero p {
    color: rgba(61, 67, 72, 0.7);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
}

.hero .btn-get-started {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.2px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.hero .btn-watch-video {
    font-size: 1rem;
    font-weight: 600;
    color: var(--mr-default-color);
    transition: color 0.3s ease;
}

.hero .btn-watch-video i {
    color: var(--mr-accent);
    font-size: 2rem;
    line-height: 0;
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

.hero .btn-watch-video:hover {
    color: var(--mr-accent);
}

.hero .btn-watch-video:hover i {
    transform: scale(1.1);
}

/* ── Page breadcrumb (standalone pages) ───────────────────────────────── */
/* The header is fixed, so the trail needs top padding to clear it. */
.page-breadcrumb {
    padding-top: 95px;
    padding-bottom: 0;
    overflow: visible;
}

.page-breadcrumb .breadcrumb {
    font-size: 0.875rem;
    margin-bottom: 0;
}

.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(61, 67, 72, 0.5);
}

.page-breadcrumb .breadcrumb-item a {
    color: var(--mr-accent);
    text-decoration: none;
}

.page-breadcrumb .breadcrumb-item a:hover {
    text-decoration: underline;
}

.page-breadcrumb .breadcrumb-item.active {
    color: rgba(61, 67, 72, 0.7);
}

/* The section right below the trail gets its rhythm back from the header. */
.page-breadcrumb + .about,
.page-breadcrumb + .section {
    padding-top: 45px;
}

/* ── Register / login popup ───────────────────────────────────────────── */
.mr-auth-modal-content {
    border: 0;
    border-radius: 1.25rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.mr-auth-modal-content .modal-body {
    padding: 0 1.5rem 0.5rem;
}

.mr-auth-modal-content .modal-footer {
    padding: 0.5rem 1.5rem 1.5rem;
}

.mr-auth-modal-content .nav-pills {
    background-color: var(--mr-light-bg);
    border-radius: 999px;
    padding: 4px;
}

.mr-auth-modal-content .nav-pills .nav-link {
    color: var(--mr-default-color);
    font-weight: 600;
    border-radius: 999px;
    padding: 0.5rem 0.75rem;
}

.mr-auth-modal-content .nav-pills .nav-link.active {
    background-color: var(--mr-accent);
    color: #fff;
}

.mr-auth-modal-content .input-group-text {
    border-color: #dee2e6;
    font-weight: 600;
}

/* ── Section rhythm ────────────────────────────────────────────────────── */
section,
.section {
    padding: 60px 0;
    scroll-margin-top: 100px;
    overflow: clip;
}

.light-background {
    background-color: var(--mr-light-bg);
}

.section-title {
    text-align: center;
    padding-bottom: 45px;
}

.section-title h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

/* The short accent rule under every section heading */
.section-title h2::after {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: var(--mr-accent);
    left: 0;
    right: 0;
    bottom: -12px;
    margin: auto;
}

.section-title p {
    margin-bottom: 0;
    max-width: 720px;
    margin-inline: auto;
}

/* ── Featured services (icon tiles) ────────────────────────────────────── */
.featured-services {
    padding: 40px 0;
}

.featured-services .service-item {
    position: relative;
    padding-top: 20px;
}

.featured-services .service-item .icon {
    background-color: rgba(56, 141, 168, 0.12);
    width: 72px;
    height: 72px;
    position: relative;
    margin-right: 15px;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

.featured-services .service-item .icon i {
    color: var(--mr-accent);
    font-size: 2rem;
    z-index: 2;
    position: relative;
}

.featured-services .service-item .title {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 1.125rem;
}

.featured-services .service-item .title a {
    color: var(--mr-heading-color);
}

.featured-services .service-item .title a:hover {
    color: var(--mr-accent);
}

.featured-services .service-item .description {
    font-size: 0.875rem;
    margin-bottom: 0;
}

.featured-services .service-item:hover .icon {
    background-color: var(--mr-accent);
}

.featured-features .service-item:hover .icon i,
.featured-services .service-item:hover .icon i {
    color: #fff;
}

/* ── About ─────────────────────────────────────────────────────────────── */
.about {
    padding-bottom: 20px;
}

.about .who-we-are {
    color: var(--mr-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.about .content h3 {
    font-size: clamp(1.4rem, 2.6vw, 1.75rem);
    margin-bottom: 1rem;
}

.about .read-more {
    color: var(--mr-accent);
    transition: gap 0.3s ease;
}

.about .read-more:hover {
    gap: 12px;
}

/* ── Features (tabs) ───────────────────────────────────────────────────── */
.features .nav-tabs {
    border: 0;
    gap: 15px;
}

.features .nav-item {
    width: 100%;
    margin-bottom: 0;
}

.features .nav-link {
    color: var(--mr-heading-color);
    border: 0;
    padding: 25px;
    transition: 0.3s;
    border-radius: 10px;
    display: flex;
    cursor: pointer;
    align-items: flex-start;
}

.features .nav-link i {
    background-color: var(--mr-surface);
    color: var(--mr-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    width: 48px;
    height: 48px;
    font-size: 1.35rem;
    flex-shrink: 0;
    border-radius: 50px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.features .nav-link h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    transition: 0.3s;
}

.features .nav-link p {
    font-size: 0.95rem;
    margin: 0;
}

.features .nav-link:hover,
.features .nav-link.active {
    background: rgba(56, 141, 168, 0.05);
    color: var(--mr-default-color);
}

/* ── Features details ──────────────────────────────────────────────────── */
.features-details .features-item .content {
    background-color: rgba(56, 141, 168, 0.05);
    color: rgba(61, 67, 72, 0.65);
    padding: 30px;
    border-radius: 10px;
}

.features-details .features-item h3 {
    font-weight: 700;
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.features-details .features-item .more-btn {
    background-color: var(--mr-accent);
    color: #fff;
    padding: 6px 30px;
    border-radius: 6px;
}

.features-details .features-item .more-btn:hover {
    background-color: var(--mr-accent-dark);
    color: #fff;
}

/* ── Services ──────────────────────────────────────────────────────────── */
.services .service-item {
    background-color: var(--mr-surface);
    border: 1px solid var(--mr-border-soft);
    height: 100%;
    padding: 30px;
    transition: 0.3s;
    border-radius: 10px;
    display: flex;
}

.services .service-item .icon {
    font-size: 2rem;
    border-radius: 10px;
    position: relative;
    margin-right: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}

.services .service-item h3 {
    font-weight: 700;
    font-size: 1.35rem;
    transition: 0.3s;
    margin-bottom: 0.5rem;
}

.services .service-item p {
    margin-bottom: 0;
    color: rgba(61, 67, 72, 0.65);
    transition: 0.3s;
    font-size: 0.95rem;
}

.services .service-item .read-more {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    transition: 0.3s;
    font-size: 0.875rem;
    color: var(--mr-accent);
    font-weight: 600;
}

.services .service-item .read-more i {
    margin-left: 10px;
}

/* Per-item accent colours, as in the QuickStart reference */
.services .service-item.item-cyan .icon   { color: #0dcaf0; border: 1px solid #0dcaf0; background: rgba(13, 202, 240, 0.1); }
.services .service-item.item-orange .icon { color: #fd7e14; border: 1px solid #fd7e14; background: rgba(253, 126, 20, 0.1); }
.services .service-item.item-teal .icon   { color: #20c997; border: 1px solid #20c997; background: rgba(32, 201, 151, 0.1); }
.services .service-item.item-red .icon    { color: #df1529; border: 1px solid #df1529; background: rgba(223, 21, 41, 0.1); }
.services .service-item.item-indigo .icon { color: #6610f2; border: 1px solid #6610f2; background: rgba(102, 16, 242, 0.1); }
.services .service-item.item-pink .icon   { color: #f3268c; border: 1px solid #f3268c; background: rgba(243, 38, 140, 0.1); }

.services .service-item:hover {
    box-shadow: 0 2px 25px rgba(0, 0, 0, 0.1);
}

.services .service-item:hover h3 {
    color: var(--mr-heading-color);
}

.services .service-item:hover p {
    color: rgba(61, 67, 72, 0.9);
}

/* ── More features ─────────────────────────────────────────────────────── */
.more-features .features-image {
    position: relative;
    min-height: 400px;
}

.more-features .features-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.more-features h3 {
    font-size: clamp(1.4rem, 2.6vw, 1.75rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.more-features .icon-box {
    margin-top: 10px;
}

.more-features .icon-box i {
    color: var(--mr-accent);
    margin-right: 15px;
    font-size: 1.5rem;
    line-height: 1.2;
}

.more-features .icon-box h4 {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 1.125rem;
}

.more-features .icon-box p {
    line-height: 1.7;
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* ── Pricing ───────────────────────────────────────────────────────────── */
.pricing .pricing-item {
    background-color: rgba(56, 141, 168, 0.04);
    padding: 40px;
    height: 100%;
    border-radius: 15px;
    position: relative;
}

.pricing h3 {
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.pricing h4 {
    color: var(--mr-accent);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.2;
}

.pricing h4 sup {
    font-size: 1.75rem;
}

.pricing h4 span {
    color: rgba(61, 67, 72, 0.5);
    font-size: 1.1rem;
    font-weight: 500;
}

.pricing .description {
    font-size: 0.875rem;
}

.pricing .cta-btn {
    border: 1px solid var(--mr-default-color);
    color: var(--mr-default-color);
    display: block;
    text-align: center;
    padding: 10px 35px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    transition: 0.3s;
    margin-top: 20px;
    margin-bottom: 6px;
}

.pricing .cta-btn:hover {
    background: var(--mr-accent);
    color: #fff;
    border-color: var(--mr-accent);
}

.pricing ul {
    padding: 0;
    list-style: none;
    color: rgba(61, 67, 72, 0.7);
    text-align: left;
    line-height: 20px;
    font-size: 0.9rem;
}

.pricing ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.pricing ul li:last-child {
    padding-bottom: 0;
}

.pricing ul i {
    color: #059652;
    font-size: 1.35rem;
    padding-right: 3px;
}

.pricing ul .na {
    color: rgba(61, 67, 72, 0.4);
}

.pricing ul .na i {
    color: rgba(61, 67, 72, 0.4);
}

.pricing ul .na span {
    text-decoration: line-through;
}

.pricing .featured {
    position: relative;
}

.pricing .featured .popular {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--mr-accent);
    color: #fff;
    padding: 4px 15px 6px 15px;
    margin: 0;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 500;
}

.pricing .featured .cta-btn {
    background: var(--mr-accent);
    color: #fff;
    border-color: var(--mr-accent);
}

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq .section-title {
    padding-bottom: 20px;
}

.faq .accordion-item {
    border: 1px solid var(--mr-border-soft);
    border-radius: 8px !important;
    background-color: var(--mr-surface);
}

.faq .accordion-button {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--mr-heading-color);
    padding: 1.15rem 1.25rem;
}

.faq .accordion-button:not(.collapsed) {
    color: var(--mr-accent);
    background-color: rgba(56, 141, 168, 0.03);
    box-shadow: none;
}

.faq .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(56, 141, 168, 0.18);
    border-color: var(--mr-accent);
}

.faq .accordion-button::after {
    background-size: 1rem;
    transition: transform 0.3s ease;
}

.faq .accordion-body {
    color: rgba(61, 67, 72, 0.75);
    font-size: 0.95rem;
    padding: 0 1.25rem 1.25rem;
}

/* ── Matrimony pages (hub / city / religion) ───────────────────────────── */
.matrimony-page .breadcrumb {
    font-size: 0.875rem;
}

.matrimony-page .breadcrumb-item a {
    color: var(--mr-accent);
    text-decoration: none;
}

.matrimony-page .breadcrumb-item.active {
    color: rgba(61, 67, 72, 0.7);
}

.matrimony-page .profile-card {
    background-color: var(--mr-surface);
    border: 1px solid var(--mr-border-soft);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
}

.matrimony-page .profile-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.matrimony-page .profile-card-body {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.matrimony-page .profile-card-body h3 {
    color: var(--mr-heading-color);
}

/* ── Contact ───────────────────────────────────────────────────────────── */
.contact .info-item {
    background-color: var(--mr-surface);
    padding: 20px 0 30px 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.07);
}

.contact .info-item i {
    color: var(--mr-accent);
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
    border-radius: 50%;
    border: 2px dotted rgba(56, 141, 168, 0.6);
}

.contact .info-item h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 10px 0;
}

.contact .info-item p {
    padding: 0;
    margin-bottom: 0;
    font-size: 0.875rem;
}

.contact .form-control,
.contact .form-select {
    border-radius: 6px;
    border-color: var(--mr-border-soft);
    padding: 0.6rem 0.9rem;
    font-size: 0.95rem;
}

.contact .form-control:focus {
    border-color: var(--mr-accent);
    box-shadow: 0 0 0 0.2rem rgba(56, 141, 168, 0.15);
}

.contact .form-label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--mr-heading-color);
}

/* ── Brand promo (app download) ───────────────────────────────────────── */
.brand-promo {
    border-radius: 16px;
    padding: 30px 16px 0;
    text-align: center;
    margin: 40px auto 0;
    max-width: 1200px;
    overflow: hidden;
}

.brand-promo .promo-label {
    font-size: 1.05rem;
    color: #212529;
    margin-bottom: 16px;
    font-weight: 500;
}

.brand-promo .app-cta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    justify-content: center;
    margin-bottom: 36px;
}

.brand-promo .app-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem .75rem;
    border-radius: .7rem;
    text-decoration: none;
    border: 1px solid #d0d6de;
    color: #101418;
    background: #fff;
    font-weight: 500;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.brand-promo .app-btn:hover {
    border-color: var(--mr-accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.brand-promo .app-btn img {
    width: 1.25rem;
    height: 1.25rem;
    min-width: 1.25rem;
    display: inline-block;
    flex-shrink: 0;
    object-fit: contain;
}

.brand-promo .big-name {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(5.5rem, 18vw, 13rem);
    font-weight: 900;
    background: linear-gradient(180deg, #1a1a1a 0%, #1a1a1a 35%, rgba(26, 26, 26, 0.05) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.04em;
    line-height: 0.85;
    margin: 0;
    padding: 0 0 0.1em;
    user-select: none;
}

/* ── Policy pages ──────────────────────────────────────────────────────── */
.policy .policy-content h1 {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.policy .policy-content h2 {
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
    font-weight: 700;
    margin-top: 2.25rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e7ecec;
}

.policy .policy-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
}

.policy .policy-content p {
    color: rgba(61, 67, 72, 0.85);
    margin-bottom: 1rem;
}

.policy .policy-content ul {
    padding-left: 1.25rem;
    margin-bottom: 1.25rem;
}

.policy .policy-content li {
    color: rgba(61, 67, 72, 0.85);
    margin-bottom: 0.5rem;
}

.policy .policy-content strong {
    color: var(--mr-heading-color);
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer {
    background-color: #22282c;
    color: #c5cbd0;
    padding: 50px 0 0;
}

.footer h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.footer .footer-about p {
    font-size: 0.9rem;
    margin-bottom: 6px;
}

/* The brand wordmark is dark, so lighten it for the dark footer band */
.footer .footer-logo {
    filter: brightness(0) invert(1);
}

.footer .footer-links ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer .footer-links ul li {
    padding: 6px 0;
}

.footer .footer-links ul a {
    color: #c5cbd0;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer .footer-links ul a:hover {
    color: var(--mr-accent);
}

.footer .footer-contact a {
    color: #c5cbd0;
}

.footer .footer-contact a:hover {
    color: var(--mr-accent);
}

.footer .social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.footer .social-links a:hover {
    background-color: var(--mr-accent);
    color: #fff;
}

.footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    font-size: 0.875rem;
}

.footer .copyright p {
    margin-bottom: 4px;
}

.footer .credits {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
}

/* ── Scroll to top ─────────────────────────────────────────────────────── */
.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1030;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--mr-accent);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.scroll-top i {
    font-size: 1.6rem;
    line-height: 1;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--mr-accent-dark);
    color: #fff;
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1199px) {
    section, .section {
        scroll-margin-top: 78px;
    }

    .hero {
        padding: 140px 0 40px;
    }
}

@media (max-width: 991px) {
    .header .navbar {
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
    }

    .header .navbar-collapse {
        background-color: #fff;
        margin-top: 0.6rem;
        padding: 0.75rem 1rem;
        border-radius: 10px;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    }

    .header .nav-link {
        padding: 0.6rem 0 !important;
    }

    .pricing .pricing-item {
        padding: 30px;
    }

    .contact .info-item {
        padding: 25px 20px;
    }
}

@media (max-width: 767px) {
    section, .section {
        padding: 45px 0;
    }

    /* The header is taller on small screens, so the trail needs more room. */
    .page-breadcrumb {
        padding-top: 120px;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 35px;
    }

    .hero .btn-watch-video {
        justify-content: center;
    }

    .section-title {
        padding-bottom: 32px;
    }

    .services .service-item .icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
        margin-right: 15px;
    }

    .features .nav-link {
        padding: 18px;
    }

    .features .nav-link i {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
        margin-right: 14px;
    }
}

@media (max-width: 575px) {
    .pricing .pricing-item {
        padding: 24px 20px;
    }

    .featured-services .service-item .icon {
        width: 60px;
        height: 60px;
    }

    .featured-services .service-item .icon i {
        font-size: 1.6rem;
    }

    .scroll-top {
        right: 12px;
        bottom: 12px;
        width: 40px;
        height: 40px;
    }
}

/* ── Accessibility ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}
