* {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: rgb(250, 250, 250);
    box-sizing: border-box;
    height: 100%;
    overflow-x: hidden;
}

:root {
    --font-size-base: 16px;
    --h1-size: 2.5em;
    --h2-size: 1.5em;
    --h3-size: 1.17em;
    --h4-size: 1em;
    --h5-size: 0.83em;
    --h6-size: 0.75em;
    --p-size: 1em;
    --small-size: 0.8em;
    --blockquote-size: 1.25em;
    --pre-size: 1em;
    --code-size: 0.85em;
    --label-size: 1em;
    --input-size: 1em;
    --button-size: 1em;
    --li-size: 1em;
    --figcaption-size: 0.9em;
}

body {
    font-size: var(--font-size-base);
}

h1 {
    font-size: var(--h1-size);
}

h2 {
    font-size: var(--h2-size);
}

h3 {
    font-size: var(--h3-size);
}

h4 {
    font-size: var(--h4-size);
}

h5 {
    font-size: var(--h5-size);
}

h6 {
    font-size: var(--h6-size);
}

p {
    font-size: var(--p-size);
}

small {
    font-size: var(--small-size);
}

blockquote {
    font-size: var(--blockquote-size);
    border-left: 2px solid #000; /* You can adjust or remove this as needed */
    padding-left: 1em;
    margin-left: 0;
    margin-right: 0;
}

pre {
    font-size: var(--pre-size);
    background: #f5f5f5;
    padding: 1em;
    border-radius: 4px;
    overflow-x: auto;
}

code {
    font-size: var(--code-size);
    background: #f5f5f5;
    padding: 0.2em 0.4em;
    border-radius: 4px;
}

label {
    font-size: var(--label-size);
}

input, button {
    font-size: var(--input-size);
    padding: 0.5em;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
}

li {
    font-size: var(--li-size);
}

figcaption {
    font-size: var(--figcaption-size);
}



/*----- Info Bar -----*/
.nav-info {
    width: 100%;
    text-align: center;
    background-color: rgb(0, 0, 0);
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.nav-info img {
    height: 25px;
}

.nav-info-link {
    display: inline-flex;
    text-decoration: none; /* Removes underline from the link */
    align-items: center;
}

.nav-info-link  img {
    margin-right: 10px; /* Adjust margin between image and text */
}

.nav-info-link span {
    font-size: 14px; /* Adjust font size as needed */
    color:#fff;
}

.nav-info a, .nav-main a {
    color: black;
    text-decoration: none;
    padding: 10px;
    margin: 0 10px;
}

/*----- Nav Bar -----*/
.nav-main {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: #ffffff;
    height: 100px;
    margin: 0px auto;
    position: relative;
}

.nav-main .logo {
    height: 100px;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #000;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin: 0 15px;
    position: relative;
}

nav ul li a {
    color: #000;
    text-decoration: none;
    font-size: 18px;
    padding: 15px;
    background-color: transparent;
    position: relative;
}

nav ul li a::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: #FF6600; /* Highlight color */
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Dropdown CSS */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 160px;
    width: 200px; /* Adjust width as needed */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    top: 100%; /* Position the dropdown below the link */
    min-height: calc(100px + 20px); /* Dynamic min-height calculation */
    max-height: 400px; /* Adjust max-height to make dropdown taller */
    overflow-y: auto; /* Add scroll if content exceeds max-height */
    transition: max-height 0.3s ease; /* Add transition */
    margin-top: 5%;
}

.dropdown-content a {
    color: #000;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

nav ul li.dropdown:hover .dropdown-content {
    display: block;
}

.all-pages-title {
    background-color: #D35400;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 180px;
    width: 100%;
}

.all-pages-title h1 {
    color: #fff;
}



/*----- Footer -----*/
footer {
    background-color: #000;
    color: #fff;
    padding: 40px 0 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    text-decoration: none;
    color: #fff;
}

.footer-content > div {
    flex: 1 1 250px;
    margin: 10px;
}

.footer-content h3 {
    margin-bottom: 20px;
    border-bottom: 2px solid #333;
    padding-bottom: 5px;
}

.footer-content h3 a {
    display: block;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #ccc;
}

.footer-content .working-time ul li,
.footer-content .services ul li,
.footer-content .contact-info ul li a {
    display: flex;
    flex-direction: row;
    font-size: 16px;
    margin-bottom: 10px;
    text-align: left;
}

.contact-info a {
    display: flex;
    align-items: center;
}

.contact-info img {
    margin-right: 10px;
}

.contact-info p {
    margin: 0;
    padding-bottom: -15px;
    line-height: 2;
}

.footer-content p {
    max-width: 300px;
}

.footer-content .contact-info img {
    margin-top: 3px;
    height: 25px;
    margin-right: 10px;
    vertical-align: middle;
}

.for-us {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.for-us .logo {
    align-items: center;
    justify-content: center;
    max-width: 130px;
    transform: translateX(-20%);
}

.for-us p {
    line-height: 1.6;
}

.services ul, .contact-info ul, .working-time ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services li, .contact-info li, .working-time li {
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.6;
}

.services li a, .contact-info li a, .working-time li a {
    text-decoration: none;
    color: #fff;
    margin-bottom: 10px;
}

.contact-info img, .social-links img {
    vertical-align: middle;
    margin-right: 10px;
}

.copyright {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    padding: 0 40px 20px 40px;
    margin: 20px 10px 0px 10px;
}

.copyright a {
    color: #fff;
    list-style-type: none;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

#developed-by  {
    font-weight: 600;
    
  }

#developed-by span {
    font-weight: 400;
    
  }

#developed-by:hover span {
    text-decoration: underline;
    
  }
  

.copyright a img:hover {
    transform: translateY(-10px);
}

.copyright a img {
    margin: auto 5px;
    height: 25px;
    vertical-align: middle;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}


.copyright p {
    font-size: 16px;
    color: #fff;
}

.social-links ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.social-links ul li {
    margin-right: 20px;
}

.social-links img {
    height: 25px;
    vertical-align: middle;
}

@media (min-width: 550px) and (max-width: 1124px) {
    #developed-by {
        margin: 20px 0;
    }

    .footer-content {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }

    .footer-content > div {
        flex: 1 1 calc(40% - 20px);
        box-sizing: border-box;
        margin-bottom: 20px;
    }
}


@media (max-width: 550px) {
    #developed-by {
        margin: 20px 0;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .footer-content > div {
        flex: 1 1 100%;
        margin: 10px 0;
    }

    .copyright {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .copyright p {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .copyright a {
        margin: 10px 0;
    }

}


/*----- Index Page -----*/
main {
    background-color: rgb(250, 250, 250);
}

.index-page {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden ;
}

.image-main {
    position: relative;
}

.image-main img {
    height: fit-content; /* Adjust the height as needed */
    width: 100%; /* Maintain aspect ratio */
    display: block; /* Remove inline-block spacing issue */
    margin: 0; /* Center the image if needed */
}

.image-text {
    position: absolute;
    top: 15%;
    padding: 10px;
    margin: 0 0 0 5%;
}

.image-text h1 {
    font-size: 42px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 3%;
    color: #ffffff;
    text-align: center;
}

.image-text p {
    font-size: 24px;
    color: #F0E6D6;
    text-align: left;
}

/*----- Why Us Section -----*/

.why-us  {
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Aligns vertically */
    align-items: center; 
    padding: 20px;
    margin: 50px auto;
    text-align: center;
    background-color: #f9f9f9; /* Light background for contrast */
}

.three-reasons-why-us .about-us-title {
    font-size: 36px; /* Larger font size for the title */
    color: orange;
    margin-bottom: 20px; /* Added margin for spacing */
    font-weight: bold; /* Make the title bold */
}

.why-us .three-reasons-why-us h3 {
    font-size: 24px; /* Slightly larger font size for section headers */
    margin: 50px auto; /* Adjust margin for spacing */
    color: #333; /* Darker color for better readability */
    font-weight: 600; /* Semi-bold for emphasis */
}

.three-reasons-why-us .why-choose-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Adjust spacing between items */
    justify-content: center; /* Center align items horizontally */
}

.why-choose-item {
    background-color: #ffffff; /* Change background color to white */
    padding: 20px;
    border-radius: 8px; /* Rounded corners for a softer look */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    flex: 1 1 calc(33% - 20px); /* Adjust width of each item */
    max-width: 500px; /* Limit maximum width */
    text-align: center; /* Center text within items */
}

.why-choose-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    vertical-align: middle;
}

.why-choose-item p {
    margin: 0; /* Remove margin to ensure consistent spacing */
    padding: 10px;
    font-size: 18px; /* Slightly smaller font size */
    color: #000000; /* Slightly lighter text color */
}


/*----- Reviews -----*/
.reviews-container {
    height: 90vh;
    margin: 10px;
    width: 100%;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    background: linear-gradient(to bottom, rgb(159, 153, 142), #fff);
}

.review-title {
    margin-top: 5%;
    margin-bottom: 3%;
    text-align: center;
}

.reviews-carousel {
    display: flex;
    text-wrap: wrap;
    flex-wrap: wrap;
    justify-content: space-around;
    max-height: 400px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

.reviews {
    display: flex;
    text-wrap: wrap;
    transition: transform 0.5s ease;
    gap: 20px;
    max-width: 1240px;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
}

.review {
    scroll-snap-align: start;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 20px;
    width: 400px;
    flex: 0 0 auto;
    box-sizing: border-box;
    overflow: hidden;   
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.review-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.review-details {
    flex: 1;
}

.review-details h2 {
    font-size: 1.2em;
    margin-bottom: 5px;
}

.review-date {
    font-size: 0.9em;
    color: #666;
}

.review-stars {
    font-size: 1.5em;
    color: #f1c40f;
}

.star {
    margin-right: 2px;
}

.review-content {
    line-height: 1.5;
}

/* Contact Us At Home Page */
.contact-con {
    height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact-form {
    height: 70%;
    margin: 20px;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-self: center;
    justify-self: center;
    text-align: center;
}

.contact-form h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form .btn-submit,
.contact-form button {
    width: 10rem;
    height: 50px;
    padding: 10px 20px;
    border: none;
    border-radius: 14px;
    background-color: orange;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-form .btn-submit:hover,
.contact-form button:hover {
    background-color: #59789a;
    transform: translateY(-10px);
}


#msg {
    margin-top: 10px;
}

@media (max-width: 1024px) {
    .reviews-container {
        max-width: 97%;
    }

    .reviews-carousel {
        max-width: 98%;
    }

    .contact-con {
        margin: 20px auto;
    }

    .contact-form {
        height: fit-content;
    }
    
}

@media (max-width: 768px) { 
    .image-text p {
        display: none;
    }

    .image-main img {
        aspect-ratio: 1;
    }
}



/*----- About Us Page -----*/

.about-page {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-us-container {
    margin: 30px;
    gap: 20px;
    padding: 30px;
    width: 90%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    background-color: #fff;
    border-radius: 8px;
}

.about-us {
    display: flex;
    flex-direction: column;
    margin: 30px;
}

.about-us h2 {
    color: #0F4C75;
    margin: 15px 0;
}

.about-us h3 {
    color: #A93226;
    max-width: 550px;
    flex-wrap: wrap;
    margin: 15px auto;
}

.about-us p {
    line-height: 1.6em;
    font-size: var(--p-size);
    color: #333333;
    max-width: 400px;
    flex-wrap: wrap;
    margin: 15px 0;
}


.about-us-image img{
    max-width: 100%;
    height: 500px;
    border-radius: 20px;
}

/*Why Choose Us Section*/

.why-us-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Aligns horizontally */
    align-items: center; 
    padding: 20px;
    margin: 0 auto;
    text-align: center;
}


.three-reasons-why-us h2 {
    margin: 20px;
    color: #000;
}


.three-reasons-why-us .why-choose-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Adjust spacing between items */
}

.why-choose-item img {
    background-color: #f0e7e7;
    vertical-align: top;
}

.why-choose-item {
    background-color: #f0e7e7;
    padding: 20px;
    flex: 1 1 calc(33% - 20px); /* Adjust width of each item (33% for three items per row) */
}

.why-choose-item p {
    background-color: #f0e7e7;
    margin: 2% auto;
    vertical-align: top;
    padding: 20px;
    font-size: 18px;
    color: #684451;
    text-align: center;
}

/*What You Get Section*/
.what-you-get-container {
    width: 90%;
    margin: 50px auto 10% auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}


.what-you-get-container h2 {
    margin-bottom: 20px;
}

.what-you-get-container ul {
    list-style: none;
    padding: 0;
}

.what-you-get-container li {
    display: inline-block;
    width: 40%;
    margin: 10px 2.5%;
    text-align: center;
    font-size: 20px;
    position: relative;
    padding-left: 30px;
}

.what-you-get-container li:before {
    content: '✔';
    color: #f39c12;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
}

@media (max-width: 1024px) {

    .about-us-container {
        width: 90%;
        height: fit-content;
    }

    .why-us-container {
        height: fit-content;
    }
    
}

@media (max-width: 768px) {

    .about-us-image {
        display: none;
    }

    .what-you-get-container ul{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .what-you-get-container ul li{
        width: 90%;
        text-align: left;
    }
}

@media (max-width: 370px) {
    .why-us-container {
        width: 90%;
    }
    
}

/*----- Service Page -----*/
/* Main Container */
.services-page {
    padding: 40px 20px;
    background-color: #fff;
}

.our-services-container {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

/* Section Styles */
.our-services {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    text-align: center;
}

.our-services h1 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

/* Service Card Styles */
.service-card {
    background: linear-gradient(135deg, #ffffff, #f7f7f7);
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    width: calc(33.333% - 40px);
    padding: 30px;
    margin: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-icon {
    width: 60px; /* Set desired width */
    height: auto; /* Maintain aspect ratio */
    position: absolute;
    top: 0;
    right: 0;
    transform: translateX(-50%);
}

.service-card h2 {
    margin-bottom: 10px;
    color: #333;
    margin-top: 20px;
}

/* Enhanced Description */
.service-card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

/* Hover Effect */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    background: linear-gradient(180deg, #ffffff , #cd5f55);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .service-card {
        width: calc(50% - 40px);
    }
}

@media (max-width: 768px) {
    .service-card {
        width: calc(100% - 40px);
    }
}

/* Equipment Transportation *//* Equipment Transportation */
.equipment-transport-container {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
}

.equipment-transport {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.equipment-transport h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 20px;
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.image-gallery img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.call-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    font-size: 1.2em;
    color: #fff;
    background-color: #007BFF;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.call-now:hover {
    background-color: orange;
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .image-gallery img {
        max-width: 45%;
    }

    .call-now {
        font-size: 1em;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .image-gallery {
        flex-direction: column;
    }

    .image-gallery img {
        max-width: 100%;
    }

    .equipment-transport h2 {
        font-size: 1.5em;
    }

    .call-now {
        font-size: 1em;
        width: 100%;
        padding: 15px;
    }
}

/*Marchinery*/
.our-machinery-container {
    padding: 40px 20px;
    background-color: #fff;
}

.our-machinery {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.our-machinery h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
}

/* Machinery Grid */
.machinery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Machinery Card */
.machinery-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    width: calc(25% - 20px);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.machinery-card img.machinery-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.machinery-card h3 {
    font-size: 1.5rem;
    margin: 15px 0;
    color: #333;
}

.machinery-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.machinery-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.machinery-card ul li {
    margin-bottom: 5px;
    color: #444;
    font-size: 0.9rem;
}

.machinery-card a {
    text-decoration: none;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}


.machinery-card a:hover {
    background-color: #0056b3;
}

/* Hover Effects */
.machinery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .machinery-card {
        width: calc(50% - 20px);
    }

    .machinery-card a {
        padding: 10px;
        height: fit-content;
    }
}

@media (max-width: 768px) {
    .machinery-card {
        width: calc(100% - 20px);
    }
}


/*----- Gallery Page -----*/
.gallery-page {
    padding: 20px;
  }
  
  .photos-container {
    max-width: 90%;
    margin: 0 auto;
  }
  
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 15px;
  }
  
  .gallery a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
  }
  
  .gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fill the area, cropping if necessary */
    aspect-ratio: 1/1; /* Maintains a square aspect ratio for all images */
    transition: transform 0.3s ease;
  }
  
  .gallery a:hover {
    transform: translateY(-5px);
  }
  
  .gallery a:hover img {
    transform: scale(1.05);
  }
  
  .gallery a::before {
    content: attr(data-title);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px;
    font-size: 14px;
    text-align: center;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  .gallery a:hover::before {
    opacity: 1;
    transform: translateY(0);
  }
  
  @media (max-width: 600px) {
    .gallery {
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
  }

/*----- Contact Page -----*/

.contact-page {
    background-color: rgb(250, 250, 250);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    margin: 30px auto;
    width: 100%;
    height: fit-content;
}

/* Contact Info Container */
.contact-info-container {
    width: 90%;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    
}

/* Contact Details Styling */
.contact-details {
    margin: 20px;
    width: 90%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.contact-details h1 {
    font-size: 28px;
    color: #D35400;
    margin-bottom: 20px;
}

.contact-details p {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.contact-details a {
    text-decoration: none;
    color: #0F4C75;
    display: flex;
    align-items: center;
}

.contact-details a .icon {
    font-size: 20px;
    margin-right: 10px;
}

.contact-details a:hover {
    transform: scale(1.05);
}

.working-hours {
    margin-top: 10px;
}

.working-hours p {
    font-size: 16px;
    color: #333;
}

.working-hours .closed {
    color: #ff0000;
}

@media (max-width: 1024px) {
    .contact-page {
        flex-direction: column;
    }
    

    .map-container {
        width: 100%;
    }

    .map-container iframe {
        width: 100%; /* Ensure the iframe takes full width */
        
    }

    .contact-home-container {
        width: 90%;
    }
}





@media (max-width: 1000px) {
    .nav-info {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 60%;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding: 20px;
        transition: transform 0.3s ease-in-out;
        transform: translateX(-100%);
    }
    
    nav ul.open {
        display: flex;
        transform: translateX(0);
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .menu-toggle span {
        background-color: #000;
        transition: transform 0.3s ease;
    }
    
    .menu-toggle.open span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.open span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .dropdown-content {
        position: static;
        display: none;
        max-height: none;
        overflow-y: visible;
        margin-top: 0;
    }
    
    nav ul li.dropdown:hover .dropdown-content {
        display:none;
    }    
}

/*----- ScrollBar -----*/
::-webkit-scrollbar {
    width: 5px;
    height: 10px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); 
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background: rgb(214, 138, 7); 
    -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.5); 
}

::-moz-scrollbar-button, ::-webkit-scrollbar-button {
  width: 0px;
}