
/* Old Font -Font family override if reverting
.primary-font, #primary-font {
    font-family: "Poppins", sans-serif !important;
}*/
/* Font family override */
body, .primary-font, #primary-font {
    font-family: "Poppins", sans-serif !important;
}

/* Apply Poppins to all headings and text elements */
h1, h2, h3, h4, h5, h6, p, a, li, span, div, button, input, textarea, label {
    font-family: "Poppins", sans-serif !important;
}

/* Remove img-thumbnail background */
.img-thumbnail {
    background-color: transparent !important;
}

/* Hero thumbnail size */
#hero .img-thumbnail {
    max-width: 1000px !important;
    width: 100% !important;
    height: auto !important;
}

/* Navbar brand - scale everything together */
.navbar-brand {
    transform: scale(1.7);
    transform-origin: left center;
}


/* Partners scrolling banner */
.partners-banner {
    padding-top: 1rem;   /* Increased from 10rem by 20% */
    padding-bottom: 9rem;  /* Decreased from 10rem by 5% */
    background: transparent;
    overflow: hidden;
}

.partners-banner h3 {
    margin-bottom: 3rem;
    color: var(--text-secondary-color) !important;  /* Added this line */
}

/* ... rest of your partners CSS stays the same ... */

.scroll-wrapper {
    overflow: hidden;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 8.7rem;
    width: max-content;
    animation: scroll 13s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.logo-container div {
    display: inline-block;
    cursor: default;
    position: relative;
}

.logo-container img {
    height: 69px !important;
    max-height: 69px !important;
    width: auto !important;
    max-width: 276px !important;
    min-height: unset !important;
    display: block;
    object-fit: contain;
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important;
    transition: filter 0.3s ease, opacity 0.3s ease !important;
}

.logo-container div:hover img {
    filter: none !important;
    opacity: 1 !important;
}

/* approach section - contact layout with hero text styling */

#approach .subtitle {
    font-size: clamp(14px,5vw,16px);
    opacity: 0.6;
}

#approach h1 {
    font-size: clamp(40px, 8vw, 80px);
    color: var(--primary-color) !important;
}

#approach p {
    opacity: 0.8;
}

#approach .btn {
    transition: none;
    transition: opacity 0.3s;
    border-radius: .5rem !important;
    border-color: var(--primary-color) !important;
    background-color: var(--secondary-color) !important;
    color: var(--text-color) !important;
}

#approach .btn:hover {
    opacity: .7;
}

#approach .btn:focus {
    box-shadow: none !important;
}

/* Remove styling from About Me image - flat appearance */

#about .image img {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    transition: none !important;
    border-radius: 0 !important;
}

#about .image img:hover {
    box-shadow: none !important;
    transform: none !important;
}

/* Increase font size in approach section */

#hero p {
    font-size: 1.7rem;  /* Adjust this value as needed */
    margin: 20px 0px 0px;
    max-width: 640px;
    opacity: 0.5 !important;
}

#approach p {
    font-weight: 500;
    opacity: 0.9 !important;
    line-height: 1.7rem !important;
}


#approach h1 {
    font-size: 2.3rem !important;  /* Adjust these values as needed */
    color: var(--primary-color) !important;
}

/* Add padding to approach section - match about section margin */

#approach {
    padding-top: 5rem !important;
    padding-bottom: 1rem !important;  /* Reduced from 5rem to decrease space before projects */
}

/* Mobile-only: left align paragraph content in approach section */
@media (max-width: 767px) {
    #approach p {
        text-align: left !important;
    }
}

/* Mobile-only: left align content in contact section */
@media (max-width: 767px) {
    #contact .text-center {
        text-align: left !important;
    }
    /* Keep title centered - it's outside .text-center div */
    #contact > .container > h3 {
        text-align: center !important;
    }
    /* Keep button centered */
    #contact .text-center .btn {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
    }
    
    /* Hero content paragraph less bold on mobile */
    #hero .content p {
        font-weight: 400 !important;
    }
}

/* Match partners banner title color to other section titles */

.partners-banner h2 {
    text-align: center !important;
    color: var(--text-secondary-color) !important;
}

.partners-banner .subtitle {
    text-align: center !important;
    margin-bottom: 40px;  /* Increased from 20px */
    color: var(--text-secondary-color) !important;
    opacity: 0.8;
}

/* Projects section - make titles bolder than content */
#projects .card h5 {
    font-weight: 600 !important;
}

#projects .card-text {
    font-weight: 400 !important;
}

/* Lazy load project images */
#projects .card img {
    content-visibility: auto;
}