/* General Styles */
@font-face {
    font-family: Helvetica;
    src: url(fonts/helvetica-light-587ebe5a59211.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

@media only screen and (max-width: 1200px) {
    * {
       max-width: 100dvw;
    }
}

body {
    font-family: Helvetica;
    line-height: 1.6;
    font-size: 16px;
    color: #333;
}

.white-space {
    height: 30px;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.heading {
    display: inline-flex;
}


.heading h4 a{
    color: black;
    margin-left: 0;
    padding: 10px;
}

.heading h4 a:hover {
    color: tomato;
}

.icons {
    margin-left: 1200px;
    display: inline-flex;
}

body {
    font-family: Helvetica;
    line-height: 1.6;
    background-color: #f4f4f4;
}



.nav-menu li {
    list-style: none;
}

.nav-item a {
    color: whitesmoke;
    text-decoration: none;
    font-size: 15px;
}

.nav-link a {
    margin-top: 30%;
}

.navbar {
    min-height: 70px;
    display: flex;
    justify-content: center;
    align-items: right;
    top: 0;

}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    margin-left: -100px;
    gap: 60px;

}

.navbar  a img{
    display: flex;
    width: 130px;
    margin-right: 800px;
}

.nav-link {
    transition: 0.7s ease;
}

.nav-link:hover {
    color: red;
    text-decoration: none;
}

.hamburger {
    display: none;
    cursor: pointer;
    margin-top: -50px;
    margin-right: -150px;
    height: 40px;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: whitesmoke;
}

@media (max-width:768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2){
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1){
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3){
        transform: translateY(-8px) rotate(-45deg);
    }
    .nav-menu {
        margin-top: -20px;
        position: fixed;
        left: -100%;
        gap: 0;
        flex-direction: column-reverse;
        background-color: red;
        width: 100%;
        text-align: center;
        transition: 0.3s;
    }

    .nav-item {
        margin: 16px 0;
    }

    .nav-menu.active {
        left: 0;
    }
    
    
}

.header{
    margin-top: 6px;
    height: 100vh;
    width: 100vw;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(dubai.webp);
    background-position: center;
    background-size: cover;
    position: relative;
    font-family: 'Times New Roman', Times, serif;
}

.text-box {
    width: 90%;
    color: #fff;
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

.text-box h1 {
    font-size: 80px;
    color: red;
}

.text-box h6 {
    font-size: 20px;
    color: whitesmoke;
}

.text-box p {
    margin: 10px 0 40px;
    font-size: 20px;
    color: red;
}




/* Hero Section */

.hero-content {
    max-width: 100000px;
    margin: 0 auto; /* Centers content */
    text-align: center; /* Centers text */
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: red;
}

.hero-content p {
    font-size: 2rem;
    margin-bottom: 2rem;
    margin-left: -1500px;
}

.hero-content .P2 {
    font-size: 1.9rem;
    color: red;
}


@media only screen and (max-width: 900px) {
    .hero-content h1 {
        margin-right: -780px;
        font-size: 2.5rem;
    }
    .hero-content p {
        margin-right: -780px;
        font-size: 1.2rem;
    }
    .hero-content .P2 {
        font-size: 1.4rem;
    }
}

@media only screen and (max-width: 640px){
    .hero-content h1{
        margin-right: 0px;
        font-size: 2.5rem;
    }
    .hero-content p {
        display: flex;
        width: 100%;
    }

}

@media only screen and (max-width: 1200px) {
    .header {
        margin-left: -20px;
        min-width: 1520px;
    }
    .text-box h1 {
        font-size: 60px;
        color: red;
    }
    .text-box h6 {
        font-size: 15px;
        color: whitesmoke;
    }
    
    .text-box p {
        margin: 10px 0 40px;
        font-size: 20px;
        color: red;
    }

    .nav-menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 10px;
        margin-right: -500px;
        gap: 60px;
    
    }
    .services-section {
        width: 100vw;
    }
    .container1 {
        margin-left: -40%;
        width: 1000000px;
    }
    .box3 {
        width: 100000px;
    }

    
}




/* Responsive Grid for Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    margin: 40px 0;
}

.services-grid div {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.services-grid div img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.services-section {
    transition: 0.3s;
    font-family: Helvetica;
    width: 1000px;
    height: 900px;
    overflow: hidden;
}

.services-section h1 a {
    font-size: 42px;
    color: #3c3e41;
    margin-left: 600px;
    margin-top: 20px;
    text-decoration: none;
    text-decoration: underline red;
}

/* Image Responsiveness */
img {
    max-width: 100%;
    height: auto;
}

.services-section:hover h1 a {
    color: red;
    
}

.services-section h1 span {
    color: red;
}

.container1 {
    width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 50px;
}

.box3 {
    width: 250px;
    height: 550px;
    padding: 50px;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(145deg, #e6e6e6, #ffffff);
    box-shadow: 8px 8px 16px #d1d1d1,
                -8px -8px 16px #ffffff;
    cursor: pointer;
    transition: 0.3s;
}

.box3:hover {
    background: linear-gradient(145deg, #bb0738, #b1153c);
    box-shadow: 8px 8px 16px #d1d1d1,
                -8px -8px 16px #ffffff;
}

.box3 i {
    font-size: 50px;
    color: red;
    margin-top: 10px;
}

.box3:hover i {
    margin-top: 0px;
    color: #fff;

}

.box3 h2 {
    font-weight: 500;
    margin-top: 25px;
}

.box3:hover h2 {
    color: #fff;
}

.box3 p {
    color: grey;
    font-weight: 400;
    margin-top: 25px;
}

.box3:hover p {
    color: #fff;
}

.box3 i .fa .fa-arrow-circle-right {
    font-size: 30px;
    color: red;
    margin-top: 40px;
    display: none;
} 

@media (max-width: 768px) {
    .navi {
        justify-content: space-between;
    }

    /* Hamburger menu for mobile */
    .hamburger {
        display: flex;
    }

    /* Hide the nav bar on smaller devices */
    .nav-bar {
        display: none;
    }

    .nav-bar ul {
        flex-direction: column;
    }

    /* Hero text */
    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .logo img {
        width: 120px;
    }

    .hamburger .line {
        width: 20px;
    }
}

@media (max-width: 1920px){
    .nav-bar {
        margin-top: 50px;
    }
    .logo {
        margin-top: 50px;
    }
    .services-section {
        margin-top: 10%;
        margin-left: 30%;
    }
    .services-section h1 a {
        font-size: 52px;
        color: #3c3e41;
        margin-left: 600px;
        margin-top: 20px;
        text-decoration: none;
        text-decoration: underline red;
    }
    .about-section {
        margin-left: 10%;
        min-width: 1250px;
    }
    .inner-container {
        background-color: #fdfdfd;
        padding-top: -100px;
        margin: 0; /* Adjust margin for centering */
        box-sizing: border-box;
        max-width: 900px; /* Added max-width for better control on large screens */
    }
    .inner-container h1 a {
        margin-bottom: 20px;
        font-size: 28px;
        font-weight: 500;
        color: red;
        width: 900px;
    }
    
    .inner-container:hover h1 a {
        text-decoration: none;
    }
    
    .text {
        font-size: 14px;
        color: #545454;
        line-height: 1.5;
        text-align: justify;
        margin-bottom: 30px;
        max-width: 10000000000000000px;
    }
    .projects-section {
        min-width: 1470px;
        max-height: 1000px;
    }
    .project-item {
        background-color: #fff;
        border-radius: 8px;
        text-align: center;
        padding: 4rem;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        width: 100%;
        margin-left: 10px;
        
    }
    .projects-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(700px,3fr));
        gap: 2rem;
        float: left;
        display: flex;
    }
    .footer-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
        max-width: 1470px;
    }
    
    .footer-section {
        margin-left: 30%;
        max-width: 570px;
        
    }
    footer {
        background: #333;
        color: white;
        padding: 40px 20px;
        font-size: 14px;
        min-width: 1500px;
    }

    .footer-bottom {
        min-width: 1370px;
    }

    .footer-bottom p {
        min-width: 1470px;
    }
}


    

/*About Section 
.about-section {
    box-sizing: border-box;
    font-family: Helvetica;
    display: flex;
    background: url(pipes2.jpeg) no-repeat left;
    background-size: 55%;
    background-color: #fdfdfd;
    overflow: hidden;
    padding: 200px 0;
}

.inner-container {
    width: 55%;
    float: right;
    background-color: #fdfdfd;
    padding: 50px;
    margin-left: 40%;
}

.inner-container h1 a {
    margin-bottom: 30px;
    font-size: 30px;
    font-weight: 500;
    color: red;
}

.inner-container:hover h1 a {
    text-decoration: none;
}

.text {
    font-size: 13px;
    color: #545454;
    line-height: 30px;
    text-align: justify;
    margin-bottom: 40px;
}
*/
.about-section {
    box-sizing: border-box;
    font-family: Helvetica, Arial, sans-serif;
    display: flex;
    flex-wrap: wrap;
    background: url(pipes2.jpeg) no-repeat left;
    background-size: 50%; /* Adjust background size for better fitting */
    background-color: #fdfdfd;
    overflow: hidden;
    padding-left: -500px;
    justify-content: center;
    align-items: center;
}

/* Inner Container Styles */
.inner-container {
    width: 100%;
    background-color: #fdfdfd;
    padding: 20px;
    margin: 0; /* Adjust margin for centering */
    box-sizing: border-box;
    max-width: 900px; /* Added max-width for better control on large screens */
}

.inner-container h1 a {
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 500;
    color: red;
}

.inner-container:hover h1 a {
    text-decoration: none;
}

.text {
    font-size: 14px;
    color: #545454;
    line-height: 1.5;
    text-align: justify;
    margin-bottom: 30px;
}

.about-section img {
    width: 10px;
    visibility: hidden;
}

/* Tablet Styles */
@media screen and (min-width: 768px) {
    .about-section {
        background-size: 45%;
        padding: 100px 0;
    }

    .inner-container {
        width: 55%;
        margin-left: 45%;
        padding: 50px;
    }

    .text {
        font-size: 16px;
    }
}

/* Desktop Styles */
@media screen and (min-width: 1024px) {
    .about-section {
        background-size: 55%;
        padding: 150px 0;
    }

    .inner-container {
        width: 55%;
        margin-left: 45%;
    }

    .inner-container h1 a {
        font-size: 30px;
    }

    .text {
        font-size: 18px;
    }
}

@media screen and (max-width: 1200px) {
    body {
        min-height: 1000px;
    }
} 

/* Mobile Styles */
@media screen and (max-width: 767px) {
    .about-section {
        display: flex;
        flex-direction: column; /* Stack elements vertically */
        background: none; /* Remove the background image */
        padding: 50px 20px;
    }

    .inner-container {
        width: 100%;
        padding: 20px;
        margin-left: 0;
    }

    .inner-container h1 a {
        font-size: 22px;
    }

    .text {
        font-size: 14px;
        line-height: 1.5;
    }

    /* Add the image below the text */
    .about-image {
        width: 100%;
        height: auto;
        margin-top: 20px;
    }
}

/* Extra Small Mobile Devices */
@media screen and (max-width: 667px) {
    .text {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .about-section {
        padding: 30px 10px;
        background: transparent;
        display: none;
    }

    .about-section img {
        visibility: visible;
    }
}


/* Extra Small Mobile Devices */
@media screen and (max-width: 667px) {
    .text {
        font-size: 14px;
        line-height: 1.4;
        width: 100000px;
    }
    
    .about-section {
        padding: 30px 10px;
    }
}






/* Projects Section */
.projects-section {
    margin-top: 5%;
    padding: 4rem 0;
    background-color: #f4f4f4;
}

.projects-section a {
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    background: #ff002f;
    color: #fff;
    margin-top: 25px;
    margin-left: 42%;
    padding: 15px 40px;
    letter-spacing: 1px;
    user-select: none;
}

.projects-section:hover a {
    color: #fff;
}

.container h2 a {
    color: rgb(50, 50, 50);
    background: none;
    margin-left: -4%;
}

.container:hover h2 a {
    color: red;
}

.container h2 span {
    color: red;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-item {
    background-color: #fff;
    border-radius: 8px;
    text-align: center;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
}


.project-item img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}


.project-item h3 {
    font-size: 1.5rem;
    color: #333;
}
.projects-section {
    padding: 60px 20px;
    background-color: #f4f4f4;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.projects-grid .project-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.projects-grid .project-item img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.projects-grid .project-item h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background-color: #fff;
}

form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

form input, form textarea {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button {
    background-color: #333;
    color: #fff;
    padding: 1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #555;
}

/* Footer */
/* Footer Styling */
footer {
    background: #333;
    color: white;
    padding: 40px 20px;
    font-size: 14px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.footer-section {
    padding: 20px;
}

.footer-section h4 {
    color: #f4f4f4;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.footer-section p, .footer-section ul, .footer-section li {
    margin: 0;
    padding: 0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: #fff;
}

.social-icons a i {
    margin-right: 10px;
    font-size: 20px;
    color: tomato;
}

.social-icons img {
    width: 30px;
    height: 30px;
}

.footer-bottom {
    text-align: center;
    margin-top: 100px;
    padding: 10px 0;
    background: #222;
}

.footer-bottom p {
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr; /* Stacks sections on smaller screens */
    }
}


/* Tablet View Adjustments */
@media only screen and (min-width: 768px) and (max-width: 1024px) {

    /* General Tablet Styles */
    body {
        font-size: 16px;
        line-height: 1.5;
        padding: 0 20px;
        width: 100%
    }

    /* Navigation */
    .navi {
        padding: 0 40px;
        margin-top: -70%;
        margin-left: 70%;
    }

    .nav-bar ul {
        flex-direction: row;
        justify-content: space-between;
    }

    .nav-bar ul li a {
        padding: 8px 20px;
        font-size: 14px;
    }

    .hamburger {
        display: none;
    }

    .logo img {
        max-width: 10px;
        margin-top: 100px;
        visibility: hidden;
    }

    /* Hero Section */
    .hero {
        height: 70vh;
        background-size: cover;
        padding: 20px;
    }

    .hero-content h1 {
        font-size: 6rem;
        margin-left: -200px;
        text-align: center;
        margin-left: -50%;
    }

    .hero-content p {
        font-size: 1.8rem;
        margin-left: -200px;
        text-align: left;
    }

    /* Services Section */
    .services-section h1 a {
        font-size: 28px;
        margin-left: 0;
        text-align: center;
    }

    .container1 {
        flex-direction: row;
        justify-content: center;
        padding: 20px;
        gap: 50px;
    }

    .box3 {
        width: 300px;
        height: auto;
        padding: 30px;
    }

    /* Projects Section */
    .projects-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns on tablet */
        gap: 1.5rem;
    }

    .projects-section a {
        margin-left: 35%;
    }

    /* Contact Section */
    form {
        width: 100%;
        max-width: 80%;
    }

    form input, form textarea {
        font-size: 14px;
    }

    /* Footer */
    footer {
        text-align: left;
        padding: 40px;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr); /* Two columns on tablets */
    }

    .social-icons {
        margin-top: 10px;
        text-align: left;
    }

    .footer-bottom {
        margin-top: 50px;
    }
}
/* Mobile View Adjustments */
@media only screen and (max-width: 768px) {
    
    /* General Mobile Styles */
    * {
        max-width: 100vw;
    }
    
    body {
        font-size: 14px;
        line-height: 1.4;
    }

    /* Adjust Navigation */
    .navi {
        flex-direction: column;
        padding: 0 20px;
    }

    .icons {
        margin-left: 0;
    }

    .nav-bar ul {
        flex-direction: column;
        text-align: center;
        margin-top: 10px;
    }

    .nav-bar ul li {
        margin-bottom: 10px;
    }

    .hamburger {
        display: block;
        margin: 0 auto;
    }

    .logo img {
        max-width: 80px;
    }

    /* Hero Section */
    .hero {
        height: 60vh;
        background-size: cover;
        padding: 20px;
    }

    .hero-content h1 {
        font-size: 3rem;
        margin-right: 200000000px;
        text-align: center;
    }

    .hero-content p {
        font-size: 1.2rem;
        margin-left: 0;
        text-align: left;
        margin-right: 200000000px;
    }

    /* Services Section */
    .services-section h1 a {
        font-size: 24px;
        margin-left: 0;
        text-align: center;
    }

    .container1 {
        flex-direction: column;
        padding: 20px;
    }

    .box3 {
        width: 90%;
        height: auto;
        margin: 20px auto;
        padding: 20px;
    }

    /* Projects Section */
    .projects-grid {
        grid-template-columns: 1fr; /* Single column for mobile */
        gap: 1rem;
    }

    .projects-section a {
        margin-left: 0;
        text-align: center;
    }

    /* Footer */
    footer {
        text-align: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section {
        padding: 10px;
    }

    .footer-section ul li {
        margin-bottom: 5px;
    }

    .footer-bottom {
        margin-top: 20px;
    }

    .social-icons a i {
        font-size: 16px;
    }
}

/* Smaller Mobile (less than 480px) */
@media only screen and (max-width: 480px) {

    /* General Adjustments */
    body {
        font-size: 12px;
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* Services Section */
    .services-section h1 a {
        font-size: 18px;
    }

    /* Project and Cards Section */
    .box3 {
        width: 95%;
        padding: 15px;
    }

    .container {
        padding: 15px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .project-item {
        padding: 2rem;
    }

    /* Footer Adjustments */
    .footer-container {
        padding: 0 10px;
    }

    .social-icons a i {
        font-size: 14px;
    }

    .footer-bottom p {
        font-size: 12px;
    }
}/* General Styles */
@font-face {
    font-family: Helvetica;
    src: url(fonts/helvetica-light-587ebe5a59211.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

.heading {
    display: inline-flex;
}


.heading h4 a{
    color: black;
    margin-left: 0;
    padding: 10px;
}

.heading h4 a:hover {
    color: tomato;
}

.icons {
    margin-left: 1200px;
    display: inline-flex;
}

body {
    font-family: Helvetica;
    line-height: 1.6;
    background-color: #f4f4f4;
}

.navi {
    width: 100%;
    height: 40px;
    background: transparent;
    margin-top: -42%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 100px;
}

.logo img{
    max-width: 100px;
}

.hamburger {
    display: none;
}

.nav-bar ul {
    display: flex;
    list-style-type: none;
}

.nav-bar ul li a {
    display: block;
    color: whitesmoke;
    font-size: 12px;
    padding: 10px 25px;
    border-radius: 50px;
    transition: 0.2s;
    margin: 0 5px;
    text-decoration: none;
    font-weight: 600;
}

.nav-bar ul li a:hover {
    color: tomato;
    background: #fefefe;
    font-weight: 600;
}

.nav-bar ul li a.active {
    color: #11101b;
    background: #fefefe;
}

@media only screen and (max-width: 1320px) {
    .navi {
        padding: 0 50px;
    }
}

@media only screen and (max-width: 1100px) {
    .navi {
        padding: 0 30px;
    }
}

@media only screen and (max-width: 900px) {
    .hamburger {
        display: block;
        cursor: pointer;
       /* margin-top: -300px; */
    }
    .hamburger .line {
        width: 30px;
        height: 3px;
        background: #fefefe;
        margin: 6px 0;
    }
    .nav-bar {
        height: 0;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        width: 100vw;
        background: #11101b;
        transition: 0.2s;
        overflow: hidden;
    }
    .nav-bar.active {
        height: 450px;
    }
    .nav-bar ul {
        display: block;
        width: fit-content;
        margin: 80px auto 0 auto;
        text-align: center;
        transition: 0.5s;
        opacity: 0;
    }

    .nav-bar.active ul {
        opacity: 1;
    }

    .nav-bar ul li a {
        margin-bottom: 12px;
        
    }
    .logo {
        margin-left: -40px;
        margin-top: -280px;
    }
}

h2 {
    text-align: center;
    margin: 2rem 0;
    font-size: 2.5rem;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 1rem;
}


/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(dubai.webp);
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
}

.hero-content h1 {
    font-size: 7rem;
    margin-bottom: 1rem;
    margin-left: -1500px;
    color: red;
}

.hero-content p {
    font-size: 2rem;
    margin-bottom: 2rem;
    margin-left: -1500px;
}

.hero-content .P2 {
    font-size: 1.9rem;
    color: red;
}



@media only screen and (max-width: 900px) {
    .hero-content h1 {
        margin-right: -780px;
    }
    .hero-content p {
        margin-right: -780px;
    }
    .hero-content .btn {
        margin-right: -780px;
    }
    
}

.services-section {
    transition: 0.3s;
    font-family: Helvetica;
    width: 100vw;
    height: 900px;
    overflow: hidden;
}

.services-section h1 a {
    font-size: 42px;
    color: #3c3e41;
    margin-left: 600px;
    margin-top: 20px;
    text-decoration: none;
    text-decoration: underline red;
}

.services-section:hover h1 a {
    color: red;
    
}

.services-section h1 span {
    color: red;
}

.container1 {
    width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 50px;
}

.box3 {
    width: 250px;
    height: 550px;
    padding: 50px;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(145deg, #e6e6e6, #ffffff);
    box-shadow: 8px 8px 16px #d1d1d1,
                -8px -8px 16px #ffffff;
    cursor: pointer;
    transition: 0.3s;
}

.box3:hover {
    background: linear-gradient(145deg, #bb0738, #b1153c);
    box-shadow: 8px 8px 16px #d1d1d1,
                -8px -8px 16px #ffffff;
}

.box3 i {
    font-size: 50px;
    color: red;
    margin-top: 10px;
}

.box3:hover i {
    margin-top: 0px;
    color: #fff;

}

.box3 h2 {
    font-weight: 500;
    margin-top: 25px;
}

.box3:hover h2 {
    color: #fff;
}

.box3 p {
    color: grey;
    font-weight: 400;
    margin-top: 25px;
}

.box3:hover p {
    color: #fff;
}

.box3 i .fa .fa-arrow-circle-right {
    font-size: 30px;
    color: red;
    margin-top: 40px;
    display: none;
}

/*About Section */
.about-section {
    box-sizing: border-box;
    font-family: Helvetica;
    display: flex;
    background: url(pipes2.jpeg) no-repeat left;
    background-size: 55%;
    background-color: #fdfdfd;
    overflow: hidden;
    padding: 200px 0;
}

.inner-container {
    width: 55%;
    float: right;
    background-color: #fdfdfd;
    padding: 50px;
    margin-left: 40%;
}

.inner-container h1 a {
    margin-bottom: 30px;
    font-size: 30px;
    font-weight: 500;
    color: red;
}

.inner-container:hover h1 a {
    text-decoration: none;
}

.text {
    font-size: 13px;
    color: #545454;
    line-height: 30px;
    text-align: justify;
    margin-bottom: 40px;
}

/* Projects Section */
.projects-section {
    margin-top: 5%;
    padding: 4rem 0;
    background-color: #f4f4f4;
}

.projects-section a {
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    background: #ff002f;
    color: #fff;
    margin-top: 25px;
    margin-left: 42%;
    padding: 15px 40px;
    letter-spacing: 1px;
    user-select: none;
}

.projects-section:hover a {
    color: #fff;
}

.container h2 a {
    color: rgb(50, 50, 50);
    background: none;
    margin-left: -4%;
}

.container:hover h2 a {
    color: red;
}

.container h2 span {
    color: red;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-item {
    background-color: #fff;
    border-radius: 8px;
    text-align: center;
    padding: 4rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
}


.project-item img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}


.project-item h3 {
    font-size: 1.5rem;
    color: #333;
}


/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background-color: #fff;
}

form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

form input, form textarea {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button {
    background-color: #333;
    color: #fff;
    padding: 1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #555;
}

/* Footer */
/* Footer Styling */
footer {
    background: #333;
    color: white;
    padding: 40px 20px;
    font-size: 14px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.footer-section {
    padding: 20px;
}

.footer-section h4 {
    color: #f4f4f4;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.footer-section p, .footer-section ul, .footer-section li {
    margin: 0;
    padding: 0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: #fff;
}

.social-icons a i {
    margin-right: 10px;
    font-size: 20px;
    color: tomato;
}

.social-icons img {
    width: 30px;
    height: 30px;
}

.footer-bottom {
    text-align: center;
    margin-top: 100px;
    padding: 10px 0;
    background: #222;
}

.footer-bottom p {
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr; /* Stacks sections on smaller screens */
    }
}


/* Tablet View Adjustments */
@media only screen and (min-width: 768px) and (max-width: 1024px) {

    /* General Tablet Styles */
    body {
        font-size: 16px;
        line-height: 1.5;
        padding: 0 20px;
    }

    /* Navigation */
    .navi {
        padding: 0 40px;
        margin-top: -70%;
        margin-left: 70%;
    }

    .nav-bar ul {
        flex-direction: row;
        justify-content: space-between;
    }

    .nav-bar ul li a {
        padding: 8px 20px;
        font-size: 14px;
    }

    .hamburger {
        display: none;
    }

    .logo img {
        max-width: 10px;
        margin-top: 100px;
        visibility: hidden;
    }

    /* Hero Section */
    .hero {
        height: 70vh;
        background-size: cover;
        padding: 20px;
    }

    .hero-content h1 {
        font-size: 6rem;
        margin-left: -200px;
        text-align: center;
        margin-left: -50%;
    }

    .hero-content p {
        font-size: 1.8rem;
        margin-left: -200px;
        text-align: left;
    }

    /* Services Section */
    .services-section h1 a {
        font-size: 28px;
        margin-left: 0;
        text-align: center;
    }

    .container1 {
        flex-direction: row;
        justify-content: center;
        padding: 20px;
        gap: 50px;
    }

    .box3 {
        width: 300px;
        height: auto;
        padding: 30px;
    }

    /* Projects Section */
    .projects-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns on tablet */
        gap: 1.5rem;
    }

    .projects-section a {
        margin-left: 35%;
    }

    /* Contact Section */
    form {
        width: 100%;
        max-width: 80%;
    }

    form input, form textarea {
        font-size: 14px;
    }

    /* Footer */
    footer {
        text-align: left;
        padding: 40px;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr); /* Two columns on tablets */
    }

    .social-icons {
        margin-top: 10px;
        text-align: left;
    }

    .footer-bottom {
        margin-top: 50px;
    }
}
/* Mobile View Adjustments */
@media only screen and (max-width: 768px) {
    
    /* General Mobile Styles */
    * {
        max-width: 100vw;
    }
    
    body {
        font-size: 14px;
        line-height: 1.4;
    }

    /* Adjust Navigation */
    .navi {
        flex-direction: column;
        padding: 0 20px;
    }

    .icons {
        margin-left: 0;
    }

    .nav-bar ul {
        flex-direction: column;
        text-align: center;
        margin-top: 10px;
    }

    .nav-bar ul li {
        margin-bottom: 10px;
    }

    .hamburger {
        display: block;
        margin: 0 auto;
    }

    .logo img {
        max-width: 80px;
    }

    /* Hero Section */
    .hero {
        height: 60vh;
        background-size: cover;
        padding: 20px;
    }

    .hero-content h1 {
        font-size: 3rem;
        margin-right: 200000000px;
        text-align: center;
    }

    .hero-content p {
        font-size: 1.2rem;
        margin-left: 0;
        text-align: left;
        margin-right: 200000000px;
    }

    /* Services Section */
    .services-section h1 a {
        font-size: 24px;
        margin-left: 0;
        text-align: center;
    }

    .container1 {
        flex-direction: column;
        padding: 20px;
    }

    .box3 {
        width: 90%;
        height: auto;
        margin: 20px auto;
        padding: 20px;
    }

    /* Projects Section */
    .projects-grid {
        grid-template-columns: 1fr; /* Single column for mobile */
        gap: 1rem;
    }

    .projects-section a {
        margin-left: 0;
        text-align: center;
    }

    /* Footer */
    footer {
        text-align: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section {
        padding: 10px;
    }

    .footer-section ul li {
        margin-bottom: 5px;
    }

    .footer-bottom {
        margin-top: 20px;
    }

    .social-icons a i {
        font-size: 16px;
    }
}

/* Smaller Mobile (less than 480px) */
@media only screen and (max-width: 480px) {

    /* General Adjustments */
    body {
        font-size: 12px;
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* Services Section */
    .services-section h1 a {
        font-size: 18px;
    }

    /* Project and Cards Section */
    .box3 {
        width: 95%;
        padding: 15px;
    }

    .container {
        padding: 15px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .project-item {
        padding: 2rem;
    }

    /* Footer Adjustments */
    .footer-container {
        padding: 0 10px;
    }

    .social-icons a i {
        font-size: 14px;
    }

    .footer-bottom p {
        font-size: 12px;
    }
}

/* For Tablets and Smaller Desktops (max-width: 768px) */
@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    .hero {
        height: 250px;
        padding: 10px;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
        grid-gap: 10px;
    }
}

/* For Mobile Devices (max-width: 480px) */
@media screen and (max-width: 480px) {
    body {
        font-size: 12px;
    }

    header h1 {
        font-size: 2rem;
    }

    nav ul {
        flex-direction: column;
    }

    .hero {
        height: 200px;
        padding: 10px;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-grid div {
        padding: 15px;
    }

    footer {
        padding: 10px;
        font-size: 0.9rem;
    }
}

/* For Ultra-Wide Screens (min-width: 1600px) */
@media screen and (min-width: 1600px) {
    .container {
        max-width: 1400px;
    }

    .hero {
        height: 500px;
    }

    .hero h2 {
        font-size: 4rem;
    }
}






