@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');

* {
    font-family: 'Montserrat', sans-serif;
}

body {
    background: #f1fbff;
}

.section-padding {
    padding: 100px 0;
}

.carousel-item {
    height: 100vh;
    min-height: 300px;
}

.carousel-caption {
    bottom: 220px;
    z-index: 2;
}

.carousel-caption h5 {
    font-size: 45px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 25px;
}

.carousel-caption p {
    width: 60%;
    margin: auto;
    font-size: 18px;
    line-height: 1.9;
}

.carousel-inner:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.navbar .getstarted {
    background: #106eea;
    margin-left: 30px;
    border-radius: 4px;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    padding: .5rem 1rem;
    line-height: 2.3;
}

.navbar-nav a {
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 500;
}


ul li:hover ul.dropdown{
    display: block;
}

.navbar-light .navbar-brand {
    color: #000;
    font-size: 25px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
}

.navbar-light .navbar-brand:focus,
.navbar-light .navbar-brand:hover {
    color: #000;
}

.navbar-light .navbar-nav .nav-link {
    color: #000;
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
    color: #000;
}

.w-100 {
    height: 100vh;
}

.navbar-toggler {
    padding: 1px 5px;
    font-size: 18px;
    line-height: 0.3;
    background: #fff;
}

.portfolio .card {
    box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.15);
}

.team .card {
    box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.15);
}

.services .card-body i {
    font-size: 40px;
}

/* Flexbox styles specific to the services section */
.services-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Adjust the gap size as needed */
}

.services-col {
    flex: 1 0 calc(33.333% - 20px); /* Adjust the 20px to match the gap size */
    box-sizing: border-box;
}

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    margin-bottom: 30px; /* Ensure equal spacing between cards */
}

.service-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.service-card p.lead {
    flex-grow: 1;
}

.dropdown li {
    display: block;
}

.dropdown li a{
    text-decoration: none;
    color: #fff;
    display: block;
}
.dropdown{
    width: 100%;
    position: absolute;
    background-color: gray;
    z-index: 999;
    display: none;
}




@media (max-width: 768px) {
    .services-col {
        flex: 1 0 calc(50% - 10px); /* Two columns on smaller screens */
    }
}

@media (max-width: 576px) {
    .services-col {
        flex: 1 0 calc(100% - 10px); /* One column on the smallest screens */
    }
}

/* Team section styles */
.team .card-body img {
    width: 150px; /* Adjust as needed */
    height: 150px; /* Adjust as needed */
    object-fit: cover; /* Ensures the image covers the dimensions without stretching */
    border-radius: 50%; /* Makes the image round */
}

.team .card-body i {
    font-size: 20px;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .carousel-caption {
        bottom: 370px;
    }

    .carousel-caption p {
        width: 100%;
    }

    .card {
        margin-bottom: 30px;
    }

    .img-area img {
        width: 100%;
    }
}

@media only screen and (max-width: 767px) {
    .navbar-nav {
        text-align: center;
    }

    .carousel-caption {
        bottom: 125px;
    }

    .carousel-caption h5 {
        font-size: 17px;
    }

    .carousel-caption a {
        padding: 10px 15px;
        font-size: 15px;
    }

    .carousel-caption p {
        width: 100%;
        line-height: 1.6;
        font-size: 12px;
    }

    .about-text {
        padding-top: 50px;
    }

    .card {
        margin-bottom: 30px;
    }
}



.portfolio .card {
    width: 100%;
    max-width: 320px; /* Set a fixed width for all cards */
    height: 450px; /* Set a fixed height for all cards */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 10px auto; /* Add vertical margin for spacing between cards */
    box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.15);
}

.portfolio .img-area {
    height: 200px; /* Set a fixed height for the image area */
    display: flex;
    justify-content: center;
    align-items: center;
}

.portfolio .img-area img {
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
}

.portfolio .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.portfolio .card-body .card-title {
    margin: 10px 0;
    font-size: 1.2em;
}

.portfolio .card-body .lead {
    flex-grow: 1;
}

.portfolio .card-body .btn {
    align-self: center;
    margin-top: 10px;
}

@media (min-width: 992px) {
    .portfolio .col-lg-3 {
        display: flex;
        justify-content: center;
    }
}

/* Additional responsive adjustments if needed */
@media (max-width: 767px) {
    .portfolio .card {
        margin: 15px 0; /* Increase the margin for smaller screens if needed */
    }
}




/* Team card styling */
.team .card {
    box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px; /* Space between cards */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Make sure cards have the same height */
}

.team .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.team .card-body img {
    width: 150px; /* Ensure the image is a consistent size */
    height: 150px; /* Ensure the image is a consistent size */
    object-fit: cover; /* Ensure the image maintains its aspect ratio */
    border-radius: 50%; /* Make the image circular */
    margin: auto; /* Center the image */
}

.team .card-body h3 {
    margin-top: 20px;
}

.team .card-body p.socials {
    margin-top: auto; /* Push socials to the bottom */
}

.team .card-body .socials a {
    font-size: 1.5rem; /* Adjust as needed */
    margin: 0 10px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .team .col-lg-3 {
        flex: 1 0 calc(50% - 10px); /* Two columns on smaller screens */
        margin-bottom: 30px; /* Ensure consistent spacing between rows */
    }
}

@media (max-width: 576px) {
    .team .col-lg-3 {
        flex: 1 0 calc(100% - 10px); /* One column on the smallest screens */
        margin-bottom: 30px; /* Ensure consistent spacing between rows */
    }
}

/* Additional spacing between rows */
.team .row {
    margin-bottom: 30px; /* Adjust this value to control space between rows */
}



