/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
}

/* Header Styles */
header {
    background-color: #D8D6DC;
    position: relative;
    top: 0;
    z-index: 1000;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
}

.navbar .logo {
    padding-left: 1rem;
}

.navbar .logo img {
    width: 240px; /* Default size of logo */
}

.nav-menu {
    display: flex;
    list-style: none;
    padding-right: 1rem; /* Padding for categories */
}

.nav-menu li {
    margin: 0 1rem;
}

.nav-menu .nav-item {
    text-decoration: none;
    color: black;
    text-transform: uppercase;
    font-size: 0.8rem; /* Default font size for categories */
    position: relative;
}

.nav-menu .nav-item:hover {
    color: #FF3B00;
}

.nav-menu .nav-item::after {
    content: "";
    display: block;
    height: 2px;
    width: 0;
    background: linear-gradient(to right, #FF3B00, #D8D6DC);
    transition: width 0.3s;
}

.nav-menu .nav-item:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive Styles for Tablets and iPads */
@media (max-width: 1024px) {

    /* Ensure the toggle is visible and positioned correctly */
    .menu-toggle {
        display: block;
        position: absolute; /* Keep the button in the original position */
        right: 1rem; /* Align it to the right */
        top: 1.8rem; /* Slight margin from the top */
        font-size: 1.5rem;
        cursor: pointer;
        color: black;
        background: none;
        border: none;
    }

    .menu-toggle:hover {
        color: #FF3B00; /* Add hover effect */
        transform: scale(1.1); /* Slight scaling effect */
        transition: all 0.3s ease; /* Smooth transition */
    }

    .navbar .container {
        flex-direction: column; /* Stack the logo and menu vertically */
        align-items: flex-start; /* Align everything to the left */
    }

    .navbar .logo {
        padding-left: 1rem;
        margin-bottom: 0.5rem; /* Add space between logo and menu */
        padding-top: 0.5rem;
    }

    .navbar .logo img {
        width: 160px; /* Adjusted logo size */
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start; /* Align items with logo */
        display: none;
        background: #D8D6DC;
        width: 100%;
        padding-left: 1rem; /* Add padding to align menu with logo */
        padding-right: 1rem; /* Balanced padding on the right */
    }

    .nav-menu.active {
        display: flex; /* Show menu when toggle is active */
    }

    .nav-menu li {
        margin: 0.5rem 0; /* Add vertical spacing between items */
    }

    .nav-menu .nav-item {
        font-size: 0.7rem; /* Font size for better touch area */
        padding: 0.3rem 0; /* Adjust padding for better touch area */
    }
}

.main-content {
    position: relative;
    background-image: url('../images/abu-dhabi-airport2.png');
    background-size: cover;
    background-attachment: fixed; /* Enables the parallax effect */
    background-position: center;
    height: 80vh; /* Set height for the section */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white; /* Text color */
    text-align: center; /* Center text */
}


.main-content .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay */
    z-index: 1; /* Layer the overlay below the text */
}

.main-content .content {
    position: relative;
    z-index: 2; /* Place the text above the overlay */
}

.main-content .content h1 {
    font-size: 4rem; /* Base font size */
    font-weight: 400; /* Regular weight */
    margin-bottom: 0.5rem;
    font-family: 'Gill Sans Nova', sans-serif; /* Use Gill Sans Nova */
    text-transform: uppercase; /* Ensure uppercase */
    transform: scaleX(1.3); /* Stretch vertically */
    color: #FFFFFF; /* Default color */
    letter-spacing: 0.15rem; /* Adjust spacing for visual alignment */
    position: relative; /* Needed for pseudo-elements */
    transition: transform 0.3s ease, color 0.3s ease; /* Smooth transition */
}

.main-content .content h1:hover {
    color: #FF3B00; /* Change color on hover */
    transform: scaleX(1.5); /* Slightly enlarge on hover */
}


/* Responsive Adjustments for Tablet (iPad) */
@media (max-width: 1024px) and (min-width: 769px) {
    .main-content .content h1 {
        font-size: 3rem; /* Slightly smaller text for tablets */
    }
}

/* Responsive Adjustments for Mobile */
@media (max-width: 768px) {
    .main-content .content h1 {
        font-size: 2.5rem; /* Smaller text size for mobile */
    }
}

html, body {
    overflow-x: hidden; /* Prevent horizontal scrolling */
}


.main-content .content p {
    font-size: 1.5rem; /* Subheading size */
    margin-bottom: 1.5rem;
    font-family: 'Roboto', sans-serif;
}

/* Button Styling for Desktop */
.main-content .content .btn {
    text-decoration: none;
    font-variant: small-caps;
    background-color: #FF3B00; /* Button background color */
    color: white;
    padding: 0.8rem 4rem; /* Adjust padding to make the button wider */
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    transition: background-color 0.3s ease, transform 0.3s ease;
    align-items: center;

}

.main-content .content .btn:hover {
    background-color: #000; /* Darker shade on hover */
    transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Responsive Adjustments for Tablet (iPad) */
@media (max-width: 1024px) and (min-width: 769px) {
    .main-content .content .btn {
        font-size: 1rem; /* Slightly smaller button for tablet */
        padding: 0.7rem 1.8rem; /* Adjust padding */
        top: 15rem; /* Adjust position for tablet */
        left: 30rem; /* Adjust horizontal position */
        position: static; /* Reset position */
        margin: 2rem auto; /* Center button horizontally */
        display: block; /* Ensure the button is treated as a block element */
    }
}

/* Responsive Adjustments for Mobile */
@media (max-width: 768px) {
    .main-content .content h1 {
        font-size: 2.5rem; /* Adjust font size for mobile */
    }

    .main-content .content p {
        font-size: 1.2rem; /* Adjust subheading size */
    }

    .main-content .content .btn {
        font-size: 0.9rem; /* Reduce button size for mobile */
        padding: 0.6rem 1.5rem; /* Adjust padding for smaller screens */
        top: 15rem; /* Adjust vertical position for mobile */
        left: 15rem; /* Adjust horizontal position for mobile */
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .main-content .content .btn {
        font-size: 0.9rem; /* Reduce button size for mobile */
        padding: 0.6rem 1.2rem; /* Adjust padding for smaller screens */
        top: 15rem; /* Adjust position for smaller screens */
        left: 16rem; /* Adjust position for smaller screens */
        position: static; /* Reset positioning for mobile */
        margin: 0 auto; /* Center horizontally */
        display: block; /* Ensure the button is displayed as a block */
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .main-content .content h1 {
        font-size: 2.5rem; /* Adjust font size for mobile */
    }

    .main-content .content p {
        font-size: 1.2rem; /* Adjust subheading size */
    }

    .main-content .content .btn {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
        position: static; /* Reset positioning for mobile */
        margin: 0 auto; /* Center horizontally */
        display: block; /* Ensure the button is displayed as a block */
    }
}

/* WHO WE ARE Section */
.who-we-are {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 1rem;
    background: linear-gradient(to bottom, #FF3B00, #FF3B00, #D8D6DC); /* Gradient Background */
    color: white;
}

.who-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: bold;
}

.who-content p {
    font-size: 1.48rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    padding: 0 1rem;
    text-align: justify;
}

.icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.icons img {
    width: 100px; /* Icon size */
    height: 100px;
    border-radius: 50%;
    background: white;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icons img:hover {
    animation: vibrate 0.2s linear infinite; /* Apply vibration animation */
    transform: scale(1.1); /* Slightly enlarge the icon */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

/* Vibration Keyframes */
@keyframes vibrate {
    0% { transform: translate(0, 0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(2px, -2px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(2px, 2px); }
    100% { transform: translate(0, 0); }
}

/* Responsive for Tablets */
@media (max-width: 1024px) {
    .who-content h2 {
        font-size: 2rem;
    }

    .who-content p {
        font-size: 1rem;
    }

    .icons img {
        width: 90px;
        height: 90px;
    }
}

/* Responsive for Mobile */
@media (max-width: 768px) {
    .who-content h2 {
        font-size: 1.8rem;
    }

    .who-content p {
        font-size: 0.9rem;
    }

    .icons img {
        width: 60px;
        height: 60px;
    }
}

/* Latest Projects Section */
.latest-projects {
    background-color: #D8D6DC; /* Background color */
    padding: 3rem 1rem;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

.latest-projects h2 {
    font-size: 2.5rem;
    color: #111827;
    margin-bottom: 2rem;
}

.projects-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem; /* Reduced spacing between cards */
}

.card {
    max-width: 300px;
    border-radius: 0.5rem;
    background-color: #fff;
    border: 2px solid #FF3B00; /* Stroke effect */
    box-shadow: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Ensure vertical alignment */
    justify-content: space-between; /* Spread content evenly */
}

.card:hover {
    box-shadow: 0 4px 8px rgba(255, 59, 0, 0.5); /* Shadow effect on hover */
    transform: scale(1.03); /* Slightly enlarge */
}

.card .image {
    width: 100%;
    height: 150px;
    background-size: cover;
    background-position: center;
}

.card .content {
    padding: 1rem;
    flex-grow: 1; /* Ensure content stretches to align buttons */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card .content .title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #111827;
    text-decoration: none; /* Remove underline */
    margin-bottom: 0.5rem;
    text-align: center; /* Center-align the title */
}

.card .content .desc {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: #6B7280;
    text-decoration: none; /* Remove underline */
    flex-grow: 1; /* Push the button to the bottom */
    text-align: center; /* Center-align the description */
}

.card .content .action {
    display: inline-flex;
    justify-content: center; /* Center-align the button text */
    align-items: center; /* Vertically align the button text */
    margin-top: auto; /* Ensure button aligns at the bottom */
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    background-color: #FF3B00;
    padding: 0.5rem 1rem;
    border-radius: 0.3rem;
    gap: 0.3rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none; /* Remove underline */
}

.card .content .action .arrow {
    transition: transform 0.3s ease;
}

.card .content .action:hover .arrow {
    transform: translateX(5px); /* Arrow moves to the right on hover */
}

.card .content .action:hover {
    background-color: #000; /* Slightly darker blue on hover */
}

/* Responsive for Tablets */
@media (max-width: 1024px) {
    .projects-container {
        flex-direction: row;
        gap: 1rem; /* Reduce spacing between cards */
    }

    .card {
        max-width: 90%;
    }

    .latest-projects h2 {
        font-size: 2rem;
    }
}

/* Responsive for Mobile */
@media (max-width: 768px) {
    .latest-projects h2 {
        font-size: 1.8rem;
    }

    .card {
        max-width: 100%;
        margin: 0 auto;
    }

    .card .content .title {
        font-size: 1rem;
    }

    .card .content .desc {
        font-size: 0.8rem;
    }

    .card .content .action {
        font-size: 0.8rem;
    }
}
.latest-projects {
    background-color: #D8D6DC; /* Background color */
    padding: 3rem 1rem;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

.latest-projects h2 {
    font-size: 2.5rem;
    color: #111827;
    margin-bottom: 2rem;
}

.projects-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem; /* Adjust spacing between cards */
}

.card {
    max-width: 300px;
    border-radius: 0.5rem;
    background-color: #fff;
    border: 2px solid #FF3B00; /* Stroke effect */
    box-shadow: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    text-align: center; /* Align text to center */
}

.card:hover {
    box-shadow: 0 4px 8px rgba(255, 59, 0, 0.5); /* Shadow effect on hover */
    transform: scale(1.03); /* Slightly enlarge */
}

.card .image {
    width: 100%;
    height: 150px;
    background-size: cover;
    background-position: center;
}

.card .content {
    padding: 1rem;
}

.card .content .title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #111827;
    text-decoration: none; /* Remove underline */
    margin-bottom: 0.5rem;
    text-align: left; /* Align title to the left */
    display: block;
}

.card .content .desc {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #6B7280;
    text-align: left; /* Align description to the left */
    margin-bottom: 1rem; /* Add space between description and button */
}

.card .content .action {
    display: inline-flex;
    justify-content: center; /* Center-align the button text */
    align-items: center; /* Vertically align the button text and arrow */
    margin-top: auto; /* Ensure button aligns at the bottom of the card */
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    background-color: #FF3B00;
    padding: 0.5rem 1rem;
    border-radius: 0.3rem;
    gap: 0.4rem; /* Space between text and arrow */
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none; /* Remove underline */
    text-align: center;
}

.card .content .action .arrow {
    display: inline-block;
    vertical-align: middle; /* Align arrow vertically to text */
    transition: transform 0.3s ease;
}

.card .content .action:hover .arrow {
    transform: translateX(8px); /* Move arrow to the right on hover */
}

.card .content .action:hover {
    background-color: #000; /* Change button color on hover */
}


/* Responsive for Tablets and iPad (Portrait and Landscape) */
@media (max-width: 1024px) {
    .projects-container {
        flex-direction: column; /* Stack cards vertically */
        gap: 1.5rem; /* Reduce spacing between cards */
    }

    .card {
        flex: 1 1 100%; /* Cards take up full width on tablets */
        max-width: 500px; /* Limit max width of cards to 500px */
        margin: 0 auto; /* Center cards */
    }

    .latest-projects h2 {
        font-size: 2rem;
    }
}

/* Responsive for Mobile */
@media (max-width: 768px) {
    .latest-projects h2 {
        font-size: 1.8rem;
    }

    .projects-container {
        flex-direction: column; /* Stack cards vertically */
        gap: 1rem; /* Reduce spacing between cards */
    }

    .card {
        flex: 1 1 100%; /* Cards take up full width on mobile */
        margin: 0 auto;
    }

    .card .content .title {
        font-size: 1rem;
    }

    .card .content .desc {
        font-size: 0.8rem;
    }

    .card .content .action {
        font-size: 0.8rem;
    }
}

/* Footer Section */
.footer {
    background-color: #D8D6DC; /* Background color */
    border-top: 2px solid #FF3B00; /* Orange stroke effect */
    color: #fff;
    padding: 2rem 1rem;
    font-family: 'Roboto', sans-serif;
    font-variant: small-caps; /* Apply small caps globally to footer */
}

/* Footer Container */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem; /* Add padding for all device sizes */
}

/* Footer Content */
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

/* Footer Logo Section */
.footer-logo {
    flex: 1 1 30%;
    text-align: left;
}

.footer-logo img {
    max-width: 240px;
    margin-bottom: 2rem;
}

.footer-logo p {
    font-size: 0.9rem;
    color: #000;
    text-align: left; /* Keep text left-aligned */
    font-variant: small-caps; /* Small caps for logo caption */
}

/* Footer Links Section */
.footer-links {
    flex: 1 1 30%;
}

.footer-links h3 {
    margin-bottom: 1rem;
    margin-left: 5rem;
    font-size: 1.2rem;
    color: #FF3B00; /* Orange color for headings */
    font-variant: small-caps; /* Small caps for headings */
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
    margin-left: 5rem;
}

.footer-links ul li a {
    color: #000;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    font-variant: small-caps; /* Small caps for links */
}

.footer-links ul li a:hover {
    color: #FF3B00; /* Hover effect for links */
}

/* Footer Contact Section */
.footer-contact {
    flex: 1 1 30%;
}

.footer-contact h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #FF3B00;
    font-variant: small-caps; /* Small caps for contact headings */
}

.footer-contact p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #000;
    font-variant: small-caps; /* Small caps for contact text */
}

/* Footer Social Icons */
.footer-social {
    margin-top: 1rem;
}

.footer-social a {
    margin-right: 1rem;
    display: inline-block;
}

.footer-social img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.footer-social img:hover {
    transform: scale(1.1); /* Hover effect to enlarge icons */
}

/* Footer Bottom Section */
.footer-bottom {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #000;
    font-variant: small-caps; /* Small caps for bottom text */
}

/* iPad View: Consistent Scaling */
@media (max-width: 1024px) and (min-width: 769px) {
    .footer-container {
        padding: 0 2rem; /* Add consistent padding for iPad view */
    }

    .footer-content {
        justify-content: space-between; /* Keep alignment same as larger devices */
    }

    .footer-logo {
        text-align: left; /* Maintain left alignment */
        padding-left: 1rem; /* Add padding to avoid sticking to the edge */
    }

    .footer-logo p {
        text-align: left; /* Ensure text remains left-aligned */
    }
}

/* Mobile View */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center; /* Center-align all content */
        text-align: center; /* Center-align text */
    }

    .footer-logo, .footer-logo p {
        text-align: center; /* Center-align text */
    }

    .footer-logo, .footer-links, .footer-contact {
        flex: 1 1 100%; /* Ensure each section takes full width */
    }

    .footer-links h3, .footer-links ul li {
        margin-left: 0; /* Remove left margin for mobile view */
    }

    .footer-social {
        margin-top: 1rem;
    }
}
