/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
    position: relative;
    background-image: url('../images/hero-bg.png'),
        linear-gradient(135deg, #0a0e17 0%, #1a1a1ab7 100%);
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 140px 0 0px 0;
    margin-top: 0;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 88%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 1px;
    margin-bottom: 25px;
    animation: heroSlideUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 35px;
    color: #e0e0e0;
    max-width: 90%;
    animation: heroSlideUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

.hero-image-wrapper img {
    max-width: 100%;
    height: auto;
    /* animation: heroFloat 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both,
               floatLoop 4s ease-in-out 1.5s infinite; */
}

.hero-content .btn-quote {
    animation: heroSlideUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.65s both;
}

@keyframes heroSlideUp {
    from { opacity: 0; transform: translateY(50px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroFloat {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes floatLoop {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-12px); }
}

@media (max-width: 991px) {
    .hero-section { padding: 60px 0; margin-top: 0; text-align: center; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { max-width: 100%; }
    .hero-image-wrapper { margin-top: 40px; }
}


/* =========================================
   STATS SECTION
   ========================================= */
.stats-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 0;
    display: inline-block;
    transition: color 0.3s ease;
}

.stat-plus {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.stat-label {
    color: #6c757d;
    font-weight: 500;
    font-size: 0.95rem;
}

.stats-section .col-6:hover .stat-number,
.stats-section .col-6:hover .stat-plus {
    color: var(--brand-color);
}


/* =========================================
   ABOUT US SECTION
   ========================================= */
.about-section {
    padding: 60px 0 100px 0;
    background-color: #ffffff;
}

.about-label {
    color: var(--brand-color);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 25px;
}

.about-text {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* About image */
.about-image-wrapper {
    position: relative;
    padding-left: 20px;
}

.about-image {
    width: 70%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.03);
}

.ceo-nameplate {
    position: absolute;
    bottom: 20px;
    left: -20px;
    background: linear-gradient(135deg, var(--brand-color), #e26341);
    color: white;
    padding: 25px 40px;
    box-shadow: 0 10px 20px rgba(206, 84, 53, 0.3);
    min-width: 280px;
}

.ceo-nameplate small {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 5px;
    opacity: 0.9;
}

.ceo-nameplate h4 {
    margin: 0;
    font-weight: 700;
    font-size: 1.4rem;
}

@media (max-width: 991px) {
    .stat-number, .stat-plus { font-size: 2.5rem; }
    .about-title { font-size: 2rem; }
    .about-image-wrapper { padding-left: 0; margin-top: 40px; }
    .ceo-nameplate { left: 10px; bottom: 10px; padding: 15px 20px; min-width: auto; }
}


/* =========================================
   BUTTONS
   ========================================= */
.btn-quote {
    position: relative;
    transition: background-color 0.3s ease,
                color 0.3s ease,
                transform 0.2s ease,
                box-shadow 0.3s ease !important;
}

.btn-quote::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(61, 9, 9, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}
.rw-slider-wrapper {
    overflow: hidden;
}

.rw-slider-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: rwScroll 14s linear infinite;
    /* remove: overflow-x, scroll-snap-type, scrollbar-width, cursor, padding-bottom */
}

.rw-slider-track:hover {
    animation-play-state: paused;
}

@keyframes rwScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* .btn-quote:hover::before {
    width: 300px;
    height: 300px;
} */

.btn-quote:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(206, 84, 53, 0.45);
}

.btn-quote:active {
    transform: translateY(-1px);
}

/* Single unified .btn-outline-brand definition */
.btn-outline-brand {
    color: var(--brand-color);
    border: 2px solid var(--brand-color);
    background-color: transparent;
    font-weight: 700;
    border-radius: 0;
    padding: 10px 28px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease,
                color 0.3s ease,
                transform 0.2s ease,
                box-shadow 0.3s ease;
}

.btn-outline-brand:hover {
    background-color: var(--brand-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(206, 84, 53, 0.25);
}

.btn-quote-link {
    color: var(--brand-color);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.85rem;
    margin-top: auto;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.btn-quote-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-color);
    transition: width 0.3s ease;
}

.btn-quote-link:hover::after {
    width: 100%;
}

.btn-quote-link:hover {
    color: #ffffff;
}

@media (max-width: 991px) {
    .btn-quote, .btn-outline-brand { margin-bottom: 15px; width: 100%; text-align: center; }
}


/* =========================================
   SERVICES SECTION
   ========================================= */
.services-section {
    position: relative;
    background-image: url('../images/what-bg.png');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: #ffffff;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(26, 26, 26, 0.493);
    z-index: 1;
}

.services-container {
    position: relative;
    z-index: 2;
}

.section-label {
    color: var(--brand-color);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 50px;
}

.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.slider-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 20px 0;
}

.slider-track::-webkit-scrollbar { display: none; }

.service-card {
    flex: 0 0 calc(33.333% - 20px);
    background-color: #2a2a2a;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.35s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-image-area {
    background-color: #ffffff;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

.service-image-area img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover .service-image-area img {
    transform: scale(1.08);
}

.service-title-box {
    background-color: var(--brand-color);
    color: #ffffff;
    padding: 12px 25px;
    font-weight: 700;
    font-size: 1.1rem;
    position: absolute;
    top: 195px;
    left: 0;
    z-index: 3;
    transition: background-color 0.3s ease, letter-spacing 0.3s ease;
}

.service-card:hover .service-title-box {
    background-color: var(--brand-dark, #a83d20);
    letter-spacing: 0.5px;
}

.service-content-area {
    padding: 50px 30px 30px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content-area p {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.slider-btn {
    background-color: var(--brand-color);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    z-index: 5;
    transition: background-color 0.3s ease;
}

.slider-btn:hover { background-color: var(--brand-dark); }
.prev-btn { left: -60px; }
.next-btn { right: -60px; }

@media (max-width: 991px) {
    .service-card { flex: 0 0 calc(50% - 15px); }
    .prev-btn { left: -10px; }
    .next-btn { right: -10px; }
}

@media (max-width: 767px) {
    .service-card { flex: 0 0 100%; }
    .section-title { font-size: 2rem; }
    .prev-btn { left: 10px; }
    .next-btn { right: 10px; }
}


/* =========================================
   RECENT WORK SECTION
   ========================================= */
.recent-work-section {
    padding: 80px 0;
    background-color: #ffffff;
    overflow: hidden;
}

.rw-label {
    color: var(--brand-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.rw-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 30px;
}

.rw-slider-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 10px;
    cursor: grab;
}

.rw-slider-track::-webkit-scrollbar { display: none; }
.rw-slider-track:active { cursor: grabbing; }

.rw-card {
    flex: 0 0 320px;
    height: 380px;
    position: relative;
    scroll-snap-align: start;
    background-color: #f0f0f0;
    overflow: hidden;
}

.rw-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.rw-card:hover img {
    transform: scale(1.06);
}

.rw-overlay {
    position: absolute;
    bottom: 20px;
    left: 0;
    background-color: var(--brand-color);
    color: #ffffff;
    padding: 15px 25px;
    width: 85%;
    transition: width 0.3s ease;
}

.rw-card:hover .rw-overlay { width: 95%; }

.rw-category {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.rw-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

@media (max-width: 991px) {
    .rw-title { font-size: 2.2rem; }
    .rw-card { flex: 0 0 280px; height: 320px; }
    .rw-slider-track { padding-left: 15px; padding-right: 15px; }
}


/* =========================================
   WHY CHOOSE US SECTION
   ========================================= */
.choose-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.choose-label {
    color: var(--brand-color);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.choose-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 25px;
}

.choose-text {
    color: #666;
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.choose-feature-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.choose-feature-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.auto-slider-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.auto-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.auto-slide.is-active { opacity: 1; }

.slider-logo-overlay {
    position: absolute;
    top: 25px;
    left: 25px;
    max-width: 150px;
    z-index: 10;
}

.slider-indicators {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator-square {
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator-square.is-active { background-color: var(--brand-color); }

@media (max-width: 991px) {
    .choose-title { font-size: 2.2rem; }
    .auto-slider-wrapper { margin-top: 40px; aspect-ratio: 4 / 3; }
    .slider-logo-overlay { max-width: 120px; }
}


/* =========================================
   TESTIMONIALS SECTION
   ========================================= */
.testimonials-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.testi-label {
    color: var(--brand-color);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.testi-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 40px;
}

.testi-slider-wrapper {
    overflow: hidden;
    position: relative;
    padding-bottom: 20px;
}

.testi-track {
    display: flex;
    gap: 25px;
    transition: transform 0.6s ease-in-out;
}

.testi-card {
    flex: 0 0 calc(25% - 19px);
    background-color: #f8f9fa;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.testi-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin-bottom: 20px;
}

.testi-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.testi-stars {
    color: #ffc107;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.testi-text {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 1200px) { .testi-card { flex: 0 0 calc(33.333% - 17px); } }
@media (max-width: 991px)  { .testi-title { font-size: 2.2rem; } .testi-card { flex: 0 0 calc(50% - 13px); } }
@media (max-width: 767px)  { .testi-card { flex: 0 0 100%; } }


/* =========================================
   FAQ SECTION
   ========================================= */
.faq-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.faq-label {
    color: var(--brand-color);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.faq-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 50px;
}

.faq-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid #eaeaea;
    background-color: transparent;
    border-radius: 0;
    transition: background-color 0.3s ease;
}

.faq-accordion .accordion-item:first-child { border-top: 1px solid #eaeaea; }

.faq-accordion .accordion-button {
    background-color: transparent;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 25px 0;
    box-shadow: none !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease, padding-left 0.3s ease !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--brand-color) !important;
    padding-left: 8px !important;
}

.faq-accordion .accordion-body {
    padding: 0 0 30px 0;
    color: #888;
    line-height: 1.8;
    font-size: 0.95rem;
    max-width: 85%;
}

.faq-accordion .accordion-button::after { display: none; }

.faq-toggle-box {
    width: 36px;
    height: 36px;
    background-color: var(--brand-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-toggle-box::before,
.faq-toggle-box::after {
    content: '';
    position: absolute;
    background-color: #ffffff;
    transition: transform 0.3s ease-in-out;
}

.faq-toggle-box::before { width: 14px; height: 2px; }
.faq-toggle-box::after  { width: 2px; height: 14px; }

.accordion-button:not(.collapsed) .faq-toggle-box::after { transform: scaleY(0); }
.accordion-button:not(.collapsed) .faq-toggle-box { background-color: var(--brand-dark); }

@media (max-width: 991px) {
    .faq-title { font-size: 2.2rem; }
    .faq-accordion .accordion-button { font-size: 1rem; padding: 20px 0; }
    .faq-accordion .accordion-body { max-width: 100%; }
}


/* =========================================
   CONTACT FORM SECTION
   ========================================= */
.contact-form-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.get-touch-label {
    color: var(--brand-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.get-touch-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 40px;
}

.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-list-icon {
    width: 45px;
    height: 45px;
    background-color: var(--brand-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    border-radius: 4px;
}

.contact-list-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-color);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.contact-list-text {
    font-weight: 600;
    font-size: 1.05rem;
    color: #1a1a1a;
    margin: 0;
}

.contact-form-box {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 4px;
}

.form-control {
    border: none;
    border-radius: 0;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.form-control:focus {
    box-shadow: 0 0 0 2px var(--brand-color);
}


/* =========================================
   NAV LINK UNDERLINE
   ========================================= */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}


/* =========================================
   SCROLL-TRIGGERED ANIMATIONS
   ========================================= */
[data-animate] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    transition-duration: 0.7s;
    will-change: opacity, transform;
}

[data-animate="fade-up"]   { transform: translateY(40px); }
[data-animate="fade-left"] { transform: translateX(-50px); }
[data-animate="fade-right"]{ transform: translateX(50px); }
[data-animate="zoom-in"]   { transform: scale(0.85); }

[data-animate="stagger"] > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-animate].is-visible {
    opacity: 1;
    transform: none;
}

[data-animate="stagger"].is-visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s; }
[data-animate="stagger"].is-visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.1s; }
[data-animate="stagger"].is-visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.2s; }
[data-animate="stagger"].is-visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.3s; }
[data-animate="stagger"].is-visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.4s; }
[data-animate="stagger"].is-visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.5s; }


/* =========================================
   SECTION LABEL UNDERLINE ANIMATION
   Fix: labels get data-animate themselves, so
   target .label-visible directly on the element
   ========================================= */
.about-label::before,
.rw-label::before,
.choose-label::before,
.section-label::before,
.testi-label::before,
.faq-label::before,
.get-touch-label::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-color);
    transition: width 0.4s ease 0.3s;
}

.about-label.label-visible::before,
.rw-label.label-visible::before,
.choose-label.label-visible::before,
.section-label.label-visible::before,
.testi-label.label-visible::before,
.faq-label.label-visible::before,
.get-touch-label.label-visible::before {
    width: 100%;
}