/* ==========================================================================
   DESIGN SYSTEM & VARIABLES - ALEX PAINTING LLC
   ========================================================================== */

:root {
    /* Color Palette */
    --primary-blue: #2F4F9E;
    --primary-blue-dark: #1E346D;
    --primary-blue-light: #4A6EC4;
    --accent-orange: #F07A4B;
    --accent-orange-dark: #D45B2C;
    --accent-orange-light: #F79F7A;
    --text-dark: #1E293B;
    --text-light: #F8FAFC;
    --text-gray: #64748B;
    --bg-light: #F1F5F9;
    --bg-white: #FFFFFF;
    --whatsapp-green: #25D366;
    --whatsapp-green-dark: #128C7E;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Details */
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 8px 16px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Before/After Exposure Variable */
    --exposure: 50%;
}

/* ==========================================================================
   RESET & UTILITIES
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, select, input, textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 20px;
    padding-left: 20px;
}

.bg-light { background-color: var(--bg-light); }
.text-orange { color: var(--accent-orange) !important; }
.text-blue { color: var(--primary-blue) !important; }
.py-10 { padding-top: 5rem; padding-bottom: 5rem; }
.py-12 { padding-top: 6rem; padding-bottom: 6rem; }
.text-center { text-align: center; }

/* Section Header Styling */
.section-header {
    margin-bottom: 3.5rem;
}

.section-header .sub-title {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-orange);
    margin-bottom: 0.75rem;
}

.section-header .section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-blue-dark);
    line-height: 1.25;
}

.divider-brush {
    width: 80px;
    height: 6px;
    background-color: var(--accent-orange);
    margin: 1rem auto;
    border-radius: 3px;
    position: relative;
}

.divider-brush::before, .divider-brush::after {
    content: '';
    position: absolute;
    height: 6px;
    border-radius: 3px;
    background-color: var(--primary-blue);
}

.divider-brush::before {
    width: 20px;
    left: -28px;
}

.divider-brush::after {
    width: 12px;
    right: -20px;
}

.section-description {
    max-width: 600px;
    margin-right: auto;
    margin-left: auto;
    color: var(--text-gray);
    font-size: 1.125rem;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 28px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(47, 79, 158, 0.3);
}

.btn-secondary {
    background-color: var(--accent-orange);
    color: var(--bg-white);
}

.btn-secondary:hover {
    background-color: var(--accent-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(240, 122, 75, 0.3);
}

.btn-accent {
    background-color: var(--accent-orange);
    color: var(--bg-white);
}

.btn-accent:hover {
    background-color: var(--accent-orange-dark);
    transform: translateY(-2px);
}

.btn-white-border {
    border: 2px solid var(--bg-white);
    color: var(--bg-white);
    background: transparent;
}

.btn-white-border:hover {
    background-color: var(--bg-white);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

/* Paint Roller Hover Effect Keyframe & Styling */
.btn-roller-animation {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-roller-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--accent-orange);
    transition: transform 0.4s ease;
    z-index: -1;
    transform: skewX(-20deg);
}

.btn-primary.btn-roller-animation::before {
    background-color: var(--accent-orange);
}

.btn-secondary.btn-roller-animation::before {
    background-color: var(--primary-blue);
}

.btn-roller-animation:hover::before {
    left: 100%;
    transition: all 0.6s ease;
}

/* ==========================================================================
   HEADER SECTION
   ========================================================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

/* Top bar with basic quick links */
.header-top {
    background-color: var(--primary-blue-dark);
    color: var(--bg-white);
    font-size: 0.8rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-top-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    gap: 20px;
}

.top-info .info-item i {
    margin-right: 6px;
}

.top-meta {
    display: flex;
    gap: 15px;
}

.top-meta .badge {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: 600;
}

.top-meta .badge i {
    color: var(--accent-orange);
    margin-right: 4px;
}

/* Bottom main bar */
.header-bottom {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 0;
    transition: var(--transition-normal);
}

.header-nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Crop Container */
.logo-link {
    display: block;
    width: 180px;
    height: 60px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

.header-logo {
    position: absolute;
    width: 180px;
    height: auto;
    top: -86px; /* Crops top and bottom empty padding to center actual logo */
    left: 0;
    transition: var(--transition-normal);
}

/* Desktop Links */
.nav-menu ul {
    display: flex;
    gap: 28px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
    padding: 6px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent-orange);
    transition: var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Paint Palette Visualizer Header Shortcut */
.palette-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-light);
    color: var(--primary-blue-dark);
    padding: 8px 16px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    border: 1px solid rgba(47, 79, 158, 0.15);
    cursor: pointer;
    transition: var(--transition-fast);
}

.palette-btn i {
    color: var(--accent-orange);
    font-size: 1rem;
    animation: rotatePalette 6s linear infinite;
}

.palette-btn:hover {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    border-color: var(--primary-blue);
}

.palette-btn:hover i {
    color: var(--bg-white);
}

/* Hamburger mobile button */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    cursor: pointer;
}

.mobile-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition-normal);
}

/* Scrolled header state */
.main-header.scrolled {
    box-shadow: var(--shadow-md);
}

.main-header.scrolled .header-top {
    margin-top: -38px; /* Hide top bar smoothly on scroll */
    opacity: 0;
    pointer-events: none;
}

.main-header.scrolled .header-bottom {
    padding: 8px 0;
    background-color: rgba(255, 255, 255, 0.98);
}

.main-header.scrolled .logo-link {
    width: 140px;
    height: 46px;
}

.main-header.scrolled .header-logo {
    width: 140px;
    top: -68px; /* Recenter for smaller scale */
}

/* Mobile Menu overlay drawer */
.mobile-menu {
    position: fixed;
    top: 96px; /* Below scrolled header */
    left: 100%;
    width: 100%;
    height: calc(100vh - 96px);
    background-color: var(--bg-white);
    z-index: 99;
    padding: 30px;
    transition: var(--transition-slow);
    overflow-y: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu.active {
    left: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--text-dark);
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-light);
}

.mobile-nav-link.active, .mobile-nav-link:hover {
    color: var(--primary-blue);
    padding-left: 10px;
}

.mobile-palette-btn {
    margin-top: 10px;
    justify-content: center;
    width: 100%;
    padding: 14px;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
}

.mobile-menu-info {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px dashed var(--bg-light);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-menu-info p {
    font-weight: 600;
    color: var(--text-gray);
}

.mobile-menu-info a {
    color: var(--text-dark);
}

.mobile-menu-info .estimate-tag {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Hamburger active transformation */
.mobile-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   PAGE STRUCTURE: VIEWS
   ========================================================================== */

.page-section {
    display: none;
    margin-top: 110px; /* Offset for sticky header height */
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.page-section.active {
    display: block;
    opacity: 1;
}

/* Header banner for interior pages */
.section-header-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
    color: var(--bg-white);
}

.section-header-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.4);
    z-index: 1;
}

.section-header-banner .container {
    position: relative;
    z-index: 2;
}

.banner-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
}

.banner-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
}

/* ==========================================================================
   PAGE 1: HOME DETAILS
   ========================================================================== */

/* Hero banner */
.hero-section {
    position: relative;
    padding: 9rem 0 10rem;
    color: var(--bg-white);
    overflow: hidden;
    background-color: #0F172A; /* Fallback dark background color */
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.60); /* 60% dark overlay */
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    max-width: 720px;
    opacity: 0;
    animation: cinematicFadeIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

/* Cinematic fade-in keyframes */
@keyframes cinematicFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.hero-container {
    position: relative;
    z-index: 3;
}


.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-orange-light);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 3.5rem;
}

.hero-highlights {
    display: flex;
    gap: 25px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.highlight-item i {
    font-size: 1.1rem;
}

/* Curved shape divider fill */
.hero-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 2;
}

.hero-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.hero-divider .shape-fill {
    fill: var(--bg-white);
}

/* Badges section underneath hero */
.section-badges {
    position: relative;
    margin-top: -50px;
    z-index: 5;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.badge-card {
    background-color: var(--bg-white);
    padding: 24px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 4px solid var(--primary-blue);
    transition: var(--transition-normal);
}

.badge-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--accent-orange);
}

.badge-icon {
    font-size: 2.25rem;
    color: var(--accent-orange);
    flex-shrink: 0;
}

.badge-text h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin-bottom: 4px;
}

.badge-text p {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.3;
}

/* Why choose us */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-card {
    background-color: var(--bg-white);
    padding: 30px 24px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.why-icon {
    width: 52px;
    height: 52px;
    border-radius: 50px;
    background-color: rgba(240, 122, 75, 0.1);
    color: var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    transition: var(--transition-fast);
}

.why-card:hover .why-icon {
    background-color: var(--primary-blue);
    color: var(--bg-white);
}

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Services Preview cards */
.services-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-preview-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition-normal);
}

.service-preview-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-img-placeholder {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-icon-bg {
    position: absolute;
    bottom: -22px;
    right: 24px;
    width: 48px;
    height: 48px;
    background-color: var(--accent-orange);
    color: var(--bg-white);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 10px rgba(240, 122, 75, 0.3);
    transition: var(--transition-normal);
}

.service-preview-card:hover .service-icon-bg {
    background-color: var(--primary-blue);
    transform: rotateY(360deg);
}

.service-card-body {
    padding: 35px 24px 24px;
}

.service-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin-bottom: 12px;
}

.service-card-body p {
    font-size: 0.925rem;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-text-arrow {
    padding: 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: none;
}

.btn-text-arrow i {
    transition: transform var(--transition-fast);
}

.btn-text-arrow:hover {
    color: var(--accent-orange);
    transform: none;
}

.btn-text-arrow:hover i {
    transform: translateX(5px);
}

/* Featured Projects section */
.section-featured-projects {
    background-color: var(--bg-white);
}

.featured-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.featured-project-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.featured-project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.fp-img-box {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.fp-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.featured-project-card:hover .fp-img-box img {
    transform: scale(1.06);
}

.fp-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-orange);
    color: var(--bg-white);
    padding: 4px 10px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.fp-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.fp-info h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin-bottom: 10px;
}

.fp-info p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Testimonial slider layouts */
.testimonial-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    transition: transform var(--transition-slow);
}

.testimonial-slide {
    min-width: 100%;
    display: none;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
}

.testimonial-card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    border-top: 4px solid var(--accent-orange);
}

.testimonial-card .stars {
    color: #FBBF24;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.testimonial-card .quote-text {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 30px;
}

.testimonial-author {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50px;
    background-color: rgba(47, 79, 158, 0.1);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.author-meta h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
}

.author-meta p {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-top: 25px;
}

.control-btn {
    width: 44px;
    height: 44px;
    border-radius: 50px;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    color: var(--primary-blue-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.control-btn:hover {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    transform: scale(1.05);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background-color: var(--text-gray);
    opacity: 0.3;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dot.active {
    width: 25px;
    opacity: 1;
    background-color: var(--primary-blue);
}

/* FAQ Accordion Elements */
.faq-container-width {
    max-width: 800px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 22px 28px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary-blue-dark);
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent-orange);
}

.faq-toggle-icon {
    font-size: 1.1rem;
    transition: transform var(--transition-normal);
}

.faq-answer-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--transition-normal);
}

.faq-answer {
    overflow: hidden;
}

.faq-answer p {
    padding: 0 28px 22px;
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.faq-answer p a {
    color: var(--primary-blue);
    font-weight: 600;
}

.faq-item.active .faq-answer-wrapper {
    grid-template-rows: 1fr;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
    color: var(--accent-orange);
}

/* Call to Action Banner section */
.section-cta {
    background-size: cover;
    background-position: center;
    color: var(--bg-white);
    padding: 5.5rem 0;
}

.cta-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cta-text h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
}

.cta-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 680px;
}

.cta-actions {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

/* ==========================================================================
   PAGE 2: ABOUT DETAILS
   ========================================================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 5rem;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-blue-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-content p {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-content strong {
    color: var(--text-dark);
}

.about-quote {
    font-family: var(--font-body);
    font-style: italic;
    border-left: 4px solid var(--accent-orange);
    padding-left: 20px;
    margin: 25px 0;
    color: var(--primary-blue-dark);
    font-weight: 500;
}

.about-stats-row {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-box {
    background-color: var(--bg-light);
    padding: 15px 24px;
    border-radius: var(--border-radius-sm);
    text-align: center;
    flex: 1;
}

.stat-box h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-orange);
}

.stat-box p {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin-bottom: 0;
}

.about-graphics {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.image-frame-about {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.main-about-img {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: cover;
}

.badge-experience-box {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-blue);
    color: var(--bg-white);
    padding: 15px 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    max-width: 160px;
    text-align: center;
}

.badge-experience-box h4 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--accent-orange-light);
}

.badge-experience-box p {
    font-size: 0.75rem;
    margin-bottom: 0;
    font-weight: 600;
}

.mission-card {
    background-color: var(--primary-blue-dark);
    color: var(--bg-white);
    padding: 24px;
    border-radius: var(--border-radius-md);
    display: flex;
    gap: 15px;
    box-shadow: var(--shadow-md);
}

.mission-card .card-icon {
    font-size: 2.25rem;
    color: var(--accent-orange-light);
}

.mission-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--bg-white);
}

.mission-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background-color: var(--bg-white);
    padding: 35px 24px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.03);
}

.value-icon {
    width: 64px;
    height: 64px;
    border-radius: 50px;
    background-color: rgba(47, 79, 158, 0.08);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 20px;
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 0.925rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ==========================================================================
   PAGE 3: SERVICES DETAILS
   ========================================================================== */

.services-intro {
    max-width: 720px;
    margin: 0 auto 4rem;
    font-size: 1.15rem;
    color: var(--text-gray);
}

.services-detail-list {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.service-detail-item {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.service-detail-item.alt-row {
    grid-template-columns: 1.1fr 1fr;
}

.service-detail-item.alt-row .service-detail-img-box {
    order: 2;
}

.service-detail-img-box {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
}

.service-detail-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-detail-item:hover .service-detail-img-box img {
    transform: scale(1.05);
}

.badge-before-after-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: var(--bg-white);
    padding: 6px 14px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.service-detail-content .service-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(47, 79, 158, 0.1);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.service-detail-content h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-blue-dark);
    margin-bottom: 12px;
}

.service-detail-content p {
    color: var(--text-gray);
    font-size: 1.05rem;
    margin-bottom: 25px;
}

.service-detail-content h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.benefits-list li {
    font-size: 0.95rem;
    color: var(--text-gray);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.benefits-list li i {
    font-size: 1.05rem;
    margin-top: 3px;
}

/* ==========================================================================
   PAGE 4: GALLERY & LIGHTBOX
   ========================================================================== */

/* Before After Section */
.before-after-showcase {
    margin-bottom: 5rem;
}

.before-after-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.ba-slider-container {
    background-color: var(--bg-light);
    padding: 24px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.ba-slider-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Modern Clip-path based Before/After Slider */
.ba-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-md);
    user-select: none;
    cursor: ew-resize;
}

.ba-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.img-after {
    z-index: 1;
}

.img-before {
    z-index: 2;
    /* Apply modern clipping using CSS variable */
    clip-path: polygon(0 0, var(--exposure, 50%) 0, var(--exposure, 50%) 100%, 0 100%);
    filter: brightness(0.95);
}

/* Handlebar */
.ba-handle {
    position: absolute;
    top: 0;
    left: var(--exposure, 50%);
    width: 4px;
    height: 100%;
    background-color: var(--accent-orange);
    z-index: 3;
    cursor: ew-resize;
    transform: translateX(-50%);
    pointer-events: none;
}

.ba-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 38px;
    height: 38px;
    border-radius: 50px;
    background-color: var(--accent-orange);
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    border: 3px solid var(--bg-white);
}

/* arrows */
.ba-arrow-left, .ba-arrow-right {
    position: absolute;
    top: 50%;
    color: var(--bg-white);
    font-size: 0.85rem;
    transform: translateY(-50%);
    pointer-events: none;
}

.ba-arrow-left {
    left: var(--exposure, 50%);
    margin-left: -13px;
    z-index: 4;
}

.ba-arrow-right {
    left: var(--exposure, 50%);
    margin-left: 7px;
    z-index: 4;
}

.ba-label {
    position: absolute;
    bottom: 12px;
    padding: 4px 10px;
    border-radius: 3px;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(3px);
    color: var(--bg-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    pointer-events: none;
}

.label-before {
    left: 12px;
    z-index: 4;
}

.label-after {
    right: 12px;
    z-index: 4;
}

.ba-slider-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 15px;
    line-height: 1.5;
}

/* Category Filters */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 2.5rem;
}

.filter-tab {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 22px;
    background-color: var(--bg-light);
    color: var(--text-dark);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-tab:hover, .filter-tab.active {
    background-color: var(--primary-blue);
    color: var(--bg-white);
}

/* Masonry Grid CSS (Uses grid auto-fill) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 1; /* Keep perfect squares for dynamic grid */
    cursor: pointer;
    transition: var(--transition-normal);
}

.gallery-item.hidden {
    display: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(15, 23, 42, 0.1), rgba(47, 79, 158, 0.85));
    opacity: 0;
    transition: opacity var(--transition-normal);
    color: var(--bg-white);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.gallery-item:hover .gallery-hover-overlay {
    opacity: 1;
}

.gallery-hover-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
    transform: translateY(15px);
    transition: transform var(--transition-normal);
}

.gallery-hover-overlay p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    transform: translateY(15px);
    transition: transform var(--transition-normal) 0.05s;
    margin-bottom: 12px;
}

.gallery-hover-overlay .btn-lightbox-open {
    width: 36px;
    height: 36px;
    border-radius: 50px;
    background-color: var(--accent-orange);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    font-size: 0.9rem;
    cursor: pointer;
    transform: translateY(15px);
    transition: transform var(--transition-normal) 0.1s, background-color var(--transition-fast);
}

.gallery-hover-overlay .btn-lightbox-open:hover {
    background-color: var(--bg-white);
    color: var(--accent-orange);
}

.gallery-item:hover .gallery-hover-overlay h3,
.gallery-item:hover .gallery-hover-overlay p,
.gallery-item:hover .gallery-hover-overlay .btn-lightbox-open {
    transform: translateY(0);
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.95);
    z-index: 1000;
    display: none; /* Controlled by JS */
    align-items: center;
    justify-content: center;
    padding: 30px;
}

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

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 2.25rem;
    color: var(--bg-white);
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--accent-orange);
}

.lightbox-content {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-height: 75vh;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-caption {
    color: var(--bg-white);
    text-align: center;
    margin-top: 15px;
}

.lightbox-caption h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.lightbox-caption p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* ==========================================================================
   PAGE 5: CONTACT & ESTIMATES
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: flex-start;
}

.contact-info-block h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-blue-dark);
    margin-bottom: 12px;
}

.contact-info-block p {
    color: var(--text-gray);
    margin-bottom: 30px;
    font-size: 1rem;
}

.info-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
}

.info-details-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.info-detail-card {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-card-icon {
    width: 48px;
    height: 48px;
    background-color: var(--bg-light);
    color: var(--primary-blue);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-card-text .label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.info-card-text .val {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0;
}

.info-card-text .val a:hover {
    color: var(--primary-blue);
}

.contact-trust-box {
    padding: 24px;
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--primary-blue);
}

.contact-trust-box h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-trust-box p {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: 0;
}

/* Contact Lead Form */
.contact-form-block {
    padding: 40px;
    border-radius: var(--border-radius-md);
    position: relative;
}

.form-header {
    margin-bottom: 28px;
}

.form-header h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-blue-dark);
    margin-bottom: 8px;
}

.form-header p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-group label .required {
    color: var(--accent-orange);
}

.input-icon-wrapper {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    opacity: 0.6;
    pointer-events: none;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--bg-light);
    background-color: var(--bg-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all var(--transition-fast);
}

.form-group textarea {
    padding-left: 16px; /* No icon for textarea */
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue-light);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(47, 79, 158, 0.1);
}

/* Invalid inputs styling */
.form-group.invalid input,
.form-group.invalid select {
    border-color: #EF4444;
    background-color: #FEF2F2;
}

.form-error-msg {
    display: none;
    font-size: 0.75rem;
    font-weight: 600;
    color: #EF4444;
    margin-top: 5px;
}

.form-group.invalid .form-error-msg {
    display: block;
}

/* Success notice */
.form-status-msg {
    display: none; /* Shown by JS */
    padding: 30px;
    border-radius: var(--border-radius-md);
    margin-top: 20px;
    align-items: flex-start;
    gap: 15px;
}

.form-status-msg.success {
    background-color: #ECFDF5;
    border: 1px solid #10B981;
    color: #065F46;
}

.form-status-msg.success .status-icon {
    font-size: 2rem;
    color: #10B981;
}

.status-text h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.status-text p {
    font-size: 0.925rem;
    line-height: 1.5;
}

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

.main-footer {
    background-color: #0F172A;
    color: rgba(255, 255, 255, 0.7);
}

.footer-top {
    padding: 6rem 0 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
}

.footer-logo-link {
    display: block;
    width: 180px;
    height: 60px;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.footer-brand .footer-logo {
    position: absolute;
    width: 180px;
    height: auto;
    top: -86px;
    left: 0;
}

.brand-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.social-links a:hover {
    background-color: var(--accent-orange);
    transform: translateY(-2px);
}

.footer-links h3, .footer-contact h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links h3::after, .footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--accent-orange);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links ul a {
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links ul a:hover {
    color: var(--accent-orange-light);
    transform: translateX(4px);
}

.footer-links ul a i {
    font-size: 0.75rem;
    opacity: 0.5;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact-info li {
    display: flex;
    gap: 12px;
}

.footer-contact-info li i {
    font-size: 1.15rem;
    margin-top: 4px;
}

.footer-contact-info p {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.6;
    margin-bottom: 2px;
}

.footer-contact-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--bg-white);
}

.footer-contact-info h4 a:hover {
    color: var(--accent-orange-light);
}

.footer-bottom {
    padding: 24px 0;
    background-color: #0B0F19;
    font-size: 0.85rem;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.footer-bottom-meta .pipe {
    opacity: 0.2;
}

/* ==========================================================================
   FLOATING ACTIONS FEATURES
   ========================================================================== */

/* 1. Floating WhatsApp Button (Bottom Left) */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-green);
    color: var(--bg-white);
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 99;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Pulsing effect ring */
.floating-whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    border: 3px solid var(--whatsapp-green);
    animation: pulseRing 2s infinite;
    pointer-events: none;
    z-index: -1;
}

.floating-whatsapp-btn:hover {
    background-color: var(--whatsapp-green-dark);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* Text Tooltip */
.whatsapp-tooltips {
    position: absolute;
    left: 72px;
    background-color: #0F172A;
    color: var(--bg-white);
    padding: 6px 14px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.whatsapp-tooltips::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent #0F172A transparent transparent;
}

.floating-whatsapp-btn:hover .whatsapp-tooltips {
    opacity: 1;
}

/* 2. Scroll to Top Button (Bottom Right) */
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 52px;
    height: 52px;
    background-color: var(--primary-blue);
    color: var(--bg-white);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(47, 79, 158, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    z-index: 99;
    cursor: pointer;
    transition: all 0.3s var(--transition-fast);
    opacity: 0; /* JS will toggle visibility */
    pointer-events: none;
    transform: translateY(20px);
}

.scroll-to-top-btn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-to-top-btn:hover {
    background-color: var(--accent-orange);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(240, 122, 75, 0.4);
}

/* 3. Floating Color Palette Button (Sherwin-Williams link) */
.floating-palette-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 52px;
    height: 52px;
    background-color: var(--bg-white);
    color: var(--primary-blue);
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(47, 79, 158, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 98;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.palette-icon-wrapper {
    position: relative;
    font-size: 1.45rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.palette-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 6px;
}

.dot-red { top: -4px; left: -2px; background-color: #EF4444; }
.dot-yellow { top: -2px; right: -4px; background-color: #FBBF24; }
.dot-blue { bottom: -4px; right: 2px; background-color: #3B82F6; }

.floating-palette-btn:hover {
    transform: scale(1.1) rotate(15deg);
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    box-shadow: var(--shadow-lg);
}

.palette-tooltip {
    position: absolute;
    right: 64px;
    background-color: var(--primary-blue-dark);
    color: var(--bg-white);
    padding: 6px 14px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.palette-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--primary-blue-dark);
}

.floating-palette-btn:hover .palette-tooltip {
    opacity: 1;
}

/* ==========================================================================
   CSS ANIMATIONS KEYFRAMES
   ========================================================================== */

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

@keyframes rotatePalette {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Large Desktop (Above 1200px container boundary) */
@media (min-width: 1200px) {
    /* Kept clean default container layout */
}

/* Medium & Small Desktops (1024px to 1200px) */
@media (max-width: 1200px) {
    .container { max-width: 960px; }
    
    .why-grid { grid-template-columns: repeat(3, 1fr); }
    .services-preview-grid { gap: 20px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    
    .hero-title { font-size: 3rem; }
    .about-grid { gap: 30px; }
}

/* Tablets (768px to 1023px) */
@media (max-width: 1023px) {
    .container { max-width: 720px; }
    
    /* Header toggle visibility */
    #desktop-menu, .header-actions .btn-estimate {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .main-header.scrolled .header-top {
        margin-top: 0;
        opacity: 1;
        pointer-events: auto;
    }
    
    /* Hero section shrink */
    .hero-section { padding: 8rem 0 6rem; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.05rem; }
    .hero-buttons { margin-bottom: 2rem; }
    
    /* Grid overrides */
    .badges-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .why-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .services-preview-grid { grid-template-columns: repeat(2, 1fr); }
    .featured-projects-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-graphics { order: -1; }
    .values-grid { grid-template-columns: 1fr; gap: 20px; }
    
    .services-detail-list { gap: 4rem; }
    .service-detail-item, .service-detail-item.alt-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .service-detail-item.alt-row .service-detail-img-box {
        order: 0;
    }
    
    .before-after-grid { grid-template-columns: 1fr; gap: 30px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    
    .cta-flex {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .floating-whatsapp-btn { bottom: 20px; left: 20px; width: 50px; height: 50px; font-size: 1.65rem; }
    .scroll-to-top-btn { bottom: 20px; right: 20px; width: 44px; height: 44px; font-size: 1rem; }
    .floating-palette-btn { bottom: 80px; right: 20px; width: 44px; height: 44px; }
    .whatsapp-tooltips, .palette-tooltip { display: none; } /* Hide tooltips on touch devices */
}

/* Mobile Devices (Below 768px) */
@media (max-width: 767px) {
    .container { padding-right: 15px; padding-left: 15px; }
    
    /* Top bar info hides on mobile screens */
    .header-top { display: none; }
    
    .main-header {
        top: 0;
    }
    
    .page-section {
        margin-top: 80px;
    }
    
    .mobile-menu {
        top: 76px;
        height: calc(100vh - 76px);
    }
    
    /* Hero */
    .hero-section { padding: 6rem 0 5rem; text-align: center; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-bottom: 2rem;
    }
    .hero-buttons .btn {
        width: 100%;
    }
    .hero-highlights {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    /* Grid systems collapses */
    .badges-grid { grid-template-columns: 1fr; gap: 12px; }
    .why-grid { grid-template-columns: 1fr; gap: 15px; }
    .services-preview-grid { grid-template-columns: 1fr; }
    .featured-projects-grid { grid-template-columns: 1fr; gap: 20px; }
    .gallery-grid { grid-template-columns: 1fr; }
    
    .about-stats-row { flex-direction: column; gap: 15px; }
    
    .banner-title { font-size: 2rem; }
    .section-header .section-title { font-size: 1.75rem; }
    
    .testimonial-card { padding: 25px 15px; }
    .testimonial-card .quote-text { font-size: 0.95rem; }
    
    .faq-question { padding: 18px 20px; font-size: 1rem; }
    .faq-answer p { padding: 0 20px 18px; }
    
    .contact-form-block { padding: 25px 15px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-top { padding: 4rem 0 3rem; }
    .footer-bottom-flex { flex-direction: column; gap: 15px; text-align: center; }
    .footer-bottom-meta { flex-direction: column; gap: 8px; }
    .footer-bottom-meta .pipe { display: none; }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    .cta-actions .btn {
        width: 100%;
    }
    .cta-text h2 {
        font-size: 1.75rem;
    }
}
