/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
}

.animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

/* when visible */
.animate.show {
    opacity: 1;
    transform: translateY(0);
}


/* Deduplicated desktop navbar block perfectly synced with style.css */

/* ================= SERVICES HERO ================= */

.services-hero {
    height: 100vh;
    background:
        linear-gradient(rgba(0, 0, 0, 0.70), rgba(0, 0, 0, 0.75)),
        url("../image/service_bg.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

/* Content Wrapper */
.services-hero-content {
    max-width: 850px;
    animation: fadeUp 1s ease forwards;
    text-align: center;
}

.typing-container {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.ghost-text {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.8;
    text-transform: capitalize;
    visibility: hidden;
}

/* Title */
.animated-text {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;

    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.8;
    text-transform: capitalize;
    text-align: left;

    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid #c6a75e;
    width: 0;

    animation:
        typing-service 1.5s steps(12) forwards,
        blink 0.7s 3;
}

.animated-text.done {
    border-right: none;
}

@keyframes typing-service {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* blinking cursor */
@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* Subtitle */
.services-hero-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;

}

/* Gold Button */
.hero-btn {
    background: linear-gradient(135deg, #d4b26a, #c6a75e);
    padding: 14px 45px;
    border-radius: 40px;
    color: black;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s ease;
    box-shadow: 0 5px 20px rgba(198, 167, 94, 0.3);
}

.hero-btn:hover {
    background: #a67c2d;
    transform: translateY(-3px);
}

/* Smooth Entrance Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {

    .animated-text,
    .ghost-text {
        font-size: 32px;
    }

    .services-hero-content p {
        font-size: 12px;
    }
}

/* ================= SERVICES OVERVIEW ================= */

.service-detail {
    background: #f3efe7;
    padding: 40px 20px 80px;
}


.service-container {
    max-width: 1200px;
    background: white;
    margin: auto;
    border: 1px solid #c6a75e;
    border-radius: 20px;
    padding: 40px;

    display: grid;
    grid-template-columns: 250px 1fr 350px;
    gap: 40px;
}



.service-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
    /* Minimum fallback gap */
}

.service-btn {
    padding: 18px;
    color: #a8863f;
    border: none;
    border-radius: 12px;
    background: #fff;
    font-family: 'Playfair Display', serif;
    box-shadow: 0 5px 15px rgba(198, 167, 94, 0.3);
    cursor: pointer;
    transition: 0.3s;
}

.service-btn:hover {
    background: #e4ddcc;
}

.service-btn.active {
    background: #ded6c4;
}



.service-content h2 {
    color: #a67c2d;
    margin-bottom: 10px;
}

.service-content h3 {
    margin-top: 20px;
    color: #a67c2d;
}

.service-content p {
    line-height: 1.7;
    color: #555;
}

.service-content ul {
    margin-top: 10px;
    padding-left: 18px;
}

.service-content li {
    margin-bottom: 6px;
}



.service-image img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
}



/* ===================== */
/* TABLET */
/* ===================== */

/* @media (max-width: 992px) {
    .service-container {
        grid-template-columns: 200px 1fr;
      
    }

    .service-image {
        grid-column: span 2;
       
    }
} */

/* ===================== */
/* MOBILE */
/* ===================== */
/* DROPDOWN */
/* ================= CUSTOM DROPDOWN ================= */
/* ================= SLIDER ================= */
/* HIDE ON DESKTOP */
@media (max-width: 900px) {
    .service-container {
        grid-template-columns: 200px 1fr;
    }

    .service-image {
        grid-column: span 2;
    }
}


@media (max-width: 600px) {

    /* Deduplicated mobile navbar block perfectly synced with style.css */

    .service-container {
        display: flex;
        flex-direction: column;
        padding: 20px;
    }

    .dots {
        text-align: center;
        margin-top: 10px;
    }

    .dots span {
        width: 8px;
        height: 8px;
        background: #ccc;
        border-radius: 50%;
        display: inline-block;
        margin: 4px;
    }

    .dots span.active {
        width: 20px;
        background: #c6a75e;
        border-radius: 10px;
    }

    .service-container {
        display: flex;
        overflow: hidden;
        padding: 0;
    }

    .service-content,
    .service-image {
        min-width: 100%;
        padding: 20px;
        box-sizing: border-box;
    }

    .service-image img {
        width: 100%;
        height: 60%;
        object-fit: cover;
        border-radius: 20px;
    }

    /* HIDE MENU */
    .service-menu {
        display: none;
    }

    /* ADD SMOOTH SLIDE */
    .service-container {
        transition: transform 0.4s ease;
    }
}

@media (max-width: 480px) {

    .service-content h2 {
        font-size: 18px;
    }

    .service-image img {
        height: 100%;
    }


    /* hero  */


    .services-hero-content {
        padding: 0;
    }

    .typing-container {
        display: block;
    }

    .ghost-text {
        display: none;
    }

    .animated-text {
        position: relative;
        text-align: center;
        width: 100%;
        opacity: 0;
        white-space: normal;
        border-right: none;
        animation: fadeIn 2s ease forwards;
    }

    .services-hero-content p {
        font-size: 14px;
        line-height: 1.5;
        max-width: 100%;
    }
}

/* ===== Detailed Services Section ===== */

.detailed-services {
    background: #f4f1ea;
    padding: 40px 20px 80px;
    text-align: center;
}

.container {
    max-width: 1100px;
    margin: auto;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #a67c2d;
    margin-bottom: 10px;
}

.section-header p {
    color: #b89447;
    font-size: 15px;
    margin-bottom: 60px;
}

/* Cards layout */

.services-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

/* Card */

.service-box {
    background: #f8f6f1;
    padding: 30px 25px;
    border-radius: 18px;
    width: 300px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.service-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: #a67c2d;
    margin-bottom: 10px;
}

.service-box p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.service-box a {
    text-decoration: none;
    color: #a67c2d;
    font-weight: 500;
    font-size: 14px;
}

.service-box a:hover {
    text-decoration: underline;
}

/* Responsive */

@media(max-width:768px) {
    .service-box {
        width: 100%;
    }
}

/* CTA SECTION */

.cta {
    background: #f4f1ea;
    padding: 40px 20px 80px;
    text-align: center;
}

.cta-box {
    max-width: 1000px;
    margin: auto;
    background: black;
    color: #c6a75e;
    padding: 70px 20px;
    border-radius: 25px;
    position: relative;
}

.cta-box h2 {
    font-size: 32px;
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
}

.cta-btn {
    display: inline-block;
    background: #c6a75e;
    color: black;
    padding: 12px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
}

.cta-btn:hover {
    background: #a8863f;
}

.quote {
    font-size: 70px;
    position: absolute;
    color: #c6a75e;
}

.quote.left {
    left: 76px;
    top: 36px;
}

.quote.right {
    right: 101px;
    bottom: 78px;
}

/* @media(max-width:900px) {
    .cta-box h2 {
        font-size: 28px;
        margin-bottom: 25px;
        font-family: 'Playfair Display', serif;
    }

    .quote.left {
        left: 70px;
        top: 40px;
    }

    .quote.right {

        right: 70px;
        bottom: 70px;
    }

    .quote {
        font-size: 50px;
        position: absolute;
        color: #c6a75e;
    }
}

@media(max-width:600px) {
  .cta-box h2 {
    display: inline-block;
        font-size: 24px;
        margin-bottom: 22px;

        font-family: 'Playfair Display', serif;
    }

    .quote.left {
        left: 50px;
        top: 40px;
    }

    .quote.right {

        right: 50px;
        bottom: 70px;
    }

    .quote {
        font-size: 42px;
        position: absolute;
        color: #c6a75e;
    }
} */

/* ================= TABLET ================= */
@media (max-width: 900px) {

    .cta-box {
        padding: 60px 20px;
    }

    .cta-box h2 {
        font-size: 28px;
    }

    .quote {
        font-size: 50px;
    }

    .quote.left {
        left: 40px;
        top: 30px;
    }

    .quote.right {
        right: 40px;
        bottom: 50px;
    }
}

/* ================= MOBILE ================= */
@media (max-width: 600px) {

    .cta-box {
        padding: 50px 15px;
    }

    .cta-box h2 {
        font-size: 22px;
        line-height: 1.4;
        max-width: 260px;
        /* 🔥 2 line fix */
        margin: auto;
        white-space: normal;
    }

    .cta-btn {
        padding: 10px 25px;
        font-size: 14px;
    }

    .quote {
        font-size: 36px;
    }

    .quote.left {
        left: 80px;
        top: 20px;
    }

    .quote.right {
        right: 20px;
        bottom: 30px;
    }
}

/* ================= SMALL MOBILE ================= */
@media (max-width: 480px) {
    .services-hero-content h1 p {
        opacity: 0.6;
        animation: fadeIn 2s ease forwards;
    }




    .cta-box {
        padding: 40px 12px;
    }

    .cta-box h2 {
        font-size: 20px;
        max-width: 220px;
        margin-bottom: 18px;
        /* 🔥 perfect wrap */
    }

    .cta-btn {
        padding: 8px 20px;
        font-size: 13px;
    }

    .quote {
        font-size: 28px;
    }

    .quote.left {
        left: 60px;
        top: 20px;
    }

    .quote.right {
        right: 101px;
        bottom: 70px;
    }

    .logo {
        position: static !important;
        /* remove absolute */
        transform: none !important;
        /* remove center shift */
        margin-right: auto;
        /* push to left */
        top: 0;
    }

    .logo img {
        width: 80px;
        border-radius: 50%;
        /* smaller for mobile */
    }

}

/* FOOTER */

.footer {
    background: #111;
    color: #eee;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px;
}

.footer-logo {
    width: 60px;
    margin-bottom: 10px;
}

.footer-about h3 {
    margin-bottom: 10px;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.6;
    color: #bbb;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-links a {
    display: block;
    margin-bottom: 8px;
    text-decoration: none;
    color: #bbb;
    font-size: 14px;
}

.footer-links a:hover {
    color: #c6a75e;
}

.footer-title {
    color: #c6a75e;
    margin-top: 10px;
    font-size: 13px;
}

.footer-contact p {
    font-size: 14px;
    color: #bbb;
}


/* Bottom Bar */

.footer-bottom {
    background: #c6a75e;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    color: black;
}

.social-icons i {
    color: white;
    font-size: 16px;
}

.social-icons a {
    text-decoration: none;
}

.social-icons a:hover {
    background: #c6a75e;
    transform: translateY(-4px);
}

.social-icons a:hover img {
    filter: brightness(1);
    /* makes icon black on gold */
}

/* Responsive */

@media(max-width:900px) {

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

}

@media(max-width:600px) {

    .footer-container {
        grid-template-columns: 1fr;

    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

}