body {
    background: #0c1218;
    color: white;
}

/* HERO */
.hero {
    height: 100vh;
    background: url("image/cnc-bg.jpg") center/cover no-repeat;
}

.overlay {
    position: absolute;
    inset: 0;
    /* Darken + blur the edges while keeping a sharp clear center (lens effect) */
    background: rgba(0,0,0,0.35);
    pointer-events: none;
    z-index: 2;

    /* Blur what's behind the overlay (supported browsers) */
    -webkit-backdrop-filter: blur(8px) saturate(0.9) contrast(0.95);
    backdrop-filter: blur(8px) saturate(0.9) contrast(0.95);

    /* Create a radial mask so the center remains clear and edges fall into fog */
    -webkit-mask-image: radial-gradient(circle at 50% 45%, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,1) 100%);
    mask-image: radial-gradient(circle at 50% 45%, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,1) 100%);
}

/* Make sure content (text/buttons) sits above the overlay */
.hero .hero-content {
    position: relative;
    z-index: 3;
}

/* TEXT */
.number {
    opacity: 0.7;
}

.small-text {
    letter-spacing: 3px;
    font-size: 16px;
}

/* NAVBAR LOGO - Natural color */
.navbar-brand img {
    opacity: 1;
    filter: none;
}

/* INQUIRY BUTTON */
.inquiry-btn {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: orange;
    padding: 10px 14px;
    font-weight: 600;
    writing-mode: vertical-rl;
    cursor: pointer;
    z-index: 1000;
}

/* SOCIAL ICONS */
.social-icons {
    position: fixed;
    right: 20px;
    top: 40%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-icons i {
    cursor: pointer;
    font-size: 18px;
}

.social-icons i:hover {
    color: #9cff00;
}
.hero {
    height: 100vh;
    background: url("image/cnc-bg.jpg") center/cover no-repeat;
}

.carousel-item {
    height: 100vh;
    position: relative;
}

.carousel-bg {
    height: 100vh;
    object-fit: cover;
    filter: brightness(0.55); /* dark cinematic look */
}

.hero-content {
    max-width: 800px;
    position: absolute;
    left: 5%; /* keep text towards the left on larger screens */
    top: 30%;
    transform: translateY(-50%); /* vertically center */
    text-align: left; /* left-align content */
    z-index: 3; /* ensure it's above overlays */
}

.hero-content h2 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
}

.number {
    opacity: 0.4;
    font-size: 12rem !important;
}

.carousel-bg {
    filter: brightness(0.55);
}

.small-text {
    letter-spacing: 3px;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Bigger arrow buttons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

/* Dotted background pattern */
.dot-pattern {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 180px;
    height: 180px;
    background-image: radial-gradient(#ccc 1px, transparent 1px);
    background-size: 10px 10px;
    z-index: -1;
}

/* Image grid styling */
img {
    border-radius: 4px;
}

/* Experience badge */
.experience-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #fff;
    padding: 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    z-index: 2;
}

.experience-badge span {
    font-size: 12px;
    display: block;
    letter-spacing: 1px;
}

.experience-badge strong {
    font-size: 36px;
    font-weight: bold;
    display: block;
}

.experience-badge small {
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 991px) {
    .experience-badge {
        position: relative;
        margin-bottom: 15px;
    }

    /* Center hero content on smaller screens */
    .hero .hero-content {
        left: 50%;
        top: 30% ;
        transform: translate(-50%, -50%);
        text-align: center;
        padding: 0 20px;
    }
    .hero-content .d-flex {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }
}
/* === CLASSIC IMAGE GRID === */
.classic-gallery img {
    border: 1px solid #e2e2e2;

/* === CLASSIC SECTION MOSAIC === */
.classic-section {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
    color: #1a1f26;
    position: relative;
    overflow: visible;
}

.classic-heading {
    color: #1a1f26;
    font-size: 3rem;
    line-height: 1.12;
    border-left: 4px solid #06b6d4;
    padding-left: 18px;
}

.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 110px;
    gap: 12px;
    align-items: stretch;
}

.mosaic-grid .tile {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #e9ecef;
    box-shadow: 0 12px 30px rgba(10, 15, 20, 0.06);
    transition: transform 0.45s cubic-bezier(0.2,0.9,0.2,1), box-shadow 0.45s;
}

.mosaic-grid .tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform-origin: center center;
    transition: transform 0.7s cubic-bezier(0.2,0.9,0.2,1), filter 0.5s;
}

.mosaic-grid .tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.18) 100%);
    pointer-events: none;
}

.mosaic-grid .tile:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 22px 50px rgba(26,31,38,0.12);
}

.mosaic-grid .tile:hover img {
    transform: scale(1.12);
    filter: saturate(1.06) contrast(1.03);
}

/* individual tile placement */
.mosaic-grid .t1 { grid-column: 1 / span 3; grid-row: 1 / span 2; clip-path: polygon(0 0, 100% 3%, 100% 85%, 0 100%); }
.mosaic-grid .t2 { grid-column: 4 / span 3; grid-row: 1 / span 1; clip-path: polygon(0 6%, 100% 0, 100% 85%, 0 100%); }
.mosaic-grid .t3 { grid-column: 4 / span 2; grid-row: 2 / span 2; clip-path: polygon(0 0, 100% 6%, 100% 100%, 0 92%); }
.mosaic-grid .t4 { grid-column: 1 / span 3; grid-row: 3 / span 1; transform: rotate(-1deg); clip-path: inset(6% 0 6% 0 round 6px); }

.badge-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255,255,255,0.95);
    color: #111;
    padding: 10px 12px;
    text-align: center;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(10,15,20,0.08);
}
.badge-overlay strong { display: block; font-size: 26px; }
.badge-overlay span { font-size: 12px; color: #555; }

/* subtle decorative pattern behind section */
.classic-pattern {
    position: absolute;
    right: -120px;
    top: -40px;
    width: 520px;
    height: 520px;
    background: repeating-linear-gradient(45deg, rgba(255,193,7,0.06) 0 6px, transparent 6px 18px);
    filter: blur(18px) saturate(0.7);
    transform: rotate(12deg);
    pointer-events: none;
    opacity: 0.9;
}

/* Responsive: collapse mosaic on small screens */
@media (max-width: 991px) {
    .mosaic-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 140px;
    }
    .mosaic-grid .t1, .mosaic-grid .t2, .mosaic-grid .t3, .mosaic-grid .t4 { grid-column: auto; grid-row: auto; transform: none; clip-path: none; }
    .classic-pattern { display:none; }
}
    background: #fff;
    padding: 6px;
    transition: all 0.4s ease;
}

/* Gentle hover – not flashy */
.classic-gallery img:hover {
    filter: grayscale(10%);
    transform: translateY(-3px);
}

/* EXPERIENCE BADGE – CLASSIC VERSION */
.experience-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: #ffffff;
    border: 1px solid #d6d6d6;
    padding: 16px 18px;
    text-align: center;
    z-index: 2;
    font-family: "Segoe UI", sans-serif;
}

.experience-badge span {
    font-size: 11px;
    letter-spacing: 1.5px;
    color: #555;
    display: block;
    margin-bottom: 4px;
}

.experience-badge strong {
    font-size: 38px;
    font-weight: 700;
    color: #111;
    display: block;
    line-height: 1;
}

.experience-badge small {
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

/* Remove harsh rounded corners */
.classic-gallery img,
.experience-badge {
    border-radius: 0;
}


/* ================= PRODUCTS SECTION ================= */
.products-section {
    background: #0c1218;
    padding: 80px 0;
}

/* Product Card */
.product-card {
    background: #1a1f26;
    border: 1px solid #2a3038;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: #FEA000;
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.2);
    transform: translateY(-5px);
}

/* Product Image Container */
.product-image {
    position: relative;
    overflow: hidden;
    height: 380px;
    background: #111;
    transition: height 0.4s ease;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.6s ease;
    border-radius: 0;
}

.product-card:hover .product-image img {
    transform: scale(1.15) rotate(1deg);
    filter: brightness(0.5) saturate(1.2);
}

/* Product Overlay */
.product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(2px);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay .btn {
    transform: translateY(25px) scale(0.95);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.2);
}

.product-card:hover .product-overlay .btn {
    transform: translateY(0) scale(1);
}

.product-overlay .btn:hover {
    box-shadow: 0 8px 30px rgba(255, 193, 7, 0.5);
    background-color: #ffb800;
}

/* Product Info */
.product-info {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, rgba(26, 31, 38, 0.5), rgba(26, 31, 38, 0.8));
    transition: background 0.4s ease;
}

.product-card:hover .product-info {
    background: linear-gradient(to bottom, rgba(26, 31, 38, 0.8), rgba(26, 31, 38, 0.95));
}

.product-info h5 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 12px;
    transition: color 0.4s ease, text-shadow 0.3s ease;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.product-card:hover .product-info h5 {
    color: #FEA000;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.product-info p {
    color: #e8e8e8;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 15px;
    flex: 1;
    transition: color 0.4s ease;
}

.product-card:hover .product-info p {
    color: #ffffff;
}

/* Product Features List */
.product-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-features li {
    color: #e8e8e8;
    font-size: 0.9rem;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.product-card:hover .product-features li {
    color: #ffffff;
    border-left-color: #FEA000;
    padding-left: 16px;
}

.product-features i {
    color: #FEA000;
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.product-card:hover .product-features i {
    transform: scale(1.3) rotate(360deg);
}

/* Product Card Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: slideUp 0.6s ease-out backwards;
}

.col-lg-4:nth-child(1) .product-card { animation-delay: 0.1s; }
.col-lg-4:nth-child(2) .product-card { animation-delay: 0.2s; }
.col-lg-4:nth-child(3) .product-card { animation-delay: 0.3s; }
.col-lg-4:nth-child(4) .product-card { animation-delay: 0.4s; }
.col-lg-4:nth-child(5) .product-card { animation-delay: 0.5s; }
.col-lg-4:nth-child(6) .product-card { animation-delay: 0.6s; }

/* Responsive */
@media (max-width: 768px) {
    .products-section {
        padding: 50px 0;
    }

    .product-image {
        height: 200px;
    }

    .product-info {
        padding: 20px;
    }

    .product-info h5 {
        font-size: 1rem;
    }
}


/* ================= STRATEGIES SECTION ================= */
.strategies-section {
    background: #ffffff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.strategies-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #FEA000, transparent);
    animation: gradientSlide 3s ease-in-out infinite;
}

@keyframes gradientSlide {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

.strategies-section .text-muted {
    color: #666 !important;
    animation: fadeInUp 0.8s ease-out;
}

.strategies-section h2 {
    color: #1a1f26 !important;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.strategies-section .text-uppercase {
    color: #888 !important;
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Strategy Card */
.strategy-card {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    /* animation removed */
}

/* strategy card animations removed */

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.strategy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.1), transparent);
    transition: left 0.5s ease;
}

.strategy-card:hover {
    border-color: #FEA000;
    box-shadow: 0 15px 40px rgba(255, 193, 7, 0.25);
    transform: translateY(-12px) scale(1.02);
    background: #fff;
}

.strategy-card:hover::before {
    left: 100%;
}

/* Strategy Icon */
.strategy-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid #FEA000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #FEA000;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.strategy-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.3), transparent);
    /* pulse animation removed */
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.strategy-card:hover .strategy-icon {
    background: #FEA000;
    color: #fff;
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.5);
}

.strategy-icon i {
    position: relative;
    z-index: 1;
    /* float animation removed */
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.strategy-card:hover .strategy-icon i {
    animation: none;
    transform: scale(1.3);
}

/* Strategy Text */
.strategy-card h5 {
    color: #1a1f26;
    font-size: 1.4rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.strategy-card h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #FEA000;
    transition: width 0.3s ease;
}

.strategy-card:hover h5 {
    color: #FEA000;
}

.strategy-card:hover h5::after {
    width: 60px;
}

.strategy-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    transition: all 0.3s ease;
}

.strategy-card:hover p {
    color: #333;
    transform: translateY(-2px);
}

/* Strategy Link */
.strategy-link {
    color: #FEA000;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.strategy-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FEA000;
    transition: width 0.3s ease;
}

.strategy-card:hover .strategy-link {
    color: #ff9800;
}

.strategy-card:hover .strategy-link::after {
    width: 100%;
}

.strategy-link i {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
}

.strategy-card:hover .strategy-link i {
    transform: translateX(8px) rotate(45deg);
}

/* Strategy List */
.strategy-list {
    list-style: none;
    padding: 0;
    margin: 0;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.strategy-list li {
    color: #666;
    font-size: 1rem;
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    position: relative;
}

.strategy-list li:hover {
    color: #1a1f26;
    padding-left: 10px;
    background: rgba(255, 193, 7, 0.05);
}

.strategy-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: #FEA000;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.strategy-list li:hover::before {
    transform: scaleY(1);
}

.strategy-list li:last-child {
    border-bottom: none;
}

.strategy-list i {
    color: #FEA000;
    font-size: 1.1rem;
    animation: popIn 0.5s ease-out;
    transition: all 0.3s ease;
}

@keyframes popIn {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

.strategy-list li:hover i {
    transform: scale(1.3) rotate(360deg);
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.strategies-section h3 {
    color: #1a1f26;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    position: relative;
}

.strategies-section h3::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, #FEA000, #ff9800);
    border-radius: 2px;
}

.strategies-section strong {
    color: #FEA000;
    position: relative;
    transition: all 0.3s ease;
}

.border-secondary {
    border-color: #e0e0e0 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .strategies-section {
        padding: 50px 0;
    }

    .strategy-card {
        padding: 30px 20px;
    }

    .strategy-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .strategy-card h5 {
        font-size: 1.1rem;
    }

    .strategy-card:hover {
        transform: translateY(-8px) scale(1.01);
    }
}


    /* ================= SERVICES SECTION ================= */
    .services-section {
        background: #fff;
        padding: 70px 0;
    }
    .service-card {
        background: linear-gradient(180deg, #ffffff, #fbfbfb);
        border: 1px solid #e9e9e9;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        transition: transform 0.35s ease, box-shadow 0.35s ease;
    }
    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 18px 40px rgba(0,0,0,0.06);
    }
    .service-icon {
        width: 70px;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        background: linear-gradient(135deg,#fff3e0,#fff9e6);
        color: #ff9800;
    }
    .service-card h5 { color: #1a1f26; }
    .services-section .text-muted { color: #666; }

    /* ================= FOOTER ================= */
    .site-footer {
        background: #0c1218;
        color: #bfc7cf;
    }
    .site-footer a { color: #bfc7cf; text-decoration: none; }
    .site-footer a:hover { color: #FEA000; }
    .site-footer .social a { color: #bfc7cf; }
    .site-footer img { filter: brightness(0) invert(1); }
    .site-footer small { color: #98a2aa; }

    @media (max-width: 768px) {
        .service-icon { width: 60px; height: 60px; }
    }

    /* Modal text color overrides: ensure black text inside the detail modal */
    #detailModal .modal-content,
    #detailModal .modal-body,
    #detailModal .modal-title {
        color: #111 !important;
    }

    #detailModal .modal-body p {
        color: #111 !important;
    }

    /* === CLASSIC SECTION STYLING === */
    .classic-section {
        background: #f8f8f8;
        border-top: 1px solid #e0e0e0;
        border-bottom: 1px solid #e0e0e0;
    }

    .classic-section h2 {
        font-family: 'Georgia', 'Segoe UI', serif;
        letter-spacing: -0.5px;
        color: #1a1f26 !important;
    }

    .classic-section p {
        color: #555;
        line-height: 1.8;
    }

.cnc-hero-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff, #f5f7fa);
    overflow: hidden;
}

.floating-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #ffffff55, transparent 70%);
    top: -200px;
    right: -200px;
    animation: float 8s infinite ease-in-out;
}

@keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(40px); }
}

.tagline {
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: #FEA000;
    font-weight: 700;
    text-transform: uppercase;
    display: inline;
}

.cnc-title {
    font-size: 3rem;
    font-weight: 800;
    color: #1a1f26;
    margin: 20px 0;
    line-height: 1.2;
}

.cnc-title span {
    color: #FEA000;
}

.cnc-content p {
    color: #555;
    margin: 0 auto 15px;
    max-width: 65ch;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stats div strong {
    font-size: 2rem;
    color: #1a1f26;
}

.stats div span {
    display: block;
    font-size: 0.8rem;
    color: #777;
}

/* IMAGE GRID */
.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    position: relative;
}

.image-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
}

.image-card.large {
    grid-column: span 2;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.image-card:hover img {
    transform: scale(1.1);
}

.image-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.35), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image-card:hover::after {
    opacity: 1;
}

/* EXPERIENCE BADGE */
.experience-badge {
    background: linear-gradient(135deg, #ffffff, #ffffff);
    color: #1a1f26;
    padding: 20px 24px;
    border-radius: 18px;
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    font-size: larger;
}

.experience-badge strong {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge small {
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ================= MOBILE RESPONSIVENESS ================= */
@media (max-width: 768px) {

    /* Navbar */
    .navbar .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .navbar-nav {
        text-align: center;
        gap: 0.5rem !important;
    }

    /* Hero Section */
    .hero-content h1.number {
        font-size: 4rem !important;
        opacity: 0.3;
    }

    .hero-content h2 {
        font-size: 1.5rem !important;
    }

    .hero-content p.small-text {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .hero-content .btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.9rem;
    }

    /* Inquiry Button */
    .inquiry-btn {
        bottom: 15px;
        right: 15px;
        padding: 10px 16px;
        font-size: 0.85rem;
        z-index: 999;
    }

    /* CNC Section */
    .cnc-title {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .cnc-content .tagline {
        display: block;
        margin-bottom: 4px;
    }

.cnc-content p {
        text-align: justify;
        font-size: 0.95rem;
        max-width: 60ch;
        margin-left: auto;
        margin-right: auto;
    }

    .cnc-content .stats {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Image Grid */
    .image-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .image-card.large {
        grid-column: span 2;
    }

    /* Products */
    .product-card {
        margin-bottom: 1rem;
    }

    .product-info h5 {
        font-size: 1.1rem;
    }

    /* Strategies */
    .strategy-card {
        padding: 1.25rem;
        text-align: center;
    }

    .strategy-icon {
        margin: 0 auto 1rem;
    }

    /* Services */
    .service-card {
        text-align: center;
    }

    .service-card .btn {
        margin: 0 auto;
    }

    /* Footer */
    .site-footer {
        text-align: center;
    }

    .site-footer .social {
        justify-content: center;
    }
}

/* EXTRA SMALL DEVICES */
@media (max-width: 480px) {

    .hero-content h2 {
        font-size: 1.3rem !important;
    }

    .cnc-title {
        font-size: 1.5rem;
    }

    .stats strong {
        font-size: 1.5rem;
    }

    .image-grid {
        grid-template-columns: 1fr;
    }

    .image-card.large {
        grid-column: span 1;
    }
}


