@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@100..900&family=Lora:ital,wght@0,400..700;1,400..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --default-font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Roboto", sans-serif;
    --nav-font: "Poppins", sans-serif;

    --background-color: #f3f3f3;
    --default-color: #34bf49;
    --black: #000000;
    --dark-mint: #064635;
    --haki-mint: #668363;
    --white: #ffffff;
    --icons: #333;
    --linkedin: #0077B5;
    --facebook: #4267B2;

    scroll-behavior: smooth;
}

body {
    font-family: "Lora", serif !important;
    font-optical-sizing: auto !important;
    font-style: normal !important;
    overflow-x: hidden !important;
}

/* HEADER STARTED */
.header {
    background-color: var(--background-color);
    color: var(--default-color);
}

.mca-logo {
    color: var(--default-color);
}

.fa-bars {
    color: var(--default-color);
}

#navbar .text-decoration-none {
    color: var(--default-color);
}

.about-dropdown-menu .dropdown-item {
    color: var(--default-color);
}

.english-dropdown .dropdown-item {
    color: var(--default-color);
}

.offcanvas-title {
    color: var(--default-color);
}

.border-links {
    border-bottom: 1px solid #cccccc;
    width: 210px;
}

.border-links .dropdown-item {
    width: 100%;
    color: var(--default-color);
}

.offcanvas-right {
    color: var(--default-color);
    text-decoration: none;
}

#offcanvasRight .dropdown-menu {
    transform: none !important;
}

/*HEADER FINISHED*/

/*ABOUT STARTED*/
.about .about-img {
    width: 100%;
    height: 100vh;
    object-position: center
}

.overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--default-color);
    opacity: 0;
    transition: all 0.5s;
}

.about .overlay {
    opacity: 1;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
}

.about .about-text .green-future {
    line-height: 1.3;
    color: var(--default-color);
}

.green-future span {
    color: var(--background-color);
}

.about .about-text p {
    line-height: 1.5;
    color: var(--background-color);
    max-width: 720px;
}

div.hr {
    width: 80px;
    border: 3px solid var(--haki-mint);
    margin: 10px 0;
}

.read-more {
    background-color: var(--background-color);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    display: inline-block;
    font-weight: 600;
    font-size: 18px;
    padding: 0 18px;
    line-height: 50px;
    text-align: center;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    transition: all .5s;
}

.read-more .about-read-more {
    text-decoration: none;
    color: var(--default-color);
    transition: color 0.5s;
}

.read-more:hover .about-read-more {
    color: var(--dark-mint);
}

/*ABOUT FINISHED*/

/* MISSIONS STARTED */

.missions .nav-link {
    color: var(--default-color);
    padding: 15px 0;
    transition: 0.3s;
    border-radius: 0;
    display: flex;
    align-items: center;
    text-align: center;
    cursor: pointer;
    height: 100%;
    border: 0;
}

.missions .nav-link i {
    padding-right: 15px;
    font-size: 48px;
}

.missions .nav-link h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.missions .nav-link:hover {
    color: var(--dark-mint);
    border-color: var(--haki-mint);
}

.missions .nav-link.active {
    background-color: var(--background-color);
    color: var(--default-color);
    border-color: var(--dark-mint);
}

.missions .tab-content {
    margin-top: 30px;
}

.missions .tab-pane h3 {
    color: var(--dark-mint);
    font-weight: 700;
    font-size: 32px;
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.missions .tab-pane h3:after {
    content: "";
    position: absolute;
    display: block;
    width: 60px;
    height: 3px;
    background: var(--default-color);
    left: 0;
    bottom: 0;
}

.missions .tab-pane ul {
    list-style: none;
    padding: 0;
}

.missions .tab-pane ul li {
    padding-top: 10px;
}

.missions .tab-pane ul i {
    font-size: 20px;
    padding-right: 4px;
    color: var(--haki-mint);
}

.missions .tab-pane p:last-child {
    margin-bottom: 0;
}

.missions-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.missions-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

.missions-img img:last-child {
    margin: 20% 0 0 40%;
}

.missions-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid var(--dark-mint);
    z-index: -1;
}

/* MISSIONS FINISHED */

/*SERVICES STARTED*/
.service-card .card {
    height: 100%;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.service-card .card-body {
    height: 100%;
    flex-grow: 1;
}

.card-body{
    height: 450px !important;
}

.service-card .service-details {
    height: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.services .our-service,
.service-icon {
    color: var(--default-color);
    letter-spacing: 1px;
}

.perfect-solution {
    color: var(--dark-mint);
}
/*Service-details*/
.service-details-section .nav-tab {
    font-weight: bold;
    border-color: transparent;
    border-bottom: 2px solid var(--default-color);
}

.service-details-section .service-title {
    font-weight: bold;
    font-size: 24px;
}

.service-details-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: start;
}

.service-details-card .service-card-content {
    width: 50%;
    padding-right: 15px;
}

.service-details-card .service-card-images {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    object-fit: cover;
}

.service-details-card .service-description {
    font-size: 16px;
    color: var(--haki-mint);
    font-style: italic;
}

.service-details-card .service-card-images img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    object-position: center;
}

/*SERVICES FINISHED*/

/* LICENSES AND CERTIFICATES STARTED */

.licenses-certificates {
    width: 80%;
    margin: 80px auto;
    overflow: hidden;
    position: relative;
}

.licenses-certificates-slider {
    display: flex;
    gap: 2%;
    transition: transform 0.5s ease;
}

.licenses-certificates-slider .box {
    flex: 0 0 24%;
    height: 250px;
    border-radius: 5px;
    background: var(--background-color);
    text-align: center;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--dark-mint);
    text-decoration: none;
}

.licenses-certificates-slider .box img {
    min-width: 100%;
    height: 80%;
    margin-bottom: 10px;
}

/* Next And Prev Buttons */
.licenses-certificates .slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0);
    color: #fff;
    border: none;
    padding: 15px;
    cursor: pointer;
    z-index: 10;
    font-size: 24px;
    border-radius: 50%;
}

.licenses-certificates .prev {
    left: 0px;
}

.licenses-certificates .next {
    right: 0px;
}

/* LICENSES AND CERTIFICATES FINISHED */

/* LICENSES AND CERTIFICATES DETAIL STARTED */
.license-detail h3 {
    color: var(--default-color);
    text-transform: capitalize;
}

.license-detail .card-body table tr th,
.license-detail .card-body table tr td {
    color: var(--dark-mint) !important;
}

/* LICENSES AND CERTIFICATES DETAIL FINISHED */

/*PROJECTS STARTED*/
.project-card {
    display: flex;
    flex-direction: row;
    height: 300px;
}


.project-card .card {
    flex: 1;
}


.card-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-title {
    padding: 20px 0;
    background-color: var(--background-color);
}

.text-dark-mint {
    color: var(--dark-mint);
}

.text-haki-mint {
    color: var(--haki-mint);
}

.img-card {
    position: relative;
    overflow: hidden;
}

.card-img-top {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.img-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.img-card:hover .overlay {
    opacity: 1;
}

.plus-icon {
    font-size: 32px;
    color: var(--background-color);
    transition: transform 0.3s ease;
    font-weight: bold;
}

.img-card:hover .plus-icon {
    transform: scale(1.2);
}

.card {
    border-radius: 15px;
    background-color: var(--background-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-content {
    padding: 15px;
}

.card-read-more {
    margin-top: 10px;
}

.scroll-top {
    position: fixed;
    z-index: 100;
    bottom: 50px;
    right: 20px;
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top i {
    font-size: 40px;
    color: var(--dark-mint);
    transition: all .5s;
}

.scroll-top i:hover {
    color: var(--default-color);
}

#toggle-btn {
    pointer-events: auto;
}

.modal-body {
    padding: 0;
}

/*project-details*/

.project-details-section .nav-tab {
    font-weight: bold;
    border-color: transparent;
    border-bottom: 2px solid var(--default-color);
}

.project-details-section .project-title {
    font-weight: bold;
    font-size: 24px;
}

.project-details-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: start;
}

.project-details-card .project-card-content {
    width: 50%;
    padding-right: 15px;
}

.project-details-card .project-card-images {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    object-fit: cover;
}

.project-details-card .project-description {
    font-size: 16px;
    color: var(--haki-mint);
    font-style: italic;
}

.project-details-card .project-card-images img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    object-position: center;
}

/*PROJECTS FINISHED*/

/* TEAMS START */
.teams-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 50px;
    color: var(--default-color);
}

.teams-text {
    color: var(--dark-mint);
}

.profile-card {
    background-color: var(--haki-mint);
    border-radius: 50px;
    padding: 20px;
    text-align: center;
    max-width: 300px;
    margin: 0 auto;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-card h5 {
    margin-top: 15px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
}

.profile-card h6 {
    font-size: 1rem;
    color: var(--dark-mint);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: var(--icons);
    font-size: 18px;
    transition: color 0.3s ease;
}

.social-icon.github:hover {
    color: var(--black);
}

.social-icon.linkedin:hover {
    color: var(--linkedin);
}

.social-icon.facebook:hover {
    color: var(--facebook);
}

/* TEAMS FINISH */

/*CONTACT STARTED*/
.contact {
    margin: 20px 0;
}

.contact .info-item {
    background-color: var(--white);
    padding: 20px 0 30px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

.contact .info-item i {
    font-size: 24px;
    color: var(--default-color);
    width: 56px;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 2px dotted color-mix(in srgb, var(--default-color), transparent 40%);
    transition: all 0.3s ease-in-out;
}

.contact .info-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 10px 0;
    color: var(--dark-mint);
}

.contact .info-item a {
    display: block;
    text-decoration: none;
    margin-bottom: 0;
    font-size: 14px;
    color: var(--default-color);
}

.contact .php-email-form {
    background-color: var(--white);
    height: 100%;
    padding: 30px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}


.contact .php-email-form input[type="text"],
.contact .php-email-form input[type="email"],
.contact .php-email-form textarea {
    font-size: 14px;
    padding: 10px 15px;
    border-radius: 0;
    color: var(--default-color);
    background-color: var(--white);
    border-color: var(--default-color);
}

.contact .php-email-form input:focus {
    border-color: var(--default-color);
}

.contact .php-email-form input::placeholder,
.contact .php-email-form textarea::placeholder {
    color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type="submit"] {
    color: var(--default-color);
    background: var(--white);
    border: 1px solid var(--default-color);
    padding: 10px 30px;
    border-radius: 50px;
    transition: 0.4s;
}

.contact .php-email-form button[type="submit"]:hover {
    background: color-mix(in srgb, var(--default-color), transparent 20%);
}

/*CONTACT FINISHED*/

/*FOOTER STARTED*/
.footer {
    background-color: var(--background-color);
    padding: 40px 0;
}

.footer .footer-about .sitename {
    color: var(--default-color);
    font-size: calc(1.325rem + .9vw);
}

.footer-about{
    max-width: 28% !important;
}

.footer-contact address {
    color: var(--dark-mint);
    font-size: 18px;
}

.footer .footer-about .footer-contact p {
    margin: 0;
}

.footer-contact strong {
    color: var(--default-color);
    font-size: 18px;
}

.footer-contact span {
    color: var(--dark-mint);
    font-size: 18px;
}

.footer .social-links a {
    color: var(--dark-mint);
    border: 1px solid var(--dark-mint);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    margin-right: 10px;
    text-decoration: none;
}

.footer .social-links a:hover {
    color: var(--default-color);
    border-color: var(--default-color);
}

.footer-links .shortcut-titles {
    color: var(--default-color);
}

.footer .footer-contact a, .footer .footer-links ul a {
    color: var(--dark-mint);
    transition: color 0.3s;
    text-decoration: none;
    font-size: 18px;
}

.footer .footer-contact a:hover, .footer .footer-links ul a:hover {
    color: var(--default-color);
}

.foot-about {
    text-align: center;
}

.foot-about h2 {
    color: var(--default-color);
}

.foot-about p {
    font-size: 16px;
    color: var(--dark-mint);
}

.footer .mcas{
    text-decoration: none;
}

.sitename {
    font-family: Arial, sans-serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
    margin-bottom: 25px;
    color: var(--default-color);
}

.footer .copyright {
    border-top: 1px solid #ccc;
    padding-top: 15px;
    color: var(--dark-mint);
}

.footer .jugaad{
    display: inline-block;
    text-decoration: none;
    font-size: 22px;
    color: var(--default-color);
    transition: transform 0.5s ease;
}

.footer .jugaad:hover {
    animation: shake 0.5s ease;
}

/*FOOTER FINISHED*/

/*RESPONSIVE*/
/*header start*/
@media screen and (max-width: 768px) {
    #navbar {
        display: none !important;
    }
}

@media screen and (min-width: 768px) {
    .btn-light {
        display: none !important;
    }

    .dropdown-item:hover {
        color: var(--dark-mint) !important;
    }

    .dropdown-item:active {
        background-color: var(--default-color) !important;
        color: var(--white) !important;
    }
}

/*header finished*/

/*ABOUT STARTED*/
@media (min-width: 768px) {
    .read-more {
        min-width: 120px;
        padding: 0 25px;
    }
}

@media (max-width: 1900px) {
    .about .about-img {
        object-position: center;
        object-fit: cover;
    }
}

@media (max-width: 425px) {
    .about img {
        width: 100%;
        height: calc(25vw + 33rem) !important;
        object-position: center
    }

    .about .overlay {
        height: calc(25vw + 33rem);
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 1;
    }
}

/*ABOUT FINISHED*/

/*SERVICES STARTED*/
@media (max-width: 1200px){
    div.show-button{
        margin-top: 55px !important;
    }
}
@media (max-width: 768px) {
    #service-cards {
        justify-content: center;
    }

    #service-cards .col-sm-6 {
        margin-bottom: 5px;
    }

    #service-cards .col-sm-6:not(:last-child) {
        margin-right: 5px;
    }
}

/*SERVICES FINISHED*/

/* Missions STARTED */
@media (max-width: 575px) {
    .missions .nav-link h4 {
        font-size: 16px;
    }
}
@media (max-width: 768px) {
    li.mission-border-li,ul.mission-border-ul, a.mission-border{
        display: block !important;
    }

    li.mission-border-li{
        max-width: 100%;
    }

    .nav-link.active{
        border-color: #dee2e6 #dee2e6 #dee2e6 !important;
        border-bottom-left-radius: .25rem;
        border-bottom-right-radius: .25rem;
    }
    .nav-link:last-child.active{
        border-color: #dee2e6 #dee2e6 #fff !important;
    }
}

/* Missions FINISH */

/*PROJECT STARTED*/

@media (max-width: 876px) {
    .project-details-card {
        display: flex;
        flex-direction: column;
        object-position: center;
    }

    .project-details-card .project-card-images {
        width: 70%;
    }

    .project-details-card .project-card-content {
        width: 80%;
    }
}

@media (max-width: 576px) {
    .fixed-image {
        object-fit: cover;
    }
}

/*PROJECTS FINISHED*/
/*FOOTER STARTED*/

@media (max-width: 992px) {
    
    .footer-row {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .footer-row{
        justify-content: center;
    }
    
    .footer-about {
        max-width: 70% !important;
        text-align: left;
    }
    .footer-links{
        max-width: 30% !important;
    }
    .foot-about{
        max-width: 80% ;
    }
    .foot-about h2 {
        text-align: center;
    }
}


@media (max-width: 576px) {
    .footer-row{
        flex-direction: column;
        justify-content: center;
    }
    
    .footer-about {
        max-width: 100% !important;
        text-align: center;
    }
    .footer-about .logo{
        display: block !important;
    }
    .social-links{
        justify-content: center;
    }
    .footer-links{
        max-width: 100% !important;
        text-align: center;
    }
    .foot-about{
        max-width: 70% ;
    }
    .foot-about h2 {
        text-align: center;
    }
}

@keyframes shake {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    50% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
    100% { transform: rotate(0deg); }
}
