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

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

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

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

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

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

.hero-content {
    max-width: 850px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.6;
    width: 0;
    animation:
        typing 4s steps(45) forwards,
        blink 0.7s 4;


}

.hero-content p {
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    /* 🔥 important */
    margin-left: 40px;
    margin-right: 40px;
    opacity: 0.6;
    animation: fadeIn 2s ease forwards;

}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

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

    .hero-content p {
        font-size: 16px;
        max-width: 500px;
    }

}

/* ================= MOBILE ================= */


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

    .hero-content p {
        font-size: 13px;
        line-height: 1.4;
    }



}

/* Navbar layout code purged to let global style.css govern */

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

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(198, 167, 94, 0.4);
}






/* ================= QUICK CONTACT ================= */

.quick-contact {
    background: #f4f1ea;
    padding: 80px 20px;
}

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

.section-heading {
    text-align: center;
    margin-bottom: 70px;
}

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

.section-heading p {
    color: #b89447;
    font-size: 16px;
}

/* Cards */
.contact-cards {
    display: flex;
    gap: 35px;
    justify-content: center;
}

.contact-card {
    flex: 1;
    background: #ffffff;
    border-radius: 22px;
    padding: 50px 35px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    transition: 0.35s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.contact-card h3 {
    font-family: 'Playfair Display', serif;
    color: #a67c2d;
    margin: 20px 0 15px;
}

.contact-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-card a {
    text-decoration: none;
    font-weight: 500;
    color: #a67c2d;
    transition: 0.3s ease;
}

.contact-card a:hover {
    color: #000;
}

/* Icons */
.icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.green {
    /* background: #25D366; */
    color: white;
}

.red {
    /* background: #f05454; */
    color: white;
}

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

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

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

.location-header p {
    color: #b89447;
    margin-bottom: 50px;
}

.map-card {
    position: relative;
    max-width: 650px;
    margin: auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

#map {
    width: 100%;
    height: 350px;
}

.map-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: black;
    color: #c6a75e;
    padding: 8px 16px;
    border-radius: 6px;
    font-family: 'Playfair Display', serif;
}

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

    .hero-content h1 {
        font-size: 34px;
    }

    .contact-cards {
        flex-direction: column;
    }

    .contact-card {
        padding: 40px 25px;
    }
}

/* ================= FORM SECTION ================= */

.project-form-section {
    background: #f4f1ea;
    padding: 80px 20px;
}

.form-container {
    max-width: 900px;
    margin: auto;
    background: #f9f6ef;
    padding: 60px 60px 50px;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

/* Heading */
.form-heading {
    text-align: center;
    margin-bottom: 50px;
}

.form-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3px;
    color: #a67c2d;
    margin-bottom: 10px;
}

.form-heading p {
    color: #b89447;
    font-size: 15px;
}

/* Form Layout */
.project-form {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: flex;
    gap: 30px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.form-group.full {
    width: 100%;
}

/* Labels */
.form-group label {
    font-size: 14px;
    color: #a67c2d;
    margin-bottom: 8px;
    font-weight: 500;
}

/* Inputs */
.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #d8cfc0;
    background: #f3efe6;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    outline: none;
    transition: 0.3s ease;
}

/* Focus Effect */
.form-group input:focus,
.form-group textarea:focus {
    border-color: #c6a75e;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(198, 167, 94, 0.15);
}

/* Button */
.submit-btn {
    background: linear-gradient(135deg, #d4b26a, #c6a75e);
    border: none;
    padding: 16px;
    border-radius: 10px;
    color: white;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s ease;
}

.submit-btn:hover {
    background: #a67c2d;
}

/* Note */
.form-note {
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
    color: #b89447;
}

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

    .form-container {
        padding: 40px 25px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* ================= CTA SECTION ================= */

.cta {
    background: #f4f1ea;
    padding: 40px 20px 80px;
}

.cta-box {
    max-width: 1100px;
    margin: auto;
    background: #000;
    border-radius: 30px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Heading */
.cta-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #c6a75e;
    margin-bottom: 40px;
}

/* Button */
.cta-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;
    display: inline-block;
}

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

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

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

.quote.right {
    right: 55px;
    bottom: 95px;
}

/* Responsive */
@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 ================= */


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

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

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

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

    .quote {
        font-size: 28px;
    }

    .quote.left {
        left: 10px;
        top: 10px;
    }

    .quote.right {
        right: 10px;
        bottom: 15px;
    }

    /* rogue mobile logo code purged */
}


.footer {
    background: #0c0c0c;
    color: #ddd;
    padding-top: 40px;
    font-family: 'Playfair Display', serif;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 50px;
    padding: 0 20px 70px;
    align-items: flex-start;
}

/* Left Section */
.footer-left {
    flex: 1.5;
}

.footer-logo img {
    width: 70px;
    margin-bottom: 20px;
    border-radius: 50%;
}

.footer-left h2 {
    color: white;
    font-size: 26px;
    margin-bottom: 15px;
}

.footer-left p {
    font-size: 14px;
    line-height: 1.8;
    color: #aaa;
    max-width: 280px;
}

/* Columns */
.footer-column {
    flex: 1;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #aaa;
    font-size: 14px;
    transition: 0.3s;
}

.footer-column ul li a:hover {
    color: #c6a75e;
}

/* Contact Text */
.footer-column.contact p {
    font-size: 13px;
    margin-bottom: 18px;
    color: #aaa;
    line-height: 1.6;
}

.footer-column.contact strong {
    color: #c6a75e;
    font-weight: 500;
}

/* Divider */
.footer-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
}

/* Bottom Bar */
.footer-bottom {
    background: #c6a75e;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
    color: black;
    font-size: 14px;
}

/* Social Icons */
/* SOCIAL ICONS */
.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) {
    /* rogue mobile nav code purged */



    .hero-content {
        padding: 0;
    }

    .hero-content h1 {
        text-align: center;

        width: 100%;
        /* 🔥 IMPORTANT */
        opacity: 0;

        white-space: normal;
        /* 🔥 allow line break */
        border-right: none;
        /* remove cursor */

        animation: fadeIn 2s ease forwards;
    }

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




    .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 {
        margin-top: 16px;
        padding: 10px 25px;
        font-size: 14px;
    }

    .quote {
        font-size: 36px;
    }

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

    .quote.right {

        right: 50px;
        bottom: 76px;
    }



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

    }

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