/*
Custom CSS for TemplateMo 561 Purple Buzz
https://templatemo.com/tm-561-purple-buzz
*/

:root {
    /* UNIVERSAL COLOR SYSTEM */
    /* Change these variables to update the theme across the entire website */
    --primary-color: #206E4E;
    /* Main Brand Color (Industrial Pine) */
    --primary-rgb: 32, 110, 78;
    /* RGB for rgba usage */

    --secondary-color: #6c757d;
    /* Secondary Color (Gray) */
    --secondary-rgb: 108, 117, 125;
    /* RGB for rgba usage */

    --primary-hover: #175239;
    /* Darker shade for hover states */
    --secondary-hover: #5c636a;
    /* Darker shade for hover states */

    /* Gradients derived from variables */
    --primary-gradient: linear-gradient(135deg, var(--primary-color) 0%, #123d2b 100%);
    --secondary-gradient: linear-gradient(135deg, var(--secondary-color) 0%, #343a40 100%);

    --ease-out-cubic: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out-cubic: cubic-bezier(0.65, 0, 0.35, 1);
}

/* UNIVERSAL BOOTSTRAP OVERRIDES */
/* These ensure that standard Bootstrap classes use our CSS variables */

/* Text Colors */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

/* Logo Styling - Optimized for Perfect Display */
.navbar-brand {
    padding: 0.5rem 1rem;
    margin-right: 1rem;
}

.navbar-brand img {
    height: 45px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    transition: all 0.3s var(--ease-out-cubic);
    display: block;
}

.navbar-brand:hover img {
    transform: scale(1.05);
    opacity: 0.85;
}

/* Responsive Logo Sizing */
@media (max-width: 991px) {
    .navbar-brand img {
        height: 40px;
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    .navbar-brand img {
        height: 38px;
        max-width: 150px;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 35px;
        max-width: 130px;
    }
}

.navbar-brand i {
    margin-right: 0.5rem;
    font-size: 1.5rem;
}

.navbar-brand:hover i {
    color: var(--primary-color) !important;
}

/* Background Colors */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

/* Buttons - Primary */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

/* Buttons - Secondary */
.btn-secondary {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: #fff !important;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background-color: var(--secondary-hover) !important;
    border-color: var(--secondary-hover) !important;
}

.btn-outline-secondary {
    color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: #fff !important;
}

/* Border Colors */
.border-primary {
    border-color: var(--primary-color) !important;
}

.border-secondary {
    border-color: var(--secondary-color) !important;
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    overflow-x: hidden;
}

/* Global Image Reset - UX Audit Fix */
img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Removes bottom spacing whitespace */
}

/* Animation Utilities */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease-out-cubic), transform 0.8s var(--ease-out-cubic);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal,
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out-cubic);
}

.reveal.active,
.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s var(--ease-out-cubic);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s var(--ease-out-cubic);
}

.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered Delays */
.reveal-delay-100 {
    transition-delay: 100ms;
}

.reveal-delay-200 {
    transition-delay: 200ms;
}

.reveal-delay-300 {
    transition-delay: 300ms;
}

.reveal-delay-400 {
    transition-delay: 400ms;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    .reveal,
    .reveal-up,
    .reveal-left,
    .reveal-right,
    .fade-in-up {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
}

/* Utilities */
.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, #123d2b 100%);
}

.opacity-10 {
    opacity: 0.1;
}

.z-1 {
    z-index: 1;
}

/* Form Styles */
.form-floating>.form-control:focus,
.form-floating>.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.25);
}

.form-floating>label {
    color: var(--secondary-color);
}

/* Index Page Specifics */
.banner-button {
    transition: all 0.3s var(--ease-out-cubic);
    position: relative;
    overflow: hidden;
}

.banner-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.2);
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.banner-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(var(--primary-rgb), 0.15);
}

.recent-work {
    height: 420px;
    width: 100%;
}

.recent-work-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.recent-work:hover .recent-work-img {
    transform: scale(1.03);
}

.recent-work-content {
    max-width: 90%;
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Service Filter Buttons */
.filter-btn {
    transition: all 0.3s ease;
    border-width: 2px !important;
}

.filter-btn.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    background-color: transparent !important;
}

.filter-btn.nav-link:hover {
    color: #fff !important;
    border-color: var(--primary-color) !important;
    background-color: rgba(var(--primary-rgb), 0.1) !important;
}

.filter-btn.active,
.filter-btn.nav-link.active {
    color: #fff !important;
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 4px 15px rgba(32, 110, 78, 0.4) !important;
    opacity: 1 !important;
}

.filter-btn.nav-link:focus,
.filter-btn.nav-link:focus-visible {
    color: #fff !important;
    border-color: var(--primary-color) !important;
    background-color: rgba(var(--primary-rgb), 0.15) !important;
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.25) !important;
    outline: none !important;
}

/* Fix for Active + Focus state (User reported issue) */
.filter-btn.active:focus,
.filter-btn.nav-link.active:focus,
.filter-btn.active:focus-visible,
.filter-btn.nav-link.active:focus-visible {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.5) !important;
}

/* Navbar Interactions */
.navbar-nav .nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s var(--ease-out-cubic);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* Navbar Active State - Override Bootstrap Blue */
.navbar-nav .nav-link.active {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
}

.navbar-brand i {
    transition: transform 0.4s var(--ease-in-out-cubic);
}

.navbar-brand:hover i {
    transform: rotate(15deg) scale(1.1);
}

/* Carousel Tweaks */
/* Carousel Tweaks & Enhancements */
#carouselExampleIndicators,
#carouselExampleIndicators .carousel-inner {
    height: 85vh;
    min-height: 500px;
}

#carouselExampleIndicators .carousel-item {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}

/* Adaptive Dark Gradient Overlay */
#carouselExampleIndicators .carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient from dark left (85%) to transparent right for text readability on all slides */
    background: linear-gradient(105deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.65) 45%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

/* Ensure content sits above overlay */
#carouselExampleIndicators .container {
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Typography Enhancements for Overlay */
.banner-content .banner-heading {
    color: #ffffff !important;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    letter-spacing: 1px;
}

.banner-content .banner-body {
    color: #e9ecef !important;
    font-size: 1.25rem;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    max-width: 650px;
    margin-top: 1.5rem;
}

/* Strong tag specific visual pop */
.banner-heading strong {
    color: #2ecc71 !important;
    /* Brighter green for contrast against dark overlay */
    text-shadow: 0 0 20px rgba(46, 204, 113, 0.4);
}

/* CTA Button Enhancement */
.banner-content .banner-button {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    border-width: 2px;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.banner-content .banner-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.5);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.banner-content {
    padding-top: 0;
    padding-bottom: 0;
}

/* Service/Waterproofing Page specific styles */
.hero-waterproofing {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('../img/slide9.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-waterproofing::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, #ffffff, transparent);
}

.hero-content {
    z-index: 2;
}

.feature-box {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s var(--ease-out-cubic), box-shadow 0.4s var(--ease-out-cubic), border-bottom-color 0.3s ease;
    height: 100%;
    border-bottom: 4px solid transparent;
}

.feature-box:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(var(--primary-rgb), 0.12);
    border-bottom-color: var(--primary-color);
}

.feature-box i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: -webkit-linear-gradient(var(--primary-color), #123d2b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Section Header */
.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

/* Detail Sections */
.service-detail-section {
    padding: 6rem 0;
}

.service-detail-section.bg-light {
    background-color: #f8f9fa !important;
}

.service-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    /* Enforce aspect ratio to prevent layout shifts */
    aspect-ratio: 4 / 3;
    background-color: #f0f0f0;
    /* Loading placeholder */
}

.service-img-wrapper img {
    transition: transform 0.6s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-img-wrapper:hover img {
    transform: scale(1.03);
}


/* Nav Pills Custom */
.nav-pills .nav-link {
    color: #495057;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin: 0 5px;
    border-radius: 50px;
    padding: 10px 25px;
    transition: all 0.3s;
}

.nav-pills .nav-link.active {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

/* Tables */
.comparison-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.comparison-table th {
    background: var(--primary-gradient);
    color: white;
    padding: 15px;
    text-align: left;
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td {
    background-color: #f8fbff;
}

/* Accordion Custom */
.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: #f8fbff;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

.accordion-button:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.25);
}

/* CTA Section */
/* Note: ensuring relative path is correct for CSS file location */
.cta-section {
    background: url('../img/industrial_bg1.jpg') fixed center/cover;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.9), rgba(18, 61, 43, 0.8));
}

/* Lists */
.pro-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
}

.pro-list li::before {
    content: '\eb7b';
    font-family: 'boxicons';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-color);
    font-size: 1.3rem;
}

/* Layer Items */
.layer-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.layer-item:hover {
    transform: translateX(5px);
    border-left: 5px solid var(--primary-color);
}

.layer-number {
    font-weight: 800;
    color: #e9ecef;
    font-size: 2.5rem;
    margin-right: 1rem;
    line-height: 1;
}

/* =========================================
   Industrial Flooring Page Styles
   ========================================= */

.hero-industrial {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.3) 0%, rgba(18, 61, 43, 0.4) 100%), url('../img/industrial_bg3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}

.hero-industrial::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    animation: wave 20s linear infinite;
}

@keyframes wave {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 1440px 0;
    }
}

/* Custom Button Hover Effects for Industrial Page */
.btn-effect {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-effect::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-effect:hover::before {
    width: 300px;
    height: 300px;
}

.btn-effect:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.feature-card-industrial {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card-industrial::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(var(--primary-rgb), 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s;
}

.feature-card-industrial:hover::before {
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.feature-card-industrial:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.3);
}

.stats-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a58ca 100%);
    border-radius: 15px;
    padding: 30px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stats-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.stats-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.4);
}

/* Renamed to avoid collision with painting page */
.process-step-industrial {
    position: relative;
    padding-left: 60px;
    transition: all 0.3s ease;
}

.process-step-industrial:hover {
    transform: translateX(10px);
}

.process-number {
    position: absolute;
    left: 0;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

.process-step-industrial:hover .process-number {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.5);
}

.image-gallery-industrial {
    position: relative;
}

.image-gallery-industrial .col-md-4 {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.image-gallery-industrial img {
    transition: all 0.5s ease;
    border-radius: 15px;
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.image-gallery-industrial .col-md-4::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(var(--primary-rgb), 0.4));
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 1;
    border-radius: 15px;
}

.image-gallery-industrial .col-md-4:hover::before {
    opacity: 1;
}

.image-gallery-industrial .col-md-4:hover img {
    transform: scale(1.1);
}

.card-hover-effect {
    transition: all 0.3s ease;
}

.card-hover-effect:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.card-hover-effect .card-body i {
    transition: all 0.3s ease;
}

.card-hover-effect:hover .card-body i {
    transform: scale(1.2) rotate(5deg);
}

.table-hover-effect tbody tr {
    transition: all 0.2s ease;
}

.table-hover-effect tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
    transform: scale(1.01);
}

.alert-slide {
    animation: slideInLeft 0.5s ease-out;
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.nav-link-underline {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #0d6efd;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link-underline:hover::after {
    width: 80%;
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* =========================================
   Metal & Wood Page Styles
   ========================================= */

.carousel-item {
    pointer-events: none;
}

.carousel-item.active {
    pointer-events: auto;
}

@keyframes floatImage {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-hero {
    animation: floatImage 6s ease-in-out infinite;
}

.zoom-img {
    transition: transform .35s ease, box-shadow .35s ease;
}

.zoom-img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.20);
}

.round-polish {
    border-radius: 12px;
}

.gallery-card {
    height: 300px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.gallery-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.4s;
}

.gallery-card:hover .gallery-img {
    transform: scale(1.08);
    filter: brightness(92%);
}

.gallery-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-card:hover::after {
    opacity: 1;
}

/* =========================================
   Wall Painting & Texture Page Styles
   ========================================= */

.hero-painting {
    background: url('../img/wall_texture.jpg') center/cover no-repeat;
    height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
    background-attachment: fixed;
}

.hero-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.section-title-painting {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
}

.section-title-painting::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.painting-card {
    border: none;
    transition: transform 0.3s;
    border-radius: 15px;
    overflow: hidden;
}

.painting-card:hover {
    transform: translateY(-10px);
}

.process-step-painting {
    position: relative;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    height: 100%;
    transition: all 0.3s;
    border: 1px solid #eee;
    z-index: 1;
}

.process-step-painting:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(98, 0, 234, 0.1);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
    z-index: -1;
}

.texture-card {
    overflow: hidden;
    border-radius: 15px;
    position: relative;
    height: 300px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.texture-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.texture-card:hover img {
    transform: scale(1.15);
}

.texture-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 30px 20px;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.texture-card:hover .texture-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gradient-text {
    background: linear-gradient(45deg, #6200ea, #9d46ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.grayscale-logos .col-md-2 {
    transition: all 0.3s;
    opacity: 0.6;
}

.grayscale-logos .col-md-2:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* =========================================
   About Us Page Styles
   ========================================= */

.hero-about {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom/cover no-repeat;
    animation: wave-about 10s linear infinite;
}

@keyframes wave-about {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.hero-about .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.hero-about .hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease;
}

.hero-about .hero-content p {
    font-size: 1.5rem;
    animation: fadeInUp 1s ease 0.3s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gradient Text Animation */
.gradient-text-anim {
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #4facfe);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Counter Animation */
.counter-box {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.counter-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
    border-color: #667eea;
}

.counter {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
    display: block;
}

.counter-label {
    font-size: 1.2rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    flex: 1;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 2rem;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.timeline-marker {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
    z-index: 2;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

/* Value Cards */
.value-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s;
}

.value-card:hover::before {
    left: 100%;
}

.value-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.25);
    border-color: #667eea;
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

.value-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
}

/* About Responsive */
@media (max-width: 768px) {
    .hero-about {
        height: 350px;
    }

    .hero-about .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-about .hero-content p {
        font-size: 1.2rem;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: row !important;
    }

    .timeline-marker {
        left: 30px;
    }

    .timeline-content {
        margin-left: 70px;
        margin-right: 0;
    }
}

/* =========================================
   Contact Page Styles
   ========================================= */

.contact-hero {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0 80px;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

.contact-hero h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.contact-hero p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.contact-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.contact-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.contact-card .icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.contact-card:hover .icon-wrapper {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.contact-card .icon-wrapper i {
    font-size: 2.5rem;
    color: white;
}

.contact-card h4 {
    font-weight: 600;
    margin-bottom: 15px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-card p,
.contact-card a {
    color: #666;
    transition: all 0.3s ease;
}

.contact-card:hover a {
    color: #667eea;
    transform: translateX(5px);
    display: inline-block;
}

.contact-form-wrapper {
    background: white;
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

.contact-form-wrapper h2 {
    margin-bottom: 10px;
    font-weight: 700;
}

/* Custom Form Styles */
.form-group-custom {
    margin-bottom: 25px;
    position: relative;
}

.form-control-custom {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    width: 100%;
}

.form-control-custom:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    background: white;
    transform: translateY(-2px);
    outline: none;
}

.form-label-custom {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
    transition: all 0.3s ease;
}

textarea.form-control-custom {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 15px 50px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.submit-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

.submit-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.map-section {
    padding: 80px 0;
    background: white;
}

.map-wrapper {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.map-wrapper iframe {
    width: 100%;
    height: 450px;
    border: none;
    transition: all 0.3s ease;
}

.map-wrapper:hover iframe {
    transform: scale(1.02);
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
}

/* .section-title.reveal handled by generic .reveal */

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-title .gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
}

/* =========================================
   Enquiries Page Styles
   ========================================= */

.table-responsive {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

/* Stat Cards */
.stat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.stat-card i {
    transition: transform 0.3s ease;
}

.stat-card:hover i {
    transform: scale(1.1) rotate(5deg);
}

/* Custom Table Styling */
.custom-table thead th {
    background-color: #f1f3f5;
    border: none;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 15px;
}

.custom-table tbody tr {
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f1f1f1;
}

.custom-table tbody tr:last-child {
    border-bottom: none;
}

.custom-table tbody td {
    padding: 15px;
    vertical-align: middle;
    color: #495057;
    font-size: 0.95rem;
}

.custom-table tbody tr:hover {
    background-color: rgba(98, 0, 234, 0.03);
}

/* Status Badges */
.badge {
    padding: 8px 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    border-radius: 6px;
}

/* Testimonial Carousel Customization */
.testimonial-arrow {
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    transition: all 0.3s ease;
}

.testimonial-arrow:hover {
    background-color: rgba(13, 110, 253, 0.3);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(34%) sepia(87%) saturate(3065%) hue-rotate(209deg) brightness(98%) contrast(97%);
}

.carousel-indicators [data-bs-target] {
    background-color: #0d6efd;
    height: 5px;
    width: 25px;
    border-radius: 2px;
}

.testimonial-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid #0d6efd;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Testimonial Carousel Customization */
.testimonial-arrow {
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    transition: all 0.3s ease;
}

.testimonial-arrow:hover {
    background-color: rgba(13, 110, 253, 0.3);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(34%) sepia(87%) saturate(3065%) hue-rotate(209deg) brightness(98%) contrast(97%);
}

.carousel-indicators [data-bs-target] {
    background-color: #0d6efd;
    height: 5px;
    width: 25px;
    border-radius: 2px;
}

.testimonial-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid #0d6efd;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.fs-5 {
    font-size: 1.25rem !important;
}

.fw-light {
    font-weight: 300 !important;
}

.lh-base {
    line-height: 1.5 !important;
}

.ls-1 {
    letter-spacing: 1px;
}

/* Force Section Heading Visibility */
/* Force Section Heading Visibility */
.section-heading-custom {
    color: var(--primary-color) !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem;
    display: block;
}

/* User Requested Header Styles */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent !important;
    display: inline-block;
}

.section-title-painting {
    opacity: 1 !important;
    visibility: visible !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem;
    display: inline-block;
}

/* =========================================
   UI GOVERNANCE UTILITIES
   ========================================= */

/* Hero Sections */
.hero-page {
    min-height: 60vh;
    background-size: cover;
    background-position: center;
}

/* Icon Boxes */
.icon-box-md {
    width: 50px;
    height: 50px;
    z-index: 2;
}

.icon-box-lg {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Backgrounds */
.bg-corporate-primary {
    background: var(--primary-gradient) !important;
}

.bg-corporate-dark {
    background-color: var(--secondary-color) !important;
}

.bg-gradient-light {
    background: linear-gradient(135deg, #f8f9fc 0%, #eef1f7 100%);
}

.section-overlap {
    margin-top: -50px;
    z-index: 10;
    position: relative;
}

.step-icon-number {
    font-weight: bold;
    font-size: 1.2rem;
}

/* Home Page Specifics */
.object-cover {
    object-fit: cover;
}

.small-spacing {
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.carousel-control-custom-prev {
    width: 5%;
    margin-left: -5%;
}

.carousel-control-custom-next {
    width: 5%;
    margin-right: -5%;
}

.carousel-indicators-offset {
    bottom: -50px;
}

.carousel-indicators-offset-sm {
    bottom: -20px;
}

/* Typography Helpers */
.tracking-wider {
    letter-spacing: 1px;
}

/* =========================================
   Refactored Styles from Home Page
   ========================================= */

/* Fixed Enquiry Button */
.fixed-enquiry-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    animation: pulse-btn 2s infinite;
}

.fixed-enquiry-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

@keyframes pulse-btn {
    0% {
        box-shadow: 0 0 0 0 rgba(32, 110, 78, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(32, 110, 78, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(32, 110, 78, 0);
    }
}

/* Why Choose Us Animations & Cards */
.feature-card {
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    background-color: transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background-color: #fff;
}

.feature-card .icon-wrapper {
    transition: transform 0.3s ease;
}

.feature-card:hover .icon-wrapper {
    transform: scale(1.15) rotate(5deg);
}

/* =========================================
   Audit UI Improvements
   ========================================= */

/* Standardized Card Hover Effects */
.service-work,
.recent-work,
.testimonial-card,
.feature-box {
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.service-work:hover,
.recent-work:hover,
.testimonial-card:hover,
.feature-box:hover {
    transform: translateY(-5px) !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Service Grid Height Fix */
.service-work {
    height: 350px;
    /* Uniform height for grid consistency */
    width: 100%;
}

.service-work .card-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Testimonial Image Fix */
.testimonial-img-wrapper {
    width: 100%;
    height: 300px; /* adjust as per design */
    overflow: hidden;
    border-radius: 12px; /* optional - smooth look */
}

.testimonial-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;  
    object-position: center;
    display: block;
}

/* Form Accessibility & Focus States */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.25);
    outline: none;
}

/* Submit Button Loading State (Handled by JS toggling) */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

.btn-loading .btn-text {
    visibility: hidden;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
    top: 50%;
    left: 50%;
    margin-top: -0.75rem;
    margin-left: -0.75rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================================
   Image Optimization Fixes (User Request)
   ========================================= */

/* Standardized Before/After Images */
.before-after-img {
    width: 100%;
    height: 350px;
    /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .before-after-img {
        height: 250px;
        /* Smaller height for mobile */
    }
}

/* Object Fit Utility */
.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fix for zoomed images in cards */
.zoom-img {
    display: block;
    /* Ensure no inline spacing */
}