/********** Template CSS **********/
:root {
    --primary: #e31e24; /* brand red from logo */
    --light: #F7F7F5;
    --dark: #2b2f33; /* neutral dark grey to match logo frame */
    --text: #374151;
    --muted: #6b7280;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 6px 16px rgba(0,0,0,.06);
    --shadow-md: 0 12px 24px rgba(0,0,0,.08);
    --shadow-lg: 0 20px 50px rgba(0,0,0,.12);
    --ease-soft: cubic-bezier(.22,.61,.36,1);
}

/* Global smoothing */
html { scroll-behavior: smooth; }
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text);
}
h1, h2, h3, h4, h5, h6 { color: var(--dark); letter-spacing: -.01em; }
p { color: var(--muted); }
a { transition: color .25s var(--ease-soft), opacity .25s var(--ease-soft); }
a:focus { outline: none; }

/* Why Choose Us */
.why-choose .wc-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius-md);
    padding: 18px;
    transition: transform .35s var(--ease-soft), box-shadow .35s var(--ease-soft), border-color .35s var(--ease-soft);
}
.why-choose .wc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(227,30,36,.22);
}
.why-choose .wc-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(227, 30, 36, .08);
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 22px;
}
.why-choose h6 {
    margin: 0 0 6px;
}
.why-choose p {
    margin: 0;
    color: #6b7280;
}

/* Quote Modern */
.quote-modern {
    /* soft light-red with subtle radial highlight for depth */
    background:
        radial-gradient(1200px 400px at 20% 10%, rgba(227,30,36,0.10), rgba(227,30,36,0) 60%),
        linear-gradient(180deg, #fff6f6 0%, #fde7e8 100%);
}
.quote-modern .quote-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}
.quote-modern .quote-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #374151;
}
.quote-modern .quote-list i {
    color: var(--primary);
}
.quote-modern .quote-card {
    background: #fff;
    border: 1px solid #f3c7c9;
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-md);
    transition: transform .35s var(--ease-soft), box-shadow .35s var(--ease-soft);
}
.quote-modern .quote-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.quote-modern .form-control, .quote-modern .form-select {
    border: 1px solid #e5e7eb;
    height: 48px;
}
.quote-modern textarea.form-control {
    height: auto;
}
.quote-modern .input-group-text {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    color: #6b7280;
}
.quote-modern .input-group.textarea .input-group-text {
    align-items: start;
}
.quote-modern .form-note {
    font-size: 12px;
    color: #6b7280;
}
.quote-modern .trust .trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 999px;
    padding: 6px 10px;
    margin-right: 8px;
    font-size: 13px;
}
.quote-modern .trust i {
    color: var(--primary);
}
.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    position: fixed;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    width: 48px;
    height: 48px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.back-to-top.show,
.back-to-top[style*="display: block"],
.back-to-top[style*="display:flex"] {
    display: flex !important;
}
.back-to-top i {
    line-height: 1;
    display: block;
    text-align: center;
    margin: 0 auto;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
/* remove FA-based dropdown caret; use Bootstrap default */

.navbar-brand img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

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

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: 0;
    transition: .3s ease;
    background-color: #fff5f5; /* subtle light red */
    border-bottom: 1px solid #f0d3d3;
    z-index: 1030;
}

/* Responsive side spacing for navbar using percentages */
.navbar.navbar-light { padding-left: 4%; padding-right: 4%; }
@media (min-width: 1200px) { .navbar.navbar-light { padding-left: 6%; padding-right: 6%; } }
@media (min-width: 1400px) { .navbar.navbar-light { padding-left: 8%; padding-right: 8%; } }

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    width: 200px;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid #FFFFFF;
    transition: .5s;
}

.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
    background: transparent;
    border: 1px solid #FFFFFF;
}

.header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(53, 53, 53, .7), rgba(53, 53, 53, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title h1 {
    position: relative;
    display: inline-block;
    padding: 0 60px;
}

.section-title.text-start h1 {
    padding-left: 0;
}

.section-title h1::before,
.section-title h1::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 3px;
    bottom: 0;
    background: var(--primary);
}

.section-title h1::before {
    left: 0;
}

.section-title h1::after {
    right: 0;
}

.section-title.text-start h1::before {
    display: none;
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service ***/
.service-item img {
    transition: .5s;
}

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


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-item img {
    transition: .5s;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item .portfolio-overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0;
    height: 0;
    bottom: 0;
    left: 50%;
    background: rgba(53, 53, 53, .7);
    transition: .5s;
}

.portfolio-item:hover .portfolio-overlay {
    width: 100%;
    height: 100%;
    left: 0;
}

.portfolio-item .portfolio-overlay .btn {
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay .btn {
    opacity: 1;
}

/* Brand color utilities override */
.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.border-primary { border-color: var(--primary) !important; }
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}
.btn-primary:hover, .btn-primary:focus {
    background-color: #c11a1f;
    border-color: #c11a1f;
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .quote-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .quote-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .quote-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item .team-social {
    position: absolute;
    width: 38px;
    top: 50%;
    left: -38px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    transition: .5s;
}

.team-item .team-social .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.team-item:hover .team-social {
    left: 0;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text {
    border: 5px solid var(--light);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}


/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer {
    background: linear-gradient(rgba(31, 41, 55, .95), rgba(31, 41, 55, .95));
    padding-bottom: 32px; /* extra bottom space */
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: #FFFFFF; /* keep icon visible on red hover */
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "›";
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}
/* keep footer links on a single line */
.footer .btn.btn-link { white-space: nowrap; }

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}

/* Footer enhancements */
.footer .brand-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.footer .subfooter {
    color: #c8ccd2;
}
.footer .subfooter-links a:hover {
    color: var(--primary) !important;
}
.btn-whatsapp {
    background-color: #22c55e;
    border-color: #22c55e;
}
.btn-whatsapp:hover, .btn-whatsapp:focus {
    background-color: #16a34a;
    border-color: #16a34a;
}

/* Floating WhatsApp icon */
.floating-whatsapp {
    position: fixed;
    right: 45px; /* align with back-to-top */
    bottom: 105px; /* 45 (btn offset) + 48 (btn size) + 12 (gap) */
    z-index: 1000;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: #22c55e;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(0,0,0,.18);
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.floating-whatsapp i { 
    font-size: 26px; 
    line-height: 1;
    display: block;
    text-align: center;
}
.floating-whatsapp:hover, .floating-whatsapp:focus {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 16px 28px rgba(0,0,0,.22);
    background-color: #16a34a;
}


/* ===== New Custom Non-Derivative Styles ===== */
.topbar {
    background-color: #fde7e8 !important; /* light red */
    color: #7a0f12; /* readable dark red text */
    border-bottom: 1px solid #f7c8cb;
}
.topbar small, .topbar a { color: #7a0f12 !important; }
.topbar .btn.btn-sm-square {
    background: rgba(255,255,255,.12) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,.35);
}
.topbar .btn.btn-sm-square:hover {
    background: rgba(255,255,255,.22) !important;
}
.topbar .fa, .topbar .far, .topbar .bi, .topbar .fab {
    color: var(--primary) !important;
    opacity: 1 !important;
}
.topbar .btn.btn-sm-square {
    background: rgba(255,255,255,.18) !important;
    border: 1px solid rgba(227,30,36,.35);
}
.topbar .btn.btn-sm-square i { color: var(--primary) !important; }
.hero {
    position: relative;
    padding: 110px 0 140px;
    min-height: 420px;
    background-image: url('../img/carousel-2.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.home-hero { background-image: url('../img/carousel-1.jpg'); }
.contact-hero { background-image: url('../img/carousel-3.jpg'); }
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    /* softer overlay and left-side boost for text readability */
    background: linear-gradient(90deg,
        rgba(255,255,255,.88) 0%,
        rgba(255,255,255,.72) 35%,
        rgba(255,255,255,.30) 65%,
        rgba(255,255,255,.18) 100%);
}
.hero > .container { position: relative; z-index: 1; }

@media (min-width: 992px) {
    .hero { min-height: 560px; padding: 140px 0; }
}
.hero-title {
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
}
.hero-subtitle {
    color: #4b5563;
    font-size: 18px;
    margin-bottom: 24px;
}
.hero .btn-outline-secondary {
    border-color: #d1d5db;
    color: #374151;
}
/* Compact hero variant for inner pages */
.hero.hero-compact { padding: 60px 0; min-height: 280px; }
@media (min-width: 992px) { .hero.hero-compact { padding: 90px 0; min-height: 360px; } }

/* Mobile hero adjustments */
@media (max-width: 991.98px) {
    .hero {
        padding: 80px 0 100px;
        min-height: 320px;
        background-size: cover;
        background-position: center center;
    }
    .hero.hero-compact {
        padding: 50px 0;
        min-height: 240px;
    }
    .hero-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .hero::before {
        background: linear-gradient(180deg,
            rgba(255,255,255,.85) 0%,
            rgba(255,255,255,.70) 40%,
            rgba(255,255,255,.45) 70%,
            rgba(255,255,255,.25) 100%);
    }
}

@media (max-width: 575.98px) {
    .hero {
        padding: 60px 0 80px;
        min-height: 280px;
    }
    .hero.hero-compact {
        padding: 40px 0;
        min-height: 200px;
    }
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    .hero-subtitle {
        font-size: 14px;
    }
    .hero > .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}
.hero-media img {
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.values .value-box {
    background: #fff;
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 24px;
    text-align: center;
    transition: transform .35s var(--ease-soft), box-shadow .35s var(--ease-soft);
}
.values .value-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.values .value-box i {
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}
.values .value-box:hover i {
    transform: scale(1.1);
}
.values .value-box h6 {
    margin: 0;
}

/* Values over hero (elevated boxes overlapping banner) */
.values.over-hero {
    margin-top: -80px;
    position: relative;
    z-index: 2;
}
.values.over-hero .value-box {
    box-shadow: 0 14px 30px rgba(0,0,0,.08);
    border-radius: 12px;
}

@media (min-width: 992px) {
    .values.over-hero { margin-top: -110px; }
}

.services {
    background: linear-gradient(180deg, #fff, #faf7f2);
}
.services .service-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform .35s var(--ease-soft), box-shadow .35s var(--ease-soft), border-color .35s var(--ease-soft);
}
.services .service-media {
    position: relative;
}
.services .service-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,.25) 100%);
    pointer-events: none;
}
.services .service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(227,30,36,.35);
}
.services .service-thumb {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.services .service-icon {
    position: absolute;
    left: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(227, 30, 36, .92);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0,0,0,.18);
    font-size: 22px;
}
.services .service-body {
    padding: 18px 16px 20px;
}
.services .service-body h5 { margin-bottom: 6px; }
.services .service-body p { color: #4b5563; margin-bottom: 8px; }
.services .service-features {
    list-style: none;
    padding-left: 0;
    margin: 0 0 6px 0;
}
.services .service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #374151;
    font-size: 14px;
    margin-bottom: 4px;
}
.services .service-features i { color: var(--primary); }
.services .service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
}
.services .service-link:hover { text-decoration: underline; }

.projects .project-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: transform .35s var(--ease-soft), box-shadow .35s var(--ease-soft);
}
.projects .project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.projects .project-thumb {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.projects .project-card:hover .project-thumb {
    transform: scale(1.05);
}
.projects .project-body {
    padding: 16px;
}

/* Testimonials - modern card style */
.testimonials {
    background: linear-gradient(180deg, #fff, #faf7f2);
}
.testimonials .testimonial-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}
.testimonials .testimonial-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}
.testimonials .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(227, 30, 36, .08);
    color: var(--primary);
    font-size: 24px;
}
.testimonials .name {
    font-weight: 700;
}
.testimonials .role {
    color: #6b7280;
    font-size: 13px;
}
.testimonials .testimonial-stars {
    color: #f59e0b; /* amber */
    margin: 6px 0 12px;
    font-size: 14px;
}
.testimonials .testimonial-text {
    color: #374151;
    margin: 0;
}

/* Testimonials slider layout */
.testimonials .testimonial-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}
.testimonials .ts-viewport {
    overflow: hidden;
    width: 100%;
}
.testimonials .ts-track {
    display: flex;
    align-items: stretch;
    gap: 16px;
    will-change: transform;
    transition: transform .6s cubic-bezier(.22,.61,.36,1);
}
.testimonials .ts-item {
    flex: 0 0 100%;
    box-sizing: border-box;
}
@media (min-width: 768px) { .testimonials .ts-item { flex-basis: 50%; } }
@media (min-width: 1200px) { .testimonials .ts-item { flex-basis: 33.333%; } }
.testimonials .ts-btn {
    border: none;
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    color: var(--primary);
    transition: transform .25s var(--ease-soft), box-shadow .25s var(--ease-soft);
}
.testimonials .ts-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0,0,0,.12); }
.testimonials .ts-prev { margin-right: 4px; }
.testimonials .ts-next { margin-left: 4px; }

/* Make cards more unique */
.testimonials .testimonial-card {
    position: relative;
    border: 1px solid rgba(227,30,36,.18);
    background: linear-gradient(180deg,#ffffff 0%, #fff8f8 100%);
    backdrop-filter: saturate(1.1);
    height: 100%;
}
.testimonials .testimonial-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(45deg, rgba(227,30,36,.35), rgba(227,30,36,0) 40%, rgba(227,30,36,.25));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
.testimonials .testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,.08); }
.testimonials .testimonial-header .avatar { box-shadow: inset 0 0 0 2px rgba(227,30,36,.18); }

/* subtle slide-in animation for items as they become visible */
.testimonials .ts-item { opacity: .0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease; }
.testimonials .ts-item.ts-visible { opacity: 1; transform: translateY(0); }

/* About Modern */
.about-modern {
    background: linear-gradient(180deg, #fff6f6 0%, #fdeeee 100%);
}
.about-modern .about-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-modern .badge-list .badge {
    border: 1px solid #e5e7eb;
    font-weight: 500;
}
.about-modern .stat {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius-sm);
    padding: 18px;
    text-align: left;
}
.about-modern .stat-value {
    color: var(--primary);
    font-weight: 800;
    font-size: 28px;
    line-height: 1;
}
.about-modern .stat-label {
    margin-top: 6px;
    color: #6b7280;
    font-size: 14px;
}

/* Contact Pro */
.contact-pro { background: linear-gradient(180deg, #fff, #fafafa); }
.contact-pro .cp-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: 0 12px 28px rgba(0,0,0,.06);
    transition: transform .35s var(--ease-soft), box-shadow .35s var(--ease-soft);
}
.contact-pro .cp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.contact-pro .cp-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.contact-pro .cp-row + .cp-row { border-top: 1px dashed #eee; }
.contact-pro .cp-icon {
    width: 42px; height: 42px; border-radius: 10px;
    background: rgba(227,30,36,.08); color: var(--primary);
    display: inline-flex; align-items: center; justify-content: center; font-size: 20px;
}
.contact-pro .cp-label { font-size: 12px; letter-spacing: .02em; text-transform: uppercase; color: #6b7280; }
.contact-pro .cp-value { font-weight: 600; color: #111827; }
.contact-pro .cp-value a { color: inherit; text-decoration: none; }
.contact-pro .cp-value a:hover { text-decoration: underline; }

.contact-pro .card-like {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}
.contact-pro .input-group-text { background: #f8fafc; border: 1px solid #e5e7eb; color: #6b7280; }
.contact-pro .form-control, .contact-pro .form-select { border: 1px solid #e5e7eb; height: 48px; }
.contact-pro .input-group.textarea .input-group-text { align-items: start; padding-top: 12px; }
.contact-pro textarea.form-control { height: auto; }

.contact-pro .cp-map { padding: 0; overflow: hidden; }
.contact-pro .cp-map-iframe { width: 100%; height: 360px; border: 0; display: block; border-radius: 14px; }
@media (min-width: 992px) { .contact-pro .cp-map-iframe { height: 440px; } }

@media (max-width: 575.98px) {
    html, body {
        width: 100vw !important;
        min-width: 0 !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    .container, .container-fluid, .row {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }
    section, .footer {
        width: 100vw !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }
    .hero {
        width: 100vw !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
        background-size: cover !important;
        background-position: center center !important;
    }
    .hero > .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .navbar {
        min-height: 52px !important;
        height: auto !important;
        background: #fff !important;
        box-shadow: 0 1px 9px rgba(43,47,51,0.08);
        border-bottom: 1px solid #f0d3d3;
        padding: 0 !important;
    }
    .navbar-brand {
        padding: 0 !important;
        margin: 0 !important;
        height: 52px !important;
        display: flex;
        align-items: center;
    }
    .navbar-brand img {
        height: 32px !important;
        width: auto !important;
        margin-left: 10px !important;
    }
    .navbar-toggler {
        margin-right: 18px !important;
        margin-left: auto !important;
        border: none !important;
        box-shadow: none !important;
    }
    .navbar-collapse {
        width: 100vw !important;
        background: #fff5f5 !important;
        top: 52px !important;
        left: 0 !important;
        border-top: 1px solid #f0d3d3;
        box-shadow: 0 6px 18px -8px rgba(43,47,51,.10);
    }
    .navbar-nav {
        width: 100vw !important;
        padding: 12px 0 !important;
    }
    .navbar-nav .nav-link {
        padding: 12px 22px !important;
        font-size: 17px !important;
        color: #232323 !important;
        font-weight: 500 !important;
        border: none !important;
        width: 100%;
        background: transparent !important;
        text-align: left;
    }
    .navbar-nav .nav-link.active,
    .navbar-nav .nav-link:focus,
    .navbar-nav .nav-link:hover {
        color: var(--primary) !important;
        background: #fff2f2 !important;
    }
}

/* ===== SIMPLE ANIMATIONS FOR HOME PAGE ===== */
@keyframes simpleFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes simpleSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.simple-fade-in {
    animation: simpleFadeIn 0.6s ease-out;
}

.simple-fade-in-2 {
    animation: simpleFadeIn 0.6s ease-out 0.2s both;
}

.simple-fade-in-3 {
    animation: simpleFadeIn 0.6s ease-out 0.4s both;
}

.simple-slide-up {
    animation: simpleSlideUp 0.6s ease-out;
}

.simple-slide-up-2 {
    animation: simpleSlideUp 0.6s ease-out 0.15s both;
}

.simple-slide-up-3 {
    animation: simpleSlideUp 0.6s ease-out 0.3s both;
}

.simple-slide-up-4 {
    animation: simpleSlideUp 0.6s ease-out 0.45s both;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 0.8s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 0.8s ease-out 0.4s both;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 0.8s ease-out 0.6s both;
}

.animate-fade-in-delay-4 {
    animation: fadeIn 0.8s ease-out 0.8s both;
}

.animate-slide-up {
    opacity: 0;
    animation: slideUp 0.8s ease-out forwards;
}

.animate-slide-up-delay {
    opacity: 0;
    animation: slideUp 0.8s ease-out 0.2s forwards;
}

.animate-slide-up-delay-2 {
    opacity: 0;
    animation: slideUp 0.8s ease-out 0.4s forwards;
}

.animate-slide-left {
    opacity: 0;
    animation: slideLeft 0.8s ease-out forwards;
}

.animate-slide-left-delay {
    opacity: 0;
    animation: slideLeft 0.8s ease-out 0.2s forwards;
}

.animate-slide-left-delay-2 {
    opacity: 0;
    animation: slideLeft 0.8s ease-out 0.4s forwards;
}

.animate-slide-left-delay-3 {
    opacity: 0;
    animation: slideLeft 0.8s ease-out 0.6s forwards;
}

.animate-slide-right {
    opacity: 0;
    animation: slideRight 0.8s ease-out forwards;
}

.animate-scale-in {
    opacity: 0;
    animation: scaleIn 0.8s ease-out forwards;
}

.animate-scale-in-delay {
    opacity: 0;
    animation: scaleIn 0.8s ease-out 0.2s forwards;
}

.animate-scale-in-delay-2 {
    opacity: 0;
    animation: scaleIn 0.8s ease-out 0.4s forwards;
}

.animate-scale-in-delay-3 {
    opacity: 0;
    animation: scaleIn 0.8s ease-out 0.6s forwards;
}

.animate-bounce-in {
    animation: bounceIn 0.8s ease-out;
}

/* ===== ABOUT PAGE STYLES ===== */
.mission-vision {
    background: linear-gradient(180deg, #fff, #fafafa);
    /* make section a bit tighter than py-5 */
    padding: 2.5rem 0;
}

.mv-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px; /* smaller card padding */
    height: 100%;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
    transition: transform .3s ease, box-shadow .3s ease;
    border: 1px solid #eee;
}

.mv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(0,0,0,.12);
}

.mv-mission {
    border-top: 4px solid var(--primary);
}

.mv-vision {
    border-top: 4px solid #4f46e5;
}

.mv-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(227,30,36,.1), rgba(227,30,36,.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 0; /* inline with heading */
}

.mv-vision .mv-icon {
    background: linear-gradient(135deg, rgba(79,70,229,.1), rgba(79,70,229,.2));
    color: #4f46e5;
}

.mv-card h3 {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
    font-size: 1.5rem; /* slightly smaller heading */
}

/* place icon and title on one line and center align */
.mv-card .mv-icon + h3 {
    display: inline-block;
    vertical-align: middle;
    margin-left: 12px;
}
.mv-card .mv-icon { display: inline-flex; vertical-align: middle; }

/* add a bit of space below the inline header row */
.mv-card .mv-icon + h3 + p { margin-top: 8px; }

.mv-card p {
    color: #6b7280;
    line-height: 1.7;
}

/* tighten default .mb-4 paragraphs inside mv cards */
.mv-card p.mb-4 { margin-bottom: 1rem; }

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

.mv-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: #374151;
    font-size: 0.95rem;
}

.mv-list i {
    color: var(--primary);
    font-size: 18px;
}

/* About Stats */
.about-stats {
    background: linear-gradient(135deg, rgba(227,30,36,.05), rgba(227,30,36,.1));
}

.stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    transition: transform .3s ease, box-shadow .3s ease;
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 32px rgba(227,30,36,.15);
    border-color: var(--primary);
}

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #c11a1f);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    color: #6b7280;
    font-size: 16px;
    font-weight: 500;
}

/* Timeline */
.about-timeline {
    background: #fff;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary), #4f46e5);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #c11a1f);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(227,30,36,.3);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    background: #fff;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    border-left: 4px solid var(--primary);
}

.timeline-item:nth-child(even) .timeline-content {
    border-left: none;
    border-right: 4px solid var(--primary);
}

.timeline-content h5 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.timeline-content p {
    color: #6b7280;
    margin: 0;
    line-height: 1.7;
}

/* Why Choose About */
.why-choose-about {
    background: linear-gradient(180deg, #fff, #fafafa);
}

.feature-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: transform .3s ease, box-shadow .3s ease;
    border: 1px solid #eee;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0,0,0,.15);
}

.feature-image-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.feature-card:hover .feature-image {
    transform: scale(1.1);
}

.feature-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
    opacity: 0;
    transition: opacity .3s ease;
}

.feature-card:hover .feature-overlay {
    opacity: 1;
}

.feature-content {
    padding: 28px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(227,30,36,.1), rgba(227,30,36,.2));
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
}

.feature-content h5 {
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.feature-content p {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.highlight-tag {
    background: rgba(227,30,36,.1);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

/* Team Values */
.team-values {
    background: linear-gradient(180deg, #fafafa, #fff);
}

.value-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    transition: transform .3s ease, box-shadow .3s ease;
}

.value-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

.value-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(227,30,36,.1), rgba(227,30,36,.2));
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.value-item-content h6 {
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.value-item-content p {
    color: #6b7280;
    margin: 0;
    line-height: 1.7;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    border-radius: 20px;
}

.image-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
    display: flex;
    align-items: center;
    gap: 16px;
    animation: pulse 2s infinite;
}

.image-badge i {
    font-size: 32px;
    color: var(--primary);
}

.image-badge div {
    display: flex;
    flex-direction: column;
}

.image-badge strong {
    font-size: 20px;
    color: var(--dark);
}

.image-badge span {
    font-size: 13px;
    color: #6b7280;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ===== SERVICE PAGE STYLES ===== */
.services-detailed {
    background: #fff;
}

.service-detailed-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: transform .3s ease, box-shadow .3s ease;
    border: 1px solid #eee;
    height: 100%;
    position: relative;
}

.service-detailed-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(227,30,36,.15);
}

.service-detailed-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    z-index: 2;
}

.service-detailed-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.service-detailed-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.service-detailed-card:hover .service-detailed-image img {
    transform: scale(1.15);
}

.service-detailed-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.8), transparent);
    opacity: 0;
    transition: opacity .3s ease;
}

.service-detailed-card:hover .service-detailed-overlay {
    opacity: 1;
}

.service-detailed-content {
    padding: 28px;
}

.service-detailed-content h4 {
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-detailed-content > p {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-detailed-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.service-detailed-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: #374151;
}

.service-detailed-list i {
    color: var(--primary);
    font-size: 16px;
}

.service-detailed-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: gap .3s ease;
}

.service-detailed-link:hover {
    gap: 12px;
    color: #c11a1f;
}

/* Process Flow */
.service-process {
    background: linear-gradient(180deg, #fafafa, #fff);
}

.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.process-step {
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    text-align: center;
    position: relative;
}

.process-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #c11a1f);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    margin: 0 auto 16px;
    box-shadow: 0 4px 16px rgba(227,30,36,.3);
}

.process-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(227,30,36,.1), rgba(227,30,36,.2));
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 20px;
    transition: transform .3s ease;
}

.process-step:hover .process-icon {
    transform: scale(1.1) rotate(5deg);
}

.process-step h5 {
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.process-step p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.process-connector {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), #4f46e5);
    position: relative;
}

.process-connector::after {
    content: '→';
    position: absolute;
    right: -12px;
    top: -10px;
    color: var(--primary);
    font-size: 20px;
}

@media (max-width: 768px) {
    .process-connector {
        width: 2px;
        height: 40px;
    }
    .process-connector::after {
        content: '↓';
        right: -10px;
        top: 28px;
    }
}

/* Additional Services */
.additional-services {
    background: #fff;
}

.additional-service-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    transition: transform .3s ease, box-shadow .3s ease;
    border: 2px solid transparent;
    height: 100%;
}

.additional-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(227,30,36,.15);
    border-color: var(--primary);
}

.additional-service-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(227,30,36,.1), rgba(227,30,36,.2));
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
    transition: transform .3s ease;
}

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

.additional-service-card h6 {
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.additional-service-card p {
    color: #6b7280;
    margin: 0;
    line-height: 1.7;
}

/* Service FAQ */
.service-faq {
    background: linear-gradient(180deg, #fafafa, #fff);
}

.faq-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    transition: transform .3s ease, box-shadow .3s ease;
    border-left: 4px solid var(--primary);
    height: 100%;
}

.faq-card:hover {
    transform: translateX(8px);
    box-shadow: 0 12px 32px rgba(0,0,0,.12);
}

.faq-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(227,30,36,.1), rgba(227,30,36,.2));
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.faq-card h6 {
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.faq-card p {
    color: #6b7280;
    margin: 0;
    line-height: 1.7;
}

/* ===== PROJECT PAGE STYLES ===== */
.project-filters {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.project-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.filter-btn {
    padding: 12px 28px;
    border: 2px solid #e5e7eb;
    background: #fff;
    color: #6b7280;
    border-radius: 50px;
    font-weight: 600;
    transition: all .3s ease;
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(227,30,36,.3);
}

/* Projects Gallery */
.projects-gallery {
    background: #fff;
}

.project-enhanced-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    transition: transform .3s ease, box-shadow .3s ease;
    border: 1px solid #eee;
    height: 100%;
}

.project-enhanced-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0,0,0,.15);
}

.project-enhanced-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.project-enhanced-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.project-enhanced-card:hover .project-enhanced-image img {
    transform: scale(1.15);
}

.project-enhanced-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.9), transparent);
    opacity: 0;
    transition: opacity .3s ease;
    display: flex;
    align-items: flex-end;
    padding: 24px;
}

.project-enhanced-card:hover .project-enhanced-overlay {
    opacity: 1;
}

.project-enhanced-info {
    color: #fff;
}

.project-category {
    display: inline-block;
    background: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.project-enhanced-info h5 {
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.project-enhanced-info > p {
    color: rgba(255,255,255,.9);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.project-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255,255,255,.8);
}

.project-enhanced-body {
    padding: 24px;
}

.project-tag {
    display: inline-block;
    background: rgba(227,30,36,.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.project-enhanced-body h6 {
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.project-enhanced-body p {
    color: #6b7280;
    margin: 0;
    font-size: 14px;
}

/* Project Stats */
.project-stats {
    background: linear-gradient(135deg, rgba(227,30,36,.05), rgba(227,30,36,.1));
}

.project-stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    transition: transform .3s ease, box-shadow .3s ease;
    border: 2px solid transparent;
}

.project-stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 32px rgba(227,30,36,.15);
    border-color: var(--primary);
}

.project-stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #c11a1f);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

.project-stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 12px;
}

.project-stat-label {
    color: #6b7280;
    font-size: 15px;
    font-weight: 500;
}

/* ===== SIMPLE HOVER EFFECTS ===== */
.btn {
    transition: transform .25s var(--ease-soft), box-shadow .25s var(--ease-soft), background-color .25s var(--ease-soft), border-color .25s var(--ease-soft);
}
.btn:hover {
    transform: translateY(-2px);
}
.btn-primary:hover {
    box-shadow: 0 6px 15px rgba(227, 30, 36, 0.3);
}
.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(227,30,36,.25);
}

/* Inputs focus smoothing */
input.form-control, select.form-select, textarea.form-control {
    transition: border-color .25s var(--ease-soft), box-shadow .25s var(--ease-soft);
}
input.form-control:focus, select.form-select:focus, textarea.form-control:focus {
    border-color: rgba(227,30,36,.45);
    box-shadow: 0 0 0 3px rgba(227,30,36,.15);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* ===== FOOTER ENHANCEMENTS ===== */
.footer-enhanced {
    position: relative;
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.05' 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'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
    pointer-events: none;
}

.footer-social .btn-social {
    transition: all .3s ease;
}

.footer-social .btn-social:hover {
    transform: translateY(-4px) scale(1.1);
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #FFFFFF !important;
}

.footer-links .btn-link {
    transition: all .3s ease;
}

.footer-links .btn-link:hover {
    transform: translateX(8px);
}

.footer-contact p {
    transition: all .3s ease;
}

.footer-contact p:hover {
    transform: translateX(4px);
}

.footer-contact .text-primary {
    transition: transform .3s ease;
}

.footer-contact p:hover .text-primary {
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        padding-left: 60px;
        flex-direction: row !important;
    }
    
    .timeline-year {
        position: absolute;
        left: 0;
        width: 60px;
        height: 60px;
        font-size: 16px;
    }
    
    .timeline-content {
        border-left: 4px solid var(--primary) !important;
        border-right: none !important;
    }
    
    .process-flow {
        flex-direction: column;
    }
    
    .process-connector {
        width: 2px !important;
        height: 40px !important;
    }
    
    .process-connector::after {
        content: '↓' !important;
        right: -10px !important;
        top: 28px !important;
    }
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}



/* Invoice */
.invoice-type {
    text-align: center;
    margin-bottom: 20px;
}

.invoice-type h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

@media (max-width: 768px) {
    .invoice-type h5 {
        font-size: 12px;
    }
}