/* Reset and font */
body,
html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* Header */
header {
    background: #5B4C22;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
    flex-wrap: wrap;
}

header nav a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-weight: 500;
}

header .chat-btn {
    background: #f3b622;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    color: white;
    font-weight: bold;
}

/* Hero Section */
.hero {
    background: linear-gradient(#BAB4A7, #C7AB5C);
    color: white;
    padding: 60px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* horizontal center */
    justify-content: center;
    /* vertical center if height is large */
}

.hero h1 {
    font-size: 27px;
    margin-bottom: 20px;
}

.hero img {
    width: 50%;
    /* proportional */
    max-width: 700px;
    height: auto;
    margin: 20px 0;
    /* top-bottom spacing */
}

.hero button {
    background: white;
    color: #5B4C22;
    font-weight: bold;
    text-transform: capitalize;
    font-size: 20px;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 20px;
    /* spacing from image */
}

/* Service Buttons */
.service-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 100px;
    background: #BAB4A7;
    padding: 20px;
}

.service-buttons button {
    background: #5B4C22;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
}

/* Form CSS STARTS  */
/* Modal hidden by default */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 80px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
}

.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

#printerSetupForm input {
    width: 90%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    /* border: 2px solid red; */
}

#printerSetupForm select {
    width: 95%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    /* font-size: 1em; */
}


#printerSetupForm button {
    background-color: #1b82ff;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
}

#printerSetupForm button:hover {
    background-color: #5B4C22;
}

/* Form CSS ENDS HERE  */

/*fixed button coding */
.fixed-btn {
    position: fixed;
    width: 220px;
    font: 20px;
    left: 20px;
    /* left corner se distance */
    bottom: 20px;
    /* bottom se distance */
    background-color: green;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.fixed-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/*fixed button coding ends here*/
/* How We Help Section Updated for Modern Card Grid with Icons */
.how-we-help {
    /* background-image: url('images/printer1.jpg'); */
    color: white;
    text-align: center;
    padding: 60px 20px;
    min-height: 200px;
}

.how-we-help h2 {
    font-size: 2em;
    margin-bottom: 10px;
    text-align: center;
    color: #000000;
}

.how-we-help p {
    font-size: 1.1em;
    max-width: 600px;
    margin: 0 auto 30px auto;

}

.cards {
    display: grid;
    background-color: #C7AB5C;
    padding: 50px 50px 50px 50px;
    grid-template-columns: repeat(auto-fit, minmax(400px, 2fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.card {
    background: white;
    color: rgb(15, 14, 14);
    padding: 20px 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.2em;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card i {
    font-size: 1.5em;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 50px 50px;
}

.about-text {
    max-width: 400px;
    /* border: 2px solid green; */
    padding: 20px 20px;
}

.about-text h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.about-text p {
    font-size: 1em;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
}

.about-image {
    position: relative;
    max-width: 600px;
    /* optional */
}

.about-image img {
    width: 100%;
    display: block;
}

/* Brown overlay */
.about-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #c39d5673;
    /* brown transparent layer */
    pointer-events: none;
}

/* CTA Section */
.cta {
    background: #C7AB5C;
    color: white;
    text-align: center;
    padding: 50px 20px;
}

.cta h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.cta p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.cta button {
    background: white;
    color: #5B4C22;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
}

/* Footer */
footer {
    background: #5B4C22;
    color: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 30px 20px;
    text-align: center;
}

.footer-section {
    max-width: 200px;
    /* border: 2px solid red; */
    padding: 20px 20px;
    gap: 30px;
    text-align: left;

}

.footer-section h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.footer-section p {
    font-size: 0.85em;
}

.footer-bottom {
    width: 100%;
    margin-top: 20px;
    font-size: 0.9em;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 10px;
}

/* ABOUT-US SECTION STYLLING */
.hero_aboutus {
    height: 500px;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    display: flex;
    flex-direction: column;
    /* ताकि icon और text vertical stack रहें */
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/printer1.jpg') center/cover no-repeat;
    color: white;

}

.service {
    height: 500px;
    width: auto;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    display: flex;
    flex-direction: column;
    /* ताकि icon और text vertical stack रहें */
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/photo-1650094980833-7373de26feb6.jpg') center/cover no-repeat;
    color: white;
}

/* CONTACT US STYLLING */
/* Contact Form Styling */
form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    width: 100%;
    margin: 20px auto 0 auto;
}

form input,
form textarea,
form select {
    padding: 12px 15px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}

form input:focus,
form textarea:focus,
form select:focus {
    border-color: #5B4C22;
    outline: none;
    box-shadow: 0 0 5px rgba(15, 94, 166, 0.3);
}

form button {
    background: #5B4C22;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s;
}

form button:hover {
    background: #0c4c8c;
}

.contact_hero {
    height: 300px;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('images/building2.jpg') center/cover no-repeat;
    ;
}

/* Thank you poopup stylling*/
/* Thank You Popup Styling */
#thankYouPopup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 999999;
    /* Ensure on top of chat button/footer */
    justify-content: center;
    align-items: center;
}

#thankYouPopup .popup-content {
    background: #ffffff;
    padding: 25px 35px;
    border-radius: 10px;
    text-align: center;
    font-family: Arial, sans-serif;
    animation: popupAnimation .4s ease-in-out;
}

/* Smooth Pop-in Animation */
@keyframes popupAnimation {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Optional: Give Message Nice Look */
#thankYouPopup h2 {
    color: #0084ff;
    margin-bottom: 10px;
    font-size: 24px;
}

#thankYouPopup p {
    font-size: 16px;
    color: #333;
}