/* General Reset */
html {
    scroll-behavior: smooth;
  }
body {
    margin: 0;
    font-family: Arial, sans-serif;
    padding-top: 150px;
}
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000; 
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); 
}

.top-bar {
    background: #2e1503;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    font-size: 14px;
}

.top-bar .contact-info {
    display: flex;
    align-items: center;
}

.top-bar .contact-info span {
    margin-left: 10px;
}

.social-ic {
    display: flex;
    align-items: center;
}

.social-ic a {
    text-decoration: none;
    color: white;
    margin-left: 10px;
    font-size: 18px;
    display: flex; 
    align-items: center;
}

.social-ico a img {
    width: auto;
    height: auto;
    max-height: 20px;
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 15px 20px;
    position: relative;
}

.logo img {
    height: 100px;
    margin-left: 20px;
    margin-top: -10px;
}
.nav-links {
    display: flex;
    gap: 20px;
    margin-left: 450px; /* Yeh automatically right align karega */
    /* margin-right: auto; Yeh automatically center align karega */
}
.nav-links a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.quote-button {
    background: #2e1503;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}
.menu-icon {
    display: none; /* Hide menu icon by default */
}
/* ======= Mobile Styles ======= */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
        font-size: 30px;
        cursor: pointer;
        padding: 10px;
        margin-right: 15px;
        z-index: 1100;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 60px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        background: white;
        text-align: center;
        padding: 15px 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 5px;
        margin-left: 0 !important; 
    }

    .nav-links.active {
        display: flex;
    }
    .nav-links a {
        display: block;
        width: 100%;
        padding: 15px;
        border-bottom: 1px solid #ddd;
        font-size: 18px;
        font-weight: bold;
    }

    .quote-button {
        text-align: center;
        display: block;
        margin-top: 10px;
        font-size: 16px;
        padding: 12px;
    }
    .top-bar{
        font-size: 10px;
    }
    .social-ic{
        height:0px;
        width: 150px;
    }
}


/* slider........ */
.container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.mySlides {
    display: none;
    position: relative;
    width: 100%;
}

.mySlides img {
    width: 100%;
    height: 550px;
    object-fit: cover;
}

/* Diagonal overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    clip-path: polygon(0 0, 60% 0, 30% 100%, 0% 100%);
    transform: translateX(-100%);
    animation: slideOverlay 1.5s forwards 1s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

@keyframes slideOverlay {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

/* Text inside overlay */
.text {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    font-size: 31px;
    font-weight: bold;
    color: white;
    opacity: 0;
    animation: fadeInText 1.5s forwards 2s;
    z-index: 3;
    width: 40%;
}
.text-container {
    font-family: Anton;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 0vh; /* Full screen height */
    background: #f9f9f9; /* Light background */
}

    .title22 {
        text-align: center;
        color: #2e1503;
        font-size: 40px;
        font-weight: bold;
        animation: fadeIn 2s ease-in-out;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

/* .text {
    font-size: 36px; 
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
    color: #000; 
} */

@keyframes fadeInText {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Navigation buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    padding: 10px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: 0.3s;
    z-index: 4;
}
.prev { left: 10px; }
.next { right: 10px; }
.prev:hover, .next:hover { background: rgba(0, 0, 0, 0.8); }
/* ======= Mobile Styles (For Screens Below 768px) ======= */
@media (max-width: 768px) {
    .mySlides img {
        height: 400px; /* Adjusted height for smaller screens */
    }

    .overlay {
        clip-path: polygon(0 0, 80% 0, 50% 100%, 0% 100%); /* Adjusted overlay shape */
    }

    .text {
        font-size: 24px; /* Smaller font size for better fit */
        width: 60%;
        left: 5%;
    }

    .prev, .next {
        font-size: 18px; /* Smaller navigation buttons */
        padding: 8px;
    }

    .title22 {
        font-size: 30px; /* Adjusted heading size */
    }
}

/* footer............. */


footer {
    background: #222; 
    color: white;
    padding: 40px 20px;
    font-family: 'Poppins', sans-serif; 
    min-height: 250px; 
    clear: both; 
}
.footer-section a {
    text-decoration: none; /* Removes underline */
    color: inherit; /* Inherits the text color (white in this case) */
}
.footer-section a:hover {
    color: #A06A3F; /* Change color on hover */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    width: 23%;
}

.footer-section h3 {
    color: #A06A3F;
    font-size: 18px;
}

.footer-section p, .footer-section ul {
    font-size: 14px;
    line-height: 1.6;
    color: white;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 5px 0;
}

.footer-section .social-icons a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    margin-right: 10px;
}

/* Newsletter section */
.newsletter input {
    padding: 10px;
    width: 70%;
    border: none;
    margin-top: 10px;
}

.newsletter button {
    background: #A06A3F;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
}
main{
    background-color: #fffaf1;
}

/* Footer Bottom Section */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    
    padding-top: 20px;
    border-top: 1px solid #444;
    padding-bottom: 20px; 
}
.dev{
    color: white;
    margin-left: 30px;
}

/* Mobile View */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-section {
        width: 100%;
        margin-bottom: 20px;
    }
}

p{
    color: #000;
}
/* about section */
.about1{
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #D7A37C, #2E1503);
    color: rgb(249, 248, 248);
    text-align: center;
    padding: 20px;
    overflow-x: hidden;
}
.about {
    max-width: 900px;
    margin: auto;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
h1, .that {
    color: #ffcf32;
}
.team{
    color: white;
}

.numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}
.number-box {
    background: none;
border: 1px solid rgba(255, 255, 255, 0.2);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
box-shadow: 8px 32px rgba(0, 0, 0, 0.37);

    padding: 20px;
    border-radius: 10px;
    width: 200px;
}
.number {
    font-size: 32px;
    font-weight: bold;
}
/* ======= Mobile Styles (For Screens Below 768px) ======= */
@media (max-width: 768px) {
    .about {
        max-width: 90%;
        padding: 15px;
    }

    .numbers {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .number-box {
        width: 85%;
        padding: 18px;
    }

    .number {
        font-size: 28px;
    }
}

/* serfvices...................... */
.ours{
    font-family: Arial, sans-serif;
    background-color: #FBF9EF;
     
    color: rgb(11, 10, 10);
    text-align: center;
    padding: 20px;
    overflow-x: hidden;
}

.txt {
    color: #080808;
    text-align: center;
    font-size: 40px;
}

p {
    max-width: 800px;
    margin: 0 auto 20px;
    color: #000;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.service-box {
    background: white;
    color: black;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.service-box img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
}

.service-box:hover {
    transform: translateY(-10px);
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #ff7f32;
    cursor: pointer;
    font-weight: bold;
}

/* ======= Mobile Styles (For Screens Below 768px) ======= */
@media (max-width: 768px) {
    .txt {
        font-size: 32px; /* Reduced font size for better fit */
    }

    p {
        max-width: 90%; /* Adjusted width for better readability */
        font-size: 16px; /* Slightly smaller text for mobile */
    }

    .services-container {
        flex-direction: column; /* Stack services vertically */
        align-items: center;
        gap: 15px; /* Reduced gap */
    }

    .service-box {
        width: 90%; /* Adjusted width for smaller screens */
        padding: 15px;
    }

    .service-box img {
        height: 250px; /* Reduced image height for better proportion */
    }
}

/* why choose............ */
.unique-container {
    text-align: center;
    padding: 50px 0;
}

.features {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.box {
    width: 20%;
    opacity: 0;  /* Initially hidden */
    transform: translateY(50px);  /* Starts from below */
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.icon-container {
    width: 100px;
    height: 100px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    margin: auto;
}

.icon-container img {
    width: 50px;
    height: 50px;
}

.title {
    font-weight: bold;
    font-size: 18px;
    color: #333;
    margin-top: 10px;
}

.description {
    font-size: 14px;
    color: #666;
    width: 80%;
    margin: auto;
}

/* 👇 Animation effect when the element is visible 👇 */
.box.show {
    opacity: 1;
    transform: translateY(0);
}



.why-choose-us {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background: #f7f5f5;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.text-content {
    flex: 1;
    padding: 20px;
}
.cho{
    font-size: 30px;
}
h2 {
    font-size: 20px;
    color: #333;
    position: relative;
}

.underline {
    display: inline-block;
    width: 50px;
    height: 3px;
    background: #ff7f32;
    position: absolute;
    bottom: -5px;
    left: 0;
}

h3 {
    font-size: 21px;
    margin-top: 20px;
    color: #444;
}

p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    height: 400px ;
    width: 300px;
}

.image-content img {
    max-width: 90%;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* our project ............ */
.prj {
    text-align: center;
    padding: 20px;
    max-width: 1200px;
    margin-left: 70px;
}

.our-projects h2 {
    font-size: 35px;
    margin-bottom: 20px;
    position: relative;
}

.project-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.project-item {
    position: relative;
    width: 300px;
    height: 420px; /* अब सभी images बराबर होंगी */
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
}

.project-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.project-item img {
    width: 100%;
    height: 100%; /* अब पहली image भी 420px होगी */
    object-fit: cover; /* Image कटे बिना Fit होगी */
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.project-item p {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    transition: bottom 0.4s ease-in-out;
    margin: 0;
}

/* Hover Effect */
.project-item:hover p {
    bottom: 0;
}

.project-item:hover img {
    transform: scale(1.05);
}

/*  Director ............*/
dir {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f5f5f5;
} 

.profile-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.profile-container {
    display: flex;
    max-width: 1200px;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
} 

.profile-image {
    position: relative;
    overflow: hidden;
    width: 300px;
    height: 300px;
    border-radius: 10px;
    margin-left: 40px;
    margin-top: 20px;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.profile-image:hover img {
    transform: scale(1.1);
}

.social-icons {
    position: absolute;
    bottom: 10px;
    left: 15%;
    transform: translateY(-50%);
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.profile-image:hover .social-icons {
    opacity: 1;
}

.icon {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    color: black;
    font-size: 20px;
    background: rgb(92, 88, 88);
}

.icon:hover {
    background: rgb(190, 187, 187);
    color: black;
}

.profile-details {
    max-width: 800px;
    text-align: left;
    padding: 10px;
}


  .profile-details .dire h2 {
    font-size: 32px; /* Ya jitna bada chahiye */
    font-weight: bold;
    margin-bottom: 10px;
  }



@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .profile-image {
        width: 200px;
        height: 200px;
        margin-left: 0;
        margin-top: 20px;
    }

    .profile-details {
        max-width: 90%;
        width: auto;
        height: auto;
        padding: 10px;
        text-align: center;
    }
}
/* ======= Mobile Styles (For Screens Below 768px) ======= */
@media (max-width: 768px) {
    .features {
        flex-direction: column; /* Stack features vertically */
        gap: 20px;
    }

    .box {
        width: 80%; /* Adjusted width for smaller screens */
    }

    .why-choose-us {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .text-content {
        padding: 10px;
    }

    .image-content {
        width: 100%;
        height: auto;
    }

    .image-content img {
        max-width: 100%;
    }

    .prj {
        margin-left: 0;
        padding: 15px;
    }

    .project-gallery {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .project-item {
        width: 90%;
        height: auto;
    }

    .profile-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .profile-image {
        width: 200px;
        height: 200px;
        margin-left: 0;
        margin-top: 20px;
    }

    .profile-details {
        max-width: 90%;
        width: auto;
        height: auto;
        padding: 10px;
        text-align: center;
    }
}

/* review.............. */
.testimonial-section {
    text-align: center;
    padding: 40px;
    font-family: Arial, sans-serif;
}

.testimonial-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

.testimonial-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 800px;
    margin: auto;
}

.testimonial {
    display: none;
    text-align: center;
    padding: 20px;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    background: white;
}

.testimonial.active {
    display: block;
}

.testimonial-text {
    font-size: 18px;
    color: #444;
    margin-bottom: 15px;
}

.testimonial-author {
    font-size: 20px;
    font-weight: bold;
    color: #222;
}

.testimonial-profession {
    font-style: italic;
    color: gray;
}

/* Arrow Buttons */
.testimonial-slider button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s;
}

#prevBtn {
    left: -40px;
}

#nextBtn {
    right: -40px;
}

button:hover {
    background-color: #007bff;
}

/* 🔹 Media Query for Smaller Screens (Tablets & Mobiles) */
@media (max-width: 768px) {
    .testimonial-title {
        font-size: 26px;
    }

    .testimonial-slider {
        flex-direction: column;
        max-width: 90%;
        margin-right: px;
    }

    .testimonial {
        font-size: 14px;
        padding: 15px;
    }

    .testimonial-text {
        font-size: 16px;
    }

    .testimonial-author {
        font-size: 18px;
    }

    /* Reduce Button Size */
    button {
        font-size: 18px;
        padding: 8px 12px;
    }

    #prevBtn {
        left: 5px;
    }

    #nextBtn {
        right: 5px;
    }
}

/* 🔹 Media Query for Extra Small Screens (Phones under 480px) */
@media (max-width: 480px) {
    .testimonial-title {
        font-size: 22px;
        margin-top: 20px; /* Reduce margin to prevent overlap */
        text-align: center;
    }

    .testimonial-slider {
        max-width: 95%;
        margin: auto;
    }

    .testimonial {
        padding: 15px;
        font-size: 14px;
        text-align: center;
    }

    .testimonial-text {
        font-size: 14px;
        line-height: 1.5;
    }

    .testimonial-author {
        font-size: 16px;
        font-weight: bold;
    }

    .testimonial-profession {
        font-style: italic;
        color: gray;
    }

    /* Fix for Arrow Buttons */
    button {
        font-size: 16px;
        padding: 5px 10px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    #prevBtn {
        left: 5px;
    }

    #nextBtn {
        right: 5px;
    }
}

p{
    color: #000;
}

/* youtube....... */
.you{
    font-family: 'Poppins', sans-serif;
    background-color: #fffaf1;
    text-align: center;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.testimonial-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 50px 20px;
    width: 90%;
    max-width: 1000px;
    overflow: hidden;
}

.animated-image, .animated-video {
    width: 100%;
    max-width: 450px;
    opacity: 0;
    transform: translateY(100px);
    transition: all 1s ease-in-out;
}

.animated-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.animated-video video {
    width: 70%;
    border-radius: 10px;
    outline: none;
    height: 300px;
}
.lop{
    font-size: 26px;
}
.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .testimonial-container {
        flex-direction: column;
        align-items: center;
    }

    .animated-image, .animated-video {
        width: 90%;
        max-width: 90%;
    }
} 
/* add ...............section */
/* .ad-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 400px;
    background: #232288;
    color: white;
    display: flex;
    align-items: flex-start; 
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    animation: fadeIn 0.5s ease-in-out;
    gap: 10px; 
}

.ad-image {
    flex-shrink: 0;
    width: 35%;
}

.ad-image img {
    width: 100%;
    border-radius: 5px;
    height: auto;
    max-height: 120px;
    object-fit: cover;
}

.ad-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-left: 10px;
}

.ad-content h3 {
    font-size: 16px;
    margin: 0 0 5px;
    color: #d1cfac;
}

.ad-content p {
    font-size: 14px;
    margin: 0 0 10px;
    color: #a39898;
    line-height: 1.4;
}

.ad-content button {
    background: white;
    color: #232288;
    border: none;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    align-self: flex-start; 
}

.close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

/* 
@media (max-width: 600px) {
    .ad-banner {
        width: 90%;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px 10px;
    }

    .ad-image {
        width: 100%;
        max-width: 220px;
        margin-bottom: 10px;
    }

    .ad-content {
        width: 100%;
        padding-left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .ad-content h3 {
        font-size: 16px;
        color: #d1cfac;
        margin-top: 15px;
        margin-bottom: 5px;
    }

    .ad-content p {
        font-size: 14px;
        color: #a39898;
        margin: 0 0 10px;
        line-height: 1.4;
        padding: 0 10px;
    } 

    .ad-content button {
        margin-top: 25px;
        margin-right: 0; 
        align-self: center; 
    }
}*/



.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .fade-in.show {
    opacity: 1;
    transform: translateY(0);
  }
  