
/* =========================================================
   BEST PAINTERS UG
   MAIN WEBSITE STYLESHEET
   Developed by MUVIRA Technologies
========================================================= */

/* =========================================================
   1. GLOBAL VARIABLES
========================================================= */

:root {
    --primary: #07516B;
    --primary-light: #1679A3;
    --primary-dark: #04384B;

    --white: #FFFFFF;
    --black: #111820;

    --background: #FFFFFF;
    --background-soft: #F4F8FA;
    --text: #202B33;
    --text-muted: #64747E;

    --border: #E1E8EC;

    --shadow: 0 8px 30px rgba(0, 35, 50, 0.10);
    --shadow-heavy: 0 15px 45px rgba(0, 35, 50, 0.18);

    --transition: all 0.3s ease;

    --container-width: 1200px;
}

body.dark-theme {
    --background: #101A20;
    --background-soft: #17252D;
    --text: #F0F5F7;
    --text-muted: #B2C0C7;
    --border: #30434D;

    --shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    --shadow-heavy: 0 15px 45px rgba(0, 0, 0, 0.40);
}

/* =========================================================
   2. RESET AND GENERAL STYLES
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

body.no-scroll {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

ul {
    list-style: none;
}

.container {
    width: min(92%, var(--container-width));
    margin: 0 auto;
}

.section-heading {
    max-width: 750px;
    margin: 0 auto 45px;
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 15px;
}

.section-heading p {
    color: var(--text-muted);
    font-size: 16px;
}

.section-heading span {
    color: var(--primary-light);
}

/* =========================================================
   3. INTRODUCTION SCREEN
========================================================= */

.intro-screen {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #07516B;
    color: #FFFFFF;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.intro-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* =========================================================
   4. SOLID BLUE OPENING SCREEN
========================================================= */

.intro-blue-screen {
    position: absolute;
    inset: 0;
    background: #07516B;
    z-index: 1;
}

/* =========================================================
   5. INTRODUCTION STAGES
========================================================= */

.intro-brand-stage,
.intro-completed-stage,
.intro-welcome-stage {
    position: absolute;
    inset: 0;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}

.intro-brand-stage.active,
.intro-completed-stage.active,
.intro-welcome-stage.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* =========================================================
   6. BRAND TYPING STAGE
========================================================= */

.intro-brand-content {
    position: relative;
    width: 100%;
    max-width: 1000px;
    padding: 25px;
    text-align: center;
}

.intro-main-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.intro-word {
    display: block;
    color: #FFFFFF;
    font-size: clamp(42px, 8vw, 100px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0.09em;
    text-align: center;
    white-space: nowrap;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.intro-best {
    margin-bottom: 5px;
}

.intro-painters {
    color: #FFFFFF;
}

/* Individual typed letters */

.intro-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(15px);
    transition:
        opacity 0.45s ease,
        transform 0.45s ease;
}

.intro-letter.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   7. UG PAINTING AREA
========================================================= */

.intro-ug-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 125px;
    margin-top: 10px;
}

.intro-painted-ug {
    display: inline-block;
    position: relative;

    font-size: clamp(60px, 10vw, 110px);
    font-weight: 900;
    letter-spacing: 0.16em;
    color: #FFFFFF;

    opacity: 0;
    clip-path: inset(0 100% 0 0);

    transition:
        clip-path 1.8s ease,
        opacity 0.2s ease;
}

.intro-painted-ug.revealing {
    opacity: 1;
    clip-path: inset(0 0 0 0);
}

.intro-painted-ug.painting-complete {
    opacity: 1;
    clip-path: inset(0 0 0 0);
}

/* =========================================================
   8. MOVING PAINTBRUSH
========================================================= */

.intro-paintbrush {
    position: absolute;
    z-index: 5;

    width: clamp(55px, 8vw, 85px);
    height: clamp(55px, 8vw, 85px);

    left: 50%;
    top: 50%;

    opacity: 0;

    transform: translate(-180px, -50%) rotate(-35deg);

    transition:
        transform 1.8s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.25s ease;

    pointer-events: none;
}

.intro-paintbrush svg {
    width: 100%;
    height: 100%;
    display: block;

    filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.25));
}

.intro-paintbrush.painting {
    opacity: 1;
    transform: translate(105px, -50%) rotate(-35deg);
}

.intro-paintbrush.paint-finished {
    opacity: 0;
    transform: translate(150px, -50%) rotate(-35deg);
}

/* =========================================================
   9. COMPLETED BRAND STAGE
========================================================= */

.completed-brand {
    width: 100%;
    padding: 25px;
    text-align: center;
    animation: completedBrandReveal 1s ease both;
}

.completed-brand-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.completed-brand-line span {
    display: block;
    font-size: clamp(44px, 8vw, 105px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: 0.09em;
    color: #FFFFFF;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

@keyframes completedBrandReveal {
    from {
        opacity: 0;
        transform: scale(0.88);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* =========================================================
   10. WELCOME SCREEN
========================================================= */

.intro-welcome-stage {
    background: #07516B;
}

.intro-welcome-background {
    position: absolute;
    inset: 0;

    background:
        url("assets/hero-painting.jpg")
        center center / cover no-repeat;

    transform: scale(1.03);
    animation: welcomeBackgroundZoom 8s ease forwards;
}

@keyframes welcomeBackgroundZoom {
    from {
        transform: scale(1.03);
    }

    to {
        transform: scale(1.12);
    }
}

.intro-welcome-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(3, 39, 55, 0.90),
        rgba(7, 81, 107, 0.76),
        rgba(0, 0, 0, 0.62)
    );
}

.intro-welcome-content {
    position: relative;
    z-index: 2;
    width: min(90%, 850px);
    text-align: center;
    padding: 30px;
    animation: welcomeContentReveal 1s ease both;
}

@keyframes welcomeContentReveal {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro-welcome-logo {
    width: 105px;
    height: 105px;
    object-fit: contain;
    margin: 0 auto 25px;
}

.intro-welcome-small {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #D7F2FF;
}

.intro-welcome-content h1 {
    color: #FFFFFF;
    font-size: clamp(35px, 6vw, 68px);
    line-height: 1.15;
    font-weight: 900;
    margin-bottom: 20px;
}

.intro-welcome-content h1 span {
    display: block;
    color: #B9E8FF;
}

.intro-welcome-tagline {
    font-size: clamp(15px, 2vw, 19px);
    color: #FFFFFF;
    letter-spacing: 0.04em;
}

/* Welcome loading dots */

.intro-welcome-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 35px;
}

.intro-welcome-loader span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #FFFFFF;
    animation: welcomeDot 1.2s ease-in-out infinite;
}

.intro-welcome-loader span:nth-child(2) {
    animation-delay: 0.2s;
}

.intro-welcome-loader span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes welcomeDot {
    0%, 80%, 100% {
        opacity: 0.35;
        transform: scale(0.7);
    }

    40% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* =========================================================
   11. SKIP INTRO BUTTON
========================================================= */

.skip-intro {
    position: absolute;
    top: 25px;
    right: 30px;
    z-index: 20;

    padding: 10px 20px;

    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 30px;

    background: rgba(0, 0, 0, 0.18);
    color: #FFFFFF;

    font-size: 13px;
    font-weight: 700;

    transition: var(--transition);
}

.skip-intro:hover {
    background: #FFFFFF;
    color: var(--primary);
    transform: translateY(-2px);
}

/* =========================================================
   12. MAIN WEBSITE VISIBILITY
========================================================= */

.website-container {
    display: none;
    width: 100%;
    min-height: 100vh;
}

.website-container.visible {
    display: block;
    animation: websiteReveal 0.8s ease both;
}

@keyframes websiteReveal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* =========================================================
   13. HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background: var(--background);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);

    border-bottom: 1px solid var(--border);
}

.header-container {
    width: min(94%, var(--container-width));
    min-height: 82px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-logo img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.brand-logo h1 {
    font-size: 20px;
    line-height: 1.2;
    color: var(--primary);
    font-weight: 900;
}

.brand-logo span {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 27px;
}

.main-navigation a {
    color: var(--text);
    font-size: 14px;
    font-weight: 650;
    transition: var(--transition);
    position: relative;
}

.main-navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: var(--transition);
}

.main-navigation a:hover,
.main-navigation a.active {
    color: var(--primary-light);
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo,
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo img,
.footer-logo img {
    width: 118px;
    height: 58px;
    object-fit: contain;
}

.theme-toggle {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 50%;

    background: var(--background-soft);
    color: var(--text);

    font-size: 19px;
    transition: var(--transition);
}

.theme-toggle:hover {
    transform: rotate(15deg);
    background: var(--primary);
    color: #FFFFFF;
}

.menu-toggle {
    display: none;

    width: 43px;
    height: 43px;

    border: none;
    border-radius: 8px;

    background: var(--primary);
    color: #FFFFFF;

    font-size: 23px;
}

/* =========================================================
   14. BUTTONS
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 13px 25px;

    border-radius: 6px;
    border: 2px solid transparent;

    font-size: 14px;
    font-weight: 750;

    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #FFFFFF;
    transform: translateY(-3px);
}

.btn-white {
    background: #FFFFFF;
    color: var(--primary);
}

.btn-white:hover {
    background: #E8F5FA;
    transform: translateY(-3px);
}

/* =========================================================
   15. HOMEPAGE HERO SECTION
========================================================= */

.hero-section {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--primary-dark);
}

.hero-image-container {
    position: absolute;
    inset: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(3, 37, 52, 0.92) 0%,
        rgba(3, 55, 76, 0.78) 48%,
        rgba(3, 55, 76, 0.28) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;

    width: min(92%, var(--container-width));
    margin: auto;
    padding: 90px 0;

    color: #FFFFFF;
}

.hero-content .eyebrow {
    display: inline-block;
    margin-bottom: 20px;

    padding: 7px 14px;

    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 30px;

    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-content h1 {
    max-width: 780px;
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 25px;
}

.hero-content h1 span {
    color: #B9E8FF;
}

.hero-content p {
    max-width: 620px;
    margin-bottom: 32px;
    color: #E7F4F9;
    font-size: 17px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* =========================================================
   16. WELCOME / ABOUT PREVIEW
========================================================= */

.welcome-section {
    padding: 100px 0;
    background: var(--background);
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}

.welcome-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-heavy);
}

.welcome-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.welcome-image:hover img {
    transform: scale(1.04);
}

.welcome-text .section-label {
    display: inline-block;
    margin-bottom: 15px;

    color: var(--primary-light);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.welcome-text h2 {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.2;
    margin-bottom: 22px;
}

.welcome-text p {
    color: var(--text-muted);
    margin-bottom: 18px;
}

.welcome-text .btn {
    margin-top: 15px;
}

/* Image zoom trigger */

.image-zoom-trigger {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    overflow: hidden;
    text-align: left;
}

.image-zoom-trigger img {
    display: block;
    width: 100%;
}

.image-zoom-hint {
    position: absolute;
    right: 15px;
    bottom: 15px;

    padding: 8px 13px;

    border-radius: 25px;
    background: rgba(0, 0, 0, 0.65);
    color: #FFFFFF;

    font-size: 12px;
    font-weight: 700;

    opacity: 0;
    transform: translateY(8px);
    transition: var(--transition);
}

.image-zoom-trigger:hover .image-zoom-hint {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   17. SERVICES SECTION
========================================================= */

.services-section {
    padding: 100px 0;
    background: var(--background-soft);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.service-image {
    height: 235px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.07);
}

.service-card-content {
    padding: 25px;
}

.service-card-content h3 {
    color: var(--text);
    font-size: 21px;
    margin-bottom: 12px;
}

.service-card-content p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.service-card-content a {
    color: var(--primary-light);
    font-size: 14px;
    font-weight: 800;
}

.service-card-content a:hover {
    color: var(--primary-dark);
}

/* =========================================================
   18. WHY CHOOSE US
========================================================= */

.why-choose-section {
    padding: 100px 0;
    background: var(--background);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.why-card {
    padding: 32px 22px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: var(--background-soft);
    text-align: center;

    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}

.why-card .why-icon {
    width: 65px;
    height: 65px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(22, 121, 163, 0.12);
    color: var(--primary-light);

    font-size: 28px;
}

.why-card h3 {
    margin-bottom: 12px;
    font-size: 18px;
}

.why-card p {
    color: var(--text-muted);
    font-size: 14px;
}

/* =========================================================
   19. APPROACH SECTION
========================================================= */

.approach-section {
    padding: 100px 0;
    background: var(--background-soft);
}

.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.approach-image {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-heavy);
}

.approach-image img {
    width: 100%;
    height: 430px;
    object-fit: cover;
}

.approach-content h2 {
    font-size: clamp(29px, 4vw, 42px);
    line-height: 1.2;
    margin-bottom: 20px;
}

.approach-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.approach-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 25px;
}

.approach-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text);
}

.approach-list li::before {
    content: "✓";

    flex-shrink: 0;

    width: 25px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--primary);
    color: #FFFFFF;

    font-size: 13px;
    font-weight: 900;
}

/* =========================================================
   20. PRICING / QUOTE SECTION
========================================================= */

.pricing-section {
    padding: 85px 0;
    background: var(--primary);
    color: #FFFFFF;
}

.pricing-content {
    max-width: 850px;
    margin: auto;
    padding: 0 20px;
    text-align: center;
}

.pricing-content h2 {
    font-size: clamp(30px, 5vw, 45px);
    line-height: 1.2;
    margin-bottom: 20px;
}

.pricing-content p {
    max-width: 680px;
    margin: 0 auto 28px;
    color: #E1F2F8;
}

.pricing-content .btn {
    margin: 5px;
}

/* =========================================================
   21. FINAL CALL TO ACTION
========================================================= */

.final-cta-section {
    padding: 90px 0;
    background: var(--background-soft);
}

.final-cta-content {
    max-width: 850px;
    margin: auto;
    text-align: center;
    padding: 0 20px;
}

.final-cta-content h2 {
    font-size: clamp(30px, 4vw, 43px);
    margin-bottom: 18px;
}

.final-cta-content p {
    color: var(--text-muted);
    margin-bottom: 28px;
}

.final-cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* =========================================================
   22. FOOTER
========================================================= */

.site-footer {
    background: #052F40;
    color: #FFFFFF;
    padding: 75px 0 0;
}

.footer-grid {
    width: min(92%, var(--container-width));
    margin: auto;

    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 45px;

    padding-bottom: 55px;
}

.footer-brand img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    margin-bottom: 18px;
}

.footer-brand h3 {
    font-size: 21px;
    margin-bottom: 15px;
}

.footer-brand p {
    color: #C2D7E0;
    font-size: 14px;
}

.footer-grid h3,
.footer-grid h4 {
    margin-bottom: 20px;
    font-size: 17px;
}

.footer-links,
.footer-services,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-services a,
.footer-contact a {
    color: #C2D7E0;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-services a:hover,
.footer-contact a:hover {
    color: #FFFFFF;
    padding-left: 5px;
}

.footer-bottom {
    padding: 22px 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    text-align: center;
    color: #C2D7E0;
    font-size: 13px;
}

/* =========================================================
   23. FLOATING WHATSAPP BUTTON
========================================================= */

.floating-whatsapp {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 900;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #25D366;
    color: #FFFFFF;

    font-size: 29px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);

    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background: #1EBE5D;
}

/* =========================================================
   24. IMAGE VIEWER
========================================================= */

.image-viewer {
    position: fixed;
    inset: 0;
    z-index: 11000;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 70px 25px 30px;

    background: rgba(0, 0, 0, 0.94);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.image-viewer.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.image-viewer-stage {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: auto;
}

.image-viewer-stage img {
    max-width: 90%;
    max-height: 85vh;

    object-fit: contain;

    transform: scale(1);
    transform-origin: center;

    transition: transform 0.2s ease;
}

.close-image-viewer,
#closeImageViewer {
    position: absolute;
    top: 20px;
    right: 25px;

    width: 45px;
    height: 45px;

    border: none;
    border-radius: 50%;

    background: #FFFFFF;
    color: #111111;

    font-size: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: var(--transition);
}

.close-image-viewer:hover,
#closeImageViewer:hover {
    background: #E5F5FA;
    transform: rotate(90deg);
}

.image-viewer-controls {
    position: absolute;
    left: 50%;
    bottom: 20px;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 10px;
}

.image-viewer-controls button {
    width: 43px;
    height: 43px;

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;

    font-size: 19px;
    font-weight: 700;

    transition: var(--transition);
}

.image-viewer-controls button:hover {
    background: #FFFFFF;
    color: var(--primary);
}

/* =========================================================
   25. GENERAL INNER PAGE BANNER
========================================================= */

.page-banner {
    position: relative;
    min-height: 350px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 70px 20px;

    background:
        linear-gradient(
            rgba(3, 48, 67, 0.88),
            rgba(3, 48, 67, 0.78)
        ),
        url("assets/hero-painting.jpg") center / cover no-repeat;

    text-align: center;
    color: #FFFFFF;
}

.page-banner h1 {
    font-size: clamp(35px, 5vw, 55px);
    margin-bottom: 12px;
    line-height: 1.2;
}

.page-banner p {
    color: #E3F3F8;
    font-size: 16px;
}

.breadcrumb {
    margin-top: 15px;
    font-size: 13px;
    color: #C5E8F5;
}

.breadcrumb a {
    color: #FFFFFF;
}

/* =========================================================
   26. INNER PAGE CONTENT
========================================================= */

.content-section {
    padding: 85px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.content-section h2 {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.2;
    margin-bottom: 20px;
}

.content-section p {
    color: var(--text-muted);
    margin-bottom: 17px;
}

.content-image {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-heavy);
}

.content-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

/* =========================================================
   27. CONTACT PAGE
========================================================= */

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 45px;
    align-items: start;
}

.contact-information {
    padding: 35px;
    border-radius: 12px;
    background: var(--background-soft);
    border: 1px solid var(--border);
}

.contact-information h2 {
    margin-bottom: 20px;
}

.contact-information p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.contact-information-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 22px;
}

.contact-information-item .contact-icon {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;
    background: var(--primary);
    color: #FFFFFF;

    font-size: 19px;
}

.contact-information-item h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.contact-information-item p,
.contact-information-item a {
    color: var(--text-muted);
    font-size: 14px;
}

.contact-information-item a:hover {
    color: var(--primary-light);
}

.contact-form {
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--background);
    box-shadow: var(--shadow);
}

.contact-form h2 {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 13px 15px;

    border: 1px solid var(--border);
    border-radius: 6px;

    background: var(--background-soft);
    color: var(--text);

    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(22, 121, 163, 0.12);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

/* =========================================================
   28. RESPONSIVE TABLET DESIGN
========================================================= */

@media (max-width: 1050px) {

    .main-navigation {
        gap: 17px;
    }

    .main-navigation a {
        font-size: 13px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================================
   29. RESPONSIVE MOBILE DESIGN
========================================================= */

@media (max-width: 768px) {

    html {
        scroll-padding-top: 75px;
    }

    .header-container {
        min-height: 72px;
    }

    .brand-logo img {
        width: 48px;
        height: 48px;
    }

    .brand-logo h1 {
        font-size: 17px;
    }

    .brand-logo span {
        font-size: 9px;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-navigation {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        padding: 0 5%;

        background: var(--background);

        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);

        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;

        transition:
            max-height 0.4s ease,
            opacity 0.3s ease,
            visibility 0.3s ease;
    }

    .main-navigation.active {
        max-height: 450px;
        padding-top: 12px;
        padding-bottom: 18px;
        opacity: 1;
        visibility: visible;
    }

    .main-navigation a {
        padding: 13px 5px;
        border-bottom: 1px solid var(--border);
        font-size: 15px;
    }

    .main-navigation a::after {
        display: none;
    }

    .header-actions {
        gap: 8px;
    }

    .theme-toggle {
        width: 39px;
        height: 39px;
    }

    .hero-section {
        min-height: 570px;
    }

    .hero-overlay {
        background: rgba(3, 42, 59, 0.78);
    }

    .hero-content {
        padding: 75px 0;
    }

    .hero-content p {
        font-size: 15px;
    }

    .welcome-section,
    .services-section,
    .why-choose-section,
    .approach-section {
        padding: 75px 0;
    }

    .welcome-grid,
    .approach-grid,
    .content-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .welcome-image img {
        height: 350px;
    }

    .approach-image img {
        height: 350px;
    }

    .content-image img {
        height: 350px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .service-image {
        height: 190px;
    }

    .service-card-content {
        padding: 20px;
    }

    .service-card-content h3 {
        font-size: 18px;
    }

    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .why-card {
        padding: 25px 15px;
    }

    .pricing-section,
    .final-cta-section {
        padding: 70px 0;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px 25px;
    }

    .page-banner {
        min-height: 280px;
    }

    .contact-information,
    .contact-form {
        padding: 25px;
    }

    /* Introduction on mobile */

    .intro-word {
        font-size: clamp(35px, 9vw, 65px);
        letter-spacing: 0.045em;
    }

    .intro-ug-container {
        min-height: 95px;
    }

    .intro-painted-ug {
        font-size: clamp(55px, 13vw, 85px);
    }

    .intro-paintbrush {
        width: 58px;
        height: 58px;
    }

    .intro-paintbrush.painting {
        transform: translate(65px, -50%) rotate(-35deg);
    }

    .completed-brand-line span {
        font-size: clamp(35px, 9vw, 65px);
        letter-spacing: 0.045em;
    }

    .intro-welcome-logo {
        width: 80px;
        height: 80px;
    }

    .skip-intro {
        top: 17px;
        right: 17px;
        padding: 8px 15px;
    }
}

/* =========================================================
   30. SMALL MOBILE SCREENS
========================================================= */

@media (max-width: 480px) {

    .container {
        width: 90%;
    }

    .hero-section {
        min-height: 530px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-image {
        height: 220px;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .welcome-image img,
    .approach-image img {
        height: 290px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .floating-whatsapp {
        width: 53px;
        height: 53px;
        right: 16px;
        bottom: 16px;
    }

    .intro-word {
        font-size: clamp(29px, 8.5vw, 45px);
        letter-spacing: 0.025em;
    }

    .intro-ug-container {
        min-height: 80px;
    }

    .intro-painted-ug {
        font-size: 58px;
    }

    .intro-paintbrush {
        width: 48px;
        height: 48px;
    }

    .intro-paintbrush.painting {
        transform: translate(45px, -50%) rotate(-35deg);
    }

    .completed-brand-line span {
        font-size: clamp(29px, 8.5vw, 45px);
    }

    .intro-welcome-content {
        padding: 20px;
    }

    .intro-welcome-content h1 {
        font-size: 36px;
    }

    .intro-welcome-small {
        font-size: 11px;
        letter-spacing: 0.2em;
    }

    .image-viewer {
        padding: 60px 10px 75px;
    }

    .image-viewer-stage img {
        max-width: 100%;
    }
}

/* =========================================================
   31. REDUCED MOTION ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================================
   32. INTRODUCTION DESIGN UPDATE
   Integrated override - added after original stylesheet
   Developed by MUVIRA Technologies
========================================================= */

/* BRAND ANIMATION: BEST PAINTERS ON ONE LINE */

.intro-main-name {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: center;
    gap: 0.22em;
    width: 100%;
    white-space: nowrap;
}

.intro-best,
.intro-painters {
    display: inline-flex;
    flex-direction: row;
    white-space: nowrap;
}

.intro-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(12px);
    transition:
        opacity 0.45s ease,
        transform 0.45s ease;
}

.intro-letter.visible {
    opacity: 1;
    transform: translateY(0);
}

/* UG DIRECTLY UNDER BEST PAINTERS */

.intro-ug-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 15px;
    width: 100%;
    min-height: 90px;
}

.intro-painted-ug {
    position: relative;
    display: inline-block;
    font-weight: 900;
    letter-spacing: 0.12em;
    color: #ffffff;
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: translateY(5px);
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
}

.intro-painted-ug.revealing {
    opacity: 1;
    animation: ugPaintReveal 2.4s ease forwards;
}

.intro-painted-ug.painting-complete {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
}

/* IRREGULAR PAINT TEXTURE */

.intro-painted-ug.revealing::after,
.intro-painted-ug.painting-complete::after {
    content: "";
    position: absolute;
    inset: -5px -8px;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 35%, #ffffff 0 2px, transparent 3px),
        radial-gradient(circle at 28% 85%, #d5f3ff 0 2px, transparent 3px),
        radial-gradient(circle at 55% 12%, #ffffff 0 2px, transparent 3px),
        radial-gradient(circle at 78% 72%, #d5f3ff 0 2px, transparent 3px),
        radial-gradient(circle at 94% 30%, #ffffff 0 2px, transparent 3px);
    opacity: 0.8;
}

@keyframes ugPaintReveal {
    0% {
        opacity: 1;
        clip-path: inset(0 100% 0 0);
        transform: translateY(5px);
    }

    15% {
        clip-path: polygon(
            0 0, 100% 0, 100% 100%,
            0 100%
        );
    }

    35% {
        clip-path: polygon(
            0 0, 100% 0, 100% 100%,
            0 100%
        );
    }

    100% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: translateY(0);
    }
}

/* PAINTBRUSH MOVEMENT */

.intro-paintbrush {
    position: absolute;
    z-index: 5;
    transform-origin: center;
}

.intro-paintbrush.painting {
    animation: brushPaintMovement 2.4s ease-in-out forwards;
}

.intro-paintbrush.paint-finished {
    opacity: 0;
    transition: opacity 0.4s ease;
}

@keyframes brushPaintMovement {
    0% {
        transform: translateX(-100px) rotate(-18deg);
        opacity: 0;
    }

    12% {
        opacity: 1;
    }

    45% {
        transform: translateX(0) rotate(-8deg);
    }

    85% {
        transform: translateX(100px) rotate(5deg);
        opacity: 1;
    }

    100% {
        transform: translateX(125px) rotate(8deg);
        opacity: 0;
    }
}

/* COMPLETED BRAND */

.completed-brand {
    text-align: center;
}

.completed-brand h1 {
    white-space: nowrap;
}

/* WELCOME SCREEN: PURE WHITE BACKGROUND */

.intro-welcome-stage {
    position: absolute;
    inset: 0;
    background: #07516b;
    color: #ffffff;
    overflow: hidden;
}

.intro-welcome-background {
    position: absolute;
    inset: 0;
    background: url("assets/hero-painting.jpg") center center / cover no-repeat;
    animation: welcomeBackgroundZoom 8s ease forwards;
}

.intro-welcome-overlay {
    position: absolute;
    inset: 0;
    background: rgba(3, 39, 55, 0.20);
}

.intro-welcome-content {
    position: relative;
    z-index: 3;
    color: #ffffff;
}

.intro-welcome-content h1 {
    color: #ffffff;
}

.intro-welcome-content h1 span {
    color: #b9e8ff;
}

.intro-welcome-small,
.intro-welcome-tagline {
    color: #ffffff;
}

/* LOADING DOTS */

.intro-welcome-loader span {
    background: #ffffff;
}

/* DECORATIVE PAINT SPLASHES */

.intro-welcome-stage::before,
.intro-welcome-stage::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.16;
    z-index: 1;
}

.intro-welcome-stage::before {
    top: -65px;
    left: -55px;
    background:
        radial-gradient(circle, #1679a3 0 28%, transparent 30%),
        radial-gradient(circle at 75% 65%, #07516b 0 7%, transparent 9%);
}

.intro-welcome-stage::after {
    bottom: -65px;
    right: -55px;
    background:
        radial-gradient(circle, #1679a3 0 28%, transparent 30%),
        radial-gradient(circle at 25% 30%, #07516b 0 7%, transparent 9%);
}

/* RESPONSIVE INTRODUCTION */

@media (max-width: 600px) {

    .intro-main-name {
        gap: 0.12em;
        transform: scale(0.88);
    }

    .intro-ug-container {
        margin-top: 8px;
        min-height: 70px;
    }

    .completed-brand h1 {
        font-size: clamp(1.5rem, 7vw, 2.5rem);
    }

    .intro-welcome-content h1 {
        font-size: clamp(1.7rem, 7vw, 2.5rem);
    }
}

@media (prefers-reduced-motion: reduce) {

    .intro-letter {
        transition: none;
    }

    .intro-paintbrush.painting {
        animation-duration: 0.1s;
    }

    .intro-painted-ug.revealing {
        animation-duration: 0.1s;
    }
}

/* =========================================================
   END OF BEST PAINTERS UG STYLESHEET
   Developed by MUVIRA Technologies
========================================================= */
