body {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
}


/* Common */
section {
    position: relative;
    width: 100%;
    padding: 20px 0;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

/* projects section */
.card,
#projects .card {
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(34, 34, 34, 0.08); /* Subtle border */
    box-shadow: 0 4px 12px rgba(0, 0, 10, 0.05); /* Softer shadow */
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15); /* Stronger shadow on hover */
    border-color: rgba(52, 50, 50, 0.2); /* Slightly darker border on hover */
}

.card-img-top,
#projects .card-img-top {
    width: 100%;
    height: 120px;
    object-fit: contain;
    /* background-color: #f9f9f9; */
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    padding: 15px;
    transition: transform 0.3s ease;
    border-radius: 0.5rem;
}

.hover-zoom:hover .card-img-top {
    transform: scale(1.05);
}

.card-body,
#projects .card-body {
    padding: 0.5rem;
}

.card-title,
#projects .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.card-text,
#projects .card-text {
    font-size: 0.9rem;
    color: #555;
}

#projects .hover-zoom {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    will-change: transform;
}

#projects .hover-zoom:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    z-index: 2;
    position: relative;
}

/* footer section */
.footerContact a {
    text-decoration: unset !important;
    color: unset !important;
}

.footerContact li {
    padding: 0.4rem 0 !important;
}

.footerContact li i {
    padding-right: 0.5rem !important;
}

#footer ul li {
    list-style: none;
}

#footer ul {
    padding-left: 0rem;
}

.footerSocial li {
    display: inline;
}

.footerSocial .social-icon {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 45px;
    line-height: 45px;
    margin: 0 6px;
    border-radius: 50%;
    background: #6d6868;
    color: #f1f1f1;
    text-align: center;
    font-size: 22px;
    transition: all 0.3s ease;
    overflow: visible;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.footerSocial .social-icon i {
    font-size: 22px;
    transition: 0.3s ease;
}

.footerSocial .social-icon:hover {
    color: #fff;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footerSocial .social-icon:hover i {
    font-size: 25px;
}

.footerSocial .social-icon .label {
    position: absolute;
    bottom: 100%;
    /* shows above the icon */
    left: 50%;
    transform: translateX(-50%);
    background: #3b3838;
    color: #fff;
    padding: 0px 8px;
    border-radius: 4px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    z-index: 10;
}

.footerSocial .social-icon:hover .label {
    opacity: 1;
    bottom: 140%;
}

/* Individual hover colors */
.footerSocial .facebook:hover {
    background-color: #3b5998;
}

.footerSocial .instagram:hover {
    background: radial-gradient(
        circle at 30% 107%,
        #fdf497 0%,
        #fd5949 45%,
        #d6249f 60%,
        #285aeb 90%
    );
}

.footerSocial .linkedin:hover {
    background-color: #0077b5;
}

.footerSocial .youtube:hover {
    background-color: #ff0000;
}

.footerSocial .twitter:hover {
    background-color: #1da1f2;
}

.footerSocial .github:hover {
    background-color: #333;
}

/* Company location map button [right modal] */
.modal.modal-right .modal-dialog {
    position: fixed;
    right: 0;
    margin: 0;
    height: 100%;
    max-width: 100%;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
}

.modal.modal-right.show .modal-dialog {
    transform: translateX(0);
}

.modal-dialog.modal-slide-right {
    margin: 0;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100%;
    max-width: 500px;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
}

.modal.fade.show .modal-dialog.modal-slide-right {
    transform: translateX(0);
}