/********** MICE Website CSS **********/
:root {
    --primary: #0d6efd;
    --secondary: #6ea8fe;
    --light: #F4F6F8;
    --dark: #040F28;
    --muted: #6c757d;
    --border: #dbe4f0;
    --surface: #FFFFFF;
    --surface-soft: #f8fbff;
    --shadow-sm: 0 12px 30px rgba(4, 15, 40, .06);
    --shadow-md: 0 20px 48px rgba(4, 15, 40, .1);
    --radius: 8px;
}

.py-6 {
    padding-top: 90px;
    padding-bottom: 90px;
}

.pb-6 {
    padding-bottom: 90px;
}

body {
    line-height: 1.65;
    scroll-behavior: smooth;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #243044;
    background: #FFFFFF;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: 0;
    color: var(--dark);
}

p {
    color: #4f5d70;
}

img {
    max-width: 100%;
}

.lucide-holder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    line-height: 1;
    min-width: 1em;
    font-size: 1.1em;
}

.lucide {
    width: 1em;
    height: 1em;
    stroke-width: 2.1;
}

.icon-xl {
    font-size: 3rem;
}

.top-contact {
    background: linear-gradient(90deg, #FFFFFF 0%, #f7fbff 58%, #eef6ff 100%);
    color: #273449;
    border-bottom: 1px solid var(--border);
}

.top-contact .col-lg-4 {
    position: relative;
}

.top-contact .col-lg-4::before {
    position: absolute;
    content: "";
    width: 4px;
    height: 46px;
    left: 22px;
    top: 50%;
    background: var(--primary);
    transform: translateY(-50%);
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #FFFFFF;
    text-decoration: none;
}

.brand-symbol {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--primary), #15a36f);
    border: 2px solid rgba(255, 255, 255, .2);
    box-shadow: 0 14px 30px rgba(13, 110, 253, .25);
    font-family: Georgia, serif;
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: var(--radius);
}

.brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-text strong {
    color: var(--primary);
    font-size: 2rem;
    line-height: 1;
    letter-spacing: .08em;
}

.brand-text small {
    max-width: 245px;
    margin-top: 4px;
    color: var(--primary);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.25;
    text-transform: uppercase;
}

.brand-lockup-footer .brand-text small {
    color: var(--primary);
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: transform .25s ease, box-shadow .25s ease, color .25s ease, background-color .25s ease, border-color .25s ease;
}

.btn::after {
    position: absolute;
    content: "";
    width: 0;
    height: 5px;
    bottom: -1px;
    left: 50%;
    background: var(--primary);
    transition: .5s;
}

.btn.btn-primary::after {
    background: var(--dark);
}

.btn:hover::after,
.btn.active::after {
    width: 50%;
    left: 25%;
}

.btn:hover,
.btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(4, 15, 40, .18);
}

.btn-primary {
    color: #FFFFFF;
}

.btn-primary,
.btn-primary:focus,
.btn-primary:hover,
.btn-primary:active {
    color: #FFFFFF;
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-lg-square {
    width: 46px;
    height: 46px;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    left: 50%;
    bottom: 0;
    margin-left: -22px;
    border-radius: 0;
    z-index: 99;
}

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 14px 30px rgba(4, 15, 40, .25);
    z-index: 100;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
    color: #FFFFFF;
    background: #1ebe5d;
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(4, 15, 40, .3);
}

.whatsapp-float i {
    font-size: 30px;
}

.bg-light-radial {
    background-color: var(--dark);
    background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
    background-size: 3px 3px;
}

.navbar-dark .navbar-nav .nav-link {
    position: relative;
    padding: 35px 15px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--light);
    outline: none;
    transition: color .25s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-dark .navbar-nav .nav-link::after {
    position: absolute;
    content: "";
    left: 15px;
    right: 15px;
    bottom: 26px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
}

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(4, 15, 40, .82), rgba(4, 15, 40, .66) 48%, rgba(4, 15, 40, .42));
    z-index: 1;
}

.carousel-caption > .p-3 {
    width: min(1000px, calc(100% - 96px));
    margin-right: auto;
    margin-left: 64px;
    padding-left: 30px !important;
    border-left: 6px solid var(--primary);
    text-align: left;
}

.carousel-caption p {
    max-width: 760px;
}

.carousel-caption .hero-badge,
.carousel-caption h1,
.carousel-caption p,
.carousel-caption .btn {
    animation: heroReveal .75s ease both;
}

.carousel-caption h1 { animation-delay: .1s; }
.carousel-caption p { animation-delay: .2s; }
.carousel-caption .btn { animation-delay: .3s; }

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .carousel-caption h1 {
        font-size: 2rem;
        font-weight: 600 !important;
        line-height: 1.18;
        margin-bottom: 1rem !important;
    }

    .carousel-caption p {
        font-size: 1rem !important;
        line-height: 1.45;
    }

    .carousel-caption .btn {
        width: 100%;
        max-width: 260px;
        margin-right: 0 !important;
    }

    .hero-badge {
        font-size: .78rem;
        line-height: 1.4;
    }
}

.page-header {
    height: 260px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-right: 8%;
    padding-left: 8%;
    background: linear-gradient(90deg, rgba(4, 15, 40, .92), rgba(4, 15, 40, .74) 54%, rgba(4, 15, 40, .38)), url(../img/mice-hero.png) center center no-repeat;
    background-size: cover;
}

.page-header h1 {
    position: relative;
    padding-left: 22px;
}

.page-header h1::before {
    position: absolute;
    content: "";
    width: 7px;
    height: 72%;
    left: 0;
    top: 14%;
    background: var(--primary);
}

.page-header .d-inline-flex {
    padding: 8px 14px;
    background: rgba(13, 110, 253, .22);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius);
}

.service-item .service-icon {
    position: absolute;
    top: 24px;
    left: calc(42% + 34px);
    width: 74px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(13, 110, 253, .18);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.service-item .service-icon i {
    transition: .2s;
}

.service-item img,
.portfolio-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform .45s ease, filter .45s ease;
}

.service-item:hover .service-icon i {
    transform: scale(1.08);
}

.service-item {
    position: relative;
    display: grid !important;
    grid-template-columns: minmax(220px, 42%) 1fr;
    align-items: stretch !important;
    text-align: left !important;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #FFFFFF;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.service-item img {
    height: 100%;
    min-height: 285px;
    grid-row: 1 / 3;
}

.service-item img.service-image-mechanical {
    background: #eef5ff;
    object-fit: cover;
    object-position: 16% center;
}

.service-item > div:last-child {
    padding: 34px 28px 28px 112px !important;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-top: 18px;
    padding: 9px 14px;
    color: var(--primary);
    background: rgba(13, 110, 253, .08);
    border: 1px solid rgba(13, 110, 253, .18);
    font-weight: 800;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.read-more-btn:hover,
.read-more-btn:focus {
    color: #FFFFFF;
    background: var(--primary);
    transform: translateY(-2px);
}

.service-detail-image {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.service-detail-image img {
    width: 100%;
    min-height: 520px;
    display: block;
    object-fit: cover;
}

.service-detail-panel {
    margin-top: 30px;
    padding: 28px;
    background: #f7fbff;
    border-left: 5px solid var(--primary);
    border-radius: var(--radius);
}

.service-item:hover,
.portfolio-item:hover,
.modern-card:hover,
.stat-box:hover,
.info-card:hover,
.row.g-4 > [class*="col-"] > .bg-light.p-4.h-100:hover,
.row.g-4 > [class*="col-"] > .bg-white.p-4.h-100:hover,
.row.g-5 > [class*="col-"] > .bg-light.p-4.h-100:hover,
.row.g-5 > [class*="col-"] > .bg-white.p-4.h-100:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(13, 110, 253, .2);
}

.service-item:hover img,
.portfolio-item:hover img {
    transform: scale(1.06);
    filter: brightness(.88) saturate(1.05);
}

.service-item:hover img.service-image-mechanical {
    transform: scale(1.035);
    filter: brightness(.96) saturate(1.05);
}

.portfolio-item {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.portfolio-title {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 220px;
    padding: 24px 30px;
    background: linear-gradient(180deg, #FFFFFF, #f9fbff);
    border-top: 4px solid var(--primary);
}

.portfolio-title .h5 {
    color: var(--primary);
    font-weight: 700;
}

.modern-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.info-card,
.row.g-4 > [class*="col-"] > .bg-light.p-4.h-100,
.row.g-4 > [class*="col-"] > .bg-white.p-4.h-100,
.row.g-5 > [class*="col-"] > .bg-light.p-4.h-100,
.row.g-5 > [class*="col-"] > .bg-white.p-4.h-100 {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 10px 26px rgba(4, 15, 40, .04);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.contact-form-panel {
    border: 1px solid var(--border);
    border-top: 5px solid var(--primary);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.home-side-image {
    width: 100%;
    max-width: 410px;
    min-height: 460px;
    margin-left: auto;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.home-side-image img {
    width: 100%;
    height: 100%;
    min-height: 460px;
    display: block;
    object-fit: cover;
    object-position: center;
    transform: scale(1.1);
}

.home-side-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px 18px;
    color: #FFFFFF;
    background: rgba(4, 15, 40, .86);
    font-size: 1.25rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.form-alert {
    margin-bottom: 1.5rem;
    padding: 1rem 1.15rem;
    border-left: 5px solid var(--primary);
    background: #FFFFFF;
    font-weight: 700;
    border-radius: var(--radius);
}

.form-alert-success {
    border-color: #15a36f;
    color: #0c704b;
}

.form-alert-error {
    border-color: #dc3545;
    color: #9f1f2d;
}

.contact-website-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-label {
    color: var(--dark);
    font-weight: 700;
    margin-bottom: .45rem;
}

.form-control {
    border: 1px solid var(--border) !important;
    background-color: #FFFFFF;
    border-radius: var(--radius);
}

.form-control:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .12);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.project-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    color: #0b2f72;
    background: rgba(13, 110, 253, .08);
    border: 1px solid rgba(13, 110, 253, .16);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 999px;
}

.case-study-card {
    height: 100%;
    padding: 30px;
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.case-study-card:hover {
    transform: translateY(-8px);
    border-color: rgba(21, 163, 111, .35);
    box-shadow: var(--shadow-md);
}

.case-study-meta {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 8px 16px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.case-study-meta span:nth-child(odd) {
    color: var(--muted);
    font-weight: 800;
    text-transform: uppercase;
    font-size: .75rem;
}

.case-study-meta span:nth-child(even) {
    color: var(--dark);
    font-weight: 700;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s ease, transform .65s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 992px) {
    .footer::after {
        position: absolute;
        content: "";
        width: 1px;
        height: 100%;
        top: 0;
        left: 50%;
        background: var(--primary)
    }
}

.footer-shape::before {
    position: absolute;
    content: "";
    width: 80px;
    height: 100%;
    top: 0;
    left: -40px;
    background: var(--primary);
    transform: skew(40deg);
}

.carousel-item img { height: 680px; object-fit: cover; }
.bg-light {
    background-color: var(--surface-soft) !important;
}

.bg-white {
    background-color: var(--surface) !important;
}

.container-fluid > .text-center.mx-auto {
    position: relative;
}

.container-fluid > .text-center.mx-auto p:last-child {
    max-width: 680px;
    margin-right: auto;
    margin-left: auto;
}

.row.g-4 > [class*="col-"] > .bg-light.p-4.h-100,
.row.g-4 > [class*="col-"] > .bg-white.p-4.h-100,
.row.g-5 > [class*="col-"] > .bg-light.p-4.h-100,
.row.g-5 > [class*="col-"] > .bg-white.p-4.h-100 {
    height: 100%;
}

.row.g-4 > [class*="col-"] > .bg-light.p-4.h-100 h4,
.row.g-4 > [class*="col-"] > .bg-white.p-4.h-100 h4,
.row.g-4 > [class*="col-"] > .bg-light.p-4.h-100 h5,
.row.g-4 > [class*="col-"] > .bg-white.p-4.h-100 h5,
.row.g-5 > [class*="col-"] > .bg-light.p-4.h-100 h4,
.row.g-5 > [class*="col-"] > .bg-white.p-4.h-100 h4,
.row.g-5 > [class*="col-"] > .bg-light.p-4.h-100 h5,
.row.g-5 > [class*="col-"] > .bg-white.p-4.h-100 h5 {
    line-height: 1.3;
}

.project-list,
.service-list {
    padding-left: 1.1rem;
}

.project-list li,
.service-list li {
    padding-left: .15rem;
}

.page-header a,
.footer a {
    word-break: break-word;
}

@media (max-width: 767px) {
    .container-fluid.py-6 {
        padding-top: 56px;
        padding-bottom: 56px;
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .container-fluid.pb-6 {
        padding-bottom: 56px;
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .carousel-item img { height: 560px; }
    .display-2 { font-size: 2.3rem; }
    .display-3 { font-size: 2.35rem; }
    .display-5 { font-size: 2rem; }
    .page-header {
        height: 220px;
        padding-left: 24px;
        padding-right: 24px;
    }
    .service-item img,
    .portfolio-item img {
        height: 210px;
    }

    .home-side-image,
    .home-side-image img {
        min-height: 360px;
    }

    .home-side-image {
        max-width: 100%;
        margin-left: 0;
    }

    .footer.container-fluid,
    .container-fluid.bg-dark.bg-light-radial.text-white.border-top {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .footer-shape::before {
        display: none;
    }

    .py-4.px-5 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
.section-kicker { color: var(--primary); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.info-card { border-left: 5px solid var(--primary); }
.service-info-card {
    background: linear-gradient(180deg, #FFFFFF, #f9fbff) !important;
    box-shadow: var(--shadow-sm);
}

.service-info-card h1 {
    font-size: 2.5rem;
}

.service-list li, .project-list li { margin-bottom: .55rem; }
.profile-img { height: 430px; object-fit: cover; object-position: center 38%; }
.hero-badge { background: rgba(13, 110, 253, .92); display: inline-block; padding: .4rem .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.stat-box {
    position: relative;
    min-height: 140px;
    text-align: left;
    border: 1px solid transparent;
    border-left: 5px solid var(--primary);
    background: linear-gradient(180deg, #FFFFFF, #f9fbff) !important;
    border-radius: var(--radius);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.stat-box h1 {
    margin-bottom: .25rem;
}

.footer-link { color: #F4F6F8; text-decoration: none; }
.footer-link:hover { color: var(--primary); }

.footer {
    border-top: 6px solid var(--primary);
}

.navbar-brand {
    max-width: min(64vw, 360px);
}

.navbar-brand:hover .brand-symbol,
.navbar-brand:focus .brand-symbol {
    background: linear-gradient(135deg, #15a36f, var(--primary));
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, .25);
}

@media (max-width: 991.98px) {
    .top-contact .col-lg-4::before {
        display: none;
    }

    .carousel-caption > .p-3 {
        width: min(100% - 48px, 820px);
        margin-left: 24px;
        padding-left: 20px !important;
    }

    .service-item {
        grid-template-columns: 1fr;
    }

    .service-item img {
        height: 230px;
        min-height: 230px;
        grid-row: auto;
    }

    .service-item .service-icon {
        top: 190px;
        left: 28px;
    }

    .service-item > div:last-child {
        padding: 54px 28px 28px !important;
    }

    .navbar-dark .navbar-nav {
        padding: 14px 0 18px;
        border-top: 1px solid rgba(255, 255, 255, .12);
    }

    .navbar-dark .navbar-nav .nav-link {
        padding: 12px 4px;
        font-size: 14px;
    }

    .navbar-dark .navbar-nav .nav-link::after {
        left: 4px;
        right: auto;
        bottom: 7px;
        width: 42px;
    }

    .brand-symbol {
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }

    .brand-text strong {
        font-size: 1.55rem;
    }

    .brand-text small {
        max-width: 190px;
        font-size: .62rem;
    }
}

@media (max-width: 420px) {
    .carousel-caption > .p-3 {
        width: calc(100% - 32px);
        margin-left: 16px;
        padding-left: 16px !important;
        border-left-width: 4px;
    }

    .brand-text small {
        display: none;
    }

    .navbar-brand {
        max-width: 190px;
    }

    .case-study-meta {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
        white-space: normal;
    }

    .service-detail-panel,
    .case-study-card,
    .contact-form-panel,
    .info-card {
        padding: 22px !important;
    }
}

/********** Responsive Refinements **********/
@media (min-width: 1400px) {
    .container-fluid.py-6,
    .container-fluid.pb-6,
    .footer.container-fluid {
        padding-left: 7.5rem !important;
        padding-right: 7.5rem !important;
    }

    .carousel-caption > .p-3 {
        margin-left: 7.5rem;
    }
}

@media (max-width: 1199.98px) {
    .container-fluid.py-6,
    .container-fluid.pb-6,
    .footer.container-fluid {
        padding-left: 3rem !important;
        padding-right: 3rem !important;
    }

    .navbar-dark .navbar-nav .nav-link {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 14px;
    }

    .brand-text small {
        max-width: 210px;
    }

    .carousel-item img {
        height: 620px;
    }

    .carousel-caption h1 {
        font-size: 4rem;
        line-height: 1.08;
    }

    .service-item {
        grid-template-columns: 1fr;
    }

    .service-item img {
        height: 250px;
        min-height: 250px;
        grid-row: auto;
    }

    .service-item .service-icon {
        top: 206px;
        left: 28px;
    }

    .service-item > div:last-child {
        padding: 58px 28px 28px !important;
    }
}

@media (max-width: 991.98px) {
    .container-fluid.sticky-top {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar {
        min-height: 76px;
    }

    .navbar-collapse {
        width: 100%;
    }

    .carousel-item img {
        height: 600px;
    }

    .carousel-caption {
        justify-content: center !important;
    }

    .carousel-caption h1 {
        font-size: 3.1rem;
        line-height: 1.12;
    }

    .carousel-caption p {
        max-width: 640px;
        font-size: 1.15rem !important;
    }

    .page-header {
        height: 240px;
    }

    .page-header h1 {
        font-size: 3rem;
    }

    .service-detail-image img {
        min-height: 380px;
        max-height: 520px;
    }

    .profile-img {
        height: 420px;
    }

    .portfolio-title {
        min-height: 190px;
    }

    .footer::after {
        display: none;
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: .97rem;
    }

    .container-fluid.py-6,
    .container-fluid.pb-6,
    .footer.container-fluid {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }

    .py-6 {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .carousel-item img {
        height: 560px;
    }

    .carousel-caption {
        align-items: flex-start !important;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .carousel-caption > .p-3 {
        width: calc(100% - 2.5rem);
        margin-left: 1.25rem;
        margin-right: 1.25rem;
        padding: 0 0 0 1.1rem !important;
    }

    .carousel-caption h1 {
        font-size: 2.45rem;
    }

    .carousel-caption p {
        font-size: 1rem !important;
    }

    .carousel-caption .btn {
        width: auto;
        max-width: none;
        min-width: 190px;
        margin-top: .75rem !important;
        padding-left: 1.2rem !important;
        padding-right: 1.2rem !important;
    }

    .page-header {
        height: 210px;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        background-position: center;
    }

    .page-header h1 {
        font-size: 2.35rem;
        line-height: 1.12;
    }

    .display-5,
    .service-info-card h1 {
        font-size: 2rem;
        line-height: 1.18;
    }

    .section-kicker {
        font-size: .85rem;
    }

    .row.g-5 {
        --bs-gutter-y: 2rem;
    }

    .row.g-4 {
        --bs-gutter-y: 1.5rem;
    }

    .service-item .service-icon {
        width: 66px;
        height: 66px;
        top: 184px;
    }

    .service-item img,
    .portfolio-item img {
        height: 220px;
        min-height: 220px;
    }

    .service-item > div:last-child {
        padding: 52px 22px 24px !important;
    }

    .service-detail-image img {
        min-height: 290px;
        max-height: 390px;
    }

    .profile-img {
        height: 380px;
    }

    .portfolio-title {
        min-height: auto;
        padding: 22px;
    }

    .case-study-card,
    .contact-form-panel,
    .service-detail-panel,
    .info-card,
    .row.g-4 > [class*="col-"] > .bg-light.p-4.h-100,
    .row.g-4 > [class*="col-"] > .bg-white.p-4.h-100,
    .row.g-5 > [class*="col-"] > .bg-light.p-4.h-100,
    .row.g-5 > [class*="col-"] > .bg-white.p-4.h-100 {
        padding: 1.35rem !important;
    }

    .whatsapp-float {
        right: 1rem;
        bottom: 1rem;
        width: 52px;
        height: 52px;
    }

    .back-to-top {
        display: none !important;
    }

    .reveal-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 575.98px) {
    .container-fluid.sticky-top {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .navbar {
        min-height: 70px;
    }

    .navbar-brand {
        max-width: 235px;
    }

    .brand-lockup {
        gap: 10px;
    }

    .brand-symbol {
        width: 42px;
        height: 42px;
        font-size: 1.35rem;
    }

    .brand-text strong {
        font-size: 1.45rem;
    }

    .brand-text small {
        display: none;
    }

    .carousel-item img {
        height: 520px;
    }

    .carousel-caption > .p-3 {
        width: calc(100% - 2rem);
        margin-left: 1rem;
        margin-right: 1rem;
        border-left-width: 4px;
    }

    .hero-badge {
        max-width: 100%;
        margin-bottom: .9rem !important;
        font-size: .72rem;
        letter-spacing: .04em;
    }

    .carousel-caption h1 {
        font-size: 2rem;
    }

    .carousel-caption p {
        margin-bottom: .8rem !important;
    }

    .carousel-caption .btn {
        width: 100%;
        min-width: 0;
    }

    .page-header {
        height: 190px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header .d-inline-flex {
        max-width: 100%;
        flex-wrap: wrap;
        gap: .15rem;
    }

    .display-5,
    .service-info-card h1 {
        font-size: 1.75rem;
    }

    .icon-xl {
        font-size: 2.35rem;
    }

    .home-side-image,
    .home-side-image img {
        min-height: 300px;
    }

    .profile-img {
        height: 340px;
    }

    .case-study-meta {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
        white-space: normal;
    }

    .d-flex.flex-wrap.gap-3 .btn {
        flex: 1 1 100%;
    }

    .footer .brand-lockup {
        align-items: flex-start;
    }
}

@media (max-width: 360px) {
    .container-fluid.py-6,
    .container-fluid.pb-6,
    .footer.container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .navbar-brand {
        max-width: 190px;
    }

    .brand-symbol {
        width: 38px;
        height: 38px;
    }

    .brand-text strong {
        font-size: 1.25rem;
    }

    .carousel-caption h1,
    .page-header h1 {
        font-size: 1.8rem;
    }

    .carousel-caption p {
        font-size: .95rem !important;
    }

    .service-item img,
    .portfolio-item img {
        height: 190px;
        min-height: 190px;
    }

    .service-item .service-icon {
        top: 154px;
        left: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    .reveal-on-scroll {
        opacity: 1;
        transform: none;
    }
}
