* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    line-height: 1.5;
    overflow-x: hidden;
}

:root {
    --pink: rgb(250, 198, 207);
    --pink-light: rgb(255, 245, 246);

}


/* ----- HERO SLIDER ----- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    background-color: #1a1a1a;
}

.carousel,
.carousel-inner,
.carousel-item {
    height: 100%;
}

.carousel-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Slide animations */
.carousel-item.active .hero-caption h2 {
    animation: slideUpFade 0.8s ease-out forwards;
}

.carousel-item.active .hero-buttons .btn-hero {
    animation: slideUpFade 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.carousel-item.active .hero-buttons .btn-hero:last-child {
    animation-delay: 0.4s;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gradient overlay */
.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Hover white overlay */
.carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0);
    transition: background 0.4s ease;
    pointer-events: none;
    z-index: 3;
}

/* Hero caption - TRULY CENTERED EVERYTHING */
.hero-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1000px;
    color: white;
    z-index: 10;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
    text-align: center;
    padding: 2rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-caption h2 {
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    line-height: 1.2;
    color: white;
    width: 100%;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

/* Square buttons */
.btn-hero {
    background: transparent;
    border: 2px solid white;
    color: white;
    border-radius: 0;
    padding: 1rem 2.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    backdrop-filter: blur(8px);
    font-size: clamp(0.8rem, 3vw, 1rem);
    white-space: nowrap;
    margin: 0;
}

.btn-hero:hover {
    background: white;
    color: black;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Carousel dots */
.carousel-indicators {
    bottom: 30px;
    z-index: 15;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 0;
    background-color: white;
    opacity: 0.5;
    margin: 0 8px;
    border: none;
    transition: all 0.3s;
}

.carousel-indicators .active {
    opacity: 1;
    background-color: var(--pink);
    transform: scale(1.2);
}

.carousel-control-prev,
.carousel-control-next {
    display: none !important;
}

/* Faster transition */
.carousel-item {
    transition: transform 0.5s ease-in-out !important;
}

/* Sections */
.section-spacing {
    padding: 5rem 0;
}

.bg-soft {
    background: #faf8f6;
}

.btn-outline-dark-custom {
    border: 2px solid #1e1e1e;
    background: transparent;
    border-radius: 0;
    padding: 0.8rem 2.2rem;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s;
    text-decoration: none;
    color: #1e1e1e;
    display: inline-block;
}

.btn-outline-dark-custom:hover {
    background: var(--pink);
    border-color: var(--pink);
    color: white;
}

.section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 450;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}


/* Mobile Responsive - FIXED SPACING ISSUE */
@media (max-width: 767.98px) {
    .hero-slider {
        height: 70vh;

    }


    .section-title {
        font-weight: 600;
    }
}

/* Extra small screens */
@media (max-width: 575.98px) {

    .section-title {
        font-size: 1.5rem;
    }

    .fs-5 {
        font-size: 1rem !important;
    }
}

/* Wrapper to center the grid */
.nab-grid-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.nab-grid-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
}

/* Unique CSS classes for the grid */
.nab-grid-row {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
}

.nab-grid-cell {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    position: relative;
}

/* Text Cell Styling */
.nab-grid-text {
    background-color: #ffffff;
}

.nab-pink-bg {
    background: var(--pink);
}

.nab-grid-content {
    padding: 2.5rem;
    max-width: 550px;
    margin: 0 auto;
    width: 100%;
}

.nab-section-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.nab-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #4a4a4a;
}

.nab-btn-outline {
    display: inline-block;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    border: 2px solid #1a1a1a;
    padding: 0.6rem 1.25rem;
    transition: all 0.3s ease;
}

.nab-btn-outline:hover {
    background-color: black;
    color: white;
}

/* Image Cell Styling */
.nab-grid-image {
    background-color: #f5f1eb;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nab-image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.nab-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.nab-image-wrapper img:hover {
    transform: scale(1.05);
}

/* ========== LARGE SCREENS (Desktop) ========== */
@media (min-width: 769px) {

    /* Limit container width and center it */
    .nab-grid-container {
        max-width: 1400px;
        width: 100%;
        margin: 0 auto;
    }

    /* Each grid cell height = 45vh (between 40-50vh) */
    .nab-grid-cell {
        height: 45vh;
        min-height: 320px;
        max-height: 500px;
    }

    .nab-grid-image {
        height: 45vh;
        min-height: 320px;
        max-height: 500px;
    }

    .nab-image-wrapper {
        height: 100%;
    }

    .nab-grid-content {
        padding: 2rem;
    }

    .nab-section-title {
        font-size: 1.6rem;
    }

    .nab-description {
        font-size: 0.95rem;
    }
}

/* Extra large screens (1200px and above) - even more controlled */
@media (min-width: 1200px) {
    .nab-grid-container {
        max-width: 1400px;
        width: 100%;
    }

    .nab-grid-cell {
        height: 42vh;
        min-height: 350px;
        max-height: 480px;
    }

    .nab-grid-image {
        height: 42vh;
        min-height: 350px;
        max-height: 480px;
    }
}

/* Very large screens (1600px+) */
@media (min-width: 1600px) {
    .nab-grid-container {
        max-width: 1400px;
        width: 80%;
    }

    .nab-grid-cell {
        height: 40vh;
        min-height: 380px;
        max-height: 450px;
    }

    .nab-grid-image {
        height: 40vh;
        min-height: 380px;
        max-height: 450px;
    }
}

/* ========== MOBILE SCREENS (Image then Text) ========== */
@media (max-width: 768px) {
    .nab-grid-wrapper {
        padding: 0;
    }

    .nab-grid-container {
        width: 100%;
        max-width: 100%;
    }

    .nab-grid-row {
        flex-direction: column;
    }

    /* First row: image on top, text below */
    .nab-grid-row:first-child {
        flex-direction: column;
    }

    /* Second row: image on top, text below */
    .nab-grid-row:last-child {
        flex-direction: column;
    }

    /* Reorder to show image first then text */
    .nab-grid-row:first-child .nab-grid-image {
        order: 1;
    }

    .nab-grid-row:first-child .nab-grid-text {
        order: 2;
    }

    .nab-grid-row:last-child .nab-grid-image {
        order: 1;
    }

    .nab-grid-row:last-child .nab-grid-text {
        order: 2;
    }

    .nab-grid-cell {
        width: 100%;
        height: auto;
        min-height: auto;
    }

    /* Image takes appropriate space on mobile */
    .nab-grid-image {
        min-height: 280px;
        height: auto;
        max-height: 400px;
    }

    .nab-image-wrapper {
        height: auto;
    }

    .nab-image-wrapper img {
        object-fit: cover;
        width: 100%;
        height: 280px;
    }

    /* Text adjusts to content */
    .nab-grid-text {
        min-height: auto;
        padding: 0;
    }

    .nab-grid-content {
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .nab-section-title {
        font-size: 1.5rem;
    }

    .nab-description {
        font-size: 0.95rem;
    }

    /* Remove all gaps and margins */
    .nab-grid-container,
    .nab-grid-row,
    .nab-grid-cell {
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .nab-grid-image {
        min-height: 220px;
        max-height: 350px;
    }

    .nab-image-wrapper img {
        height: 220px;
    }

    .nab-grid-content {
        padding: 1.5rem 1rem;
    }

    .nab-section-title {
        font-size: 1.25rem;
    }

    .nab-description {
        font-size: 0.875rem;
    }
}

/* Optional: Add smooth transitions */
.nab-grid-cell,
.nab-image-wrapper img,
.nab-btn-outline {
    transition: all 0.3s ease-in-out;
}




.precision-section {
    /* padding: 5rem 0; */
    background-color: #ffffff;
}

.precision-row {
    display: flex;
    align-items: center;
    gap: 0;
}

.precision-image-cell {
    flex: 1;
    min-height: 480px;
    background-color: #f5f1eb;
    overflow: hidden;
}

.precision-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.precision-text-cell {
    flex: 1;
    min-height: 480px;
    display: flex;
    align-items: center;
    background-color: #ffffff;
}

.precision-content {
    padding: 3.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.precision-heading {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.75rem;
    color: #1a1a1a;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.precision-paragraph {
    font-size: 1.1rem;
    line-height: 1.75;
    color: #555555;
    margin-bottom: 1.5rem;
}

.precision-paragraph:last-child {
    margin-bottom: 0;
}

.services-section {
    padding: 5rem 0;
    background-color: rgb(255, 245, 246);

}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-bg {
    position: relative;
    height: 350px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);

}

.service-card:hover .service-bg {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 2rem;
}

.service-name {
    font-size: 1.75rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    margin-bottom: 5rem;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.service-btn:hover {
    background-color: white;
    color: black;
    transform: translateY(-3px);
}

.service-btn i {
    transition: transform 0.3s ease;
}

.service-btn:hover i {
    transform: translateX(4px);
}


@media (max-width: 991.98px) {

    .precision-content,
    .location-content {
        padding: 2.5rem;
    }

    .precision-heading {
        font-size: 1.75rem;
    }

    .service-bg {
        height: 300px;
    }

    .service-name {
        font-size: 1.5rem;
    }
}

@media (max-width: 767.98px) {

    /* Stack Precision Section */
    .precision-row {
        flex-direction: column;
    }

    .precision-image-cell {
        width: 100%;
        min-height: 350px;
    }

    .precision-text-cell {
        width: 100%;
        min-height: auto;
    }

    .precision-content {
        padding: 2rem 1.5rem;
    }

    .precision-heading {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .precision-paragraph {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Stack Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-bg {
        height: 280px;
    }

    .service-overlay {
        padding: 1.5rem;
    }

    .service-name {
        font-size: 1.5rem;
    }

}

@media (max-width: 575.98px) {

    .precision-image-cell {
        min-height: 280px;
    }

    .precision-content {
        padding: 1.75rem 1.25rem;
    }

    .service-bg {
        height: 250px;
    }

    .service-overlay {
        padding: 1.25rem;
    }

    .service-name {
        font-size: 1.35rem;
    }

    .service-btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }

}


/* Mobile */
@media (max-width: 768px) {

    .hero-caption {
        padding: 1rem;
    }

    .hero-caption h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        gap: 1rem;
    }

    .btn-hero {
        padding: 0.7rem 1.5rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .section-spacing {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .cart-text {
        display: none;
    }

    .hero-caption h2 {
        font-size: 1.5rem;
    }

    .btn-hero {
        padding: 0.6rem 1rem;
        font-size: 0.7rem;
    }
}

.fade-up {
    animation: fadeUp 0.8s ease-out;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}