* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
        "header"
        "main"
        "footer";
    height: 100vh;
    background-color: #f4f6f7;
    font-family: system-ui;
}

.header {
    grid-area: header;
    background-color: white;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
    color: #626d79;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    height: 70px;
    width: 82.6px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: #626d79;
    font-size: 1rem;
    transition:
        color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        font-weight 0.2s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    color: #626d79;
    font-weight: 700;
    transform: scale(1.08);
}


.navbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #626d79;
    cursor: pointer;
}

.lang-icon {
    height: 30px;
    width: 30px;
    object-fit: contain;
}

/******************************dropdownlist***************************************/
.language-dropdown {
    position: absolute;
    top: 55px;
    right: 3px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 8px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1001;
    width: 150px;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    cursor: pointer;
}

.language-option:hover {
    background-color: #f0f0f0;
}

.menu-icon {
    display: none;
    height: 45px;
    width: 45px;
    cursor: pointer;
}

.main {
    grid-area: main;
}

.hero-section {
    width: 100%;
    height: 60vh;
    background-image: url('../images/nosrealisation.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    padding: 0 50px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0.9;
}

.cta-button {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: white;
    color: #333;
}

/* Projects Section */
.projects-section {
    background-image: url('../images/background_building.png');
    background-size: contain;
    background-position: left;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 40px 0;
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);
    z-index: 1;
}

.projects-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    height: auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 80px;
    height: 100%;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 350px;
}

.project-image-container {
    overflow: hidden;
    position: relative;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.project-content {
    padding: 3px 25px 7px 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-content h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.project-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1rem;
}

.project-btn {
    background-color: transparent;
    color: #202e4e;
    border: 2px solid #202e4e;
    padding: 7px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    text-decoration: none;
}

.project-btn:hover {
    background-color: #202e4e;
    color: white;
}

.footer {
    grid-area: footer;
    background-color: #f4f6f7;
    padding: 40px 20px 20px 20px;
    font-size: 0.9rem;
    border-top: 1px solid #ddd;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-section {
    background-color: #efefef;
    border-radius: 15px;
    padding: 15px;
    flex: 1;
    min-width: 280px;
}

.logo-section {
    text-align: center;
}

.footer-logo {
    width: 100%;
    height: 90%;

}


.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #626d79;
}

.contact-item .icon {
    font-size: 1.2rem;
    width: 25px;
}

.footer-section h4 {
    color: #0d223a;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: bold;
    position: relative;
    padding-left: 15px;
}

.footer-section h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #000000;
    border-radius: 2px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #626d79;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section ul li a:hover {
    color: #0d223a;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

.hours-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hours-info p {
    color: #626d79;
    margin: 0;
    font-size: 0.85rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.footer-bottom p {
    color: #626d79;
    margin: 0;
    font-size: 0.85rem;
}

@media only screen and (max-width: 480px) {

    .language-dropdown {
        top: 402%;
        left: 4%;
    }

    .lang-text {
        position: relative;
        padding-left: 7px;
        bottom: 10px;
    }

    .nav-links li {
        margin-top: 10px;
    }

    .navbar-right {
        display: none;
        background-color: white;
        position: absolute;
        top: 245px;
        left: 0;
        width: 100%;
        padding: 0px 30px 17px 30px;
        z-index: 10;

    }

    .slide img {
        height: 350px;
    }

    .nav-links {
        display: none;
        background-color: white;
        gap: 20px;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 0px 30px 17px 30px;
        z-index: 10;

    }

    .nav-links.active,
    .navbar-right.active {
        display: block;
        z-index: 10;
    }

    .menu-icon {
        display: block;
    }

    .navbar {
        position: relative;
    }

    /* Hero Section Responsive */
    .hero-section {
        height: 50vh;
        padding: 0 20px;
        justify-content: center;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Projects Section Responsive */
    .project-content p {
        color: #666;
        margin-bottom: 10px;
        line-height: 1.6;
        font-size: 1rem;
    }

    .project-btn {
        padding: 5px 20px;
        font-size: 0.8rem;
    }

    .projects-section {
        padding: 20px 0;
        background-attachment: scroll;
        min-height: 100vh;
    }

    .projects-container {
        padding: 20px 15px;
        max-width: 100%;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
    }

    .project-card {
        height: 300px;
    }

    .project-image-container {
        overflow: hidden;
        position: relative;
    }

    .project-content {
        padding: 20px;
    }

    .project-content h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
}

@media only screen and (max-width: 363px) {
    .project-content p {
        color: #666;
        margin-bottom: 10px;
        line-height: 1.6;
        font-size: 1rem;
    }

    .project-btn {
        padding: 6px 20px;
        font-size: 0.8rem;
    }

}

@media only screen and (max-width: 582px) and (min-width: 480px) {
    .language-dropdown {
        top: 402%;
        left: 2%;
    }


    .lang-text {
        position: relative;
        padding-left: 7px;
        bottom: 10px;
    }

    .nav-links li {
        margin-top: 10px;
    }

    .navbar-right {
        display: none;
        background-color: white;
        position: absolute;
        top: 245px;
        left: 0;
        width: 100%;
        padding: 0px 30px 17px 30px;
        z-index: 10;

    }

    .slide img {
        height: 350px;
    }

    .nav-links {
        display: none;
        background-color: white;
        gap: 20px;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 0px 30px 17px 30px;
        z-index: 10;

    }

    .nav-links.active,
    .navbar-right.active {
        display: block;
        z-index: 10;
    }

    .menu-icon {
        display: block;
    }

    .navbar {
        position: relative;
    }

    .project-content p {
        color: #666;
        margin-bottom: 10px;
        line-height: 1.6;
        font-size: 1rem;
    }

    .project-btn {
        padding: 8px 20px;
        font-size: 0.8rem;
    }

    .projects-section {
        padding: 20px 0;
        background-attachment: scroll;
        min-height: 100vh;
    }

    .projects-container {
        padding: 20px 15px;
        max-width: 100%;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
    }

    .project-card {
        height: 300px;
    }

    .project-image-container {
        height: 150px;
    }

    .project-content {
        padding: 20px;
    }

    .project-content h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
}


@media only screen and (max-width: 652px) and (min-width: 582px) {
    .language-dropdown {
        top: 402%;
        left: 2%;
    }


    .lang-text {
        position: relative;
        padding-left: 7px;
        bottom: 10px;
    }

    .nav-links li {
        margin-top: 10px;
    }

    .navbar-right {
        display: none;
        background-color: white;
        position: absolute;
        top: 245px;
        left: 0;
        width: 100%;
        padding: 0px 30px 17px 30px;
        z-index: 10;

    }

    .slide img {
        height: 350px;
    }

    .nav-links {
        display: none;
        background-color: white;
        gap: 20px;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 0px 30px 17px 30px;
        z-index: 10;

    }

    .nav-links.active,
    .navbar-right.active {
        display: block;
        z-index: 10;
    }

    .menu-icon {
        display: block;
    }

    .navbar {
        position: relative;
    }

    /* Hero Section Responsive */
    .hero-section {
        height: 55vh;
        padding: 0 30px;
        justify-content: center;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 18px;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 28px;
    }

    .cta-button {
        padding: 11px 28px;
        font-size: 0.95rem;
    }

    /* Projects Section Responsive */
    .projects-section {
        padding: 30px 0;
        background-attachment: scroll;
        min-height: 100vh;
    }

    .projects-container {
        padding: 30px 20px;
        max-width: 600px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 25px;
    }

    .project-card {
        height: 320px;
    }

    .project-image-container {
        overflow: hidden;
        position: relative;
    }

    .project-content {
        padding: 22px;
    }

    .project-content h3 {
        font-size: 1.3rem;
    }

    .project-content p {
        font-size: 0.95rem;
    }

    .project-btn {
        padding: 9px 22px;
        font-size: 0.85rem;
    }

}


@media only screen and (min-width: 652px) and (max-width: 768px) {
    .language-dropdown {
        top: 402%;
        left: 2%;
    }

    .lang-text {
        position: relative;
        padding-left: 7px;
        bottom: 10px;
    }

    .nav-links li {
        margin-top: 10px;
    }

    .navbar-right {
        display: none;
        background-color: white;
        position: absolute;
        top: 245px;
        left: 0;
        width: 100%;
        padding: 0px 30px 17px 30px;
        z-index: 10;

    }

    .slide img {
        height: 350px;
    }

    .nav-links {
        display: none;
        background-color: white;
        gap: 20px;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 0px 30px 17px 30px;
        z-index: 10;

    }

    .nav-links.active,
    .navbar-right.active {
        display: block;
        z-index: 10;
    }

    .menu-icon {
        display: block;
    }

    .navbar {
        position: relative;
    }

    /* Hero Section Responsive */
    .hero-section {
        height: 58vh;
        padding: 0 40px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
        margin-bottom: 20px;
    }

    .hero-content p {
        font-size: 1.15rem;
        margin-bottom: 30px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }

    /* Projects Section Responsive */
    .projects-section {
        padding: 40px 0;
        min-height: 100vh;
    }

    .projects-container {
        max-width: 700px;
        padding: 35px 20px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 25px;
    }

    .project-card {
        height: 330px;
    }

    .project-image-container {
        overflow: hidden;
        position: relative;
    }

    .project-content h3 {
        font-size: 1.3rem;
    }

    .project-content p {
        font-size: 0.95rem;
    }

    .project-btn {
        padding: 9px 22px;
        font-size: 0.85rem;
    }
}