

@font-face {
    font-family: 'roboto';
    src: url('./assets/Roboto-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}


body {
    font-family: 'roboto', Arial, sans-serif;
    font-weight: 300;
    color: #333;
    background-color: #f5f5f5;
    margin: 0;
    line-height: 1.5;
    letter-spacing: 0.4px;
}

h1, h2, h3 {
    font-family: Trebuchet MS, sans-serif;
}

a {
    color: black;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.container-service {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 50px;
    text-align: justify;
}

.hero-lang-image {
    position: absolute;
    right: 35px;
    top: 35px;
    display: none; /* Hidden by default */
    z-index: 999;
    transform: rotate(-15deg);
    transition: transform 0.4s ease;
}

.hero-lang-image:hover {
    transform: rotate(15deg); /* Reset the rotation on hover */
}

.hero-lang-image img {
    max-width: 250px;
    height: auto;
}

/* Header */
header {
    background: 
        linear-gradient(90deg, rgba(11, 75, 152, 0.8), rgba(14, 100, 206, 0.6)), 
        url('assets/BANNER.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo h1 {
    color: #fff;
    font-size: 2rem;
    text-decoration: none;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    width: 50px;
    height: auto;
    margin-right: 10px;
}

.logo a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}


nav ul {
    list-style: none;
    display: flex;
    gap: 2em;
}

nav ul li a {
    color: #fff;
    font-weight: bold;
}

/* Hide the menu-toggle button on larger screens */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
}


/* Hero Section */
.hero {
    background: url('assets/3c.webp') no-repeat center center/cover;
    padding: 120px 0;
    color: #fff;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(11, 75, 152, 0.6), rgba(11, 75, 152, 0.1));
}

.hero-text {
    position: relative;
    z-index: 1;
    max-width: 500px;
    margin-left: 50px;
    text-align: left;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-text a {
    text-decoration: none;
}

.cta-button {
    display: inline-block;
    margin-top: 20px;
    background: linear-gradient(#f1ed19, #ffd700);
    color: #0b4b98;
    padding: 12px 24px;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05) translateX(5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* WhatsApp Button */
.whatsapp-button {
    display: inline-block;
    margin-top: 20px;
    background: linear-gradient(#25D366, #22ba5a);
    color: #fff;
    padding: 12px 24px;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-button i {
    margin-right: 8px;
    font-size: 1.3rem;
}

.whatsapp-button:hover {
    transform: scale(1.05) translateX(5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.contactlast {
    background: linear-gradient(#f1ed19, #ffd700);
    color: #0b4b98;
    padding: 7px 12px;
    border-radius: 2px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contactlast:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Services Overview */
#services-overview {
    padding: 60px 0;
    background: 
        linear-gradient(90deg, rgba(245, 245, 245, 0.8), rgba(255, 255, 255, 0.6)), 
        url('assets/FOOTER.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-detail {
    background: 
        linear-gradient(90deg, rgba(245, 245, 245, 0.8), rgba(255, 255, 255, 0.6)), 
        url('assets/FOOTER.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    line-height: 1.6;
}

#services-overview h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size:xx-large;
}

.service-description {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
}


.service-description a {
    text-decoration: none;
    color: inherit;
    flex: 1 1 calc(25% - 40px);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 310px;
}

.service-description i {
    display: block;
    margin-bottom: 10px;
    font-size: 2rem;
    color: #0055aa;
}


/* Style the div inside the anchor tag */
.service-description div {
    background-color: #fff;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 2px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.service-description a:hover div {
    transform: scale(1.00) translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Force equal heights for all items */
.service-description div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}


.service-description h3 {
    margin-bottom: 10px;
}

.service-description p {
    color: #666;
}





/* About Us */
#about {
    padding: 60px 0;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.8)), 
        url('assets/s2.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#about h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size:xx-large;
}

.about-content {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.about-content.reverse {
    flex-direction: row-reverse;
}

/* Text Section */
.about-text {
    flex: 1 1 60%;
    max-width: 600px;
}

.about-text h3 {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    margin-top: 30px;
    color: #0b4b98;
    font-weight: normal;
    letter-spacing: 0.2px;
}

.about-text h3 i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.about-text p {
    font-size: 17px;
    text-align: justify;
    margin-bottom: 40px;
    color: #333;
    margin-right: 20px;
}

/* Image Section */
.about-images {
    flex: 1 1 35%;
    justify-content: center;
    height: 400px;
    width: auto;
}

.about-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-bottom-left-radius: 0px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.reverse img {
    border-top-right-radius: 0px;
}

.reverse p {
    margin-right: 0px;
    margin-left: 20px;
}




/* Activity Map */
#activity-map {
    padding: 60px 0;
    background: 
        linear-gradient(135deg, rgba(245, 246, 247, 0.8), rgba(255, 255, 255, 0.3)), 
        url('assets/s2.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#activity-map h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size:xx-large;
}

#activity-map h3 {
    font-size:x-large;
    font-weight: lighter;
    color: #0b4b98;
}

.activity-text {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    text-align: justify;
    color: #333;
}

.activity-text p {
    margin: 20px;
    font-size: 17px;
}

/* Contact Section */
#contact {
    padding: 60px 0;
    background: 
        linear-gradient(135deg, rgba(245, 246, 247, 0.8), rgba(255, 255, 255, 0.9)), 
        url('assets/BANNER.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#contact a {
    text-decoration: none;
}

#contact h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size:xx-large;
}

#contact p {
    text-align: center;
    line-height: 1.8;
}

/* Footer */
footer {
    background: 
        linear-gradient(90deg, rgba(11, 75, 152, 0.8), rgba(14, 100, 206, 0.6)), 
        url('assets/FOOTER.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: #fff;
    padding-top: 40px;
    padding-bottom: 10px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 1 1 30%;
    margin-bottom: 20px;
}

.footer-section h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

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

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

.footer-section ul li a {
    color: #fff;
}

.footer-section p,
.footer-section a {
    color: #fff;
}

footer p {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
}


/* Quote Form Section */
#quote-form {
    padding: 60px 0;
    background-color: #f9f9f9;
}

#quote-form h2 {
    text-align: center;
    color: #0b4b98;
    margin-bottom: 20px;
    font-size: 2rem;
}

/* Form Container */
#quote-form .container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

/* Form Group Styling */
#quote-form .form-group {
    margin-bottom: 20px;
}

#quote-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

#quote-form .form-group input,
#quote-form .form-group select,
#quote-form .form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    color: #333;
    background-color: #f5f5f5;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#quote-form .form-group input:focus,
#quote-form .form-group select:focus,
#quote-form .form-group textarea:focus {
    border-color: #0b4b98;
    box-shadow: 0 0 5px rgba(11, 75, 152, 0.5);
    outline: none;
}

/* Textarea Styling */
#quote-form .form-group textarea {
    resize: vertical;
}

/* Button Styling */
#quote-form button[type="submit"] {
    display: inline-block;
    width: 100%;
    background-color: #0b4b98;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#quote-form button[type="submit"]:hover {
    background-color: #0e64ce;
    box-shadow: 0 4px 10px rgba(14, 100, 206, 0.5);
}



/* Projects Section */
.projects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.project-card {
    width: calc(33.333% - 20px);
    box-sizing: border-box;
    background-color: #fff;
    border: 1px solid #ddd;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.view-project {
    background-color: #f1f1f1;
    padding: 6px;
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.view-project:hover {
    background-color: #ddd;
    color: #0055aa;
    text-decoration: none;
}


/* Slider */
.project-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
    width: 100%;
}

.slide {
    display: none;
    width: 100%;
}

.slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -20px;
    padding: 8px;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    background-color: rgba(0,0,0,0.5);
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
}

/* Project Info */
.project-info {
    padding: 15px;
}

.project-info h3 {
    margin: 0 0 10px;
}

.project-type {
    font-weight: bold;
    color: #555;
    margin-bottom: 10px;
}

.project-description {
    color: #666;
    line-height: 1.5em;
    max-height: 4.5em; /* 1.5em * 3 lines */
    overflow: hidden;
    position: relative;
}

.project-description::after {
    content: '';
    text-align: right;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70%;
    height: 1.5em;
    background: linear-gradient(to right, transparent, white 50%);
}

/* Project page */

.slider-wrapper-page {
    position: relative;
    width: 100%;
}

.slide-page {
    display: none;
    width: 100%;
}

.slide-page img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    
}

.project-page-name {
    font-size: 2rem;
    font-weight: bold;
    color: #0055aa;
    margin-top: 20px;
}

/* Project Type */
.project-page-type {
    font-size: 1.2rem;
    color: #666;
    margin: 10px 0;
    font-style: italic;
}

/* Project Description */
.project-page-description {
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
    margin-top: 20px;
    text-align: justify;
}



@media screen and (max-width: 900px) {
    .project-card {
        width: calc(50% - 20px);
    }

    .service-description a {
        flex: 1 1 calc(48% - 40px);
    }

    .service-description i {
        font-size: 4rem;
    }
}

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

    .hero-lang-image {
        right: 20px;
        top: 20px;
    }
    
    .hero-lang-image img {
        max-width: 120px;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
    }

    /* Hide the navigation menu by default */
    nav {
        display: none;
    }

    /* When nav-open class is added, display the navigation menu */
    nav.nav-open {
        padding: 15px;
        display: block;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: #fff;
        z-index: 1000;
        height: calc(100vh - 70px);
    }

    nav ul {
        flex-direction: column;
        margin: 0;
        margin-left: 20px;
        padding: 0;
    }

    nav ul li {
        margin: 0;
    }

    nav ul li a {
        padding: 10px;
        padding-bottom: 15px;
        border-bottom: 1px solid #ddd;
        color: #333;
    }

    /* Adjust logo and container */
    header .container {
        align-items: center;
        justify-content: space-between;
    }

    .logo {
        flex: 1;
    }
    
/* END PHONE NAV */
}



/* Responsive Design */
@media (max-width: 768px) {
    .project-page-name {
        font-size: 1.8rem;
    }

    .project-page-type {
        font-size: 1rem;
    }

    .project-page-description {
        font-size: 0.9rem;
    }

    .service-description div {
        flex: 1 1 100%;
    }

    .footer-nav {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        flex: 1 1 100%;
        text-align: center;
    }

    .hero-text {
        max-width: 290px;
    }
    
    .hero-text h2 {
        max-width: 290px;
    }

    .hero::after {
        background: linear-gradient(90deg, rgba(11, 75, 152, 0.7), rgba(11, 75, 152, 0.5));
    }
}

/* Responsive Design */
@media (max-width: 600px) {
    #quote-form .container {
        padding: 20px;
    }

    #quote-form h2 {
        font-size: 1.8rem;
    }

    #quote-form button[type="submit"] {
        font-size: 1rem;
    }

    .project-card {
        width: 100%;
    }

    .service-description a {
        flex: 1 1 calc(100% - 40px);
    }

    .service-description i {
        font-size: 5rem;
    }

    .about-images {
        flex: 1 1 100%;
        justify-content: center;
        height: 400px;
        width: auto;
    }

    .about-content {
        display: flex;
        flex-direction: column;
        gap: 20px;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 40px;
    }
    
    .about-content.reverse {
        flex-direction: column;
    }
    
    /* Text Section */
    .about-text {
        flex: 1 1 100%;
        /* max-width: 600px; */
    }
}