@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General styles */
body {
    font-family: "poppins", sans-serif;
}
/* header-section */
.header {

    display: flex;
    padding: 10px; 
    border-bottom: #d4d4d4 solid 1px;
    box-shadow: 0.5px 0 0.8px rgba(0,0,0,0.75);

}
.logo{
    display: flex;
}
.logo img{
    width: 100px;
    justify-content: center;
    align-self: center;
    top: 0;
    right: 0;
}
.logo-text h1 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 6px;
    margin-left: 3px;
    color: rgb(68, 68, 68);
}

.logo-text h1::after {
    content: "+91 90035 25975";
    display: block;
    font-size: 16px;
    font-weight: normal;
    margin-top: 5px;
    color: #8f8f8f;
}

/* nav-bar section */
nav{
    height: 60px;
    background-color: var(--color1);
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.nav-bars{
    justify-content: center;
    align-items: center;
    margin-left: 150px;
}
.links-container{
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
nav a{ 
    padding: 0 20px;
    display: flex;
    text-decoration: none;
    color: var(--text-color);
}
nav a:hover{
    color: #F3B649;
    transition: 0.5s;
}
nav .home-links{
    fill: var(--text-color);
}
nav svg {
    fill: var(--text-color);
}
#sidebar-active{
    display: none;
}
.open-sidebar-button,.close-sidebar-button{
    display: none;
}

/* Language Switch Container */
.language-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 10%;
}

/* Switch Control Styling */
.switch-control {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch-control input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .switch-slider {
    background-color: rgba(243, 182, 73, 0.8); /* Active switch color */
}

input:checked + .switch-slider:before {
    transform: translateX(26px);
}

/* Language Label Styling */
#langLabel {
    font-size: 16px;
    color: rgb(23, 23, 23);
}



@media(max-width:1250px){
    .links-container{

        flex-direction: column;
        align-items: flex-start;
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 10;
        width: 300px;
        background-color: #d3d3d3;
        box-shadow: -5px 0 5px rgba(0,0,0,0.25);
        transition: 0.75s ease-out;
    }
    nav a{
        box-sizing: border-box;
        height: auto;
        width: 100%;
        padding: 20px 30px;
        justify-content: flex-start;
    }
    .open-sidebar-button,.close-sidebar-button{
        padding: 20px;
        display: block;
    }
    #sidebar-active:checked ~ .links-container{
        right: 0;
    }
    #sidebar-active:checked ~ #overlay{
        height: 100%;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9;
    }
    .header {
        flex-direction: row; /* Keep row layout */
        justify-content: space-between; /* Align logo to left, menu to right */
        align-items: center;
        padding: 10px;
    }

    .logo {
        flex-direction: row;
        align-items: center;
    }

    .logo-text h1 {
        font-size: 16px; /* Slight size reduction for smaller screens */
    }
    .logo-text h1::after{
        font-size: 14px;
    }

    .nav-bars {
        margin-left: 0; /* Remove unnecessary margin on mobile */
    }

    .open-sidebar-button {
        display: block; /* Ensure menu icon is visible on mobile */
        margin-left: auto; /* Align the menu icon to the right */
    }
}

@media(max-width:430px){
   
    .logo img {
        width: 60px; /* Further reduce logo size for smaller screens */
    }

    .logo-text h1 {
        font-size: 14px; /* Adjust title size */
    }
    .logo-text h1::after{
        font-size: 12px;
    }

    .header {
        padding: 8px; /* Compact padding */
    }
}


/* header Section */

/* Service Image Section */
.service-img {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                      url('image/Contact-banner.JPG'); /* Replace with the correct image path */
    background-size: cover;
    background-position: center;
    height: 250px; /* Adjust as needed */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* Default to left-align for larger screens */
    color: #fff;
    text-align: left;
    padding: 0 10%; /* Adds space on the sides */
    position: relative;
    animation: fadeUp 1s ease forwards; /* Add fade-up animation */
}

/* Keyframes for fading up */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px); /* Start slightly lower */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* End at original position */
    }
}

/* Styling for h1 and p */
.service-img h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #F3B649;
    opacity: 0; /* Start hidden */
    transform: translateX(20px); /* Start from the right */
    animation: slideIn 1s ease forwards 0.5s; /* Add slide-in animation */
}

/* Keyframes for sliding in */
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(20px); /* Start slightly to the right */
    }
    100% {
        opacity: 1;
        transform: translateX(0); /* End at original position */
    }
}

.service-img p {
    font-size: 18px;
    color: #f8f9fa;
    margin-top: 0;
    opacity: 0; /* Start hidden */
    transform: translateX(20px); /* Start from the right */
    animation: slideIn 1s ease forwards 0.6s; /* Add slide-in animation */
}

/* media queries */
@media (max-width: 991px){
    html,body{
        width: 100%;
        overflow-x: hidden;
    }
}
@media (max-width: 768px) {
    .service-img {
        padding: 0 5%; /* Reduce side padding */
        align-items: center; /* Center-align content */
        text-align: center;
    }

    .service-img h1 {
        font-size: 28px;
        margin-left: 0;
    }

    .service-img p {
        font-size: 16px;
        margin-left: 0;
    }
    html,body{
        width: 100%;
        overflow-x: hidden;
    }
}

/* Mobile view adjustments */
@media (max-width: 480px) {
    .service-img {
        height: 200px; /* Adjust height for smaller screens */
        padding: 0 5%; /* Smaller side padding */
        align-items: center;
        text-align: center; /* Center-align text */
    }

    .service-img h1 {
        font-size: 24px;
    }

    .service-img p {
        font-size: 14px;
    }
}



/* Container for all contact info */
/* Contact Info Section Styling */
.contactinfo {
    display: flex;
    justify-content: space-between; /* Align side-by-side on desktop */
    align-items: center;
    padding: 20px;
    text-align: center;
    animation: fadeUp 1s ease-in-out;
    margin-top: 5%;
}

/* Individual Contact Block */
.contat-d {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 2%; /* Adjusted for better spacing */
    cursor: pointer;
    
}
.contat-d a{
    text-decoration: none;
    color: inherit;
}

/* Yellow Background for Icon */
.yellow-bg {
    position: relative;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    width: 240px;
    height: 200px;
    background: radial-gradient(50% 50% at 50% 50%, rgba(255, 213, 140, 0.65) 0%, rgba(255, 255, 255, 0.65) 100%);
}

/* White Background for Icon */
.white-bg {
    position: absolute;
    width: 90px;
    height: 90px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Icon Styling */
.white-bg i {
    font-size: 2.5rem;
    color: #FFD43B;
}

/* Text Styling */
h4 {
    font-size: 18px;
    margin: 5px 0;
}

p {
    font-size: 16px;
    color: #FFD43B;
}

/* Text Information Styling */
.contat-d h4, .contat-d p {
    margin: 0;
}

/* Animation Keyframes for Fade-Up */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design for Tablet */
@media (max-width: 768px) {
    .contactinfo {
        flex-direction: column; /* Stack vertically */
    }
    .contat-d {
        margin: 5%; /* Adjust margin for smaller screens */
    }
}

/* Responsive Design for Mobile */
@media (max-width: 480px) {
    .contactinfo {
        flex-direction: column; /* Vertical layout */
    }
    .yellow-bg {
        width: 200px;
        height: 180px;
    }
    .white-bg {
        width: 70px;
        height: 70px;
    }
    h4 {
        font-size: 16px;
    }
    p {
        font-size: 14px;
    }
}




/* Location Section Styling */

#locationSection{
    margin-top: 10%;
}
/* Location Content Styling */
.location-content {
    position: relative;
    background-color: rgba(243, 182, 73, 1);
    padding: 40px;
    justify-content: space-between;
    align-items: center;
    margin: 4% 15%; /* Center horizontally */
    width: 500px;
    height: 400px;
    
   
}

.location h4 {
    font-size: 30px;
    color: #fff;
    margin-bottom: 15px;
}

.location p {
    font-size: 20px;
    color: #222;
    line-height: 1.5;
    text-align: justify;
    margin-bottom: 20px;
}

/* Map Styling */
.location-map {
    justify-content: center;
    margin-left: 50%;
    margin-top: -15%;
    flex: 1;
    position: relative; /* Enables z-index */
    z-index: 2;
   
}

.location-map iframe {
    width: 100%;
    max-width: 400px;
    height: 300px;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
   
}


/* Responsive Design for Tablet */
@media (max-width: 768px) {
    .location {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .location-map iframe {
        max-width: 90%;
    }
}

/* Responsive Design for Mobile */
@media (max-width: 480px) {
    .location-content {
        margin-left: 15px;
        width: 400px;
        height: 300px;
        align-items: center;
        text-align: center;
    }
    .location h4 {
        font-size: 24px;
    }

    .location p {
        font-size: 16px;
    }

    .location-map iframe {
        height: 250px;
        
    }
    .location-map{
        margin-left: 1%;

    }
}




/* Contact Form Section */
/* Contact Form Styling */
.contact-form {
    background-color: rgba(243, 182, 73, 1);
    padding: 40px;
    width: 100%;
    margin: 5% auto;
    text-align: center;
}

/* Heading Styles */
.contact-form h3 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 20px;
}

/* Form Container */
.form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.form h4 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

/* Row Styling */
.row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 48%; /* Takes half the row's width */
}

.full-width {
    width: 100%;
}

/* Label and Input Styling */
label {
    margin-bottom: 8px;
    font-size: 16px;
    color: #333;
}

input,
textarea {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

/* Button Group */
.button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 10px;
}

.submit-button{
    padding: 10px 20px;
    font-size: 16px;
    background-color: rgba(243, 182, 73, 1);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;

}
.reset-button{
    padding: 10px 20px;
    font-size: 16px;
    background-color: #fff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}



button[type="reset"] {
    border: 1px solid #F3B649;
    color: #F3B649;
}

button[type="submit"]:hover {
    background-color: rgba(206, 143, 32, 1);
}


/* Responsive Design for Tablets */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
        gap: 20px;
    }

    .form-group {
        width: 100%; /* Full width on tablet */
    }

    .contact-form {
        padding: 20px;
    }

    .form {
        padding: 20px;
    }
}

/* Responsive Design for Mobile */
@media (max-width: 480px) {
    .contact-form {
        margin-top: 10%; /* Adjust margin for mobile view */
    }

    .form {
        width: 90%; /* Slightly narrower for mobile */
    }

    h3, h4 {
        font-size: 22px;
    }

    input, textarea {
        font-size: 14px;
    }

    button {
       /* Full width buttons on mobile */
        margin-top: 10px;
    }

    .button-group {
        flex-direction: column;
    }
}


#back  {
    padding: 10px 20px;
    background-color: #F3B649;
    border: none;
    color: #fff;
    font-size: 19.2px;
    font-weight: 400;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    position: relative;
    margin-left: 85%;
    margin-top: 3%;
    margin-bottom: 3%;
}



/* Mobile & Tablet View - Align to Left */
@media (max-width: 768px) {
    #back {
        margin-left: 5%; /* Align to the left side */
        margin-top: 20px; /* Maintain spacing from top */
    }
}




/* Footer Section */
.footer {
    background-color: #fff;
    color: rgba(73, 72, 72, 1);
    padding: 40px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    border-top: solid 1px;
    border-color: #ebebeb;
    gap: 20px; /* Space between sections */
}

/* Working Hours Section */
.footer .work {
    flex: 1;
    margin-bottom: 20px;
}

.footer .work h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: rgb(21, 21, 21);
}

.footer .work p {
    font-size: 1rem;
    color: rgba(73, 72, 72, 1);
}

/* Logo Section */
.footer .logo-f {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.footer .logo-f img {
    max-height: 80px;
    width: auto;
    margin-bottom: 10px;
}

.footer .logo-f p {
    font-size: 1.2rem;
    color: rgba(73, 72, 72, 1);
}

/* Contact Section */
.footer .contact-footer {
    flex: 1;
    margin-bottom: 20px;
}

.footer .contact-footer h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: rgb(21, 21, 21);
}

.footer .contact-footer p {
    font-size: 1rem;
    color: rgba(73, 72, 72, 1);
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.social-icons a {
    font-size: 1.5rem;
    color: rgba(243, 182, 73, 1);
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #FFD700;
}

/* Copyright Section */
.copyr {
    color: #222;
    text-align: center;
    padding: 10px 0;
    font-size: 0.9rem;
    margin-top: 20px;
    width: 100%;
}

.copyr p {
    margin: 0;
}



/* Responsive Styles */
@media (max-width: 768px) {
    /* Tablet View */
    .footer {
        text-align: center;
    }
}

@media (max-width: 576px) {
    /* Mobile View */
    .footer {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .footer div {
        width: 100%; /* Full width for sections */
    }

    .social-icons {
        flex-wrap: wrap;
        gap: 20px;
    }

    .social-icons a {
        font-size: 1.3rem; /* Slightly smaller on mobile */
    }
}



/* Optional Custom Styling for Fade Animation */
/* Fade Left */
[data-aos="fade-left"] {
    opacity: 0;
    transform: translateX(-50px); /* Start from the left */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
[data-aos="fade-left"].aos-animate {
    opacity: 1;
    transform: translateX(0); /* Move to original position */
}

/* Fade Right */
[data-aos="fade-right"] {
    opacity: 0;
    transform: translateX(50px); /* Start from the right */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
[data-aos="fade-right"].aos-animate {
    opacity: 1;
    transform: translateX(0); /* Move to original position */
}

/* Fade Up */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(50px); /* Start from below */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0); /* Move to original position */
}

/* Fade Down */
[data-aos="fade-down"] {
    opacity: 0;
    transform: translateY(-50px); /* Start from above */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
[data-aos="fade-down"].aos-animate {
    opacity: 1;
    transform: translateY(0); /* Move to original position */
}

#scrollTopButton {
    position: fixed;
    bottom: 20px; 
    right: 20px; 
    width: 50px; 
    height: 50px; 
    border-radius: 50%;
    background-color: #F3B649; 
    color: white;
    font-size: 24px; 
    border: none; 
    outline: none; 
    cursor: pointer; 
    display: none; 
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease; 
}

#scrollTopButton:hover {
    background-color: #e8a93d; /* Darker shade on hover */
}
