/* Reset and global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #222;
    background-color: #fff;
    line-height: 1.6;
}
img {
    width: 20rem;
    height: 20rem;
    display: block;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}

/* Reusable button */
.btn {
    background-color: #000;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}
.btn:hover {
    background-color: #444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.nav-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 40px;
    background-color: rgba(26, 26, 26, 0.9);;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
}


.logo img {
    height: 90px;
    width: auto;
}

.nav-bar {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-bar ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-bar ul li {
    cursor: pointer;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-bar ul li:hover {
    color: #e6cf4f;
}

.btn {
    padding: 10px 20px;
    background-color: #fff;
    border: none;
    color: black;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #010101;
    color: #fff;
}

.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
}

/*Hero section*/
.hero-section {
    position: relative;
    padding: 7rem 2rem 0rem 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: white;
    overflow: hidden;
}

/* Blurred background image */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-image: url('bcaf26da004348a33ff2770b25f704a8.jpg'); /* Make sure this path is correct */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(3px);
    transform: scale(1.1); /* Slight zoom to avoid blur edge */
    z-index: -1;
}

/* Ensure text content stays sharp and visible */
.hero-section > div {
    position: relative;
    z-index: 1;
}

.hero-section::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay */
    z-index: -1;
}

.hero-section h1 {
    font-size: 40px;
    font-weight: 700;
    word-spacing: -5px;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section h3 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 20px;
    z-index: 999;
}

.hero-section h2 {
    font-size: 28px;
    font-weight: 700;
    width: 800px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-section p {
    font-size: 15px;
    line-height: 1.8;
    color: #fff;
    max-width: 700px;
    margin-bottom: 30px;
}

.hero-section .btn {
    padding: 12px 28px;
    background-color: #cec9c9;
    color: #000;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.hero-section .btn:hover {
    background-color: #e6cf4f;
}


/*About section*/
.about {
    position: absolute;
    top: 220px;
    left: 70%;
    max-width: 350px;
    background-color: #111;
    color: #fff;
    /*border-radius: 12px;*/
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
    margin: 0 auto;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-note {
    padding: 20px;
    text-align: left;
}

.about-note h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.about-note h3 {
    font-size: 16px;
    margin-bottom: 8px;
    width: 200px;
}

.about-note p {
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 20px;
}

.icons {
    display: flex;
    gap: 70px;
}

.icons img {
    width: 25px;
    height: 25px;
    /*filter: brightness(0) invert(1);*/
    cursor: pointer;
    transition: transform 0.2s ease;
}

.icons img:hover {
    transform: scale(1.2);
}

/*Service section*/
.service-image {
    width: 100vw;
    height: 140vh;
    overflow: hidden;
    
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service {
    padding: 120px 60px 130px 60px;
    background-color: #fff;
    font-family: 'Segoe UI', sans-serif;
    color: #111;
}

/*.service::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-image: url('bcaf26da004348a33ff2770b25f704a8.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(5px);
    z-index: -1;
}*/

.service > div {
    position: relative;
    z-index: 1;
}

.service::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay */
    z-index: -1;
}

.service h3:first-child {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 10px;
}

.service h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
}

.service-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.service-item {
    background: #fff;
    padding: 20px 0;
    border-left: 1px solid #eee;
}

.service-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-item p {
    font-size: 14px;
    line-height: 1.7;
    color: #000;
}

.view-all-services {
    text-align: right;
    margin-top: -60px;
    margin-bottom: 40px;
    margin-right: 20px;
}

.view-all-services a {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.view-all-services a:hover {
    border-bottom: 1px solid #333;
}

.image-row{
    display: none;
}

/*Project section*/
.projects {
    width: 100%;
    min-height: 50vh;
    padding: 80px 60px;
    box-sizing: border-box;
    background-color: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', sans-serif;
}

.project-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
}

.project-item {
    flex: 1;
    max-width: 500px;
}

.project-item h3 {
    text-transform: uppercase;
    color: #888;
    font-size: 14px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.project-item h2 {
    font-size: 36px;
    margin: 0 0 20px;
    color: #111;
}

.project-item p {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 30px;
}

.view-all a {
    color: #111;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px solid #111;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.view-all a:hover {
    color: #000;
    border-color: #000;
}

.project-image {
    flex: 1;
    max-width: 600px;
}

.project-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}


.view-all a:hover {
    border-bottom: 1px solid #333;
}

/*Contact section*/
.contact {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    padding: 80px 60px;
    box-sizing: border-box;
    background-color: #f9f9f9;
    min-height: 90vh;
    font-family: 'Segoe UI', sans-serif;
}

.contact > div:first-child {
    flex: 1;
}

.contact > div:first-child h3 {
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.contact > div:first-child h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #111;
}

.contact > div:first-child p {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
}

.contact > div:last-child {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form input,
form textarea {
    width: 100%;
    padding: 15px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    resize: none;
    font-family: inherit;
}

form textarea {
    min-height: 120px;
}

form .btn {
    padding: 14px 20px;
    font-size: 15px;
    background-color: #111;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.3s ease;
}

form .btn:hover {
    background-color: #333;
}

.contact-details p {
    display: flex;
    gap: 10px;
    font-size: 17px;
    color: #333;
    margin: 6px 0;
}

.contact-details img{
    width: 35px;
    height: 35px;
}

.big img{
    width: 25px;
    height: 25px;
}

.contact-details a {
    color: #0073e6;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

/*Footer*/
.footer-content {
    background-color: #222;
    color: white;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    padding: 1rem 2rem;
}

.footer-content .social-icons {
    display: flex;
    gap: 1rem;
}

.footer-content .social-icons img {
    width: 30px;
    height: 30px;
}






/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-section h2 {
        width: 100%;
        font-size: 36px;
    }

    .about {
        position: static;
        margin: 2rem auto 0 auto;
        max-width: 90%;
    }

    .service {
        padding: 50px 30px 20px 30px;
    }

    .projects {
        padding: 60px 30px;
    }

    .contact {
        flex-direction: column;
        padding: 60px 30px;
        gap: 40px;
    }

    .contact > div:first-child,
    .contact > div:last-child {
        width: 100%;
    }

    .project-container {
        flex-direction: column;
    }

    .project-image,
    .project-item {
        max-width: 100%;
    }

    .nav-bar ul {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .nav-panel {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.5rem;
    }

    .nav-bar {
        flex-direction: column;
        width: 100%;
        display: none;
    }

    .nav-bar.show {
        display: flex;
        flex-direction: column;
    }

    .nav-bar ul {
        flex-direction: column;
        width: 100%;
    }

    .hamburger {
        display: block;
        position: absolute;
        left : 315px;
        top: 8px;
        font-size: 50px;
        color: #fff;
    }

    .hero-section {
        margin: 0;
        padding: 0;
        align-items: center;
        text-align: center;
    }

    .hero-section h2 {
        font-size: 32px;
    }

    .hero-section p {
        font-size: 16px;
    }

    .service-container {
        grid-template-columns: 1fr;
    }

    .service-image{
        display: none;
    }

    .image-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .image-item img{
        height: auto;
        border-radius: 8px;
        object-fit: cover;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .icons {
        gap: 40px;
        justify-content: center;
    }

    .project-container {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-section h2 {
        font-size: 28px;
    }

    .hero-section p {
        font-size: 15px;
        width: 400px;
    }

    .btn, 
    .hero-section .btn, 
    form .btn {
        padding: 10px 16px;
        font-size: 14px;
    }

    form input,
    form textarea {
        font-size: 14px;
        padding: 12px;
    }

    .contact {
        padding: 40px 20px;
    }

    .service h2,
    .project-item h2,
    .contact > div:first-child h2 {
        font-size: 28px;
    }

    .about-note h2 {
        font-size: 18px;
    }

    .about-note p {
        font-size: 13px;
    }

    .logo img {
        height: 60px;
    }
}

