/* =======HOME PAGE STARTS====== */

/* ===HERO STYLES====== */

.hero {
    position: relative;
    background: url('../images/hero2.webp') center center/cover no-repeat;
    padding: 5rem 7rem;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: -7px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.92) 0%, rgba(10, 25, 47, 0.85) 50%, rgba(10, 25, 47, 0.88) 100%);
    z-index: 1;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 14rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge {
    display: inline-block;
    background: rgba(243, 156, 18, 0.2);
    backdrop-filter: blur(8px);
    color: #f39c12;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
    border: 1px solid rgba(243, 156, 18, 0.4);
}

.hero-title {
    font-size: 2.9rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1.2rem;
   font-family: 'Gabarito', sans-serif;
    letter-spacing: -0.4px;
}

.hero-highlight {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #f39c12, #e67e22);
    border-radius: 3px;
}

.hero-description {
    color: rgba(242, 244, 250, 0.85);
    font-size: 1.05rem;
    line-height: 1.4;
    margin-bottom: 2rem;
    font-family: 'Bai Jamjuree', sans-serif;
    letter-spacing: -0.2px;
    font-weight: 500;
    max-width: 600px;
}

.hero-description strong {
    color: #f39c12;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #0a192f;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.hero-btn-primary:hover::before {
    left: 100%;
}

.hero-btn-primary:hover {
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
}

.hero-btn-primary i {
    transition: transform 0.3s ease;
}

.hero-btn-primary:hover i {
    transform: translateX(5px);
}

.hero-btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(243, 156, 18, 0.6);
}

.hero-btn-secondary:hover {
    border-color: #f39c12;
    background: rgba(243, 156, 18, 0.1);
    color: #f39c12;
    transform: translateY(-2px);
}

.hero-trust {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-family: 'Poppins', sans-serif;
}

.trust-item i {
    color: #f39c12;
    font-size: 0.9rem;
}



.hero-offer {
    animation: fadeInRight 0.8s ease forwards;
}

.offer-card {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(243, 156, 18, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    /* Glassmorphism — will-change keeps GPU compositing, avoids repaint lag */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    will-change: transform;
}

/* Subtle inner shimmer layer — CSS only, zero JS cost */
.offer-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.02) 50%,
        rgba(243, 156, 18, 0.04) 100%
    );
    pointer-events: none;
    z-index: 0;
}

/* Top-edge highlight line */
.offer-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    width: 70%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.35),
        transparent
    );
    pointer-events: none;
    z-index: 1;
}

/* Make all children sit above the pseudo layers */
.offer-card > * {
    position: relative;
    z-index: 2;
}

.offer-card:hover {
    transform: translateY(-5px);
    border-color: rgba(243, 156, 18, 0.5);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.offer-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.2), rgba(230, 126, 34, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    border: 1px solid rgba(243, 156, 18, 0.2);
    box-shadow: 0 4px 16px rgba(243, 156, 18, 0.1);
}

.offer-icon i {
    font-size: 2rem;
    color: #f39c12;
}

.offer-card h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-family: 'Gabarito', sans-serif;
}

.offer-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 500;
}

.offer-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #0a192f;
    padding: 0.7rem 1.5rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(243, 156, 18, 0.3);
}

.offer-btn:hover {
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}

.offer-btn i {
    transition: transform 0.3s ease;
}

.offer-btn:hover i {
    transform: translateX(5px);
}

.offer-note {
    display: block;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.65rem;
    margin-top: 0.8rem;
    font-family: 'Poppins', sans-serif;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}


/* Animations */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Mobile Responsive */

@media (max-width: 1080px) {
    .hero {
        min-height: 65vh;
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 3rem 1.5rem 5rem;
        min-height: auto;
        margin-top: -15px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-offer {
        max-width: 450px;
        margin: 0 auto;
        width: 100%;
    }

    .hero-wave svg {
        height: 40px;
    }

    /* Reduce blur cost on mid-range mobile */
    .offer-card {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 2rem 1rem 4rem;
        margin-top: -15px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-badge {
        font-size: 0.7rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }

    .hero-trust {
        gap: 1rem;
    }

    .trust-item {
        font-size: 0.75rem;
    }

    .offer-card {
        padding: 1.5rem;
        /* Drop blur entirely on small phones — solid tint instead, zero GPU cost */
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255, 255, 255, 0.08);
    }

    .offer-card h3 {
        font-size: 1.1rem;
    }

    .hero-wave svg {
        height: 30px;
    }
}


/* Hero Slider Styles */

.hero-slider {
    position: relative;
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
}

/* Slides stack on top of each other */
.slide {
    display: none;
    opacity: 0;
}

.slide.active {
    display: block;
    animation: slideReveal 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.slide.exit {
    display: block;
    animation: slideExit 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

/* Slow, weighty slide-in — feels like heavy machinery */
@keyframes slideReveal {
    0% {
        opacity: 0;
        transform: translateX(60px);
    }
    30% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideExit {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-40px);
    }
}

/* Fallback for browsers without JS animation support */
@keyframes fadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}


/* ── Slider Navigation Dots ── */

.slider-dots {
    display: flex;
    gap: 0.7rem;
    margin-top: 1.8rem;
    align-items: center;
}

.dot {
    width: 36px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    cursor: pointer;
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Fill animation on active dot */
.dot.active {
    width: 64px;
    background: rgba(243, 156, 18, 0.3);
}

.dot.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #f39c12, #e67e22);
    border-radius: 4px;
    animation: dotFill var(--slide-duration, 5000ms) linear forwards;
}

@keyframes dotFill {
    from { width: 0%; }
    to   { width: 100%; }
}

.dot:hover {
    background: rgba(243, 156, 18, 0.5);
}


/* ── Slider Arrows ── */

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(10, 25, 47, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(243, 156, 18, 0.35);
    border-radius: 50%;
    color: #f39c12;
    cursor: pointer;
    transition: background 0.3s ease,
                border-color 0.3s ease,
                transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    outline: none;
}

.slider-arrow:hover {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    border-color: transparent;
    color: #0a192f;
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}

.slider-arrow.prev {
    left: -52px;
    transform: translateY(-50%);
}

.slider-arrow.prev:hover {
    transform: translateY(-50%) translateX(-3px);
}

.slider-arrow.next {
    right: -52px;
    transform: translateY(-50%);
}

.slider-arrow.next:hover {
    transform: translateY(-50%) translateX(3px);
}

/* Active press */
.slider-arrow:active {
    transform: translateY(-50%) scale(0.93) !important;
}


/* ── Mobile Responsive ── */

@media (max-width: 992px) {
    .slider-arrow.prev { left: -32px; }
    .slider-arrow.next { right: -32px; }

    .slider-arrow {
        width: 36px;
        height: 36px;
    }

    .dot { width: 28px; }
    .dot.active { width: 48px; }
}

@media (max-width: 576px) {
    .slider-arrow {
        display: none;
    }

    .slider-dots {
        justify-content: center;
    }

    .dot { width: 24px; }
    .dot.active { width: 40px; }
}




/* CORE SERVICES ALL STYLES */

.core-services-all {
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f4f9 50%, #e8edf3 100%);
    position: relative;
    overflow: hidden;
}

/* Abstract Flowing Wave 1 */
.core-services-all::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 140%;
    height: 80%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 400'%3E%3Cpath fill='none' stroke='rgba(243,156,18,0.08)' stroke-width='3' stroke-linecap='round' d='M0,200 C150,150 200,300 350,250 C500,200 550,100 700,150 C850,200 900,300 1050,250 C1100,230 1150,200 1200,180' /%3E%3Cpath fill='none' stroke='rgba(243,156,18,0.06)' stroke-width='2' stroke-linecap='round' d='M0,230 C120,190 180,330 320,280 C460,230 520,130 680,180 C840,230 880,320 1020,270 C1080,250 1140,220 1200,200' /%3E%3Cpath fill='none' stroke='rgba(243,156,18,0.05)' stroke-width='2' stroke-linecap='round' d='M0,170 C180,110 250,270 400,220 C550,170 600,70 750,120 C900,170 950,280 1100,230 C1140,210 1170,190 1200,160' /%3E%3C/svg%3E") repeat-x;
    background-size: 1200px 400px;
    background-position: center;
    pointer-events: none;
    animation: waveFlow 20s linear infinite;
}

/* Abstract Flowing Wave 2 - Bottom */
.core-services-all::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 140%;
    height: 80%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 400'%3E%3Cpath fill='none' stroke='rgba(243,156,18,0.07)' stroke-width='3' stroke-linecap='round' d='M0,300 C100,250 200,350 350,280 C500,210 600,150 750,200 C900,250 1000,350 1200,280' /%3E%3Cpath fill='none' stroke='rgba(243,156,18,0.05)' stroke-width='2' stroke-linecap='round' d='M0,270 C150,220 250,320 400,250 C550,180 650,120 800,170 C950,220 1050,320 1200,250' /%3E%3C/svg%3E") repeat-x;
    background-size: 1200px 400px;
    background-position: center;
    pointer-events: none;
    transform: rotate(180deg);
    animation: waveFlowReverse 18s linear infinite;
}

/* Abstract Soft Glowing Waves - Organic */
.core-services-all .services-container {
    position: relative;
    z-index: 2;
}

.services-container::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -10%;
    width: 100%;
    height: 80%;
    background: radial-gradient(ellipse at 30% 50%, rgba(243, 156, 18, 0.05), transparent 60%);
    filter: blur(50px);
    pointer-events: none;
}

.services-container::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: -10%;
    width: 100%;
    height: 80%;
    background: radial-gradient(ellipse at 70% 50%, rgba(243, 156, 18, 0.04), transparent 60%);
    filter: blur(50px);
    pointer-events: none;
}

@keyframes waveFlow {
    0% {
        background-position: 0 center;
    }
    100% {
        background-position: 1200px center;
    }
}

@keyframes waveFlowReverse {
    0% {
        background-position: 1200px center;
    }
    100% {
        background-position: 0 center;
    }
}
.services-container {
    position: relative;
    z-index: 2;
}
.services-container {
    max-width: 1300px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-badge {
    display: inline-block;
    background: rgba(243, 156, 18, 0.1);
    color: #f39c12;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.services-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0a192f;
    margin-bottom: 1rem;
    font-family: 'Gabarito', sans-serif;
    letter-spacing: -0.5px;
}

.services-highlight {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.services-description {
    color: #64748b;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 500;
    letter-spacing: -0.2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.project-card {
    background: #ffffff;
    border-radius: 13px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.project-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    position: relative;
}

/* ── Divider ── */
.project-images::after {
    content: 'VS';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;

    /* pill */
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #0a192f;
    font-family: 'Poppins', sans-serif;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.6rem;
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(243, 156, 18, 0.45);

}

/* Thin vertical line running the full height of the image block */
.project-images::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(243, 156, 18, 0.5) 15%,
        rgba(243, 156, 18, 0.8) 50%,
        rgba(243, 156, 18, 0.5) 85%,
        transparent 100%
    );
    z-index: 9;
    pointer-events: none;
}

.before-image,
.after-image {
    position: relative;
    overflow: hidden;
    height: 380px;
}

.before-image img,
.after-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .before-image img,
.project-card:hover .after-image img {
    transform: scale(1.05);
}

.image-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(10, 25, 47, 0.8);
    color: #ffffff;
    font-size: 0.99rem;
    font-weight: 700;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-family: 'Rajdhani', sans-serif;
    backdrop-filter: blur(4px);
}

.before-image .image-label {
    background: rgba(230, 126, 34, 0.9);
}

.after-image .image-label {
    background: #f39c12;
    color: #0a192f;
}

.project-info {
    padding: 1.2rem 1.2rem 1.2rem;
    text-align: center;
}

.project-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e2445;
    margin-bottom: 0.8rem;
     font-family: 'Gabarito', sans-serif;
    letter-spacing: -0.1px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #f39c12;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    
}

.project-link i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.project-link:hover {
    color: #e67e22;
}

.project-link:hover i {
    transform: translateX(4px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .core-services-all {
        padding: 2rem 1rem;
    }
    
    .services-title {
        font-size: 1.6rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .before-image,
    .after-image {
        height: 380px;
    }
}

@media (max-width: 480px) {
    .before-image,
    .after-image {
        height: 290px;
    }
    
    .project-title {
        font-size: 1rem;
    }
}



/* QUICK PROJECT SHOW */

.quick-project-show {
    padding: 4rem 2rem;
    background: linear-gradient(150deg, #ede9e3 0%, #f7f4ef 60%, #faf8f5 100%);
    position: relative;
    overflow: hidden;
}

/* ── Blueprint grid overlay ── */
.quick-project-show::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(10, 25, 47, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 25, 47, 0.045) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

/* ── Diagonal cross-hatch accent (top-right corner) ── */
.quick-project-show::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 340px;
    height: 340px;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(243, 156, 18, 0.07) 0px,
        rgba(243, 156, 18, 0.07) 1px,
        transparent 1px,
        transparent 14px
    );
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* All section children sit above the patterns */
.quick-project-show > * {
    position: relative;
    z-index: 1;
}

.quick-project-show-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    max-height: 600px;
}

.quick-project-show-container:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.quick-project-show-image {
    position: relative;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
}

.quick-project-show-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.quick-project-show-container:hover .quick-project-show-image img {
    transform: scale(1.03);
}

.quick-project-show-image-badge {
    position: absolute;
    top: 20px;
    left: 10px;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1rem;
    border-radius: 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid rgba(243, 156, 18, 0.3);
    min-width: 90px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-project-show-image-badge i {
    color: #f39c12;
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.quick-project-show-image-badge span {
    color: #ffffff;
    font-size: 0.75rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.quick-project-show-image-badge .number-stats {
    display: block;
    margin-top: 0.2rem;
}

.quick-project-show-image-badge .number-stats p {
    color: #f39c12;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    margin: 0;
    line-height: 1;
    transition: transform 0.2s ease;
}

/* Lightweight Hover Effects */
.quick-project-show-image-badge:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-color: rgba(243, 156, 18, 0.5);
}

.quick-project-show-image-badge:hover i {
    transform: scale(1.05);
}

.quick-project-show-image-badge:hover .number-stats p {
    transform: scale(1.02);
}
.quick-project-show-content {
    padding: 2rem 2rem 2rem 0;
}

.quick-project-show-badge {
    display: inline-block;
    background: rgba(243, 156, 18, 0.1);
    color: #f39c12;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    margin-bottom: 0.6rem;
    font-family: 'Poppins', sans-serif;
}

.quick-project-show-title {
    font-size: 2rem;
    font-weight: 700;
    color: #37375b;
    margin-bottom: 0.7rem;
     font-family: 'Gabarito', sans-serif;
    letter-spacing: -0.9px;
}

.quick-project-show-highlight {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.quick-project-show-description {
    color: #585668;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 500;
    letter-spacing: -0.2px;
}

.quick-project-show-details {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.quick-project-show-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-project-show-detail-item i {
    color: #f39c12;
    font-size: 1.2rem;
}

.quick-project-show-detail-item span {
    color: #0a192f;
    font-size: 0.8rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    letter-spacing: -0.3px;
}


.quick-project-show-features {
    list-style: none;
    margin-bottom: 2rem;
}

.quick-project-show-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.7rem;
    color: #334155;
    font-size: 0.85rem;
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 500;
}

.quick-project-show-features li i {
    color: #f39c12;
    font-size: 0.85rem;
}

.quick-project-show-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #0a192f, #0d2240);
    color: #ffffff;
    padding: 0.75rem 1.8rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    border: 1px solid rgba(243, 156, 18, 0.3);

}

.quick-project-show-btn:hover {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #0a192f;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.3);
}

.quick-project-show-btn i {
    transition: transform 0.3s ease;
}

.quick-project-show-btn:hover i {
    transform: translateX(5px);
}



.quick-project-show-detail-item {
    position: relative;
    padding-left: 1.2rem;
}

.quick-project-show-detail-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 25px;
    background: linear-gradient(180deg, 
        rgba(243, 156, 18, 0.2) 0%, 
        #f39c12 40%, 
        #e67e22 60%, 
        rgba(230, 126, 34, 0.2) 100%);
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(243, 156, 18, 0.3);
}

.quick-project-show-detail-item:hover::before {
    height: 35px;
    width: 5px;
    box-shadow: 0 0 12px rgba(243, 156, 18, 0.6);
    background: linear-gradient(180deg, 
        rgba(243, 156, 18, 0.3) 0%, 
        #f39c12 35%, 
        #e67e22 65%, 
        rgba(230, 126, 34, 0.3) 100%);
}



/* Mobile Responsive */
@media (max-width: 992px) {
    .quick-project-show {
        padding: 3rem 1.5rem;
    }

    .quick-project-show-container {
        grid-template-columns: 1fr;
        gap: 0;
        max-height: 900px;
    }

    .quick-project-show-image {
        max-height: 300px;
    }

    .quick-project-show-content {
        padding: 2rem;
    }

    .quick-project-show-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .quick-project-show {
        padding: 2rem 1rem;
    }

    .quick-project-show-image {
        min-height: 220px;
    }

    .quick-project-show-content {
        padding: 1.5rem;
    }

    .quick-project-show-title {
        font-size: 1.3rem;
    }

    .quick-project-show-description {
        font-size: 0.85rem;
    }

    .quick-project-show-details {
        gap: 1rem;
    }

    .quick-project-show-detail-item span {
        font-size: 0.83rem;
    }

    .quick-project-show-features li {
        font-size: 0.85rem;
    }


    .quick-project-show-detail-item i {
    color: #f39c12;
    font-size: 1rem;
    }


    .quick-project-show-image-badge .number-stats p {
  
    font-size: 2rem;
    }
}


/* SUBSCRIBE CTA  */

/* CTA Projects Latest Section */
.cta-projects-latest {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #0a192f 0%, #0d2240 50%, #0f2b50 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-projects-latest::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-projects-latest::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.06), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-projects-latest-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-projects-latest-badge {
    display: inline-block;
    background: rgba(243, 156, 18, 0.15);
    color: #f39c12;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    border: 1px solid rgba(243, 156, 18, 0.3);
}

.cta-projects-latest-title {
    font-size: 2rem;
    font-weight: 700;
    color: #c0c6cd;
    margin-bottom: 0.8rem;
    font-family: 'Gabarito', sans-serif;
    line-height: 1.2;
    letter-spacing: -0.4px;
}

.cta-projects-latest-highlight {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

.cta-projects-latest-highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 12px;

    border-bottom: 4px solid #f39c12;
    border-radius: 50%;
}

.cta-projects-latest-description {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 500;

}

.cta-projects-latest-description strong {
    color: #f39c12;
}

.cta-projects-latest-form .form-group {
    display: flex;
    gap: 0.8rem;
    max-width: 500px;
    margin: 0 auto;
}

.cta-projects-latest-form input {
    flex: 1;
    padding: 0.75rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    font-size: 0.85rem;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.cta-projects-latest-form input:focus {
    border-color: #f39c12;
    background: rgba(255, 255, 255, 0.1);
}

.cta-projects-latest-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.cta-projects-latest-form button {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #0a192f;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
}

.cta-projects-latest-form button:hover {
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.3);
}

.cta-projects-latest-form button i {
    transition: transform 0.3s ease;
}

.cta-projects-latest-form button:hover i {
    transform: translateX(5px);
}

.cta-projects-latest-note {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.65rem;
    font-family: 'Poppins', sans-serif;
    margin-top: 0.6rem;
}

/* Mobile Responsive - Compact */
@media (max-width: 768px) {
    .cta-projects-latest {
        padding: 2rem 1.5rem;
    }
    
    .cta-projects-latest-badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.7rem;
        margin-bottom: 0.8rem;
    }
    
    .cta-projects-latest-title {
        font-size: 1.6rem;
        margin-bottom: 0.6rem;
    }
    
    .cta-projects-latest-description {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
    }
    
    .cta-projects-latest-form .form-group {
        gap: 0.6rem;
    }
    
    .cta-projects-latest-form input {
        padding: 0.65rem 1rem;
        font-size: 0.8rem;
    }
    
    .cta-projects-latest-form button {
        padding: 0.65rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .cta-projects-latest-note {
        font-size: 0.6rem;
        margin-top: 0.5rem;
    }
}

@media (max-width: 576px) {
    .cta-projects-latest {
        padding: 1.5rem 1rem;
    }
    
    .cta-projects-latest-title {
        font-size: 1.3rem;
    }
    
    .cta-projects-latest-description {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .cta-projects-latest-form .form-group {
        flex-direction: column;
        gap: 0.6rem;
    }
    
    .cta-projects-latest-form button {
        justify-content: center;
    }
}


/* SUBCRIBE SUCCESSS MODAL */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: modalFadeIn 0.3s ease;
}

.custom-modal-overlay.fade-out {
    animation: modalFadeOut 0.3s ease forwards;
}

.custom-modal {
    background: linear-gradient(135deg, #0a192f, #0d2240);
    border-radius: 24px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    border: 1px solid rgba(243, 156, 18, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: modalSlideUp 0.3s ease;
}

.custom-modal-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}

.custom-modal-icon.success {
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.custom-modal-icon.success i {
    color: #2ecc71;
    font-size: 2rem;
}

.custom-modal-icon.error {
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.custom-modal-icon.error i {
    color: #e74c3c;
    font-size: 2rem;
}

.custom-modal-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    font-family: 'Rajdhani', sans-serif;
}

.custom-modal-message {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

.custom-modal-btn {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #0a192f;
    padding: 0.7rem 1.8rem;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.custom-modal-btn:hover {
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.3);
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* SERVICES ALL LIST */
/* All Services List Section */

.all-services-list {
    padding: 5rem 2rem;
    background: linear-gradient(150deg, #ede9e3 0%, #f7f4ef 60%, #faf8f5 100%);
    position: relative;
    overflow: hidden;
}

/* Blueprint grid overlay */
.all-services-list::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(10, 25, 47, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 25, 47, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

/* Amber hatch — top right */
.all-services-list::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 340px;
    height: 340px;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(243, 156, 18, 0.07) 0px,
        rgba(243, 156, 18, 0.07) 1px,
        transparent 1px,
        transparent 14px
    );
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.all-services-list > * {
    position: relative;
    z-index: 1;
}

/* Container */
.all-services-list-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Header */
.all-services-list-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

/* Eyebrow — two lines flanking the label */
.all-services-list-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(243, 156, 18, 0.1);
    border: 1px solid rgba(243, 156, 18, 0.2);
    border-radius: 50px;
    padding: 0.4rem 1.2rem;
    margin-bottom: 0.2rem;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}



.all-services-list-badge {
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #2a2f4f;
}

.all-services-list-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #0a192f;
    margin-bottom: 0.7rem;
 font-family: 'Gabarito', sans-serif;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.all-services-list-highlight {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.all-services-list-subtitle {
    color: #64748b;
    font-size: 0.9rem;
    max-width: 480px;
    margin: 0 auto;
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 500;
    line-height: 1.6;
}

/* Grid */
.all-services-list-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
}

/* Card */
.service-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 24px rgba(10, 25, 47, 0.07);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 45px rgba(10, 25, 47, 0.13);
}

/* Large ghost number */
.service-card-num {
    position: absolute;
    top: 12px;
    left: 16px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(10, 25, 47, 0.159);
    line-height: 1;
    pointer-events: none;
    z-index: 1;
}

/* Image */
.service-card-image {
    position: relative;
    height: 340px;
    overflow: hidden;
    flex-shrink: 0;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.06);
}

/* Diagonal cut at the bottom of the image */
.service-card-image::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 48px;
    background: #ffffff;
    clip-path: polygon(0 100%, 100% 100%, 100% 40%, 0 100%);
    pointer-events: none;
}

/* Content */
.service-card-content {
    padding: 1.3rem 1.5rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex: 1;
}

/* Service category tag */
.service-card-tag {
    display: inline-block;
    background: rgba(243, 156, 18, 0.1);
    color: #b87209;
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.8rem;
    border-radius: 4px;
    width: fit-content;
}

.service-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2a2c53;
    font-family: 'Gabarito', sans-serif;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.5px;
}

.service-card-description {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.55;
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 500;
    flex: 1;
    margin: 0;
}

/* Split button */
.service-card-btn {
    display: inline-flex;
    align-items: stretch;
    width: fit-content;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    margin-top: 0.6rem;
    border-radius: 8px;
    overflow: hidden;
}

.service-card-btn-label {
    background: linear-gradient(135deg, #0a192f, #0d2240);
    color: #ffffff;
    padding: 0.7rem 1.2rem 0.7rem 1.4rem;
    transition: background 0.3s ease, color 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.service-card-btn-arrow {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #0a192f;
    padding: 0.7rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, color 0.3s ease;
}

.service-card-btn-arrow i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-btn-label {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #0a192f;
}

.service-card:hover .service-card-btn-arrow {
    background: linear-gradient(135deg, #0d2240, #0a192f);
    color: #f39c12;
}

.service-card:hover .service-card-btn-arrow i {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1200px) {
    .all-services-list-container {
        max-width: 1100px;
    }
    
    .all-services-list-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .service-card-image {
        height: 260px;
    }
}

@media (max-width: 768px) {
    .all-services-list {
        padding: 3rem 1rem;
    }

    .all-services-list-title {
        font-size: 2rem;
    }
    
    .all-services-list-grid {
        gap: 1.2rem;
    }

    .service-card-image {
        height: 290px;
    }
    
    .service-card-title {
        font-size: 1.25rem;
    }
    
    .service-card-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .all-services-list-grid {
        grid-template-columns: 1fr;
    }

    .service-card-image {
        height: 290px;
    }

    .service-card-title {
        font-size: 1.2rem;
    }
    
    .service-card-content {
        padding: 1.2rem;
    }
}



/* PROJECT LISTING */

/* Project Listing Section */
.project-listing {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    position: relative;
}

.project-listing-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.project-listing-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.project-listing-badge {
    display: inline-block;
    background: rgba(243, 156, 18, 0.1);
    color: #f39c12;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.project-listing-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0a192f;
    margin-bottom: 0.5rem;
    font-family: 'Gabarito', sans-serif;
    letter-spacing: -0.7px;
}

.project-listing-highlight {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.project-listing-description {
    color: #64748b;
    font-size: 0.95rem;
    font-family: 'Bai Jamjuree', sans-serif;
}

.project-listing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 0;
}

.project-listing-card {
    position: relative;
    height: 450px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: all 0.4s ease;
    margin: 0 6px;
    border-radius: 7px;
}

.project-listing-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        transparent 50%,
        rgba(10, 25, 47, 0.9) 100%
    );
    transition: all 0.4s ease;
}

.project-listing-card:hover {
    transform: scale(1.02);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-listing-card:hover .project-listing-card-overlay {
    background: linear-gradient(
        180deg,
        rgba(243, 156, 18, 0.3) 0%,
        rgba(10, 25, 47, 0.95) 100%
    );
}

.project-listing-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 2;
    transition: all 0.3s ease;
}

.project-listing-card:hover .project-listing-card-content {
    transform: translateY(-5px);
}

.project-listing-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #f7f8ff;
    margin-bottom: 0.4rem;
    font-family: 'Gabarito', sans-serif;
    transition: all 0.3s ease;
}

.project-listing-location {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Bai Jamjuree', sans-serif;
    margin-bottom: 0;
    margin-top: -4px;
    transition: all 0.3s ease;
}

.project-listing-location i {
    color: #f39c12;
    font-size: 0.75rem;
    margin-right: 0.4rem;
}

/* Project Button */
.project-listing-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #0a192f;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.7rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    margin-top: 0;
    width: fit-content;
    pointer-events: none;
}

.project-listing-card:hover .project-listing-btn {
    opacity: 1;
    transform: translateY(0);
    margin-top: 0.5rem;
    pointer-events: auto;
}

.project-listing-btn:hover {
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.3);
}

.project-listing-btn i {
    transition: transform 0.3s ease;
}

.project-listing-btn:hover i {
    transform: translateX(4px);
}

/* Tablet */
@media (max-width: 1024px) {

    .project-listing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-listing-card {
        height: 380px;
    }
}

/* Mobile */
@media (max-width: 768px) {

    .project-listing {
        padding: 3rem 0;
    }

    .project-listing-container {
        padding: 0 0.15rem;
    }

    .project-listing-title {
        font-size: 2rem;
    }

    .project-listing-card {
        height: 320px;
    }

    .project-listing-name {
        font-size: 1rem;
    }

    .project-listing-btn {
        opacity: 1;
        transform: translateY(0);
        padding: 0.4rem 0.8rem;
        font-size: 0.65rem;
        margin-top: 0.4rem;
        pointer-events: auto;
    }
}

@media (max-width: 576px) {

    .project-listing-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .project-listing-title {
        font-size: 1.6rem;
    }

    .project-listing-card {
        height: 410px;
    }

    .project-listing-btn {
        opacity: 1;
        transform: translateY(0);
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
        margin-top: 0.6rem;
        pointer-events: auto;
    }
}


/* PLUMBING SUPPLY AND FIX */

.plumbing-supply-fix {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    position: relative;
    overflow: hidden;
}

.plumbing-supply-fix-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.plumbing-supply-fix-images {
    position: relative;
    height: 500px;
}

.image-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.image-front {
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 380px;
    z-index: 2;
    transform: rotate(-1deg);
    transition: all 0.3s ease;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
}

.image-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-back {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 65%;
    height: 480px;
    z-index: 1;
    transform: rotate(4deg);
    transition: all 0.3s ease;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.image-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plumbing-supply-fix-container:hover .image-front {
    transform: rotate(-2deg) translateY(-5px);
}

.plumbing-supply-fix-container:hover .image-back {
    transform: rotate(2deg) translateY(5px);
}

.image-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(243, 156, 18, 0.95);
    padding: 0.4rem 0.9rem;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(4px);
    z-index: 3;
}

.image-badge i {
    color: #0a192f;
    font-size: 0.8rem;
}

.image-badge span {
    color: #0a192f;
    font-size: 0.7rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.plumbing-supply-fix-content {
    padding: 1rem;
}

.plumbing-supply-fix-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(243, 156, 18, 0.1);
    border: 1px solid rgba(243, 156, 18, 0.2);
    border-radius: 50px;
    padding: 0.4rem 1.2rem;
    margin-bottom: 0.2rem;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}



.plumbing-supply-fix-badge-text {
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #39384f;
}

.plumbing-supply-fix-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0a192f;
    margin-bottom: 1rem;
    font-family: 'Gabarito', sans-serif;
    letter-spacing: -0.9px;
    text-align: left;
}

.plumbing-supply-fix-highlight {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.plumbing-supply-fix-description {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 500;
    letter-spacing: -0.1px;
    text-align: left;
}

/* Steps Container */
.plumbing-supply-fix-steps {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #ffffff;
    padding: 1.2rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(243, 156, 18, 0.1);
}

.step-item:hover {
    transform: translateX(5px);
    border-color: rgba(243, 156, 18, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #0a192f;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-family: 'Rajdhani', sans-serif;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1rem;
    font-weight: 700;
    color: #353652;
    margin-bottom: 0.3rem;
    font-family: 'Gabarito', sans-serif;
    letter-spacing: -0.2px;
}

.step-description {
    font-size: 0.87rem;
    color: #64748b;
    line-height: 1.4;
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 500;
}


.plumbing-supply-fix-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #0a192f;
    text-decoration: none;
    padding: 0.7rem 3.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    margin-top: 1rem;
    width: auto;
    border: none;
    cursor: pointer;
}

.plumbing-supply-fix-btn:hover {
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.3);
}

.plumbing-supply-fix-btn i {
    transition: transform 0.3s ease;
}

.plumbing-supply-fix-btn:hover i {
    transform: translateX(5px);
}


/* Mobile Responsive */
@media (max-width: 992px) {
    .plumbing-supply-fix {
        padding: 3rem 1.5rem;
    }
    
    .plumbing-supply-fix-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .plumbing-supply-fix-images {
        height: 350px;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .image-front, .image-back {
        width: 70%;
        height: 250px;
    }
    
    .plumbing-supply-fix-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .plumbing-supply-fix {
        padding: 2rem 1rem;
    }
    
    .plumbing-supply-fix-images {
        height: 300px;
    }
    
    .image-front{
        width: 55%;
        height: 240px;
    }


    .image-back {
        width: 55%;
        height: 280px;
    }
    
    .plumbing-supply-fix-content {
        padding: 0;
    }
    
    .plumbing-supply-fix-title {
        font-size: 1.3rem;
    }
    
    .plumbing-supply-fix-description {
        font-size: 0.88rem;
    }
    
    .step-item {
        padding: 0.8rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        border-radius: 10px;
    }
    
    .step-title {
        font-size: 0.9rem;
    }
    
    .step-description {
        font-size: 0.8rem;
    }
}



/* YOUTUBE VIDEOS SECTION */


.youtube-videos-play {
    padding: 5rem 2rem;
    background: linear-gradient(150deg, #ede9e3 0%, #f7f5f3 60%, #fffefd 100%);
    position: relative;
    overflow: hidden;
}

/* Blueprint grid overlay */
.youtube-videos-play::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(10, 25, 47, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 25, 47, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

/* Amber hatch — top right */
.youtube-videos-play::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 340px;
    height: 340px;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(243, 156, 18, 0.07) 0px,
        rgba(243, 156, 18, 0.07) 1px,
        transparent 1px,
        transparent 14px
    );
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.youtube-videos-play > * {
    position: relative;
    z-index: 1;
}

.youtube-videos-play-container {
    max-width: 1300px;
    margin: 0 auto;
}

.youtube-videos-play-header {
    text-align: center;
    margin-bottom: 3rem;
}

.youtube-videos-play-badge {
    display: inline-block;
    background: rgba(243, 156, 18, 0.1);
    color: #f39c12;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.youtube-videos-play-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0a192f;
    margin-bottom: 0.5rem;
    font-family: 'Gabarito', sans-serif;
    letter-spacing: -0.7px;
}

.youtube-videos-play-highlight {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.youtube-videos-play-description {
    color: #64748b;
    font-size: 1rem;
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 500;
}

.youtube-videos-play-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.youtube-video-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(243, 156, 18, 0.1);
    cursor: pointer;
    position: relative;
   
}

.youtube-video-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.youtube-video-card:hover::before {
    opacity: 1;
}

.youtube-video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(243, 156, 18, 0.4);
}

.youtube-video-thumb {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.youtube-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.youtube-video-card:hover .youtube-video-thumb img {
    transform: scale(1.08);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(243, 156, 18, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.play-icon i {
    color: #0a192f;
    font-size: 1.6rem;
    margin-left: 5px;
    transition: all 0.3s ease;
}

.youtube-video-card:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.15);
    background: #f39c12;
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.5);
}

.youtube-video-card:hover .play-icon i {
    transform: scale(1.1);
    color: #ffffff;
}

.youtube-video-info {
    padding: 1.2rem;
    position: relative;
    z-index: 2;
}

.youtube-video-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2a2a3d;
    margin-bottom: 0.3rem;
    font-family: 'Gabarito', sans-serif;
    transition: color 0.3s ease;
    letter-spacing: -0.4px;
}

.youtube-video-card:hover .youtube-video-info h3 {
    color: #f39c12;
}

.youtube-video-info p {
    font-size: 0.85rem;
    color: #64748b;
    font-family: 'Bai Jamjuree', sans-serif;
    transition: color 0.3s ease;
    font-weight: 500;
}

/* Video Modal Lightbox */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.96);
    z-index: 10000;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.video-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1100px;
    animation: modalFadeIn 0.3s ease;
}

.video-modal-close {
    position: absolute;
    top: -45px;
    right: -10px;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(243, 156, 18, 0.2);
}

.video-modal-close:hover {
    color: #f39c12;
    background: rgba(243, 156, 18, 0.4);
    transform: rotate(90deg);
}

.video-modal-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.video-modal-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .youtube-videos-play-container {
        max-width: 900px;
    }
    
    .youtube-videos-play-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .play-icon {
        width: 60px;
        height: 60px;
    }
    
    .play-icon i {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .youtube-videos-play-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .youtube-videos-play {
        padding: 3rem 1rem;
    }
    
    .youtube-videos-play-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .youtube-videos-play-title {
        font-size: 1.6rem;
    }
    
    .play-icon {
        width: 55px;
        height: 55px;
    }
    
    .play-icon i {
        font-size: 1.3rem;
    }
    
    .youtube-video-info h3 {
        font-size: 1rem;
    }
    
    .youtube-video-info p {
        font-size: 0.8rem;
    }
}



/* BLOG POST CSS */


.latest-blog-posts {
    padding: 5rem 2rem;
    background: linear-gradient(150deg, #ede9e3 0%, #f7f4ef 60%, #faf8f5 100%);
    position: relative;
    overflow: hidden;
}

.latest-blog-posts::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(10, 25, 47, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 25, 47, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

.latest-blog-posts::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 340px;
    height: 340px;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(243, 156, 18, 0.07) 0px,
        rgba(243, 156, 18, 0.07) 1px,
        transparent 1px,
        transparent 14px
    );
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.latest-blog-posts > * {
    position: relative;
    z-index: 1;
}

.latest-blog-posts-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* ── Header ── */
.latest-blog-posts-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.latest-blog-posts-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(243, 156, 18, 0.1);
    border: 1px solid rgba(243, 156, 18, 0.25);
    color: #9a6208;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.38rem 1rem;
    border-radius: 50px;
    margin-bottom: 0.9rem;
    font-family: 'Poppins', sans-serif;
}

.latest-blog-posts-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f39c12;
    display: inline-block;
    animation: blogDotPulse 2s ease-in-out infinite;
}

@keyframes blogDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.7); }
}

.latest-blog-posts-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #0a192f;
    margin-bottom: 0.6rem;
    font-family: 'Gabarito', sans-serif;
    letter-spacing: -0.5px;
}

.latest-blog-posts-highlight {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.latest-blog-posts-description {
    color: #64748b;
    font-size: 0.95rem;
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 500;
}

/* ── Grid ── */
.latest-blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.8rem;
    align-items: start;
}

/* ── Card ── */
.blog-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(10, 25, 47, 0.07);
    border: 1px solid rgba(243, 156, 18, 0.1);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 48px rgba(10, 25, 47, 0.13);
}

/* Card personality variants via nth-child */
.blog-card:nth-child(2) {
    background: linear-gradient(135deg, #0a192f, #0d2240);
    border-color: rgba(243, 156, 18, 0.15);
}

.blog-card:nth-child(3) {
    border-left: 3px solid #f39c12;
    border-radius: 0 20px 20px 0;
}

/* ── Image ── */
.blog-card-image {
    position: relative;
    overflow: hidden;
    height: 280px;
    flex-shrink: 0;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.07);
}

.blog-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 25, 47, 0.55) 100%);
    pointer-events: none;
}

/* ── Date badge — floats over image ── */
.blog-card-date {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 2;
    background: rgba(10, 25, 47, 0.82);
    backdrop-filter: blur(6px);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.62rem;
    font-weight: 600;
    padding: 0.28rem 0.75rem;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    border: 1px solid rgba(243, 156, 18, 0.3);
}

/* ── Content ── */
.blog-card-content {
    padding: 1.3rem 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.6rem;
    position: relative;
}

/* Ghost number decoration */
.blog-card-content::before {
    content: counter(blog-counter);
    counter-increment: blog-counter;
    position: absolute;
    top: -0.4rem;
    right: 1rem;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(243, 156, 18, 0.07);
    font-family: 'Poppins', sans-serif;
    line-height: 1;
    pointer-events: none;
}

.latest-blog-posts-grid {
    counter-reset: blog-counter;
}

.blog-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0a192f;
    line-height: 1.35;
    letter-spacing: -0.3px;
    font-family: 'Gabarito', sans-serif;
    transition: color 0.3s ease;
    margin: 0;
}

.blog-card:hover .blog-card-title {
    color: #d4890f;
}

.blog-card:nth-child(2) .blog-card-title {
    color: #f1f5f9;
}

.blog-card:nth-child(2):hover .blog-card-title {
    color: #f39c12;
}

.blog-card-excerpt {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.6;
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 500;
    flex: 1;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card:nth-child(2) .blog-card-excerpt {
    color: rgba(255, 255, 255, 0.6);
}

/* ── Read More link ── */
.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #f39c12;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(243, 156, 18, 0.12);
    margin-top: auto;
    transition: gap 0.25s ease, color 0.25s ease;
    width: fit-content;
}

.blog-card:nth-child(2) .blog-card-link {
    border-top-color: rgba(243, 156, 18, 0.2);
}

.blog-card-link i {
    font-size: 0.65rem;
    transition: transform 0.25s ease;
}

.blog-card:hover .blog-card-link {
    gap: 10px;
    color: #e67e22;
}

.blog-card:hover .blog-card-link i {
    transform: translateX(4px);
}

/* ── Loading / error state ── */
.blog-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(243, 156, 18, 0.1);
}

.blog-loading i {
    font-size: 2.5rem;
    color: #f39c12;
    margin-bottom: 1rem;
    display: block;
}

.blog-loading p {
    color: #64748b;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
}

/* ── Footer button ── */
.latest-blog-posts-footer {
    text-align: center;
}

.blog-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #0a192f, #0d2240);
    color: #ffffff;
    text-decoration: none;
    padding: 0.85rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    border: 1px solid rgba(243, 156, 18, 0.3);
    box-shadow: 0 4px 14px rgba(10, 25, 47, 0.15);
}

.blog-view-all-btn:hover {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #0a192f;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(243, 156, 18, 0.3);
}

.blog-view-all-btn i {
    transition: transform 0.3s ease;
}

.blog-view-all-btn:hover i {
    transform: translateX(6px);
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .latest-blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 560px;
        margin: 0 auto;
        width: 100%;
        border-radius: 0 20px 20px 0;
    }
}

@media (max-width: 768px) {
    .latest-blog-posts {
        padding: 3rem 1.5rem;
    }

    .latest-blog-posts-title {
        font-size: 2rem;
    }

    .latest-blog-posts-grid {
        grid-template-columns: 1fr;
    }

    .blog-card:nth-child(3) {
        grid-column: auto;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .latest-blog-posts {
        padding: 2rem 1rem;
    }

    .latest-blog-posts-title {
        font-size: 1.6rem;
    }

    .blog-card:nth-child(3) {
        border-radius: 0 16px 16px 0;
    }
}

/* CTA ABOVE FOOTER */

.cta-section {
    background: linear-gradient(135deg, #0a192f 0%, #0d2240 60%, #0f2b50 100%);
    padding: 3rem 2rem;
    text-align: center;
    margin: 0;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    color: #d9dcea !important;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-family: 'Gabarito', sans-serif;
}

.cta-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 1.8rem;
    font-family: 'Bai Jamjuree', sans-serif;
    font-weight: 500;
}

.cta-section .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #0a192f;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.cta-section .cta-button:hover {
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
}

.cta-section .cta-button i {
    transition: transform 0.3s ease;
}

.cta-section .cta-button:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .cta-section {
        padding: 2rem 1rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-text {
        font-size: 0.9rem;
    }
    
    .cta-section .cta-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}


