 
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    max-width: 100%;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

 
.row {
    --bs-gutter-x: 1.5rem;
}


/* ---------------------------------------------------------
   2. TOP BAR
   --------------------------------------------------------- */

.topbar {
    width: 100%;
}

.topbar .container {
    min-height: 40px;
}

.top-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-links a {
    white-space: nowrap;
}


/* ---------------------------------------------------------
   3. NAVBAR
   --------------------------------------------------------- */

#mainNavbar {
    width: 100%;
    z-index: 9999;
}

.navbar-brand {
    display: flex;
    align-items: center;
    max-width: 230px;
}

.navbar-brand img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 70px;
}

.navbar-toggler {
    border: 0;
    box-shadow: none !important;
    padding: 8px 10px;
}

.navbar-toggler i {
    font-size: 30px;
}

.navbar-nav {
    gap: 2px;
}

.navbar-nav .nav-link {
    white-space: nowrap;
}


/* ---------------------------------------------------------
   4. HERO SECTION
   --------------------------------------------------------- */

.hero {
    width: 100%;
    overflow: hidden;
}

.ref-hero {
    min-height: 720px;
    position: relative;
}

.ref-hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 5;
}

.hero-content h1 {
    max-width: 700px;
}

.hero-content p {
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.hero-trust span {
    white-space: nowrap;
}

.ref-hero-art {
    position: relative;
    min-height: 570px;
}

.hero-room {
    position: relative;
    max-width: 570px;
    width: 100%;
    margin-left: auto;
    z-index: 3;
}

.hero-room img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-floating {
    max-width: 180px;
    min-width: 140px;
    z-index: 5;
}

.ref-backplate,
.ref-orb {
    pointer-events: none;
}


/* ---------------------------------------------------------
   5. SECTIONS
   --------------------------------------------------------- */

.section {
    width: 100%;
    overflow: hidden;
}

.section-heading {
    max-width: 100%;
}

.section-heading p {
    max-width: 650px;
}


/* ---------------------------------------------------------
   6. ABOUT / INTRO
   --------------------------------------------------------- */

.image-frame {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.image-frame img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.experience-box {
    max-width: 220px;
}

.check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 25px;
}

.check-grid > div {
    min-width: 0;
}


/* ---------------------------------------------------------
   7. SERVICES
   --------------------------------------------------------- */

.service-card {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.service-card p {
    overflow-wrap: break-word;
}

.service-card h3 {
    overflow-wrap: break-word;
}


/* ---------------------------------------------------------
   8. PROJECT GRID
   --------------------------------------------------------- */

.project-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.project-item {
    min-width: 0;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.project-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-large {
    grid-row: span 2;
    min-height: 600px;
}

.project-item:not(.project-large) {
    min-height: 287px;
}

.project-overlay {
    max-width: 100%;
    overflow: hidden;
}

.project-overlay h3 {
    overflow-wrap: break-word;
}


/* ---------------------------------------------------------
   9. PROCESS
   --------------------------------------------------------- */

.process-line {
    width: 100%;
}

.process-card {
    min-width: 0;
}

.process-card p {
    overflow-wrap: break-word;
}


/* ---------------------------------------------------------
   10. TESTIMONIAL
   --------------------------------------------------------- */

.testimonial-section {
    width: 100%;
    overflow: hidden;
}

.testimonial-card {
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card p {
    overflow-wrap: break-word;
}


/* ---------------------------------------------------------
   11. BLOG
   --------------------------------------------------------- */

.blog-card {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    overflow: hidden;
}

.blog-img img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.blog-body {
    overflow-wrap: break-word;
}

.blog-body h3 {
    overflow-wrap: break-word;
}


/* ---------------------------------------------------------
   12. BRAND STRIP
   --------------------------------------------------------- */

.brand-strip {
    width: 100%;
    overflow: hidden;
}

.brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.brand-row span {
    white-space: nowrap;
}


/* ---------------------------------------------------------
   13. CTA
   --------------------------------------------------------- */

.cta-section {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.cta-section h2 {
    overflow-wrap: break-word;
}

.cta-section p {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}


/* ---------------------------------------------------------
   14. FOOTER
   --------------------------------------------------------- */

footer {
    width: 100%;
    overflow: hidden;
}

.footer-logo {
    max-width: 220px;
    height: auto;
}

.footer-about {
    max-width: 500px;
}

.contact-list {
    padding-left: 0;
    margin-left: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-list li i {
    flex: 0 0 auto;
}

.contact-list li a {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.footer-links {
    padding-left: 0;
}


/* ---------------------------------------------------------
   15. FLOATING WHATSAPP
   --------------------------------------------------------- */

.floating-whatsapp {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9990;
    max-width: calc(100vw - 30px);
}

.floating-whatsapp span {
    white-space: nowrap;
}


/* ---------------------------------------------------------
   16. BACK TO TOP
   --------------------------------------------------------- */

.back-top {
    z-index: 9989;
}


/* ---------------------------------------------------------
   17. MODAL
   --------------------------------------------------------- */

.modal {
    overflow-x: hidden;
}

.modal-dialog {
    width: auto;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.consultation-modal {
    width: 100%;
    max-width: 100%;
}

.consultation-modal .modal-body {
    overflow-x: hidden;
}

.consultation-modal input,
.consultation-modal select,
.consultation-modal textarea {
    width: 100%;
    max-width: 100%;
}

.success-box {
    width: 100%;
}


/* =========================================================
   TABLET
   992px AND BELOW
   ========================================================= */

@media (max-width: 991.98px) {

    /* Navbar */

    #mainNavbar .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .navbar-brand {
        max-width: 190px;
    }

    .navbar-brand img {
        max-height: 60px;
    }

    .navbar-collapse {
        width: 100%;
        margin-top: 10px;
        padding: 15px 0 20px;
    }

    .navbar-nav {
        width: 100%;
        align-items: stretch !important;
    }

    .navbar-nav .nav-item,
    .navbar-nav > li {
        width: 100%;
    }

    .navbar-nav .nav-link {
        display: block;
        width: 100%;
        padding: 11px 5px;
    }

    .navbar-nav .btn {
        width: 100%;
    }


    /* Topbar */

    .topbar .container {
        justify-content: center !important;
        text-align: center;
    }

    .top-links {
        justify-content: center;
        flex-wrap: wrap;
    }


    /* Hero */

    .ref-hero {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 80px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1,
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .ref-hero-art {
        min-height: 500px;
        margin-top: 40px;
    }

    .hero-room {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-floating {
        transform: scale(.9);
    }


    /* About */

    .intro-section .row {
        row-gap: 50px !important;
    }

    .image-frame {
        margin-left: auto;
        margin-right: auto;
    }


    /* Projects */

    .project-large {
        min-height: 500px;
    }

    .project-item:not(.project-large) {
        min-height: 240px;
    }


    /* Section headings */

    .projects-section .section-heading {
        align-items: flex-start !important;
        flex-direction: column;
    }

    .projects-section .section-heading > p {
        margin-left: 0;
    }


    /* Process */

    .process-line {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 25px;
    }


    /* Footer */

    footer .row {
        row-gap: 35px !important;
    }

}


/* =========================================================
   TABLET / SMALL LAPTOP
   768px AND BELOW
   ========================================================= */

@media (max-width: 767.98px) {

    /* General */

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .section {
        padding-top: 65px;
        padding-bottom: 65px;
    }


    /* Topbar */

    .topbar {
        font-size: 12px;
    }

    .topbar .container {
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .top-links {
        gap: 12px;
    }


    /* Navbar */

    .navbar-brand {
        max-width: 165px;
    }

    .navbar-brand img {
        max-height: 52px;
    }

    .navbar-toggler i {
        font-size: 27px;
    }


    /* Hero */

    .ref-hero {
        padding-top: 105px;
        padding-bottom: 60px;
    }

    .hero-content h1 {
        font-size: clamp(42px, 10vw, 62px);
        line-height: 1.05;
    }

    .hero-content p {
        font-size: 15px;
        line-height: 1.7;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-trust {
        flex-direction: column;
        gap: 8px;
        margin-top: 25px;
    }

    .hero-trust span {
        white-space: normal;
    }


    /* Hero image */

    .ref-hero-art {
        min-height: 420px;
        margin-top: 25px;
    }

    .hero-room {
        width: 92%;
        margin: 0 auto;
    }

    .hero-floating {
        min-width: 115px;
        max-width: 135px;
        padding: 10px !important;
        transform: scale(.8);
    }

    .hf1 {
        left: -5px !important;
    }

    .hf2 {
        right: -5px !important;
    }

    .hf3 {
        left: 50% !important;
        transform: translateX(-50%) scale(.8) !important;
    }


    /* About */

    .check-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .experience-box {
        max-width: 180px;
    }


    /* Service */

    .service-card {
        min-height: auto;
    }


    /* Projects */

    .project-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .project-large,
    .project-item:not(.project-large) {
        min-height: 360px;
        grid-row: auto;
    }


    /* Process */

    .process-line {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .process-card {
        text-align: center;
    }


    /* Testimonial */

    .testimonial-card {
        padding-left: 45px;
        padding-right: 45px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
    }


    /* Brand */

    .brand-row {
        justify-content: center;
        gap: 15px 25px;
    }

    .brand-row span {
        font-size: 12px;
    }


    /* CTA */

    .cta-section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .cta-section h2 {
        font-size: clamp(36px, 9vw, 55px);
    }

    .cta-section .btn {
        width: 100%;
        max-width: 400px;
    }


    /* Footer */

    .footer-logo {
        max-width: 180px;
    }

    .contact-list li {
        gap: 10px;
    }


    /* WhatsApp */

    .floating-whatsapp {
        right: 15px;
        bottom: 15px;
    }

    .floating-whatsapp span {
        display: none;
    }

    .floating-whatsapp {
        width: 52px;
        height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }


    /* Back top */

    .back-top {
        right: 15px !important;
        bottom: 80px !important;
    }


    /* Modal */

    .modal-dialog {
        margin: 10px;
    }

    .modal-content {
        border-radius: 12px;
    }

    .consultation-modal .modal-header {
        padding: 20px 18px;
    }

    .consultation-modal .modal-body {
        padding: 20px 18px;
    }

    .consultation-modal .row {
        --bs-gutter-x: 12px;
    }

}


/* =========================================================
   MOBILE
   575px AND BELOW
   ========================================================= */

@media (max-width: 575.98px) {

    /* Container */

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }


    /* Topbar */

    .topbar {
        font-size: 11px;
    }

    .top-links {
        gap: 8px 12px;
    }

    .top-links a {
        font-size: 11px;
    }


    /* Navbar */

    #mainNavbar .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .navbar-brand {
        max-width: 145px;
    }

    .navbar-brand img {
        max-height: 48px;
    }


    /* Hero */

    .ref-hero {
        padding-top: 95px;
        padding-bottom: 45px;
    }

    .hero-content h1 {
        font-size: 40px;
        line-height: 1.08;
    }

    .hero-content p {
        font-size: 14px;
        line-height: 1.65;
    }

    .eyebrow {
        font-size: 10px;
        letter-spacing: 1.5px;
    }


    /* Hero Art */

    .ref-hero-art {
        min-height: 340px;
    }

    .hero-room {
        width: 100%;
    }

    .hero-floating {
        min-width: 100px;
        max-width: 115px;
        font-size: 10px;
        transform: scale(.72);
    }

    .hf1 {
        left: -18px !important;
        top: 30% !important;
    }

    .hf2 {
        right: -18px !important;
        top: 48% !important;
    }

    .hf3 {
        bottom: -5px !important;
    }


    /* About */

    .image-frame {
        width: 100%;
    }

    .experience-box {
        max-width: 155px;
    }

    .experience-box strong {
        font-size: 30px;
    }


    /* Heading */

    .section-heading h2 {
        font-size: 35px;
        line-height: 1.15;
    }


    /* Services */

    .service-card {
        padding: 25px 20px;
    }


    /* Projects */

    .project-large,
    .project-item:not(.project-large) {
        min-height: 300px;
    }

    .project-overlay {
        padding: 20px !important;
    }

    .project-overlay h3 {
        font-size: 22px;
    }


    /* Testimonials */

    .testimonial-card {
        padding: 35px 30px;
    }

    .testimonial-card p {
        font-size: 14px;
        line-height: 1.7;
    }


    /* Blog */

    .blog-body {
        padding: 20px !important;
    }

    .blog-body h3 {
        font-size: 22px;
    }


    /* CTA */

    .cta-section h2 {
        font-size: 34px;
    }

    .cta-section p {
        font-size: 14px;
        line-height: 1.7;
    }


    /* Footer */

    footer .copyright {
        flex-direction: column !important;
        text-align: center;
        gap: 10px;
    }


    /* Modal */

    .modal-dialog {
        margin: 8px;
    }

    .consultation-modal .modal-header {
        padding: 17px 15px;
    }

    .consultation-modal .modal-body {
        padding: 17px 15px;
    }

    .consultation-modal h3 {
        font-size: 22px;
    }

    .consultation-modal .modal-intro {
        font-size: 13px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   400px AND BELOW
   ========================================================= */

@media (max-width: 400px) {

    .hero-content h1 {
        font-size: 35px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .hero-buttons {
        max-width: 100%;
    }

    .hero-trust {
        font-size: 12px;
    }

    .ref-hero-art {
        min-height: 300px;
    }

    .hero-floating {
        min-width: 90px;
        max-width: 100px;
        transform: scale(.65);
    }

    .hf1 {
        left: -25px !important;
    }

    .hf2 {
        right: -25px !important;
    }

    .project-large,
    .project-item:not(.project-large) {
        min-height: 260px;
    }

    .testimonial-card {
        padding: 30px 22px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 28px;
    }

    .floating-whatsapp {
        width: 48px;
        height: 48px;
    }

}


/* =========================================================
   360px AND BELOW
   ========================================================= */

@media (max-width: 359.98px) {

    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .navbar-brand {
        max-width: 125px;
    }

    .navbar-toggler {
        padding-right: 4px;
    }

    .hero-content h1 {
        font-size: 31px;
    }

    .section-heading h2 {
        font-size: 27px;
    }

    .hero-floating {
        display: none;
    }

    .project-large,
    .project-item:not(.project-large) {
        min-height: 230px;
    }

}


/* =========================================================
   LANDSCAPE MOBILE
   ========================================================= */

@media (max-height: 500px) and (orientation: landscape) {

    .ref-hero {
        padding-top: 100px;
    }

    .ref-hero-art {
        min-height: 400px;
    }

}


/* =========================================================
   SAFETY - PREVENT COMMON OVERFLOW
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
li,
div {
    overflow-wrap: break-word;
}

table,
iframe,
video {
    max-width: 100%;
}

iframe {
    border: 0;
}

button,
input,
select,
textarea {
    max-width: 100%;
}

.row > * {
    min-width: 0;
}


/* Prevent accidental horizontal overflow from decorative elements */
.ref-dot,
.ref-orb,
.ref-backplate {
    max-width: 100vw;
}


/* =========================================================
   PRINT
   ========================================================= */

@media print {

    .topbar,
    #mainNavbar,
    .floating-whatsapp,
    .back-top,
    .preloader {
        display: none !important;
    }

    body {
        overflow: visible !important;
    }

}
 
