/* Reset for box-sizing */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Body and global font settings */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #F7F7F7;
}

/* Hero section */
.hero_section {
    width: 100%;
    background-color: #f0f0f0;
}

.header_section {
    border-top: 15px solid #da7426;
}

/* Header and layout */
/* General Header and Layout */
.head_top {
    padding: 15px 0;
    background-color: black;
}

.header_top_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    height: auto;
    padding: 0 20px;
    flex-wrap: wrap; /* Ensures wrapping for smaller screens */
}

/* Header Logo */
.header_logo {
    max-height: 100px;
    width: auto;
    object-fit: contain; /* Ensures logo maintains aspect ratio */
    float: left; /* Aligns logo to the left */
}

/* Navigation Menu */
.navbar {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.nav_item {
    list-style: none;
}

.nav_item a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
}

.nav_item a:hover {
    color: #da7426;
}

/* Mobile Responsiveness for Header */
@media (max-width: 768px) {
    .header_top_container {
        flex-direction: column;
        align-items: flex-start; /* Align content to the left */
        text-align: left; /* Align text to the left */
    }

    .navbar {
        flex-direction: column;
        gap: 15px;
        margin-top: 10px;
        width: 100%;
    }

    .navbar li {
        margin: 0;
        text-align: left;
    }

    .menu-toggle {
        align-self: flex-end;
    }
}

/* Mobile Menu Toggle */
.menu-toggle { 
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

/* Cancel Button for Navbar */
.menu-cancel {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    align-self: flex-end;
    margin-bottom: 15px;
}

/* Mobile Responsive Styling */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .navbar {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 0;
        right: 0;
        width: 70%;
        height: 100vh;
        background-color: black;
        gap: 15px;
        margin: 0;
        padding: 20px;
        justify-content: flex-start;
        align-items: flex-start;
        transition: transform 0.3s ease-in-out;
        z-index: 9;
    }

    .navbar.active {
        display: flex; /* Show the navbar when active */
    }

    .nav_item {
        margin: 0;
        width: 100%;
    }

    .nav_item a {
        font-size: 1rem;
        color: white;
        padding: 10px 20px;
        text-align: left;
        display: block;
        width: 100%;
    }
}

/* Styling the h5 tag inside .tagline */
.tagline h5 {
    font-family: 'Lora', serif; /* Elegant serif font for a refined feel */
    font-size: 1rem; /* Larger font size for prominence */
    color: white; /* Change color to a brand accent color */
    letter-spacing: 1px; /* Slight letter spacing for readability */
    margin: 0; /* Remove margin */
    padding: 10px 0; /* Add padding for spacing */
}


/* Hero Section Image */
.scrole-section {
    height: 20rem;
    width: 100%;
    background-image: url("./images/arrowHero1.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative; /* Ensure content can be positioned on the image */
    overflow: hidden; /* Prevent content overflow */
}

/* Mobile Adjustments for Hero Image */
@media (max-width: 480px) {
    .scrole-section {
        height: 15rem;
        background-size: cover;
    }

    .scrole-tagline {
        font-size: 1.8rem; /* Smaller font size for smaller screens */
    }
}


/* Further adjustments to the text in the header */
.header_top_container span {
    font-size: 1rem;
    letter-spacing: 0.5px;
}

/* General styles for the entire page */
ul {
    list-style: none;
}

/* General styles for the intro section */
@keyframes moveRightToLeft {
    0% {
        transform: translateX(100%); /* Start off-screen on the right */
    }
    100% {
        transform: translateX(0); /* Move to its original position */
    }
}

.intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 30px 0;
    padding: 20px;
    background-color: #f4f4f4;
    flex-wrap: wrap; /* Allows wrapping for smaller screens */
}

.intro > div {
    width: 45%; /* Equal width for both sections */
}

.intro .leftsection .heading h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.5; /* Improved readability */
}

.intro .leftsection .heading span {
    color: #da7426; /* Highlight the brand name */
}

.intro .leftsection p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    text-align: justify; /* Align text for a polished look */
}

.intro .rightsection img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 5px; /* Optional rounded corners */
}

@media (max-width: 1024px) {
    .intro {
        flex-direction: column;
        text-align: center;
    }

    .intro > div {
        width: 100%; /* Sections take full width */
        margin-bottom: 20px;
    }

    .intro .leftsection .heading h2 {
        font-size: 1.8rem;
    }

    .intro .leftsection p {
        font-size: 1rem;
        text-align: justify;
    }
}

@media (max-width: 768px) {
    .intro .leftsection .heading h2 {
        font-size: 1.5rem;
    }

    .intro .leftsection p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .intro {
        padding: 15px;
    }

    .intro .leftsection .heading h2 {
        font-size: 1.3rem;
    }

    .intro .leftsection p {
        font-size: 0.9rem;
    }
}

/* About section video and text layout */
.about_content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* Responsive behavior */
    margin-bottom: 40px;
}

.about_video {
    flex: 1;
    max-width: 46%;
}

.about_video video {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.about_text {
    flex: 1;
    max-width: 50%;
    padding-left: 20px;
}

.about_text h3 {
    font-size: 1.75rem;
    color: #333;
}

.about_text p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.6;
    text-align: justify;
}

/* Values Section */
.values_section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* For responsive behavior */
    margin-top: 40px;
}

.values_description {
    flex: 1;
    max-width: 50%;
    padding-right: 20px;
}

.values_description h3 {
    font-size: 1.75rem;
    color: #333;
    margin-bottom: 20px;
}

.values_description ul {
    list-style: none;
    padding: 0;
}

.values_description ul li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #444;
    text-align: justify;
}

.values_description ul li strong {
    color: #da7426;
}

.values_image {
    flex: 1;
    max-width: 46%;
}

.values_image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about_content {
        flex-direction: column;
    }

    .about_video {
        max-width: 100%;
    }

    .about_text {
        max-width: 100%;
        padding-left: 0;
    }

    .values_section {
        flex-direction: column;
    }

    .values_description {
        max-width: 100%;
        padding-right: 0;
    }

    .values_image {
        max-width: 100%;
        margin-top: 20px;
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .values_section {
        flex-direction: column;
        align-items: center;
    }

    .values_description {
        max-width: 100%;
        padding-right: 0;
    }

    .values_image {
        max-width: 100%;
        margin-top: 20px;
    }
}

.service {
    max-width: 80vw;
    margin: auto;
    padding-bottom: 40px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    padding: 25px 15px;
    background-color: #f4f4f4;
}

.column {
    flex: 1 1 calc(33.333% - 20px); /* Adjusts to a three-column layout */
    min-width: 250px;
    margin: 10px;
}

.box {
    height: 250px; /* Slightly taller for visibility on larger screens */
    background-color: #A9A9A9;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.box_img {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.box_img h5.service-heading {
    position: absolute;
    bottom: 100px; /* Adjust to place the heading at the desired position */
    left: 50%;
    transform: translateX(-50%);
    color: #fff; /* White text for contrast */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 16px;
    text-align: center;
    width: 90%; /* Adjust as needed */
}

.flip-box {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-box-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.box:hover .flip-box-inner {
    transform: rotateY(180deg);
}

.flip-box-front,
.flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.flip-box-front {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ccc;
}

.flip-box-back {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    transform: rotateY(180deg);
    padding: 10px;
    text-align: justify;
}


.box_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Media queries for responsiveness */
@media (max-width: 1024px) {
    .column {
        flex: 1 1 calc(50% - 20px); /* Switches to two columns */
    }
    .box {
        height: 220px; /* Adjust height for smaller screens */
    }
}

@media (max-width: 768px) {
    .column {
        flex: 1 1 calc(100% - 20px); /* Single-column layout */
    }
    .box {
        height: 200px; /* Smaller height for better fit */
    }
}

@media (max-width: 480px) {
    .service {
        max-width: 90vw; /* Slightly smaller margin for extra small screens */
    }
    .box {
        height: 180px; /* Adjusted height for very small devices */
    }
    .row {
        gap: 10px; /* Reduced gap for small screens */
        padding: 15px 10px;
    }
}

.clients {
    max-width: 90vw;
    background-color: #f4f4f4;
    margin: 50px auto;
    text-align: center;
    padding-bottom: 50px;
    overflow: hidden;
}

.clients .heading h2 {
    font-size: 2rem; /* Adjusted for better readability on smaller screens */
    color: black;
    margin-bottom: 30px;
}

.clients .heading span {
    color: #da7426;
}

.client-gallery {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.client-row {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    animation: scroll 400s linear infinite;
}

.client-column {
    display: inline-block;
    padding: 0 10px; /* Reduced padding for small screens */
}

.client-logo {
    max-width: 180px; /* Initial size for larger screens */
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease-in-out;
}

.client-logo:hover {
    transform: scale(1.1); /* Zoom effect on hover */
}

/* Animation for scrolling */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .clients {
        max-width: 95vw; /* Adjusted margin for tablets */
    }
    .clients .heading h2 {
        font-size: 1.8rem; /* Smaller font size */
    }
    .client-logo {
        max-width: 150px; /* Reduce logo size */
    }
    .client-row {
        animation: scroll 160s linear infinite; /* Slower scroll for medium screens */
    }
}

@media (max-width: 768px) {
    .clients {
        max-width: 98vw; /* Adjust for smaller screens */
    }
    .clients .heading h2 {
        font-size: 1.6rem; /* Even smaller font */
    }
    .client-column {
        padding: 0 8px; /* Reduced spacing */
    }
    .client-logo {
        max-width: 120px; /* Smaller logos */
    }
    .client-row {
        animation: scroll 200s linear infinite; /* Slower scroll for better view */
    }
}

@media (max-width: 480px) {
    .clients .heading h2 {
        font-size: 1.4rem; /* Font size for small devices */
        margin-bottom: 20px;
    }
    .client-logo {
        max-width: 100px; /* Smallest logo size */
    }
    .client-row {
        animation: scroll 250s linear infinite; /* Slower for better legibility */
    }
    .client-column {
        padding: 0 5px; /* Minimum padding */
    }
}

.ourWork {
    background-color: #A9A9A9;
    padding: 20px 0; /* Added padding for spacing */
}

.slideshow-container {
    max-width: 80%; /* Wider max-width for larger screens */
    position: relative;
    margin: auto;
}

.mySlides_fade {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px; /* Adjusted for better viewing */
    overflow: hidden;
}

.mySlides_fade img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4;}
    to {opacity: 1;}
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .slideshow-container {
        max-width: 90%; /* Increase max-width for medium screens */
    }
    .mySlides_fade {
        height: 350px; /* Reduced height for medium screens */
    }
}

@media (max-width: 768px) {
    .slideshow-container {
        max-width: 95%; /* Full width for small screens */
    }
    .mySlides_fade {
        height: 300px; /* Further reduced height */
    }
    .prev, .next {
        padding: 12px; /* Smaller buttons */
        font-size: 16px;
    }
    .text {
        font-size: 14px; /* Smaller caption text */
    }
}

@media (max-width: 480px) {
    .slideshow-container {
        max-width: 100%; /* Full width for extra small screens */
    }
    .mySlides_fade {
        height: 250px; /* Smaller height for better fit */
    }
    .prev, .next {
        padding: 8px; /* Smaller navigation buttons */
        font-size: 14px;
    }
    .text {
        font-size: 12px; /* Adjusted for readability */
    }
    .dot {
        height: 10px; /* Smaller dots */
        width: 10px;
    }
}

.contact_section {
    padding: 50px 0;
    background-color: #e9ecef; /* Light background for a clean look */
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.form_heading h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 30px;
}

.contact_content {
    display: flex;
    flex-direction: row;
    gap: 40px; /* Increased gap for better spacing */
    justify-content: space-between;
}

.contact_info {
    flex: 1;
    background-color: #ffffff; /* White background for contrast */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    padding: 20px;
}

.info_item {
    margin-bottom: 20px;
}

.info_item h4 {
    color: #da7426; /* Accent color for headings */
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.info_item p {
    color: #555;
    line-height: 1.6;
}

.map_container {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Consistent shadow with info box */
}

.map_container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact_content {
        flex-direction: column; /* Stack items vertically */
        gap: 30px;
    }

    .map_container {
        height: 300px; /* Maintain height for smaller screens */
    }

    .contact_info {
        text-align: center; /* Center-align content */
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .contact_section {
        padding: 20px 15px; /* Reduce padding for small screens */
    }

    .form_heading h2 {
        font-size: 2rem; /* Smaller font for narrow screens */
    }

    .contact_info h4 {
        font-size: 1rem; /* Adjust heading size */
    }

    .contact_info p {
        font-size: 0.9rem; /* Adjust paragraph size */
    }

    .map_container {
        height: 250px; /* Adjust height for very small screens */
    }
}

.whatsapp_chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp_chat a {
    color: white;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp_chat a:hover {
    background-color: #128c7e;
}

.footer_section {
    background-color: black;
    color: white;
    padding: 30px 0;
    text-align: center;
    border-top: 2px solid #da7426;
}

.footer_container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 80vw;
    margin: auto;
    flex-wrap: wrap; /* Ensure responsiveness */
}

/* Logo Section */
.footer_logo {
    flex: 1;
    text-align: left;
    margin-bottom: 20px;
}

.footer_logo img {
    max-width: 150px; /* Adjust size as necessary */
    height: auto;
}

.footer_info {
    flex: 1;
    text-align: left;
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer_info h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contact-item {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-item i {
    font-size: 1.5rem;
    color: #da7426;
    margin-right: 10px;
}

.contact-item a {
    color: #da7426;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: white;
}

/* Quick Links Section */
.footer_section {
    background-color:black; /* Dark background for contrast */
    color: #fff;
    padding: 50px 20px;
    font-family: 'Arial', sans-serif;
}

.footer_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: auto;
    gap: 40px;
}

.footer_logo img {
    width: 150px; /* Consistent size */
    margin-bottom: 20px;
}

.footer_info, .footer_links {
    flex: 1;
    min-width: 200px;
    padding: 0 10px;
}

.footer_info h4, .footer_links h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #da7426; /* Accent color */
}

.contact-item {
    display: flex;
    align-items: center; /* Align the icon and text */
    margin-bottom: 15px;
}

.contact-item i {
    margin-right: 10px;
    font-size: 1.2rem;
    color: #da7426; /* Match accent color */
}

.contact-item p a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item p a:hover {
    color: #da7426;
}

.footer_links ul {
    list-style: none;
    padding: 0;
}

.footer_links li {
    margin-bottom: 12px;
}

.footer_links a {
    color: #da7426;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer_links a:hover {
    color: #fff;
}

.social_box_footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    padding: 10px 0;
}

.social_box_footer a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social_box_footer a:hover {
    color: #da7426;
}

.footer_copy {
    padding-top: 15px;
    border-top: 1px solid #555; /* Subtle divider */
    margin-top: 30px;
    text-align: center;
}

.footer_copy p {
    font-size: 0.9rem;
    color: #aaa;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer_container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .social_box_footer {
        justify-content: center;
        margin-top: 20px;
    }
}


