/* =========================================
   BASIC SETUP
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #1c1c1c;
    line-height: 1.6;
    transition: 0.3s ease;

    background-image:
        linear-gradient(rgba(255,255,255,0.35), rgba(255,255,255,0.35)),
        url('images/work-bg.jpg');

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
}


/* =========================================
   NAVBAR
========================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;

    padding: 0 6%;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid #ddd;

    z-index: 1000;
}


/* LOGO */

.logo {

    font-family: Georgia, "Times New Roman", serif;

    font-size: 18px;

    font-weight: bold;

    color: #222;

    white-space: nowrap;

    transition: color 0.25s ease;
    cursor: pointer;
}


.logo:hover {

    color: #a35b2a;

}


/* NAV LINKS */

.navbar nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 34px;
}

.navbar nav a {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    transition: 0.25s ease;
    white-space: nowrap;
}

.navbar nav a:hover {
    color: #a35b2a;
}


/* NAV BUTTONS */

.nav-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.nav-buttons button {
    border: 1px solid #ddd;
    background: white;
    color: #222;

    border-radius: 50px;

    min-width: 42px;
    height: 38px;

    padding: 7px 12px;

    font-size: 13px;

    transition: 0.25s ease;
}

.nav-buttons button:hover {
    background: #eee;
}


/* ================= HERO ================= */

.hero {
    min-height: calc(100vh - 75px);
    margin-top: 75px;
    padding: 45px 6%;
    
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    
    align-items: stretch;
    
    background: transparent;
    overflow: hidden;
}


/* HERO CONTENT */

.hero-content {

    max-width: 650px;

    padding-left: 3%;
}


.hero .small-heading {

    color: #a35b2a;

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 4px;

    margin-bottom: 20px;
}


/* TITLE */

.animated-title {

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(50px, 5vw, 76px);

    line-height: 0.98;

    letter-spacing: -3px;

    margin-bottom: 30px;

    display: flex;

    flex-direction: column;
}


.animated-title span {
    display: block;
    color: #171717;

    opacity: 0;
    transform: translateY(30px);

    animation:
        titleReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;

    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.03);
}


.animated-title span:nth-child(1) {
    animation-delay: 0.1s;
}

.animated-title span:nth-child(2) {
    animation-delay: 0.25s;
}

.animated-title span:nth-child(3) {
    animation-delay: 0.4s;
}


@keyframes titleReveal {

    to {

        opacity: 1;

        transform: translateY(0);

    }

}


/* DESCRIPTION */

.hero-description {

    max-width: 560px;

    color: #666;

    font-size: 17px;

    line-height: 1.7;

    margin-bottom: 32px;
}


/* BUTTONS */

.hero-buttons {

    display: flex;

    gap: 12px;

    flex-wrap: wrap;
}


.hero .button {

    padding: 14px 24px;

    border-radius: 50px;

    font-size: 14px;

    font-weight: bold;

    transition: 0.25s ease;
}


.hero .primary {

    background: #a35b2a;

    color: white;
}


.hero .primary:hover {

    background: #7e401d;

    transform: translateY(-3px);

}


.hero .secondary {

    border: 1px solid #aaa;

    color: #222;

    background: transparent;
}


.hero .secondary:hover {

    background: #222;

    color: white;

    transform: translateY(-3px);

}


/* HERO IMAGE */

.hero-image {
    width: 100%;
    height: 560px;

    position: relative;
    overflow: hidden;

    border-radius: 18px;

    background: rgba(255, 255, 255, 0.25);

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

.hero-image img {
    width: 55%;
    height: 90%;
    object-fit: contain;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.3s ease;
}
.hero-image:hover img {

    transform: scale(1.03);

}


/* IMAGE LABEL */

.image-label {

    position: absolute;

    bottom: 20px;

    left: 20px;

    right: 20px;

    padding: 18px 20px;

    background: rgba(0, 0, 0, 0.58);

    backdrop-filter: blur(12px);

    color: white;

    display: flex;

    justify-content: space-between;

    align-items: center;
}


.image-label span {

    color: #d79562;

    font-size: 11px;

    letter-spacing: 3px;

    font-weight: bold;
}


.image-label strong {

    font-family: Georgia, serif;

    font-size: 18px;
}


.hero-content {
    width: 100%;
    height: 560px;
    
    padding: 55px;
    
    background: rgba(255, 255, 255, 0.90);
    border-radius: 18px;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}


.small-heading {

    color: #c17a45;

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 3px;

    margin-bottom: 15px;
}


/* HERO BUTTONS */


.button {

    display: inline-block;

    padding: 13px 22px;

    border-radius: 50px;

    font-size: 14px;

    font-weight: bold;

    transition: 0.25s;
}


.primary {

    background: #a35b2a;

    color: white;
}

.primary:hover {

    background: #7e401d;

    transform: translateY(-2px);
}


.secondary {

    border: 1px solid rgba(255,255,255,0.6);

    color: white;

    background: rgba(255,255,255,0.08);
}

.secondary:hover {

    background: white;

    color: #222;
}


/* =========================================
   INTRO
========================================= */

.intro {
    width: 86%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px 55px;
    
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;

    background: rgba(255, 255, 255, 0.90);
    border-radius: 18px;
}


.intro h2 {

    font-family: Georgia, serif;

    font-size: clamp(32px, 4vw, 55px);

    line-height: 1.15;
}


.intro > p {

    color: #666;

    font-size: 17px;

    max-width: 500px;
}


/* =========================================
   BUSINESS CARDS
========================================= */

.businesses {

    width: 86%;

    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 25px;

    padding-bottom: 110px;
}


.business-card {

    background: white;

    border: 1px solid #ddd;

    overflow: hidden;

    transition: 0.35s;

    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
}


.business-card:hover {

    transform: translateY(-6px);

    box-shadow: 0 25px 60px rgba(0,0,0,0.13);
}


/* BUSINESS IMAGE */

.business-image {

    width: 100%;

    height: 400px;

    overflow: hidden;
}


.business-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: 0.5s;
}


.business-card:hover img {

    transform: scale(1.05);
}


/* BUSINESS CONTENT */

.business-content {

    padding: 35px;
}


.business-content h2 {

    font-family: Georgia, serif;

    font-size: 32px;

    line-height: 1.2;

    margin-bottom: 15px;
}


.business-content p:not(.small-heading) {

    color: #666;

    margin-bottom: 20px;
}


.business-content a {

    color: #a35b2a;

    font-weight: bold;

    font-size: 14px;
}


/* =========================================
   OUR WORK
========================================= */

.work {
    position: relative;

    width: 86%;
    max-width: 1200px;

    margin: 20px auto 60px;
    padding: 45px;

    background: rgba(255, 255, 255, 0.90);

    border-radius: 18px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.10);
}

.work .small-heading {
    color: #a35b2a;
    text-shadow: none;
}

.work .section-heading h2 {
    color: #171717;
    text-shadow: none;
}


.section-heading {

    display: flex;

    align-items: end;

    justify-content: space-between;

    margin-bottom: 35px;
}


.section-heading h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4vw, 55px);
    line-height: 1.05;
    color: #171717;
}
.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 40px;
}


/* SLIDER BUTTONS */

.slider-buttons {

    display: flex;

    gap: 8px;
}


.slider-buttons button {

    width: 45px;

    height: 45px;

    border-radius: 50%;

    border: 1px solid #ccc;

    background: white;

    font-size: 20px;
}


.slider-buttons button:hover {

    background: #222;

    color: white;
}

/* ================= WORK GRID ================= */

.work-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


.work-card {
    position: relative;
    height: 240px;
    overflow: hidden;

    border-radius: 12px;

    background: transparent;

    box-shadow: none;
}

.work-card img {
    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    display: block;

    background: transparent;

    cursor: pointer;

    transition: transform 0.4s ease;
}

.work-card:hover img {
    transform: scale(1.05);
}

/* =========================================
   CATALOGUE
========================================= */

.catalogue {

    width: 86%;

    max-width: 1200px;

    margin: auto;

    margin-bottom: 110px;

    padding: 55px;

    background: #e9e4db;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 40px;
}


.catalogue-content {

    max-width: 650px;
}


.catalogue h2 {

    font-family: Georgia, serif;

    font-size: 45px;

    margin-bottom: 15px;
}


.catalogue p:not(.small-heading) {

    color: #666;

    margin-bottom: 25px;
}


/* QR */

.qr {

    text-align: center;
}


.qr-box {

    width: 150px;

    height: 150px;

    border: 3px dashed #777;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 30px;

    font-weight: bold;

    background: white;
}


.qr p {

    margin-top: 10px;

    font-size: 12px;

    color: #666;
}


/* =========================================
   CONTACT
========================================= */

.contact {
    width: 86%;
    max-width: 1200px;

    margin: 20px auto 60px;
    padding: 45px;

    background: rgba(255, 255, 255, 0.90);

    border-radius: 18px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.10);
}


.contact h2 {

    font-family: Georgia, serif;

    font-size: clamp(35px, 5vw, 60px);

    margin-bottom: 45px;
}


.contact-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    border-top: 1px solid #ddd;
}


.contact-card {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 25px 0;

    margin-right: 30px;

    border-bottom: 1px solid #ddd;

    transition: 0.25s;
}


.contact-card:hover {

    color: #a35b2a;
}


.contact-card > span {

    width: 45px;

    height: 45px;

    border: 1px solid #ccc;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 18px;
}


.contact-card small {
    display: block;
    font-size: 10px;
    letter-spacing: 2px;
    color: #555;
    font-weight: bold;
    margin-bottom: 3px;
}

.contact-card strong {

    font-size: 14px;
}


/* =========================================
   FOOTER
========================================= */

footer {

    padding: 60px 20px;

    border-top: 1px solid #ddd;

    text-align: center;

    color: #777;
}


footer h3 {

    font-family: Georgia, serif;

    color: #222;

    margin-bottom: 10px;
}


footer p {

    font-size: 13px;

    margin-bottom: 10px;
}


/* =========================================
   DARK MODE
========================================= */

body.dark {
    background-image: url('images/work-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #eee;
}


body.dark .navbar {

    background: rgba(20,20,20,0.95);

    border-color: #333;
}


body.dark .logo {

    color: white;
}


body.dark .navbar nav a {

    color: #bbb;
}


body.dark .navbar nav a:hover {

    color: #d79562;
}


body.dark .nav-buttons button {

    background: #222;

    border-color: #444;

    color: white;
}


body.dark .intro > p,

body.dark .business-content p:not(.small-heading),

body.dark .catalogue p:not(.small-heading) {

    color: #aaa;
}


body.dark .business-card {

    background: #1b1b1b;

    border-color: #333;
}


body.dark .business-content a {

    color: #d79562;
}


body.dark .slider-buttons button {

    background: #222;

    border-color: #444;

    color: white;
}


body.dark .catalogue {

    background: #222;

    border-color: #333;
}


body.dark .contact-grid {

    border-color: #333;
}


body.dark .contact-card {

    border-color: #333;
}


body.dark .contact-card > span {

    border-color: #444;
}


body.dark footer {

    border-color: #333;
}


body.dark footer h3 {

    color: white;
}

body.dark .work {
    background: rgba(0, 0, 0, 0.45);
}

body.dark .work-card {
    background: #1c1a17;
}

body.dark .section-heading h2 {
    color: white;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 850px) {

    .navbar {

        padding: 0 5%;

    }

    .navbar nav {

        display: none;

    }

    .logo {

        font-size: 16px;

        max-width: 180px;

    }

    .intro {

        grid-template-columns: 1fr;

        gap: 30px;

        padding: 80px 0;

    }

    .businesses {

        grid-template-columns: 1fr;

    }

    .business-image {

        height: 300px;

    }

    .section-heading {

        align-items: start;

        gap: 20px;

    }

    .slide {

        height: 400px;

    }

    .catalogue {

        flex-direction: column;

        align-items: flex-start;

        padding: 35px;

    }

    .contact-grid {

        grid-template-columns: 1fr;

    }

    .contact-card {

        margin-right: 0;

    }

}


@media (max-width: 500px) {

    .hero {

        padding-left: 6%;

        padding-right: 6%;

    }

    .hero h1 {

        font-size: 45px;

    }

    .hero p:not(.small-heading) {

        font-size: 16px;

    }

    .businesses,

    .work,

    .contact,

    .intro {

        width: 88%;

    }

    .slide {

        height: 320px;

    }

    .slide-text {

        left: 12px;

        right: 12px;

        bottom: 12px;

        padding: 18px;

    }

    .slide-text h3 {

        font-size: 22px;

    }

}

/* =========================================
   SCIENTIFIC BUSINESS PLACEHOLDER
========================================= */

.scientific-placeholder {
    background:
        linear-gradient(
            135deg,
            #252525,
            #555
        );

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    color: white;
}

.scientific-placeholder span {
    font-size: 11px;

    letter-spacing: 4px;

    color: #d79562;

    font-weight: bold;
}

.scientific-placeholder h3 {
    font-family: Georgia, serif;

    font-size: 38px;

    margin-top: 8px;
}

/* ================= LANGUAGE ================= */

.language-button {

    min-width: 40px;

    transition: 0.2s ease;

}


.language-button.active {

    background: #222 !important;

    color: white !important;

    border-color: #222 !important;

}


/* ================= CATALOGUE DOWNLOAD ================= */

.catalogue-download {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 35px;
}

#catalogueQR {
    width: 150px;
    height: 150px;
    background: white;
    padding: 10px;
    border: 1px solid #ddd;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalogue-info {
    max-width: 300px;
}

.catalogue-info strong {
    display: block;
    font-family: Georgia, serif;
    font-size: 22px;
    margin-bottom: 8px;
}

.catalogue-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.catalogue-button {
    display: inline-block;
    padding: 11px 18px;
    border-radius: 30px;
    background: #a35b2a;
    color: white;
    font-size: 13px;
    font-weight: bold;
    transition: 0.25s ease;
}

.catalogue-button:hover {
    background: #7e401d;
    transform: translateY(-2px);
}

/* ================= INTRO CATALOGUE RIGHT SIDE ================= */

.catalogue-download {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 25px;
    transform: translateY(-20px);
}

#catalogueQR {
    background: white;
    padding: 10px;
    border: 1px solid #ddd;
    flex-shrink: 0;
}

.catalogue-info {
    max-width: 300px;
}

.catalogue-info strong {
    display: block;
    font-family: Georgia, serif;
    font-size: 24px;
    margin-bottom: 10px;
}

.catalogue-info p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 18px;
}

.catalogue-button {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 30px;
    background: #a35b2a;
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.25s ease;
}

.catalogue-button:hover {
    transform: translateY(-2px);
    background: #7e401d;
}

@media (max-width: 850px) {

    .catalogue-download {
        justify-content: flex-start;
    }

}


@media (max-width: 600px) {

    .catalogue-download {
        flex-direction: column;
        align-items: flex-start;
    }

    .catalogue-info {
        max-width: 100%;
    }

}
/* ================= SERVICES ================= */

.services {
    width: 86%;
    max-width: 1200px;
    margin: 20px auto 40px;
    padding: 45px 45px 50px;

    background: rgba(255, 255, 255, 0.88);
    border-radius: 18px;
}

.services-heading {
    margin-bottom: 55px;
}

.services-heading h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.05;
    max-width: 700px;
    margin-top: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;

    min-height: 330px;
    padding: 40px;

    background: #ffffff;
    border: 1px solid #ddd;
    color: #1c1c1c;

    overflow: hidden;
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.10);
}

.service-number {
    font-size: 12px;
    letter-spacing: 4px;
    font-weight: bold;
    color: #a35b2a;

    margin-bottom: 65px;
    flex-shrink: 0;
}

.service-content {
    max-width: 500px;

    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-content h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    line-height: 1.15;
    margin-bottom: 18px;
    min-height: 78px;
}

.service-content p {
    color: #666;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
    min-height: 55px;
}

.service-content span {
    color: #a35b2a;
    font-size: 14px;
    font-weight: bold;
    margin-top: auto;
}


/* ================= DARK MODE SERVICES ================= */

body.dark .service-card {
    background: #1b1b1b;
    border-color: #333;
    color: white;
}

body.dark .service-content p {
    color: #aaa;
}

body.dark .service-content span {
    color: #d79562;
}


/* ================= MOBILE SERVICES ================= */

@media (max-width: 850px) {

    .services {
        width: 88%;
        padding: 80px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        min-height: auto;
        padding: 30px;
    }

    .service-number {
        margin-bottom: 45px;
    }

    .service-content h3 {
        font-size: 30px;
    }

}

/* =========================================
   CLICK IMAGE - FULL SIZE LIGHTBOX
========================================= */

.gallery-image {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.03);
}


/* LIGHTBOX BACKGROUND */

.image-lightbox {
    display: none;

    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.90);

    z-index: 9999;

    align-items: center;
    justify-content: center;

    padding: 40px;
}


/* SHOW LIGHTBOX */

.image-lightbox.active {
    display: flex;
}


/* LARGE IMAGE */

#lightboxImage {
    max-width: 90%;
    max-height: 90%;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 4px;
}


/* CLOSE BUTTON */

.lightbox-close {
    position: absolute;

    top: 25px;
    right: 30px;

    width: 45px;
    height: 45px;

    border: none;
    border-radius: 50%;

    background: white;
    color: #222;

    font-size: 32px;
    line-height: 1;

    cursor: pointer;

    z-index: 10001;
}


/* PREVIOUS / NEXT */

.lightbox-arrow {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    width: 50px;
    height: 50px;

    border: none;
    border-radius: 50%;

    background: white;
    color: #222;

    font-size: 40px;
    line-height: 1;

    cursor: pointer;

    z-index: 10001;
}


.lightbox-prev {
    left: 25px;
}


.lightbox-next {
    right: 25px;
}


/* HOVER */

.lightbox-close:hover,
.lightbox-arrow:hover {
    background: #a35b2a;
    color: white;
}


/* MOBILE */

@media (max-width: 600px) {

    .image-lightbox {
        padding: 20px;
    }

    #lightboxImage {
        max-width: 92%;
        max-height: 82%;
    }

    .lightbox-arrow {
        width: 42px;
        height: 42px;
        font-size: 32px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
    }
}

@media (max-width: 850px) {
    body,
    .hero,
    .work {
        background-attachment: scroll;
    }
    .work {
        padding: 70px 6% 70px;
    }
    .work-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .work-card {
        height: 260px;
    }
}

section {
    scroll-margin-top: 90px;
}


footer {
    width: 86%;
    max-width: 1200px;
    margin: 60px auto 30px;
    padding: 40px 20px;
    
    background: rgba(255, 255, 255, 0.92);
    
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}
@media (max-width: 850px) {

    .hero-content {
        padding: 35px;
    }

    .intro,
    .services,
    .work,
    .contact {
        width: 90%;
        padding: 35px;
        margin: 20px auto;
    }

    .intro {
        grid-template-columns: 1fr;
        gap: 35px;
    }

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

    .work-card {
        height: 280px;
    }
}


@media (max-width: 500px) {

    .hero-content {
        padding: 25px;
    }

    .intro,
    .services,
    .work,
    .contact {
        width: 92%;
        padding: 25px;
        border-radius: 14px;
    }

    .work-card {
    height: 300px;
}

    .catalogue-download {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================================
   DARK MODE CONTENT BOXES
========================================= */

body.dark .work,
body.dark footer {
    background: rgba(25, 25, 25, 0.94);
    color: white;
}

body.dark .work .small-heading {
    color: #d79562;
}

body.dark .work .section-heading h2 {
    color: white;
}

body.dark .hero-content {
    background: rgba(25, 25, 25, 0.92);
    color: white;
}

body.dark .work-card,
body.dark .work-card img {
    background: #ffffff;
}

/* ================= CONTACT SECTION FIX ================= */

.contact {
    width: 86%;
    max-width: 1200px;

    margin: 20px auto 60px;
    padding: 45px;

    background: rgba(255, 255, 255, 0.90);

    border-radius: 18px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.10);
}

/* ================= CHATBOT ROBOT ================= */

.chatbot {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 55px;
    height: 55px;
    z-index: 9999;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;

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

.chatbot img {
    width: 45px;
    height: 45px;

    object-fit: contain;

    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.chatbot-button {
    width: 75px;
    height: 75px;

    padding: 0;

    border: none;
    border-radius: 50%;

    background: white;

    overflow: hidden;

    cursor: pointer;

    box-shadow: 0 8px 25px rgba(0,0,0,0.20);

    display: flex;
    align-items: center;
    justify-content: center;

    transition: transform 0.3s ease;
}

.chatbot-button:hover {
    transform: scale(1.08);
}

.chatbot-button img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}


/* ================= CHATBOT BOX ================= */

.chatbot-box {
    display: none;

    position: absolute;

    right: 0;
    bottom: 90px;

    width: 350px;
    max-width: calc(100vw - 30px);

    background: white;

    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 15px 50px rgba(0,0,0,0.25);
}

.chatbot-box.active {
    display: block;
}


/* ================= CHATBOT HEADER ================= */

.chatbot-header {
    background: #a35b2a;

    color: white;

    padding: 18px;

    display: flex;

    justify-content: space-between;
    align-items: center;
}

.chatbot-header strong {
    display: block;
    font-size: 15px;
}

.chatbot-header small {
    display: block;
    margin-top: 3px;
    font-size: 12px;
}

#closeChatbot {
    background: transparent;

    border: none;

    color: white;

    font-size: 25px;

    cursor: pointer;
}


/* ================= CHAT MESSAGES ================= */

.chat-messages {
    height: 300px;

    padding: 15px;

    overflow-y: auto;
}

.bot-message {
    background: #f1f1f1;

    color: #222;

    padding: 10px 14px;

    border-radius: 14px;

    margin-bottom: 10px;

    max-width: 85%;

    font-size: 13px;
}

.user-message {
    background: #a35b2a;

    color: white;

    padding: 10px 14px;

    border-radius: 14px;

    margin: 10px 0 10px auto;

    max-width: 85%;

    width: fit-content;

    font-size: 13px;
}


/* ================= QUICK BUTTONS ================= */

.chatbot-quick-buttons {
    display: flex;

    gap: 6px;

    padding: 10px;

    flex-wrap: wrap;

    border-top: 1px solid #eee;
}

.chatbot-quick-buttons button {
    border: 1px solid #ddd;

    background: white;

    padding: 7px 10px;

    border-radius: 20px;

    font-size: 11px;

    cursor: pointer;
}

.chatbot-quick-buttons button:hover {
    background: #a35b2a;
    color: white;
}


/* ================= CHAT INPUT ================= */

.chatbot-input {
    display: flex;

    padding: 10px;

    border-top: 1px solid #eee;
}

.chatbot-input input {
    flex: 1;

    border: 1px solid #ddd;

    border-radius: 20px;

    padding: 10px 14px;

    outline: none;

    font-size: 13px;
}

.chatbot-input button {
    width: 40px;

    margin-left: 7px;

    border: none;

    border-radius: 50%;

    background: #a35b2a;

    color: white;

    cursor: pointer;
}


/* ================= CHATBOT HELP MESSAGE ================= */

.chatbot-hint {
    position: absolute;

    right: 5px;
    bottom: 88px;

    background: white;

    color: #222;

    padding: 11px 16px;

    border-radius: 20px;

    font-size: 13px;

    font-weight: 600;

    white-space: nowrap;

    box-shadow: 0 5px 20px rgba(0,0,0,0.15);

    opacity: 0;

    transform: translateY(10px);

    pointer-events: none;

    transition: all 0.3s ease;
}

.chatbot-hint.show {
    opacity: 1;

    transform: translateY(0);
}


/* ================= MOBILE ================= */

@media (max-width: 600px) {

    .chatbot {
        right: 15px;
        bottom: 15px;
    }

    .chatbot-button {
        width: 65px;
        height: 65px;
    }

    .chatbot-box {
        width: 320px;

        right: -5px;
        bottom: 80px;
    }

    .chatbot-hint {
        right: 0;

        font-size: 11px;

        padding: 9px 13px;
    }

}

/* ================= MOBILE RESPONSIVE FIX ================= */

@media (max-width: 768px) {

    /* KEEP BACKGROUND IMAGE ON MOBILE */
    body {
        background-image: url("images/work-bg.jpg");
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        background-repeat: no-repeat;
    }


    /* PREVENT CONTENT FROM GOING OUTSIDE SCREEN */
    * {
        box-sizing: border-box;
    }


    /* MAIN CONTENT WIDTH */
    .container {
        width: 92%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }


    /* CONTACT WHITE BOX */
    .contact-box,
    .contact-container {
        width: 92%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        overflow: hidden;
    }
   
    /* EMAIL MUST STAY INSIDE CONTACT CARD */

.contact-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.contact-card > div {
    flex: 1;
    min-width: 0;
    max-width: 100%;
}

.contact-card strong {
    display: block;
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}
    /* EMAIL TEXT */
    .contact-item {
        min-width: 0;
        max-width: 100%;
    }


    /* HERO SECTION */
    .hero {
        padding-left: 20px;
        padding-right: 20px;
    }


    /* HERO WHITE BOXES */
    .hero-content,
    .hero-image-box {
        width: 100%;
        max-width: 100%;
    }


    /* HERO TITLE */
    .hero h1 {
        font-size: 52px;
        line-height: 0.95;
    }


    /* HERO DESCRIPTION */
    .hero p {
        font-size: 20px;
        line-height: 1.5;
    }


    /* BUTTONS */
    .hero-buttons {
        flex-wrap: wrap;
        gap: 12px;
    }


    /* CHATBOT */
    .chatbot {
        width: 45px;
        height: 45px;
        right: 15px;
        bottom: 15px;
    }

    .chatbot img {
        width: 45px;
        height: 45px;
    }


    /* CHATBOT MESSAGE */
    .chatbot-hint {
        max-width: 220px;
        font-size: 14px;
        right: 15px;
        bottom: 70px;
    }
}

/* ================= FINAL MOBILE FIX ================= */

@media (max-width: 600px) {

    .chatbot {
        width: 48px !important;
        height: 48px !important;
        right: 12px !important;
        bottom: 12px !important;
    }

    .chatbot-button {
        width: 48px !important;
        height: 48px !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .chatbot-button img {
        width: 48px !important;
        height: 48px !important;
    }
}
@media (max-width: 600px) {

    .navbar {
        padding: 0 12px !important;
        grid-template-columns: 1fr auto !important;
    }

    .logo {
        font-size: 13px !important;
        max-width: none !important;
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: nowrap !important;
    }

    .nav-buttons {
        gap: 4px !important;
    }

    .nav-buttons button {
        min-width: 34px !important;
        height: 34px !important;
        padding: 5px 8px !important;
        font-size: 11px !important;
    }

}

/* =========================================
   FINAL PHONE ALIGNMENT + SPACING FIX
========================================= */

@media (max-width: 500px) {

    /* ---------- NAVBAR ---------- */

    .navbar {
        height: 68px;
        padding: 0 10px;
        grid-template-columns: 1fr auto;
        gap: 5px;
    }

    .logo {
        font-size: 13px !important;
        max-width: none !important;
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: nowrap !important;
    }

    .nav-buttons {
        gap: 4px;
    }

    .nav-buttons button {
        min-width: 34px;
        width: auto;
        height: 34px;
        padding: 5px 8px;
        font-size: 11px;
    }


    /* ---------- HERO ---------- */

    .hero {
    min-height: auto;
    margin-top: 68px;
    padding: 18px 6% 5px;
    gap: 6px;
    grid-template-columns: 1fr;
}

    .hero-content {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    padding: 22px 20px !important;
    border-radius: 14px;
}

    .hero .small-heading {
        margin-bottom: 12px;
    }

.hero .animated-title {
    font-size: 36px !important;
    line-height: 0.95 !important;
    letter-spacing: -2px;
    margin-bottom: 16px !important;
}

.hero .hero-description {
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin-bottom: 16px !important;
}

    .hero-buttons {
        gap: 10px;
    }

    .hero .button {
        padding: 12px 18px;
        font-size: 13px;
    }


    /* ---------- HERO IMAGE ---------- */

   .hero-image {
    width: 100%;
    height: 180px !important;
    min-height: 0 !important;
    border-radius: 14px;
}

    .hero-image img {
    width: 62%;
    height: 94%;
}


    /* ---------- INTRO ---------- */

    .intro {
        width: 92%;
        margin: 10px auto !important;
        padding: 25px 22px !important;
        gap: 20px;
        border-radius: 14px;
    }

    .intro h2 {
        font-size: 34px;
        line-height: 1.1;
    }


    /* ---------- CATALOGUE ---------- */

    .catalogue-download {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-top: 5px;
        transform: none;
    }

    #catalogueQR {
        width: 140px;
        height: 140px;
    }

    .catalogue-info {
        max-width: 100%;
    }


    /* ---------- SERVICES ---------- */

    .services {
        width: 92%;
        margin: 10px auto !important;
        padding: 35px 22px !important;
        border-radius: 14px;
    }

    .services-heading {
        margin-bottom: 30px;
    }

    .services-heading h2 {
        font-size: 36px;
    }

    .services-grid {
        gap: 15px;
    }

    .service-card {
        padding: 25px;
    }

    .service-number {
        margin-bottom: 30px;
    }

    .service-content h3 {
        font-size: 28px;
        min-height: 0;
    }

    .service-content p {
        min-height: 0;
        font-size: 15px;
    }


    /* ---------- OUR WORK ---------- */

    .work {
        width: 92%;
        margin: 10px auto 20px !important;
        padding: 30px 22px !important;
        border-radius: 14px;
    }

    .section-heading {
        margin-bottom: 25px;
    }

    .section-heading h2 {
        font-size: 36px;
    }

    .work-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .work-card {
        height: 220px !important;
    }


    /* ---------- CONTACT ---------- */

    .contact {
        width: 92%;
        margin: 10px auto 25px !important;
        padding: 30px 22px !important;
        border-radius: 14px;
    }

    .contact h2 {
        font-size: 38px;
        margin-bottom: 25px;
    }

    .contact-card {
        width: 100%;
        margin-right: 0;
        padding: 18px 0;
        gap: 12px;
    }

    .contact-card > div {
        min-width: 0;
        max-width: 100%;
    }

    .contact-card strong {
        display: block;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }


    /* ---------- FOOTER ---------- */

    footer {
        width: 92%;
        margin: 25px auto 15px;
        padding: 30px 15px;
    }


    /* ---------- CHATBOT ---------- */

    .chatbot {
        width: 48px !important;
        height: 48px !important;
        right: 12px !important;
        bottom: 12px !important;
    }

    .chatbot-button {
        width: 48px !important;
        height: 48px !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .chatbot-button img {
        width: 48px !important;
        height: 48px !important;
    }
}

/* =========================================
   FINAL DARK MODE FIX
   ========================================= */

/* PAGE BACKGROUND */
body.dark {
    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.72),
            rgba(0, 0, 0, 0.72)
        ),
        url('images/work-bg.jpg');

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;

    color: #eeeeee;
}


/* =========================================
   HERO
   ========================================= */

body.dark .hero-content {
    background: rgba(25, 25, 25, 0.94);
    color: white;
}

body.dark .hero .animated-title span {
    color: white !important;
}

body.dark .hero .hero-description {
    color: #cccccc !important;
}

body.dark .hero .secondary {
    color: white !important;
    border-color: #777 !important;
    background: transparent;
}


/* =========================================
   INTRO / TWO SPECIALITIES
   ========================================= */

body.dark .intro {
    background: rgba(25, 25, 25, 0.94);
    color: white;
}

body.dark .intro h2 {
    color: white !important;
}

body.dark .intro .small-heading {
    color: #d79562;
}

body.dark .catalogue-info strong {
    color: white;
}

body.dark .catalogue-info p {
    color: #cccccc !important;
}


/* =========================================
   SERVICES
   ========================================= */

body.dark .services {
    background: rgba(25, 25, 25, 0.94);
    color: white;
}

body.dark .services-heading h2 {
    color: white !important;
}

body.dark .services-heading .small-heading {
    color: #d79562;
}

body.dark .service-card {
    background: #1b1b1b;
    border-color: #3a3a3a;
    color: white;
}

body.dark .service-content h3 {
    color: white !important;
}

body.dark .service-content p {
    color: #cccccc !important;
}

body.dark .service-content span {
    color: #d79562;
}


/* =========================================
   OUR WORK
   ========================================= */

body.dark .work {
    background: rgba(25, 25, 25, 0.94);
    color: white;
}

body.dark .work .section-heading h2 {
    color: white !important;
}

body.dark .work .small-heading {
    color: #d79562;
}


/* =========================================
   CONTACT
   ========================================= */

body.dark .contact {
    background: rgba(25, 25, 25, 0.94);
    color: white;
}

body.dark .contact h2 {
    color: white !important;
}

body.dark .contact .small-heading {
    color: #d79562;
}

body.dark .contact-grid {
    border-color: #444;
}

body.dark .contact-card {
    color: white;
    border-color: #444;
}

body.dark .contact-card small {
    color: #bbbbbb;
}

body.dark .contact-card strong {
    color: white;
}

body.dark .contact-card > span {
    color: white;
    border-color: #555;
}


/* =========================================
   FOOTER
   ========================================= */

body.dark footer {
    background: rgba(25, 25, 25, 0.94);
    color: #bbbbbb;
    border-color: #444;
}

body.dark footer h3 {
    color: white;
}

body.dark footer p,
body.dark footer small {
    color: #bbbbbb;
}


/* =========================================
   CATALOGUE QR
   ========================================= */

body.dark #catalogueQR {
    background: white;
    border-color: #555;
}


/* =========================================
   CHATBOT
   ========================================= */

body.dark .chatbot-box {
    background: #1b1b1b;
    color: white;
}

body.dark .chat-messages {
    background: #1b1b1b;
}

body.dark .chatbot-input {
    background: #222;
}

body.dark .chatbot-input input {
    background: #111;
    color: white;
    border-color: #444;
}

body.dark .chatbot-input input::placeholder {
    color: #888;
}

body.dark .chatbot-quick-buttons button {
    background: #222;
    color: white;
    border-color: #444;
}