/* ==========================================================================
   MILLER FLOORING - PREMIUM DESIGN SYSTEM & CUSTOM STYLES
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CUSTOM PROPERTIES & CORE VARIABLES
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette */
    --primary-color: #0D1B2A;
    --primary-rgb: 13, 27, 42;
    --secondary-color: #1B263B;
    --secondary-rgb: 27, 38, 59;
    --accent-gold: #C89B3C;
    --accent-gold-rgb: 200, 155, 60;
    --accent-gold-hover: #B3832D;
    --accent-gold-light: rgba(200, 155, 60, 0.08);
    --accent-gold-gradient: linear-gradient(135deg, #C89B3C 0%, #E0B75E 100%);
    --bg-color: #FFFFFF;
    --bg-light: #F8F9FA;
    --text-dark: #222222;
    --text-light: #FFFFFF;
    --text-muted: #6C757D;
    --border-color: #E5E5E5;
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    
    /* Transitions & Shadows */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.2s ease;
    --shadow-soft: 0 10px 30px rgba(13, 27, 42, 0.04);
    --shadow-medium: 0 20px 40px rgba(13, 27, 42, 0.08);
    --shadow-glass: 0 8px 32px 0 rgba(13, 27, 42, 0.06);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

/* --------------------------------------------------------------------------
   2. BASE STYLES & RESET
   -------------------------------------------------------------------------- */
body {
    font-family: var(--font-primary);
    background-color: var(--bg-color);
    color: var(--text-dark);
    font-size: 18px;
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.25;
}

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

a:hover {
    color: var(--accent-gold-hover);
}

/* Section Common Styling */
section {
    padding: 100px 0;
    position: relative;
}

.section-bg-light {
    background-color: var(--bg-light);
}

.section-bg-dark {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.section-bg-dark h2,
.section-bg-dark h3,
.section-bg-dark h4 {
    color: var(--text-light);
}

.section-tag {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    display: inline-block;
    margin-bottom: 12px;
    position: relative;
    padding-left: 30px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background-color: var(--accent-gold);
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.section-bg-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* Scroll progress bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: var(--accent-gold-gradient);
    z-index: 9999;
}

/* --------------------------------------------------------------------------
   3. BUTTONS & INTERACTIVE ELEMENTS
   -------------------------------------------------------------------------- */
.btn-gold {
    background: var(--accent-gold-gradient);
    color: var(--text-light) !important;
    border: none;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 15px rgba(200, 155, 60, 0.3);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent-gold-hover);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: var(--border-radius-sm);
}

.btn-gold:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-gold:hover {
    box-shadow: 0 6px 20px rgba(200, 155, 60, 0.4);
    transform: translateY(-2px);
}

.btn-outline-gold {
    background: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
    font-size: 16px;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-outline-gold:hover {
    background: var(--accent-gold-gradient);
    color: var(--text-light) !important;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 155, 60, 0.3);
}

.btn-outline-light {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 16px;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-outline-light:hover {
    background: var(--text-light);
    color: var(--primary-color) !important;
    border-color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

/* --------------------------------------------------------------------------
   4. PRELOADER
   -------------------------------------------------------------------------- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.preloader-logo span {
    color: var(--accent-gold);
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(200, 155, 60, 0.2);
    border-top: 3px solid var(--accent-gold);
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 1s linear infinite;
}

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

/* --------------------------------------------------------------------------
   5. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.navbar-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 999;
    transition: var(--transition-smooth);
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-custom.navbar-scrolled {
    padding: 12px 0;
    background-color: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: var(--shadow-soft);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-brand img {
    height: 58px;
    width: auto;
    max-width: 100%;
    transition: var(--transition-smooth);
}

.navbar-custom.navbar-scrolled .navbar-brand img {
    height: 48px;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 500;
    padding: 8px 16px !important;
    position: relative;
    transition: var(--transition-fast);
}

.navbar-custom.navbar-scrolled .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-gold) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: calc(100% - 32px);
}

/* Hamburger Icon Animation */
.navbar-toggler {
    border: none;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.toggler-icon {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    position: absolute;
    left: 0;
    transition: var(--transition-smooth);
}

.toggler-icon-1 { top: 0; }
.toggler-icon-2 { top: 11px; }
.toggler-icon-3 { top: 22px; }

.navbar-toggler:not(.collapsed) .toggler-icon-1 {
    transform: rotate(45deg);
    top: 11px;
}

.navbar-toggler:not(.collapsed) .toggler-icon-2 {
    opacity: 0;
}

.navbar-toggler:not(.collapsed) .toggler-icon-3 {
    transform: rotate(-45deg);
    top: 11px;
}

/* --------------------------------------------------------------------------
   6. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    background-image: linear-gradient(rgba(13, 27, 42, 0.75), rgba(13, 27, 42, 0.85)), url('../images/hero/hero_hardwood.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    color: var(--text-light);
    padding-top: 120px;
    padding-bottom: 80px;
    position: relative;
}

.hero-content {
    z-index: 2;
}

.hero-heading {
    color: var(--text-light);
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-heading span {
    background: var(--accent-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subheading {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 650px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Glassmorphic floating card list */
.hero-badges-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius-md);
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    box-shadow: var(--shadow-glass);
}

.hero-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--accent-gold-light);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.hero-badge-text {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* Animated scroll down indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.scroll-indicator:hover {
    color: var(--accent-gold);
}

.scroll-indicator-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid currentColor;
    border-radius: 12px;
    margin-bottom: 8px;
    position: relative;
}

.scroll-indicator-wheel {
    width: 4px;
    height: 8px;
    background-color: currentColor;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s ease-out infinite;
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 22px; opacity: 0; }
}

/* --------------------------------------------------------------------------
   7. TRUST INDICATORS (STATS)
   -------------------------------------------------------------------------- */
.stats-section {
    background-color: var(--primary-color);
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-card {
    text-align: center;
    padding: 20px 10px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--accent-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-title {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   8. ABOUT US
   -------------------------------------------------------------------------- */
.about-image-wrapper {
    position: relative;
    padding-right: 30px;
    padding-bottom: 30px;
}

.about-image-main {
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-medium);
    width: 100%;
    object-fit: cover;
    z-index: 1;
    position: relative;
}

.about-image-floating {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-medium);
    border: 6px solid var(--bg-color);
    z-index: 2;
}

.about-experience-badge {
    position: absolute;
    top: 30px;
    left: -20px;
    background: var(--accent-gold-gradient);
    color: var(--text-light);
    padding: 20px 30px;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 10px 30px rgba(200, 155, 60, 0.2);
    z-index: 3;
    text-align: center;
}

.about-experience-num {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.about-experience-text {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-list {
    list-style: none;
    padding: 0;
    margin-bottom: 35px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 20px;
}

.about-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
}

.about-list-item i {
    color: var(--accent-gold);
    font-size: 18px;
}

/* --------------------------------------------------------------------------
   9. SERVICES
   -------------------------------------------------------------------------- */
.service-card {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-img-wrapper {
    position: relative;
    height: 240px;
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.service-card-icon-overlay {
    position: absolute;
    bottom: -25px;
    right: 25px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-gold-gradient);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(200, 155, 60, 0.3);
    z-index: 2;
    transition: var(--transition-smooth);
}

.service-card-body {
    position: relative;
    z-index: 1;
    background-color: var(--bg-color);
    padding: 35px 25px 25px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.service-card-description {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-card-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.service-card-link i {
    font-size: 12px;
    transition: var(--transition-fast);
}

/* Service Card Hover States */
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(200, 155, 60, 0.2);
}

.service-card:hover .service-card-img {
    transform: scale(1.1);
}

.service-card:hover .service-card-icon-overlay {
    transform: scale(1.1) rotate(15deg);
}

.service-card:hover .service-card-title {
    color: var(--accent-gold);
}

.service-card:hover .service-card-link {
    color: var(--accent-gold);
}

.service-card:hover .service-card-link i {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   10. WHY CHOOSE US
   -------------------------------------------------------------------------- */
.wcu-item {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
    height: 100%;
}

.wcu-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    background-color: var(--accent-gold-light);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.wcu-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.wcu-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

.wcu-item:hover {
    transform: translateY(-5px);
    border-color: rgba(200, 155, 60, 0.3);
    box-shadow: var(--shadow-medium);
}

.wcu-item:hover .wcu-icon-wrapper {
    background: var(--accent-gold-gradient);
    color: var(--text-light);
    transform: rotateY(360deg);
}

/* --------------------------------------------------------------------------
   11. FEATURED PROJECTS (GALLERY MASONRY)
   -------------------------------------------------------------------------- */
.filter-btn-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 45px;
}

.filter-btn {
    background-color: var(--bg-light);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    padding: 8px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 30px;
    transition: var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-gold-gradient);
    color: var(--text-light);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(200, 155, 60, 0.2);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    height: 350px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.gallery-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    position: absolute;
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    pointer-events: none;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to top, rgba(13, 27, 42, 0.9) 0%, rgba(13, 27, 42, 0.3) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}

.gallery-cat {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold);
    margin-bottom: 5px;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.gallery-title {
    color: var(--text-light);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    transition-delay: 0.05s;
}

.gallery-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--accent-gold);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: var(--transition-smooth);
    transition-delay: 0.1s;
}

.gallery-btn:hover {
    background-color: var(--text-light);
    color: var(--accent-gold);
}

/* Hover effects */
.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

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

.gallery-item:hover .gallery-cat,
.gallery-item:hover .gallery-title,
.gallery-item:hover .gallery-btn {
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   12. BEFORE & AFTER IMAGE COMPARISON
   -------------------------------------------------------------------------- */
.comparison-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-medium);
    aspect-ratio: 16 / 10;
    user-select: none;
    -webkit-user-select: none;
}

.comparison-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.comparison-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.comparison-before {
    z-index: 2;
    width: 50%; /* Initial split width */
}

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

/* Make sure image in the resized container spans original width */
.comparison-before img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
}

.comparison-label {
    position: absolute;
    top: 20px;
    padding: 6px 16px;
    background-color: rgba(13, 27, 42, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: var(--text-light);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    z-index: 3;
    pointer-events: none;
}

.comparison-label-before {
    left: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.comparison-label-after {
    right: 20px;
    border: 1px solid var(--accent-gold);
}

/* Slider Handle Bar */
.comparison-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%; /* Matches initial after split */
    width: 4px;
    background: var(--accent-gold-gradient);
    z-index: 4;
    cursor: ew-resize;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.comparison-handle-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bg-color);
    border: 3px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: var(--accent-gold);
    font-size: 16px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.comparison-handle:hover .comparison-handle-button,
.comparison-handle:active .comparison-handle-button {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: var(--accent-gold);
    color: var(--text-light);
}

/* --------------------------------------------------------------------------
   13. OUR PROCESS TIMELINE
   -------------------------------------------------------------------------- */
.process-timeline {
    position: relative;
    padding: 30px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--border-color);
    transform: translateX(-50%);
    z-index: 1;
}

.process-timeline-progress {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    background: var(--accent-gold-gradient);
    transform: translateX(-50%);
    z-index: 2;
    transition: height 0.6s ease;
    height: 0%;
}

.process-step {
    position: relative;
    z-index: 3;
    margin-bottom: 60px;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step-node {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--bg-color);
    border: 3px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    transition: var(--transition-smooth);
}

.process-step-node i {
    font-size: 16px;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.process-step-content {
    width: 44%;
    padding: 30px;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: var(--transition-smooth);
}

/* Alternating layout left/right */
.process-step:nth-child(odd) .process-step-content {
    margin-left: auto;
}

.process-step:nth-child(even) .process-step-content {
    margin-right: auto;
    text-align: right;
}

/* Arrow indicator to nodes */
.process-step-content::before {
    content: '';
    position: absolute;
    top: 25px;
    width: 15px;
    height: 15px;
    background-color: var(--bg-color);
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
    z-index: -1;
}

.process-step:nth-child(odd) .process-step-content::before {
    left: -9px;
    transform: rotate(-45deg);
}

.process-step:nth-child(even) .process-step-content::before {
    right: -9px;
    transform: rotate(135deg);
}

.process-step-num {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.process-step-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.process-step-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Active process steps states */
.process-step.active .process-step-node {
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(200, 155, 60, 0.4);
}

.process-step.active .process-step-node i {
    color: var(--accent-gold);
}

.process-step.active .process-step-content {
    border-color: rgba(200, 155, 60, 0.2);
    box-shadow: var(--shadow-medium);
}

/* --------------------------------------------------------------------------
   14. TESTIMONIALS (SWIPER SLIDER)
   -------------------------------------------------------------------------- */
.testimonials-slider {
    padding: 20px 0 50px 0;
}

.testimonial-card {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-soft);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.testimonial-quote-icon {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 48px;
    color: rgba(200, 155, 60, 0.08);
}

.testimonial-rating {
    color: var(--accent-gold);
    font-size: 14px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 16px;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-gold);
}

.testimonial-author-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
}

.testimonial-author-project {
    font-size: 13px;
    color: var(--text-muted);
}

/* Custom Swiper Pagination */
.swiper-pagination-bullet-active {
    background: var(--accent-gold) !important;
    width: 24px !important;
    border-radius: 4px !important;
}

.testimonial-card:hover {
    border-color: rgba(200, 155, 60, 0.2);
    box-shadow: var(--shadow-medium);
}

/* --------------------------------------------------------------------------
   15. FAQ (BOOTSTRAP ACCORDION)
   -------------------------------------------------------------------------- */
.faq-accordion .accordion-item {
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
    border-radius: var(--border-radius-sm) !important;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.faq-accordion .accordion-item:last-child {
    margin-bottom: 0;
}

.faq-accordion .accordion-button {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    padding: 20px 24px;
    background-color: var(--bg-color);
    transition: var(--transition-fast);
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background-color: var(--bg-light);
    color: var(--accent-gold);
}

.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230D1B2A'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23C89B3C'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-body {
    padding: 24px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    background-color: var(--bg-color);
    border-top: 1px solid var(--border-color);
}

.faq-accordion .accordion-item:hover {
    border-color: rgba(200, 155, 60, 0.2);
    box-shadow: var(--shadow-medium);
}

/* --------------------------------------------------------------------------
   16. CALL TO ACTION (CTA)
   -------------------------------------------------------------------------- */
.cta-section {
    background: var(--accent-gold-gradient);
    color: var(--text-light);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.cta-section h2 {
    color: var(--text-light);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 35px auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   17. CONTACT & MAP
   -------------------------------------------------------------------------- */
.contact-info-wrapper {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 50px 40px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-medium);
    height: 100%;
}

.contact-info-title {
    color: var(--text-light);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-info-text h5 {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.contact-info-text p {
    font-size: 16px;
    margin-bottom: 0;
}

.contact-info-text a {
    color: var(--text-light);
    font-weight: 500;
}

.contact-info-text a:hover {
    color: var(--accent-gold);
}

.contact-social-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;
}

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

.contact-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition-smooth);
}

.contact-social-icon:hover {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--text-light);
    transform: translateY(-3px);
}

/* Contact Form Styling */
.contact-form-wrapper {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 50px 40px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-soft);
    height: 100%;
}

.contact-form-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
}

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

.contact-form-wrapper .form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.contact-form-wrapper .form-control,
.contact-form-wrapper .form-select {
    padding: 14px 20px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
    font-size: 15px;
    color: var(--text-dark);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.contact-form-wrapper .form-control:focus,
.contact-form-wrapper .form-select:focus {
    border-color: var(--accent-gold);
    background-color: var(--bg-color);
    box-shadow: 0 0 10px rgba(200, 155, 60, 0.1);
    outline: none;
}

.contact-form-wrapper textarea.form-control {
    height: 140px;
    resize: none;
}

.contact-form-wrapper .form-check-label {
    font-size: 13px;
    color: var(--text-muted);
    user-select: none;
}

.contact-form-wrapper .form-check-input:checked {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.form-feedback {
    display: none;
    font-size: 13px;
    margin-top: 5px;
}

.form-feedback.invalid-feedback {
    color: #DC3545;
}

.form-submit-alert {
    display: none;
    padding: 16px;
    margin-bottom: 20px;
    border-radius: var(--border-radius-sm);
    font-size: 15px;
}

.form-submit-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28A745;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

/* Google Map Frame */
.map-section {
    padding: 0;
    line-height: 0;
}

.map-container {
    width: 100%;
    height: 450px;
    border: none;
    background-color: var(--bg-light);
    filter: grayscale(30%) contrast(110%);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --------------------------------------------------------------------------
   18. FOOTER
   -------------------------------------------------------------------------- */
.footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer h4 {
    color: var(--text-light);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-gold);
}

.footer-about-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-about-logo img {
    height: 58px;
    width: auto;
    max-width: 100%;
    transition: var(--transition-smooth);
}

.footer-about-logo span {
    color: var(--accent-gold);
}

.footer-about-text {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 15px;
}

.footer-contact-info li i {
    color: var(--accent-gold);
    margin-top: 4px;
}

.footer-contact-info a {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-newsletter p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-newsletter-form {
    display: flex;
    gap: 8px;
}

.footer-newsletter-input {
    flex-grow: 1;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-light);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.footer-newsletter-input:focus {
    outline: none;
    border-color: var(--accent-gold);
    background-color: rgba(255, 255, 255, 0.08);
}

.footer-newsletter-btn {
    background: var(--accent-gold-gradient);
    border: none;
    color: var(--text-light);
    width: 46px;
    height: 46px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.footer-newsletter-btn:hover {
    background: var(--accent-gold-hover);
    transform: scale(1.05);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--accent-gold);
}

/* --------------------------------------------------------------------------
   19. BACK TO TOP BUTTON
   -------------------------------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 998;
}

.back-to-top:hover {
    background: var(--accent-gold-gradient);
    color: var(--text-light);
    border-color: transparent;
    transform: translateY(-5px);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}
