/* serenity fonts */
@font-face {
    font-family: "serenity light";
    src: url("../Fonts/Primary_Font/fonnts.com-Serenity_Light.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "serenity bold";
    src: url("../Fonts/Primary_Font/fonnts.com-Serenity_Bold.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}


@font-face {
    font-family: "serenity heavy";
    src: url("../Fonts/Primary_Font/fonnts.com-Serenity_Heavy.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}


@font-face {
    font-family: "serenity medium";
    src: url("../Fonts/Primary_Font/fonnts.com-Serenity_Medium.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}


@font-face {
    font-family: "serenity extralight";
    src: url("../Fonts/Primary_Font/fonnts.com-Serenity_Extra_Light.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}


/* polin fonts */
@font-face {
    font-family: "polin bold";
    src: url("../Fonts/Secondary_Font/Fontspring-DEMO-polin-semibold.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "polin light";
    src: url("../Fonts/Secondary_Font/Fontspring-DEMO-polin-light.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}




*{
    margin: 0;
    padding: 0;
    box-sizing: border-box; ;
}


/**** 1) header ****/

header {
    width: 100%;
    background-color: #E4E1DE;
    height: 120px;
}


.container {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;

    height: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

}

.logo img {
    height: 65px;
    width: auto;
    display: block;
    margin-left: 20px;
}


.nav-links {
    display: flex;
    list-style: none;
    gap: 50px;
    margin-right: 35px;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-size: 18px;
    font-family: "serenity light";
    font-weight: 500;
}

.nav-links a:hover {
    color: #777;
}


.menu-btn {
    display: none;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 32px;
    color: black;
}




@media (max-width: 768px) {

    .navbar {
        display: none;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: #F2F0EF;
    }

    .navbar.active {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
    }

    .nav-links li {
        border-top: 1px solid #ddd;
    }

    .nav-links a {
        display: block;
        padding: 18px;
    }

        .menu-btn {
        display: block;
    }

}


.dropdown {
    position: relative;
}


.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;

    min-width: 180px;

    background-color: #010b2a;

    list-style: none;

    display: none;

    box-shadow: 0 8px 20px rgba(0,0,0,.12);

     z-index: 1000;

    overflow: hidden;
}

.dropdown-menu li a {
    display: block;

    padding: 12px 18px;

    color: white;

    text-decoration: none;

    font-size: 15px;
}

.dropdown-menu li a:hover {
    background-color: #f2f2f2;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.arrow {
    font-size: 15px;
    margin-left: 4px;
}



/**** 2) Banner ****/


.hero {
    
    width: 100%;
    height: 520px; /* You control the banner height */

    background-image: url("../Images/Pages Banners/Material-30.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 768px) { 
    .hero {
        height: 200px;
    }
}




/**** 3) Intro ****/
.intro {
    width: 100%;
    background-color: #010b2a;
    padding: 40px 0;
}

.intro p {
    color: white;
    font-size: 18px;
    font-family: "polin bold";
    line-height: 1.8;
    text-align: center;
}

@media (max-width: 768px) {

    .intro {
        padding: 20px 0;
    }

    .intro p {
        font-size: 8px;
        line-height: 1.6;
    }

}





/**** 4) projects ****/

/*project 1*/
.administrative-projects {

    background-color: #E4E1DE;

    padding: 80px 0;

}


.project1 {

    width: 90%;
    max-width: 1300px;

    margin: 0 auto 100px;

}


.project1-title {

    font-family: "Serenity Heavy";

    font-size: 40px;

    color: #010b2a;

    text-align: left;

    margin-bottom: 20px;

}


.project1-gallery {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 8px;

    margin-bottom: 45px;

}

.project1-gallery img {

    width: 100%;

    height: 400px;      /* Choose the height you want */

    object-fit: cover;  /* Crops the image instead of stretching it */

    transition: transform 0.25s ease;

}

.project1-gallery img:hover {

    transform: scale(1.03);

}


.project1-description {

    max-width: 1400px;

    margin-top: 40px;

}

.project1-description p {

    font-family: "serenity light";

    font-size: 25px;

    color: #010b2a;

    line-height: 1.6;

    margin-bottom: 20px;

}


@media (max-width:768px){

    .administrative-projects{

        padding:50px 0;

    }

    .project1{

        width:92%;

        margin-bottom:70px;

    }

    .project1-title{

        font-size:28px;

        margin-bottom:25px;

    }

    .project1-gallery{

        grid-template-columns: repeat(2, 1fr);

        gap:8px;

        margin-bottom:30px;

    }

    .project1-gallery img {

        height: 150px;

    }




    .project1-description p{

        font-size:17px;

        line-height:1.7;

    }

}



/* project 2*/

.project2{

    width:90%;
    max-width:1300px;

    margin:0 auto 100px;

}

.project2-title{

    font-family:"Serenity Heavy";

    font-size:40px;

    color:#010b2a;

    text-align:left;

    margin-bottom:20px;

}

.project2-subtitle{

    font-family:"serenity medium";

    font-size:30px;

    color:#010b2a;

    text-align:left;

    margin:40px 0 25px;

}

.project2-gallery{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:8px;

    margin-bottom:35px;

}

.project2-gallery img{

    width:100%;

    height: 400px; 

    object-fit:cover;

    transition:transform .2s ease;

}

.project2-gallery img:hover{

    transform:scale(1.03);

}

.project2-description{

    margin-bottom:50px;

}

.project2-description p{

    font-family:"serenity light";

    font-size:25px;

    line-height:1.6;

    color:#010b2a;

    text-align:left;

    margin-bottom:18px;

}

@media (max-width:768px){

    .project2{

        width:92%;

        margin-bottom:70px;

    }

    .project2-title{

        font-size:28px;

    }

    .project2-subtitle{

        font-size:20px;

        margin:30px 0 20px;

    }

    .project2-gallery{

        grid-template-columns:1fr;

        gap:8px;

    }

    .project2-gallery img{

        height:180px;

    }

    .project2-description p{

        font-size:17px;

        line-height:1.7;

    }

}


/* project 3*/

.project3 {

    width: 90%;
    max-width: 1300px;

    margin: 0 auto 100px;

}


.project3-title {

    font-family: "Serenity Heavy";

    font-size: 40px;

    color: #010b2a;

    text-align: left;

    margin-bottom: 20px;

}


.project3-gallery {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 8px;

    margin-bottom: 45px;

}

.project3-gallery img {

    width: 100%;

    height: 400px;      /* Choose the height you want */

    object-fit: cover;  /* Crops the image instead of stretching it */

    transition: transform 0.25s ease;

}

.project3-gallery img:hover {

    transform: scale(1.03);

}


.project3-description {

    max-width: 1400px;

    margin-top: 40px;

}

.project3-description p {

    font-family: "serenity light";

    font-size: 25px;

    color: #010b2a;

    line-height: 1.6;

    margin-bottom: 20px;

}


@media (max-width:768px){

    .administrative-projects{

        padding:50px 0;

    }

    .project3{

        width:92%;

        margin-bottom:70px;

    }

    .project3-title{

        font-size:28px;

        margin-bottom:25px;

    }

    .project3-gallery{

        grid-template-columns: repeat(1, 1fr);

        gap:8px;

        margin-bottom:30px;

    }

    .project3-gallery img {

        height: 150px;

    }




    .project3-description p{

        font-size:17px;

        line-height:1.7;

    }

}





/**** 5) ready ****/

.our-clients{
    background-color: #E4E1DE;
    padding: 70px 0;

}


.ready {

    margin-top: -200px;

    text-align: center;

    max-width: 600px;

    margin-left: auto;
    margin-right: auto;

}


.ready p {

    font-size: 40px;

    line-height: 1.8;

    color: #010b2a;

    font-family: "serenity light";

}


.contact-btn {

    display: inline-block;

    margin-top: 15px;

    padding: 15px 40px;

    background-color: #010b2a;

    color: #E4E1DE;

    text-decoration: none;

    font-family: "serenity extralight";

    font-size: 23px;

    font-weight: 600;

    border-radius: 12px;

    transition: all 0.3s ease;

}


.contact-btn:hover {

    background-color: #243760;

    transform: translateY(-2px);

}




@media (max-width:768px){

    
    .ready {

    margin-top: -120px;

    padding: 0 20px;

    max-width: 400px;
}


.ready p {

    font-size: 22px;

    line-height: 1.7;

}

.contact-btn {

    padding: 12px 30px;

    font-size: 16px;

}

}



/**** 7) footer ****/

.footer-section {

    background-color: #010b2a;

}


footer {

    width: 100%;

    padding: 50px 0 35px 0;

}

.footer-container {

    width: 90%;
    max-width: 1400px;

    margin: 0 auto;
    

    display: flex;
    flex-direction: column;

}

.footer-top {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

}

.footer-logo img {

    width: 80px;
    height: auto;

    display: block;

    margin-top: 40px;

}

.footer-bottom {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-top: 80px;

}

.footer-copyright p {

    color: #E4E1DE;

    font-family: "serenity light";

    font-size: 14px;

    letter-spacing: 0.5px;

}

.footer-social {

    display: flex;

    align-items: center;

    gap: 15px;

}

.footer-social span {

    color: #E4E1DE;

    font-family: "serenity light";

    font-size: 18px;

}

.social-icons {

    display: flex;

    gap: 7px;

}

.social-icons img {

    width: 32px;

    height: 32px;

    display: block;

    transition: transform .3s ease;

}

.social-icons img:hover {

    transform: scale(1.1);

}


.footer-links{

    display: flex;
    flex-direction: column;

    gap: 16px;

    margin-top: 40px;      /* Move links up/down */

    margin-right: 80px;      /* Move links left/right */
}


.footer-links a {

    text-decoration: none;

    color: #E4E1DE;

    font-family: "serenity light";

    font-size: 18px;

    font-weight: 500;

    transition: color 0.3s ease;

}

.footer-links a:hover {

    color: #bdbdbd;

}



@media (max-width:768px){

    footer{
        padding:35px 0;
    }

    .footer-top{

        flex-direction: row;

        justify-content: space-between;

        align-items: flex-start;

    }

    .footer-logo img{

        width:30px;
        margin-top: 15px;
    }

    .footer-links{

        margin-top:0;

        margin-right: 25px;  

        gap:10px;

    }

    .footer-links a{

        font-size:10px;

    }

    .footer-bottom{

        margin-top:30px;

        display:flex;

        justify-content:space-between;

        align-items:center;

    }

    .footer-copyright p{

        font-size:6px;

    }

    .footer-social span{

        font-size:8px;

    }

    .social-icons img{

        width:18px;
        height:18px;

    }

}