html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* NAV BAR */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;     /* IMPORTANT */
  background: transparent;
  z-index: 1000;
}

.page-content {
  margin-top: 100px;
}


.nav-inner {
    width: fit-content;
    margin-left: auto;
    margin-right: 0;
    display: flex;
    gap: 40px;
    align-items: center;
    
    background: #3a3a3a;
}

/* LINKS */
.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
    padding: 0;
    margin: 0;
    padding-left: 20px;
}

.nav-links a {
    color:white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700px;
    letter-spacing: 0.5px;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 0.75;
}

/* CALL BUTTON */
.call-btn {
    
    color: white;
    padding: 18px 40px;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* HERO */
.hero {
    position: relative;
    height: 100vh;   /* full screen height */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-images img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 120%; /* bigger for movement */
    object-fit: cover;
    opacity: 0;
    animation: imageFade 24s infinite;
    transform: translateY(0);
}

.hero-images img:nth-child(1) { animation-delay: 0s; }
.hero-images img:nth-child(2) { animation-delay: 6s; }
.hero-images img:nth-child(3) { animation-delay: 12s; }
.hero-images img:nth-child(4) { animation-delay: 18s; }

@keyframes imageFade {
    0%,100% { opacity: 0; }
    10%,25% { opacity: 1; }
    35% { opacity: 0; }
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.overlay {
    position: relative;
    color: white;
    text-align: center;
    gap: 30px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.overlay p{
    margin-bottom: 30px;
}
.btn {
    background: #3a3a3a;
    color: white;
    padding: 10px 40px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 200px;
}

/* SECTIONS */
.section {
    padding: 70px 20px;
    text-align: center;

    opacity: 0;
    transform: translateY(60px);
    transition: all 0.6s ease;
}

.section.show {
    opacity: 1;
    transform: translateY(0);
}

.service-grid {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}
.service-note {
    margin: 30px auto 10px;
    font-size: 14px;
    color: #777;
    font-style: italic;
    text-align: center;
}
.service-note::after {
    content: " ↓";
}

.service-card,
.service-detail {
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.service-card {
    width: auto;   /* or just delete the width line */
    flex: 1;       /* THIS is the key */
}

.service-card img,
.service-detail img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.service-detail {
    display: flex;
    flex-direction: column; /* stack image + text */
    padding: 0;
    overflow: hidden;
}

.service-detail.clickable {
    cursor: pointer;
}

/* DROPDOWN */
.service-wrapper {
    width: 100%;
}
.service-wrapper-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 per row */
    gap: 25px;
    margin-top: 40px;
}
.service-dropdown {
    background: white;
    padding: 20px;
    margin-top: 10px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    position: relative;

    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.service-wrapper.active .service-dropdown {
    max-height: 250px;
    opacity: 1;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    border: none;
    background: none;
    font-size: 22px;
    cursor: pointer;
}

/* Why Choose Us */
.why-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.why-card {
    background: #f4f4f4;
    padding: 25px;
    width: 300px;
    border-radius: 10px;
    text-align: center;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px;
    background: #1e1e1e;
    color: white;
}

/* Left side width */
.footer-left {
    width: 50%;
}
.footer-left-top {
    display: flex;
    align-items: flex-start;
    gap: 25px;          /* control spacing here */
}

.left-info {
    flex: 0 0 auto;
}

.left-contact {
    flex: 0 0 auto;
}


.description p {
    margin: 5px 0;
}

.footer-right {

    width: 40%;
    text-align: center;
}

.qr-img {
    width: 200px;
    margin: 20px 0;
}
.icons {
    display: flex;
    justify-content: flex-start; /* move icons to the left */
    gap: 20px;
    margin-top: 10px;
}


.icons img {
    width: 45px;
    height: 45px;

}

/* CONTACT WITH IMAGE */
.contact {
    background: linear-gradient(135deg, #f4f4f4, #eaeaea);
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-content {
    display: flex;
    gap: 40px;
    align-items: stretch;
    justify-content: center;
}

/* IMAGE */
.contact-image {
    flex: 1;
}

.contact-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

/* FORM */
.contact-form {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* FORM INPUTS */
.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-row input {
    flex: 1;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 15px;
}

.contact-form textarea {
    resize: none;
    height: 140px;
    margin-bottom: 20px;
}

/* BUTTON */
.contact-form button {
    width: 100%;
    padding: 14px;
    background: #f4b400;
    color: black;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.2s;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(244,180,0,0.4);
}

/* MOBILE */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
    }

    .contact-image img {
        height: 280px;
    }
}
/* GOOGLE MAP (SMALLER) */
.map-container {
    flex: 1.2;              /* slightly wider than form */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    display: flex;
}


.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}


/* MOBILE */
@media (max-width: 768px) {
    .map-container {
        max-width: 90%;
    }

    .map-container iframe {
        height: 220px;
    }
}

/* WRAPPER */
.why-dropdown {
    max-width: 900px;
    margin: 0.2px auto 0;
    border-radius: 14px;
    margin-bottom: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #2e2e2e, #1f1f1f);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

/* QUESTION BAR */
.why-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    cursor: pointer;
    color: white;
    font-size: 18px;
    font-weight: 600;
}

/* ARROW */
.why-question .arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

/* ANSWER (HIDDEN BY DEFAULT) */
.why-answer {
    background: #ff5a1f; /* bold contrast */
    color: black;
    padding: 0 28px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

/* ANSWER TEXT */
.why-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

/* ACTIVE STATE */
.why-dropdown.active .why-answer {
    max-height: 200px;
    padding: 24px 28px;
}

.why-dropdown.active .arrow {
    transform: rotate(180deg);
}



