/* Import the Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html, body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #474747;
    overflow-x: hidden;
}

.medium-icon{
    padding: 15px;
    width: 100px;
    height: 100px;
}
.normal-icon{
    padding: 15px;
    width: 80px;
    height: 80px;
}
.small-icon{
    padding: 15px;
    width: 60px;
    height: 60px;
}

.large-icon{

    width: 100px;
    height: 100px;
}

.solid-line {
    width: 100px; /* Adjust width as needed */
    height: 2px;  /* Adjust thickness as needed */
    background-color: #ffffff; /* Solid black line */
    margin-top: 15px; /* Center the line */
}

.solid-line-black {
    width: 100px;
    height: 2px;
    background-color: lightgray;
    margin-top: 20px;
    margin-bottom: 20px;
}

.solid-line-red {
    width: 100px;
    height: 2px;
    background-color: #880000;
    margin-bottom: 30px;
}

a {
    text-decoration: none;
    color: inherit;
}

header .logo img {
    max-width: 150px;
    height: 100%;
}

.logo {
    height: 100%;
}

.mobile-nav .logo{
    height: 40px;
}

/* Hero Section */
.hero {
    width: 100%;
    /* min-height: 400px; */
    height: 100%;
    position: relative;
    overflow: hidden;
    background-image: url('../Assets/Images/image\ 70.svg');
    background-size: 70%;
    background-position: RIGHT;
    background-repeat: no-repeat;
    object-fit: cover;
    object-position: right;
    background-color: #524f50f7;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* adjust opacity here */
    z-index: 1;
}
/* Hero Wrapper */
.hero-wrapper {
    display: flex;
    width: 100%;
    height: 100vh;
   
}

/* Left Side (Image Content) */
.hero-image-content {
    flex: 1;
    background-color: #333333;
    display: flex;
    max-width: 60%;
    padding-left: 4%;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 50% 100%, 0 100%);
    z-index: 1;
}

/* Logo Image */
.hero-logo {
    max-width: 60%;/* Adjust size as needed */
    height: auto;
}

/* Right Side (Text Content) */
.hero-text-content {
    background-color: transparent;
    display: flex;
    max-width: 40%;
    flex-direction: column;
    padding-right: 4%;
    justify-content: center;
    z-index: 1;
    text-align: center;
    align-items: center;
}

.hero-text-content-mobile {
    display: none;
    background-color: transparent;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
    text-align: center;
    align-items: center;
    padding: 20px;
    background-color: #ffffff;
}
.hero-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the area without distortion */
    object-position: center;
}
/* Text Styling */
.hero-text-content h1 {
    font-size: clamp(1.2rem, 2.5vw, 2.5rem);/* Adjust size as needed */
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.hero-text-content-mobile h1 {
    font-size: 25px;/* Adjust size as needed */
    font-weight: 700;
    color: #474747;
    margin-bottom: 10px;
}

.hero-text-content .solid-line {
    width: 50px;
    height: 2px;
    background-color: #333;
    margin: 10px 0;
}

.hero-text-content-mobile .solid-line {
    width: 50px;
    height: 2px;
    background-color: #333;
    margin: 10px 0;
}

.hero-text-content p {
    font-size: 1.1rem;
    color: #ffffff;
    line-height: 1.6;
}
.hero-text-content-mobile p {
    font-size: 18px;
    color: #474747;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1068px) {
    .hero-wrapper {
        flex-direction: column;
    }

    .hero-image-content {
        clip-path: polygon(0 0, 100% 0, 100% 50%, 0 100%); /* Adjust for mobile */
        min-height: 200px;
        position: absolute;
        height: 70%;
        top:0;
    }

    .hero-text-content {
        padding: 20px;
        text-align: center;
        height: 30%;
        max-width: 100%;
        position: absolute;
        height: 45%;
        bottom: 0;
    }

    .hero-text-content h1 {
        font-size: 1.8rem;
    }

    .hero-text-content .solid-line {
        margin: 10px auto;
    }
    .hero-image-content {
        max-width: 100%;
    }
    .hero{
        width: 100%;
        height: 100%;
        position: relative;
        overflow: hidden;

        background-size: 100%; 
        background-position: bottom;
        background-repeat: no-repeat;
        object-fit: cover;
        object-position: center; 
        background-color: #524f50f2;
    }
}
@media (min-width: 1069px){
    .hero-text-content {
        background-color: transparent;
        display: flex;
        position: absolute;
        max-width: 40%;
        right: 0;
        top: 30%;
        flex-direction: column;
        padding-right: 4%;
        transform: translateX(-10%);
        z-index: 1;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

}

@media (min-width: 1069px) and (max-width: 1315px){
    .hero {
        width: 100%;
        /* min-height: 400px; */
        height: 100%;
        position: relative;
        overflow: hidden;
        background-size: 70%;
        /* background-position: RIGHT; */
        background-repeat: no-repeat;
        object-fit: cover;
        object-position: right;
        background-image: url('../Assets/Images/image\ 69.svg');
        background-color: #524f50f2;
    }
    .hero-image-content {
        max-width: 70%;
    }
    
    .hero-text-content{
        max-width: 40%;
    }
}

/* Transparent Navbar */
header {
    background-color: rgba(244, 244, 244, 0.9);
    padding: 0px 10px;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    z-index: 9999;
    max-height: 108px;
    position: fixed;
    border-radius: 60px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
}

/* Navbar Styling */
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    
}

nav li {
    margin: 0 15px;
}

nav a {
    text-decoration: none;
    color: #524F50;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s;
    line-height: 70px !important;
}

nav a:hover {
    color: #666666;
}

.navbar-nav .nav-link {
    font-size: 18px;
    font-weight: 400;
    transition: background 0.3s, color 0.3s;
    padding: 10px 15px;
    border-radius: 23px;
    cursor: pointer;
}

.navbar-nav .nav-link:hover {
    color: #666666;
}

.navbar-nav .nav-link-hidden:hover {
    color: #ffffff;
}

.navbar-nav .nav-link.active {
    background: #666666 !important;
    color: rgb(255, 255, 255) !important;
    border-radius: 23px;
}

.nav-container {
    display: flex;
    flex-direction: row;
    max-width: 1000px;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}


.hero-text-content-projects{
    background-color: #333333;
    display: flex;
    max-width: 600px;
    height: 100%;
    z-index: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px;
}

.hero-projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black overlay with 50% opacity */
    z-index: 1; /* Ensure the overlay is above the background but below the content */
}

/* Ensure the content inside .hero-projects stays above the overlay */
.hero-projects > * {
    position: relative;
    z-index: 2;
}

.hero p {
    font-size: 20px;
    margin-bottom: 20px;
}

.btn {
    background-color: #e7b112;
    padding: 10px 20px;
    color: white;
    font-size: 16px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}


/* Gallery Section */
.gallery {
    padding: 50px;
    background-color: #fff;
    text-align: center;
}

.gallery-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.gallery-item img:hover {
    transform: scale(1.05);
}


/*Our Services Section*/
.services-container{
    display: flex;
    max-width: 1200px;
    width: 100%;
    flex-direction: column;
    gap: 50px;
    justify-content: center;
}

.service-item-reverse {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transform: translateX(-100%); /* Move from left to right */
    transition: transform 1s ease-out, opacity 1s ease-out;
    padding: 50px 0px;
}

.service-item-reverse.visible {
    opacity: 1;
    transform: translateX(0); /* Moves into position */
}

.service-item-heading {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.service-item {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 20px;
    opacity: 0;
    padding: 50px 0px;
    transform: translateX(100%); /* Move from right to left */
    transition: transform 1s ease-out, opacity 1s ease-out;
    overflow-x: hidden;
}

.service-item.visible {
    opacity: 1;
    transform: translateX(0); /* Moves into position */
}


.service-item-text-container{
    max-width: 590px;
    padding: 15px;
}

.Our-Services{
    background-color: #ffffff;
}

.Our-Services h2 {
    margin-top: 40px;
    margin-bottom: 25px;
    font-size: 46px;
    letter-spacing: 2px;
    display: flex;
    justify-content: center;
}
.service-item-text-container h3{
    font-size: 30px;
    font-weight: semi-bold;
    letter-spacing: 1px;
}

.Our-Services-image{
    max-height: 453px;
}

/* Why Choose Us Section */
.Why-Choose-Us{
    background: #F0F0F0;
    color: #474747;
    min-height: 486px;
}
.Why-Choose-Us h2{
    margin-top: 60px;
    margin-bottom: 60px;
    font-size: 46px;
    letter-spacing: 2px;
    display: flex;
    justify-content: center;
}

.why-choose-us-container{
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin-bottom: 60px;
}
.Why-Choose-Us .margin-section-container{
    margin: 0px 20px;
}
.why-choose-us-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #ffffff;
    color: #474747;
    border-radius: 20px;
    padding: 25px;
    flex: 1 1 calc(25% - 40px);
    min-width: 300px;
    max-width: 300px;
    box-shadow: 0 4px 6px rgba(102, 102, 102, 0.2), 
            0 1px 3px rgba(102, 102, 102, 0.1);
}
@media (max-width: 1024px) {
    .why-choose-us-item {
        flex: 1 1 calc(50% - 40px);
    }
}

/* Mobile: 1 in a row */
@media (max-width: 768px) {
    .why-choose-us-item {
        flex: 1 1 100%;
    }
    .Why-Choose-Us .margin-section-container{
        margin: 0px 10px;
    }
}

/* Footer Styles */
footer {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #ffffff;
    color: #474747;
    text-align: center;
    padding: 20px;
}
/* Get A Quote Component*/
.nav-link-hidden{
    color: #ffffff;
}
.quote-form {
    display: flex;
    overflow-y: auto;
    background: white;
    max-height: 80vh;
    height: auto;
    padding: 30px;
    border-radius: 20px;
    max-width: 540px;
    text-align: center;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 0 4px 6px rgba(102, 102, 102, 0.2), 
    0 1px 3px rgba(102, 102, 102, 0.1);
}

.quote-form-modal {
    background: f454545;
    background-color: rgba(244, 244, 244, 0.9);
    padding: 30px;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow-y: auto;
    max-height: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    justify-content: flex-start;
}
.quote{
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 18px;
}

.quote-form h2{
    font-size: 27px;
    margin-bottom: 25px;
    color: #474747;
    font-weight: 400;
}

.quote-form-modal h2{
    font-size: 27px;
    margin-bottom: 25px;
    color: #474747;
    font-weight: 400;
}

.input-group {
    display: flex;
    gap: 10px;
}

.input-group-modal{
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    justify-content: space-between;
}

input, textarea {
    background-color: rgba(244, 244, 244, 0.9);
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 13px;
    font-size: 16px;
    height: 50px;
}

textarea {
    font-size: 16px;
    height: 80px;
    resize: none;
}

.input-wrap {
    max-width: 207px
}

.attachment {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.attachment input {
    display: none;
}

.submit-btn {
    background: #a00000;
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    width: 207px;
}

.submit-btn:hover {
    background: #880000;
}

.close-btn {
    color: #880000;
    background-color: transparent;
    border: solid 1px #880000;
    padding: 10px;
    width: 100%;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    width: 207px;
}
.close-btn:hover {
    border: solid 2.5px #880000;
}

.modal-buttons{
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    max-width: 434px;
    width: 100%;
}
.attachment-icon{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}
/* Call us component */
.call-us {
    background: #f4f4f4;
    padding: 60px;
    text-align: center;
    color: #474747;
    height: auto;
    display: flex;
    flex-direction: row;
    gap: 150px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.call-us-text{
    text-align: justify;
}

.call-us h2 {
    font-size: 36px;
    margin-bottom: 25px;
    font-weight: bold;
    color: #880000;
}
.phone-number p {
    font-size: 30px !important;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.call-us p {
    font-size: 20px;
    font-weight: medium;
    line-height: 25px;
    margin-bottom: 25px;
}
/* Contact Us container*/
.Contact-Us {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 18px;
}
.Contact-Us h2{
    font-size: 46px;
    background-color: #ffffff;
}

.Contact-Us p{
    font-weight: 400;
}

.Contact-Us-form {
    padding: 60px 30px;
    max-width: 500px;
    width: 100%;
    background-color: white;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(102, 102, 102, 0.2), 
            0 1px 3px rgba(102, 102, 102, 0.1);
}

.Contact-Us-form-contact-details{
    gap: 15px;
    max-height: 85px;
    padding: 20px 20px;
    max-width: 500px;
    width: 100%;
    background-color: white;
    display: flex;
    flex-direction: row;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(102, 102, 102, 0.2), 
            0 1px 3px rgba(102, 102, 102, 0.1);
    align-items: center;
}

.Contact-Us-form-contact-details h3{
    font-size: 15px;
    font-weight: 400;
    color: #852221;
}


.Contact-Us-form h2{
    font-size: 46px;
    color: #474747;
    font-weight: 400;
}

.Contact-Us-Map {
    max-width: 500px;
    width: 100%;
    box-shadow: 0 4px 6px rgba(102, 102, 102, 0.2), 
            0 1px 3px rgba(102, 102, 102, 0.1);
            border-radius: 30px;
}

.contact-us-submit-btn {
    background: #a00000;
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
}

.contact-us-submit-btn:hover {
    background: #880000;
}

.shoot-email{
    display: flex;
    flex-direction: row;
    align-items : center;
    gap:5px;
}

.shoot-email h3{
    font-size: 15px;
    font-weight: 400;
    color: #852221;
}

.page-container {
    display: flex;
    flex-direction: row;
    gap: 50px;
    justify-content: center;
    padding: 60px 30px;
}

.iframe-wrapper {
    display: flex;
    height: 100%;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-self: center;
}

.iframe-wrapper iframe{
    border: 2px solid rgb(255, 255, 255);
    border-radius: 15px;
}
.iframe-loader {
    position: absolute;
    width: 40px;
    height: 40px;
}


.iframe-wrapper iframe {
height: -10%; /* Hide iframe initially */
}
/* Text-section */
.text-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    padding: 60px;
    text-align: center;
    color: #474747;
    height: auto;
}

.text-section h2 {
    color: #880000;
    font-size: 36px;
    margin-bottom: 25px;
    font-weight: bold;
}

.text-section p {
    max-width: 528px;
}
/* About Us page */

.our-core-values {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 950px;
    justify-content: center;
    overflow: hidden;
}

.our-core-values::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../Assets/Images/about-us-core-values1.PNG') no-repeat center center/cover, #f4f4f4;
    opacity: 0.1; /* Adjust to make the image less bright */
}


.our-core-values-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    max-width: 900px;
    padding: 60px;
    background-color: rgba(194, 193, 192, 0.5);
    border-radius: 30px;
    align-items: center;
}


.our-core-values-container h2{
    font-size: 40px;
    font-weight: 600;
}
.core-values-wrapper{
    display: flex;
    flex-direction: row;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 963px;
    justify-content: center;
    border-radius: 30px;
}

.core-value{
    max-width: 370px;
    height: 245px;
}
.core-value .text-section {
    padding: 40px;
   background-color: #f4f4f4;
   height: 100%;
   border-radius: 30px;
   justify-content: center;
}

.core-value .text-section h2{
    color: #474747;
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 0px;
}

.our-vision-container{
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    background: #ffff;
    border: solid;
    border-color: #ffff;
    border-radius: 30px;
    gap: 10px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(102, 102, 102, 0.2), 
            0 1px 3px rgba(102, 102, 102, 0.1);
}

.our-vision.text-section{
    height: auto;
}

.our-vision.text-section h2{
    color: #474747;
    margin-bottom: 0px;
}
/* Projects page*/
.hero-projects {
    display: flex;
    justify-content: center;
    /* align-items: center; */
    align-items: center;
    background: url('../Assets/Images/projects.png') no-repeat center center/cover;
    color: white;
    height: 100vh;
    position: relative;
    text-align: center;
}

.hero-projects h1 {
    font-size: 40px;
}

.hero-projects .solid-line{
    margin-bottom: 20px;
    margin-top: 5px;
}


/* Ensure the gallery section has necessary styling */
.gallery-section {
	min-height: 100vh;
	background-color: #fafafa;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 4rem 2rem;
}

.gallery-container {
	max-width: 100rem;
	margin: 0 auto;
	padding: 2rem;
}


.gallery {
	display: flex;
	flex-wrap: wrap;
	margin: -1rem -1rem;
}

.gallery-item {
	flex: 1 0 24rem;
	margin: 1rem;
	box-shadow: 0.3rem 0.4rem 0.4rem rgba(0, 0, 0, 0.4);
	overflow: hidden;
}

.gallery-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 400ms ease-out;
}

.gallery-image:hover {
	transform: scale(1.15);
}

/* Section Container */
.margin-section-container {
    margin: 0px 190px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
/* Modal */
.Modal-Background { 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color:rgb(0 0 0 / 57%);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000000;
}

.toggle-Modal { 
    cursor: pointer; 
    display: flex;
}

.is-Hidden { display: none; }

.Absolute-Center { 
    height: 70%;
    width: 30%;
    overflow: auto;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
  }
  .Absolute-Center.is-Fixed { 
    position: fixed;
    z-index: 999;
  }

  .success-popup, .error-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    z-index: 1000;
    animation: fadeInOut 3s;
}

.success-popup {
    background-color: #28a745;
}

.error-popup {
    background-color: #dc3545;
}


/*loader*/
.attachment {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.file-loader {
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
}

.small-loader {
    border: 3px solid #880000;
    border-top: 3px solid transparent;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
}

.attachment-status.success {
    color: green;
}

.attachment-status.error {
    color: red;
}
    #success-animation {
        display: none;
        position: absolute; /* Make it cover the form */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        z-index: 10;
        background-color: #ffffff;
    }
    #success-animation p{
        color: #474747;
    }
    #success-animation .tick {
        font-size: 40px;
        position: relative;
        z-index: 1;
    }
    #loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    border: 4px solid #880000; /* Light grey */
    border-top: 4px solid transparent; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}
.mobile-nav-container {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 10px;
    border-radius: 40px;
}
.mobile-nav {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    width: 100%;
}
.burger-menu {
    background: none;
    border: none;
    font-size: 24px;
    color: #474747;
    cursor: pointer;
    width: 100px;
    padding-left: 10px;
    text-align: left;
}
.logo img {
    height: 40px;
}
@keyframes glow {
    0% {
        box-shadow: 0 0 5px #880000;
    }
    50% {
        box-shadow: 0 0 20px #ff0000;
    }
    100% {
        box-shadow: 0 0 5px #880000;
    }
}

.quote-btn {
    background-color: #880000;
    color: #f4f4f4;
    border: solid 0px;
    border-radius: 40px;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.4s ease-in-out;
    animation: glow 3s  alternate ease-in-out;
}
.mobile-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #ffffff;
    text-align: center;
    margin-top: 11px;
}
.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-menu ul li {
    padding: 10px;
    border-top: 1px solid #444;
}
.mobile-menu ul li a {
    color: #474747;
    text-decoration: none;
    font-size: 16px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px;
    color: #474747;
    font-size: 14px;
}

.remove-btn {
    color: #880000;
    border: none;
    cursor: pointer;
    font-size: 12px;
    background-color: transparent;
}

.fileList{
    display: flex;
    flex-direction: row;
    width: 400px;
    flex-wrap: wrap;
    margin-top: -20px;
}

.fileError{
    color: red;
    font-size: 12px;
}

.attachment-status:hover {
    cursor: pointer;
    font-weight: 600;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(-20px); }
    20% { opacity: 1; transform: translateY(0); }
    80% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-20px); }
}
@media only screen and (max-width: 480px) and (orientation: portrait) {
    .margin-section-container {
        margin: 0 30px;
    }
    .hero-wrapper {
        display: flex;
        width: 100%;
        height: 67dvh;
        max-height: 466px;
    }
    .hero-text-content{
        display: none;
    }
    .hero-text-content-mobile{
        display: flex;
    }
}

/* Landscape */
@media only screen and (max-height: 480px) and (orientation: landscape) {
    .margin-section-container {
        margin: 0 30px;
    }
    .hero-wrapper {
        display: flex;
        width: 100%;
        height: 100vh;
        max-height: 480px;
    }
    .hero-image-content {
        max-width: 50%;
        clip-path: none;
        min-height: 200px;
        position: absolute;
        height: 100%;
        top: 0;
    }
    .hero-text-content{
        max-width: 50%;
        padding: 25px;
        text-align: center;
        height: 30%;
        position: absolute;
        height: 78%;
        bottom: 0;
        right: 0;
        margin-top: 97px;
    }
}

@media only screen and (max-width: 1024px) and (min-width: 481px) {
    .margin-section-container {
        margin: 0 70px;
    }
}

@media only screen and (max-width: 1068px) {
    .nav-container{
        display: none;
    }
    .quote-form{
        display: none;
    }
    .mobile-nav-container{
        display: flex;
        background: #ffff;
    }
    header {
        padding: 0px 0px;
    }
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 20px;
    }
    .hero-wrapper{
        justify-content: center;
    }
    .hero-text-content {
        text-align: center;
    }
    .call-us {
        gap: 80px;
    }
    .page-container {
        flex-wrap: wrap;
    }
    
}
@media only screen and (max-width: 1100px) {
    .service-item-reverse {
        flex-wrap: wrap;
        justify-content: center;
    }
    .service-item{
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    .call-us-text{
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
        margin-bottom: 20px;
    }
    .Our-Services-image{
        max-width: 300px;
    }
    .Our-Services h2 {
        font-size: 34px;
    }
    .Why-Choose-Us h2{
        font-size: 32px;    
    }
    .call-us h2{
        font-size: 30px;
    }
    .our-core-values-container h2{
        font-size: 34px;
    }
    .call-us p {
        font-size: 18px;
    }
    .our-core-values-container{
        padding: 20px;
    }
    .text-section{
        padding: 20px;
    }
    .page-container {
        padding: 30px 10px;
    }
}

@media (max-width: 615px) {
    .gallery-section{
        padding: 40px 0;
    }
    .gallery-container{
        padding: 0;
    }
    .gallery{
        margin: 0;
    }
    .gallery{
        padding: 20px 0;
    }
    .gallery-item{
        flex: auto;
    }
}

@media (max-width: 540px) {
    .quote-form-modal{
        height: 100%;
        max-height: 100vh;
    }

    .input-wrap{
        max-width: 100%;
    }

    .submit-btn {
        width: 100%;
    }

    .close-btn {
        width: 100%;
    }

    .input-group-modal{
        flex-wrap: nowrap; /* not needed when stacking */
        flex-direction: column; /* stack fields vertically */
        gap: 12px; /* tighter vertical spacing */
        width: 100%;
    }

    .modal-buttons{
        flex-wrap: wrap;
    }
}
/* ================= Real-time Validation Additions ================= */
.quote-form-modal input,
.quote-form-modal textarea {
    border: 1.5px solid #ccc;
    box-sizing: border-box;
    transition: border-color .2s, background-color .2s;
}

.quote-form-modal .invalid {
    border-color: #880000 !important; /* restored red border */
    background-color: #fffafa;
}

.quote-form-modal .rt-error {
    font-weight: 500;
    line-height: 1.2;
}

.quote-form-modal .rt-error-group {
    font-weight: 500;
    line-height: 1.2;
    color: #880000;
    margin-top: 4px;
    font-size: 11px;
}

/* Inline per-field errors under each input */
.quote-form-modal .rt-error-inline {
    font-weight: 500;
    line-height: 1.2;
    color: #880000;
    font-size: 11px;
    display: block;
    width: 100%;
}

/* Ensure two-column flex inputs allow errors to break below each field */
.quote-form-modal .input-group-modal .field-col {
    display: flex;
    flex-direction: column;
    max-width: 207px;
    flex: 1 1 0;
}

.quote-form-modal .input-group-modal .field-col input {
    width: 100%;
}

/* When narrow screens stack, allow full width */
@media (max-width: 540px) {
    .quote-form-modal .input-group-modal .field-col { max-width: 100%; }
}

.quote-form-modal input:focus, 
.quote-form-modal textarea:focus {
    outline: 1px solid #880000;
}

#messageCounter {
    font-family: 'Poppins', sans-serif;
    letter-spacing: .5px;
}

@media (prefers-reduced-motion: reduce) {
    .quote-form-modal .invalid { transition: none; }
}

/* Field line wrapper for single-row inputs (phone, email) so errors render without extra vertical gap */
.quote-form-modal .field-line {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.quote-form-modal .field-line > .rt-error-inline {
    /* ensure no extra margin from parent spacing beyond what we set inline */
    margin-bottom: 0;
}

/* Visual disabled state for submit button without using the disabled attribute */
.quote-form-modal .submit-btn.btn-disabled {
    opacity: 0.5;
    cursor: pointer; /* still clickable to trigger error display */
    position: relative;
}

.quote-form-modal .submit-btn.btn-disabled::after {
    content: ' *';
    color: #d93025;
    font-weight: 600;
}

/* Accessibility helper & animations */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

.quote-form-modal .helper-text,
#contact-us-form .helper-text {
    font-size: 11px;
    color: #666;
    margin-top: 2px;
}

.quote-form-modal .rt-error-inline { animation: fadeInError .18s ease-in; }
@keyframes fadeInError { from { opacity: 0; transform: translateY(-2px);} to { opacity: 1; transform: translateY(0);} }

/* === Modern Footer === */
.site-footer {
        background: #222;
        color: #f2f2f2;
        padding: 50px 24px 30px;
        margin-top: 60px;
        font-size: 14px;
}
.site-footer a { color: #f2f2f2; text-decoration: none; }
.site-footer a:hover { color: #d8d8d8; }
.footer-grid {
        display: grid;
        gap: 40px;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        max-width: 1100px;
        margin: 0 auto 30px;
}
.footer-col { display: flex; flex-direction: column; gap: 18px; }
.brand-tagline { max-width: 340px; }
.brand-power { font-size: 20px; font-weight: 600; margin: 0 0 4px; }
.brand-sub { font-size: 14px; margin: 0; color: #b9b9b9; }
.social-links { display: flex; gap: 14px; }
.social-link img { width: 38px; height: 38px; filter: brightness(1) contrast(1.05); transition: transform .25s, filter .25s; }
.social-link:hover img { transform: translateY(-4px) scale(1.05); filter: brightness(1.25); }
.footer-heading { font-size: 16px; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 4px; font-weight: 600; }
.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.contact-label { font-weight: 600; margin-right: 4px; }
.contact-address { font-style: normal; line-height: 1.4; }
.footer-bottom-bar { text-align: center; padding-top: 12px; border-top: 1px solid #444; font-size: 12px; color: #b5b5b5; }
.contact-list .contact-separator { list-style:none; height:1px; width:60px; background: linear-gradient(90deg,#555,#333); margin:8px 0 6px; border-radius:2px; align-self:center; }
.footer-logo { display:block; max-width:210px; width:100%; height:auto; margin:0 0 18px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.45)); transition: transform .35s ease, filter .35s ease; }
@media (max-width:640px){ .footer-logo { max-width:180px; margin:0 0 14px; } }
@media (max-width: 640px) {
    .site-footer { padding: 40px 18px 24px; }
    .footer-grid { gap: 32px; }
    .brand-power { font-size: 18px; }
    .social-link img { width: 34px; height: 34px; }
    .footer-col { align-items: center; text-align: center; }
    .contact-list { align-items: center; text-align: center; }
}
/* Footer Enhancements */
.footer-logo:hover,
.footer-logo:focus-visible { transform: translateY(-4px) scale(1.04); filter: drop-shadow(0 4px 8px rgba(0,0,0,.55)); outline: none; }

.social-link:focus-visible { outline: 2px solid #ffffff; outline-offset: 4px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
    .footer-logo { transition: none !important; }
    .footer-logo:hover, .footer-logo:focus-visible { transform: none !important; }
    .social-link img { transition: none !important; }
    .social-link:hover img { transform: none !important; }
}