.navbar-nav .nav-link {
    font-size: 1.2rem;
    font-weight: 500;
    color: #111 !important;
}

.navbar-nav .nav-link:hover {
    color: #4232c2 !important; 
}

.recent-work-header {
    text-align: right;
}

.recent-work-content {
    opacity: 0;
    transition: 0.3s;
    transform: translateY(20px);
    text-align: center;
    width: 100%;
    padding: 10px 15px;
}

.recent-work .recent-work-vertical {
    background: none !important;
}

.recent-work .recent-work-vertical:hover {
    background: rgba(66, 50, 194, 0.7) !important;
}

.recent-work-vertical:hover .recent-work-content {
    opacity: 1;
    transform: translateY(0);
}

.recent-work img {
    height: 320px;
    width: 100%;
    object-fit: contain;
    background-color: #f6f9fe; /* fills empty space */
    transform: scale(0.9);
}

.recent-work.card {
    height: 100%;
    padding: 10px;
    width: 100%;
}

.recent-work-content h3,
.recent-work-content p {
    color: white !important;
}

section {
    scroll-margin-top: 100px;
}

.about-text {
    text-align: justify;
    text-indent: 50px;
}

.about-img {
    padding-left: 100px;
}

.modal-content {
    border-radius: 12px;
}

.modal-body p {
    text-align: justify;
    line-height: 1.6;
}

.modal-desc {
    text-align: justify;
    line-height: 1.6;
}

.modal-img {
    max-height: 220px;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.modal-points {
    padding-left: 18px;
}

.modal-points li {
    margin-bottom: 6px;
}

.logo-img {
    max-height: 70px;
    object-fit: contain;
    transition: 0.3s;
    opacity: 0.85;
}

.logo-img:hover {
    transform: scale(1.1);
    opacity: 1;
}

.section-heading {
    margin-bottom: 20px;
    margin-top: 10px;
}

.himconnect-images {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    align-items: center;
}

.himconnect-images img {
    width: 50%;
    height: 250px;
    object-fit: cover;
}

.service img {
    transition: 0.3s ease;
}

.service-work:hover img {
    transform: scale(1.05);
}

.service-work img {
    transition: 0.3s ease;
}

.service-work:hover img {
    transform: scale(1.05);
}

.service-work-vertical {
    background: transparent !important;
    opacity: 1 !important;
}

.service-work-vertical.card-img-overlay {
    background: transparent !important;
}

.service-work:hover .service-work-vertical {
    background: transparent !important;
}

.gallery-heading::after {
    width: 110px;
}

.team-img {
    width: 190px;
    height: 190px;
    object-fit: cover;
    border-radius: 50%;
    padding: 6px;
    background: #f3f4f6;
    transition: 0.3s;
}

.team-img:hover {
    transform: scale(1.08);
}

.team-role {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

.team-extra {
    font-size: 13px;
    color: #9aa0a6;
    margin: 0;
    line-height: 1.4;
}

.work-link:hover {
    text-decoration: underline;
}

.about-text {
    font-size: 2rem;
    line-height: 1.3;
}

#about p,
#himconnect p {
    color: #222 !important;
    text-align: justify;
}

#himconnect p.light-300,
#ecosystem p.light-300 {
    color: #1a1a1a  !important;
}

#about .row {
    padding-top: 30px !important;
    padding-bottom: 5px !important;
}

#about h1 {
    margin-top: 0;
    margin-bottom: 15px;
}

#index_banner h1 {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

#index_banner p {
    margin-top: 15px;
    font-size: 1.2rem;
    line-height: 1.3;
}

#index_banner .typo-space-line::after {
    bottom: -10px;
}

/* HERO UNDERLINE WHITE */
#index_banner .typo-space-line::after {
    border-bottom: 5px solid white !important;
}

/* HERO TEXT FIX */
#index_banner h1,
#index_banner p,
#index_banner strong {
    color: white !important;
}

/* BUTTON FIX */
#index_banner .btn {
    color: white !important;
    border-color: white !important;
}

#index_banner .btn:hover {
    background-color: white !important;
    color: #4232c2 !important;
}

/* ARROWS */
#index_banner .carousel-control-prev i,
#index_banner .carousel-control-next i {
    color: white !important;
}

/* INDICATOR DOTS */
#index_banner .carousel-indicators li {
    background-color: white !important;
}

#work .row > div {
    margin-bottom: 20px;
    display: flex;
}

#work .work-heading::after {
    right: 0;
    left: auto;
    width: 100px;
    bottom: -6px;
}

#work .row {
    display: flex;
    flex-wrap: wrap;
}

/* REMOVE ANY EXTRA UNDERLINES IN WORK SECTION */
#work::after,
#work .container::after,
#work .row::after {
    display: none !important;
    content: none !important;
}

#himconnect p {
    font-size: 1.05rem;
    line-height: 1.5;
}

#collaborations h1::after {
    width: 120px;   
}

#ecosystem .row {
    align-items: center;
}

#ecosystem p {
    max-width: 100%;
    line-height: 1.6;
    width: 100%;
    color: #222;
    text-align: justify;
}

#gallery {
    scroll-margin-top: 120px;
}

#gallery h1::after {
    width: 110px;
}

#gallery .service img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

#gallery .project {
    display: flex;
}

/* TARGET LAST 10 GALLERY ITEMS ONLY */
#gallery .project:nth-last-child(-n+10) .service-work {
    height: 280px;
}

/* MAKE THEIR IMAGES FILL THE BOX */
#gallery .project:nth-last-child(-n+10) img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

#team .row:first-child {
    margin-bottom: 30px;
}

#contact .work-link {
    color: white !important;
    text-decoration: none !important;
}

#contact .work-link:hover {
    color: #ddd !important;
    transition: 0.2s;
}