/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: #414141;
    background-color: #ffffff;
    line-height: 1.55;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation in Hero */
.hero-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    width: 100%;
    height: 100px;
}

.nav-brand {
    position: absolute;
    top: 47px;
    left: calc(50% - 600px + 16px);
    z-index: 2;
}

.nav-brand a {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    background-color: transparent;
    padding: 0;
    text-decoration: none;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.55;
    width: 170px;
    display: block;
}

.nav-brand a:hover {
    opacity: 0.8;
}

.nav-spacer {
    display: none;
}

.nav-menu-icon {
    position: absolute;
    top: 51px;
    left: calc(50% - 600px + 1135px);
    width: 45px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 4;
}

.nav-menu-icon:hover {
    opacity: 0.8;
    transform: translateX(-10px);
}

.nav-menu-icon svg {
    width: 100%;
    height: 100%;
}

/* Full Screen Menu */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-overlay-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000000;
    opacity: 0.8;
}

.menu-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    height: 100%;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.menu-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    z-index: 10000;
}

.menu-close span {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.menu-close span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-close span:nth-child(2) {
    opacity: 0;
}

.menu-close span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.menu-close span:nth-child(4) {
    display: none;
}

.menu-nav {
    width: 100%;
}

.menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.menu-link {
    font-size: 24px;
    color: #ffffff;
    text-decoration: none;
    font-family: Arial, sans-serif;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem 0;
}

.menu-link:hover {
    opacity: 0.7;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('https://static.tildacdn.net/tild6134-6263-4466-b033-346233336435/bgnd1.jpg');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: left;
    color: #ffffff;
    max-width: 640px;
    padding-left: 2rem;
}

.hero-title {
    font-size: 70px;
    font-weight: 300;
    line-height: 1.15;
    color: #ffffff;
    font-family: 'Roboto', Arial, sans-serif;
}

/* About Section */
.about {
    padding: 150px 0;
    background-color: #ffffff;
}

.section-header {
    margin-bottom: 60px;
    position: relative;
}

.section-label {
    display: block;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    color: #414141;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-family: Arial, sans-serif;
    transform: rotate(270deg);
    position: absolute;
    left: -185px;
    top: 50px;
    white-space: nowrap;
}

.section-title {
    font-size: 45px;
    font-weight: 400;
    line-height: 1.2;
    color: #414141;
    font-family: Arial, sans-serif;
    max-width: 890px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 100px;
    margin-top: 80px;
    position: relative;
}

.about-card {
    position: relative;
    padding: 0;
}

.card-number {
    position: absolute;
    top: -20px;
    right: 0;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 2px;
    color: #c4c4c4;
    font-family: Arial, sans-serif;
}

.card-title {
    font-size: 45px;
    font-weight: 400;
    color: #414141;
    margin-bottom: 20px;
    letter-spacing: 4.4px;
    font-family: Arial, sans-serif;
    line-height: 1.55;
}

.card-divider {
    width: 148px;
    height: 1px;
    background-color: #c4c4c4;
    margin: 20px 0 30px;
}

.card-text {
    font-size: 18px;
    line-height: 1.5;
    color: #414141;
    max-width: 400px;
    font-family: Arial, sans-serif;
    font-weight: 400;
}

/* Image Section */
.image-section {
    height: 700px;
    background-image: url('https://static.tildacdn.net/tild3135-6630-4365-b436-316438343964/thisisengineering-Gz.jpg');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
}

/* Services Section */
.services {
    padding: 150px 0;
    background-color: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 100px;
    margin-top: 60px;
}

.service-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-item {
    padding: 0;
}

.service-title {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: #414141;
    margin-bottom: 15px;
    font-family: Arial, sans-serif;
}

.service-divider {
    width: 100%;
    max-width: 400px;
    height: 1px;
    background-color: #c4c4c4;
    margin-top: 15px;
}

/* Contact Section */
.contact {
    position: relative;
    min-height: 561px;
    padding: 150px 0;
    background-image: url('https://static.tildacdn.net/tild3630-6566-4531-b530-613434653865/bgnd3.jpg');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
}

.contact-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    width: 100%;
}

.contact-info {
    max-width: 667px;
}

.contact-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-family: Arial, sans-serif;
    color: #ffffff;
}

.contact-title {
    font-size: 45px;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 60px;
    font-family: Arial, sans-serif;
    color: #ffffff;
}

.contact-email {
    margin-top: 40px;
    text-align: left;
}

.contact-email a {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 2px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: Arial, sans-serif;
}

.contact-email a:hover {
    opacity: 0.8;
}

.contact-address {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    line-height: 1.8;
    color: #ffffff;
    font-family: Arial, sans-serif;
}

.contact-form-wrapper {
    max-width: 410px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 1.875rem 1rem;
    font-size: 18px;
    font-weight: 400;
    font-family: 'Roboto', Arial, sans-serif;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(181, 181, 181, 1);
    transition: all 0.3s ease;
    height: 75px;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.7);
    background-color: rgba(255, 255, 255, 0.15);
}

.form-submit {
    padding: 1.25rem 2rem;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Roboto', Arial, sans-serif;
    letter-spacing: 2px;
    color: #ffffff;
    background-color: #2e2e2e;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 180px;
    margin-top: 10px;
}

.form-submit:hover {
    background-color: #414141;
}

.form-submit:active {
    transform: translateY(1px);
}

/* Footer */
.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Responsive Design */
@media screen and (max-width: 1199px) {
    .hero-title {
        font-size: 64px;
    }

    .section-title {
        font-size: 42px;
    }

    .contact-title {
        font-size: 42px;
    }

    .section-label {
        left: -194px;
    }

    .about-grid,
    .services-grid {
        gap: 60px;
    }
}

@media screen and (max-width: 1199px) {
    .nav-brand {
        left: calc(50% - 480px + 22px);
    }

    .nav-menu-icon {
        left: calc(50% - 480px + 895px);
    }
}

@media screen and (max-width: 959px) {
    .nav-brand {
        left: calc(50% - 320px + 20px);
    }

    .nav-menu-icon {
        left: calc(50% - 320px + 575px);
    }
}

@media screen and (max-width: 639px) {
    .nav-brand {
        left: calc(50% - 240px + 20px);
    }

    .nav-menu-icon {
        left: calc(50% - 240px + 415px);
    }
}

@media screen and (max-width: 479px) {
    .nav-brand {
        top: 47px;
        left: calc(50% - 160px + 20px);
    }

    .nav-menu-icon {
        top: 51px;
        left: calc(50% - 160px + 255px);
    }
}

    .hero-title {
        font-size: 60px;
    }

    .section-title {
        font-size: 42px;
    }

    .section-label {
        position: static;
        transform: none;
        margin-bottom: 20px;
    }

    .about-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-form-wrapper {
        max-width: 100%;
    }

    .card-title {
        font-size: 36px;
    }

    .about {
        padding: 60px 0;
    }

    .services {
        padding: 60px 0;
    }

    .contact {
        padding: 60px 0;
    }

    .hero {
        background-attachment: scroll;
    }

    .image-section {
        background-attachment: scroll;
    }

    .contact {
        background-attachment: scroll;
    }
}

@media screen and (max-width: 639px) {
    .hero-title {
        font-size: 58px;
    }

    .section-title {
        font-size: 33px;
    }

    .contact-title {
        font-size: 33px;
    }

    .card-title {
        font-size: 36px;
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero-content {
        padding-left: 1.5rem;
    }
}

@media screen and (max-width: 479px) {
    .hero-title {
        font-size: 52px;
    }

    .section-title {
        font-size: 26px;
    }

    .contact-title {
        font-size: 26px;
    }

    .card-title {
        font-size: 36px;
    }

    .container {
        padding: 0 1rem;
    }

    .hero {
        min-height: 572px;
    }

    .image-section {
        height: 500px;
    }

    .about {
        padding: 60px 0;
    }

    .services {
        padding: 60px 0;
    }

    .contact {
        padding: 60px 0;
        min-height: 560px;
    }
}
