﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
    font-family: 'poppins-regular', sans-serif;
}

@font-face {
    font-family: 'poppins-bold';
    src: url('../fonts/Poppins-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'poppins-italic';
    src: url('../fonts/poppins-italic.ttf') format('truetype');
}

@font-face {
    font-family: 'poppins-regular';
    src: url('../fonts/poppins-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'poppins-semibold';
    src: url('../fonts/Poppins-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'poppins-light';
    src: url('../fonts/Poppins-Light.ttf') format('truetype');
}

.navbar-dark .navbar-nav .nav-link {
    color: #ccc;
    transition: color 0.3s ease;
}

    .navbar-dark .navbar-nav .nav-link:hover {
        color: #fff;
    }


nav {
    background-color: #16325B;
    font-family: poppins-regular;
}

    nav a {
        color: aliceblue !important;
        font-weight: 500;
        transition: color 0.3s ease, transform 0.3s ease;
    }

        nav a:hover {
            color: #f0f0f0;
            transform: scale(1.05);
            font-family: poppins-semibold;
        }

    nav > div > img {
        height: 55px;
        width: auto;
        transition: all 0.3s ease-in-out;
    }

@media (max-width: 768px) {
    nav > div > img {
        height: 45px;
    }

    #footerLogo {
        height: 30px;
        width: 70px;
    }
}

#bannerCredential {
    font-family: poppins-bold;
    font-size: larger;
}

#welcome {
    background-image: url('img/banner.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 5%;
    color: white;
    font-family: poppins-semibold;
}

    #welcome h1 {
        font-family: poppins-bold;
    }

.about-section {
    background: #f8f9fa;
    min-height: 100vh;
    position: relative;
}

.image-wrapper {
    position: relative;
    display: inline-block;
}

.about-image {
    z-index: 2;
    position: relative;
    width: 100%;
    max-width: 400px;
}

.color-block {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background-color: #2E5077;
    border-radius: 20px;
    z-index: 1;
}

.vision-section {
    background: #f7f8fc;
    min-height: 100vh;
    position: relative;
}

.vision-image-wrapper {
    position: relative;
    display: inline-block;
}

.vision-image {
    z-index: 2;
    position: relative;
    width: 100%;
    max-width: 400px;
}

.yellow-block {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100%;
    height: 100%;
    background-color: #ffc107;
    border-radius: 30px;
    z-index: 1;
}

.half-circle-deco {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 50px;
    height: 25px;
    background-color: #4caf50;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    z-index: 3;
}

.wave-line {
    position: absolute;
    bottom: -20px;
    right: -10%;
    width: 60px;
    height: 4px;
    background: repeating-linear-gradient( 45deg, #009688, #009688 10px, #ffffff 10px, #ffffff 20px );
    z-index: 3;
}

#services {
    background-color: #2E5077;
}

    #services .nav-pills .nav-link {
        color: #495057;
        background-color: #ccc;
        border-left: 4px solid transparent;
        text-align: left;
        font-weight: 500;
        padding: 10px 15px;
        border-radius: 0;
        transition: all 0.3s ease-in-out;
        box-shadow: none;
    }

        #services .nav-pills .nav-link:hover {
            background-color: #f1f1f1;
            border-left: 4px solid #6c757d;
        }

        #services .nav-pills .nav-link.active {
            background-color: #e9ecef;
            color: #212529;
            border-left: 4px solid #0d6efd;
            font-weight: 600;
        }

    #services .tab-content {
        background-color: #16325B;
        border-radius: 10px;
        box-shadow: 0 0 15px rgba(0,0,0,0.05);
        padding: 20px;
    }

    #services ul {
        padding-left: 20px;
    }

    #services li {
        margin-bottom: 6px;
    }

/* Responsive adjustments */
@media (max-width: 767.98px) {
    #services .row {
        flex-direction: column;
    }

    #services .nav-pills {
        flex-direction: row !important;
        overflow-x: auto;
    }

    #services .nav-link {
        white-space: nowrap;
        flex: 1 0 auto;
        margin-bottom: 5px;
    }

    #services .tab-content {
        margin-top: 20px;
    }
}

#liServices li {
    font-family: poppins-light;
}

#projects {
    padding: 6rem 2rem;
    font-family: poppins-regular;
    background-color: darkslategray;
    color: aliceblue;
}

    #projects h2 {
        font-family: poppins-semibold;
    }

.project-card img {
    height: 200px;
    object-fit: cover;
}

.project-card .card-body {
    font-size: 0.875rem;
}

.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: poppins-light;
    font-size: 10px;
}

    .project-card:hover {
        transform: scale(1.2);
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    }

#contact {
    background-image: url('img/contactbg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 5rem 2rem;
    color: aliceblue;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    color: black;
}

footer {
    background-color: #22384F;
    color: white;
    padding: 5rem 20px;
    font-family: poppins-light;
}

    footer ul {
        list-style: none;
        padding: 0;
    }

        footer ul li {
            margin-bottom: 8px;
        }

section {
    width: 100%;
    margin: 0;
}

#footer {
    font-size: 12px;
    font-family: poppins-light;
    text-decoration: none;
    padding: 5rem 0;
}

#footerLogo {
    height: 50px;
    width: 110px;
}
