@import url('https://fonts.googleapis.com/css?family=Ubuntu&display=swap');
html{
    scroll-behavior: smooth;
}
body{
    font-family: 'Ubuntu', sans-serif;
    background-color: #f4f4f4;
    background-color: white;
    margin-top: 80px;
}
.row
{
    margin-left: 0px !important;
    margin-right: 0px !important;
}
.text-color-green
{
    color: #04653A !important;
}
.text-color-1
{
    color:  #112E2B !important;
    font-size: 20px;
}
.bg-color-green
{
    background-color: #04653A;
    color: #f4f4f4;
}
.bg-color-1{
    background-color: #112E2B !important;
    color: #f4f4f4 !important;
    min-height: 100px;
}


/* Bold text for navbar links */
.navbar-nav .nav-link {
    font-weight: bold;
    color: green !important;
    transition: color 0.3s, border-bottom 0.3s;
}

/* Hover effect with light green and bottom border */
.navbar-nav .nav-link:hover {
    color: lightgreen !important;
    border-bottom: 2px solid lightgreen;
}

/* Active navbar link styling */
.navbar-nav .nav-item.active .nav-link {
    color: lightgreen !important;
    border-bottom: 2px solid lightgreen;
}

/* Add spacing between nav items */
.navbar-nav .nav-item {
    margin-right: 15px;
}

/* Remove extra margin for the last item */
.navbar-nav .nav-item:last-child {
    margin-right: 0;
}

/* Left-align group (Home and About Us) */
.navbar-left {
    margin-right: auto; /* Pushes to the left */
    display: flex;
    gap: 15px; /* Adjust spacing */
}

/* Right-align group */
.navbar-right {
    display: flex;
    gap: 15px; /* Adjust spacing */
}


.header {
    background-color: #04653A; /* Dark green */
    color: white;
    padding: 12px 0;
}
.header a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}
.header a:hover {
    text-decoration: underline;
}
.social-icons img {
    margin: 0 5px;
}


.custom-card {
    height: 100%; /* Ensures the card takes full height of the flex container */
    min-height: 450px; /* Ensures consistent height for larger screens */
    border-bottom: 15px solid #04653A;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, color 0.5s ease-in-out; /* Smooth color transition */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: white; /* Default background color */
    color: #04653A; /* Default text color */
    position: relative; /* Needed for the pseudo-element positioning */
}

.custom-card img {
    max-height: 200px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.custom-card .card-body {
    padding: 15px;
    flex-grow: 1;
}

.custom-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    transition: color 0.5s ease-in-out;
}

.custom-card p {
    /* font-size: 20px; */
    margin-top: 0;
    transition: color 0.5s ease-in-out;
}

/* Hover Effect */
.custom-card::after {
    content: ''; /* Creates an empty pseudo-element */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #04653A; /* Green background for hover effect */
    transform: translateY(100%); /* Start the pseudo-element off-screen (bottom) */
    transition: transform 0.5s ease-in-out; /* Smooth transition from bottom to top */
    z-index: -1; /* Ensures pseudo-element stays behind the card content */
}

.custom-card:hover {
    transform: translateY(-10px); /* Moves the card slightly upward */
    color: white;
}

.custom-card:hover::after {
    transform: translateY(0); /* Moves the pseudo-element from bottom to top */
}

.custom-card:hover img {
    transform: scale(1.1);
}

.custom-card:hover h4,
.custom-card:hover p {
    color: white;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .custom-card {
        min-height: auto;
    }

    /* .card img {
        max-height: 150px;
    } */

    .custom-card h4 {
        font-size: 20px;
    }

    .custom-card p {
        font-size: 18px;
    }
}


.bg-image {
    background: white url("../../images/demo.png") no-repeat center center;
    height: 530px;
    width: 100%;
    background-size: cover;  /* Ensure the background image covers the container */
    background-position: center center; /* Keep the image centered */
}

.bg-image2 {
    background: white url("../../images/flex2.png") no-repeat center center;
    height: 450px;
    width: 100%;
    background-size: cover;  /* Ensure the background image covers the container */
    background-position: center center; /* Keep the image centered */
}


    /* Default Font Size */
    .custom-paragraph {
        font-size: 20px;
    }

    /* Adjust font size for tablets and small devices */
    @media (max-width: 768px) {
        .custom-paragraph {
            font-size: 15px; /* Adjust font size for tablets */
        }
    }

    /* Adjust font size for very small devices (mobile) */
    @media (max-width: 576px) {
        .custom-paragraph {
            font-size: 14px; 
        }
    }

.border-bottom
{
    border-bottom:  5px solid lightgray !important;
}
.border-bottom-footer
{
    border-bottom:  5px solid white !important;
}

/* Custom card contact */
.custom-card-1
{
    transition: transform 0.3s, background-color 0.3s, color 0.3s; /* Smooth transition for all hover effects */
    overflow: hidden; 
}
.custom-card-1:hover {
    background-color: #04653A;
    color: white;
    transition: background-color 0.3s, color 0.3s;
    transform: scale(1.08);
}
.custom-card-1:hover .bg-color-green
{
    background-color: #29a76e;
    color: white;
    transition: background-color 0.3s;
}
.custom-card-1:hover h6
{
    color: white; /* Change text and icon color to white on hover */
}
.custom-form {
    width: 70%; /* Fixed width for the form */
    margin: 0 auto; /* Center the form horizontally */
    box-sizing: border-box; /* Ensure padding/borders do not affect width */
    transition: none; /* Prevent hover effects from altering width */
    border-radius: 15px;
}

.custom-form-control {
    height: 50px; /* Maintain consistent height for inputs */
    font-size: 16px; /* Improve readability */
    padding: 10px 15px; /* Balanced padding */
    border-radius: 5px; /* Rounded corners for a sleek look */
    border: 1px solid #ccc; /* Subtle border for clarity */
    width: 100%; /* Inputs should fill the form width */
    box-sizing: border-box; /* Prevent padding/borders from affecting width */
}

.custom-form-control:focus {
    border-color: #04653A; /* Highlight border on focus */
    outline: none; /* Remove default focus outline */
    box-shadow: 0 0 5px rgba(4, 101, 58, 0.5); /* Subtle focus glow */
}

textarea.custom-form-control {
    resize: none; /* Disable manual resizing */
}

.custom-form .btn {
    background-color: #04653A; /* Match theme color */
    color: #fff; /* White text for contrast */
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.custom-form .btn:hover {
    background-color: #029e5b; /* Slightly lighter green on hover */
    color: #fff;
}
/* Default styling for larger screens (e.g., laptop) */

/* Responsive styling for smaller screens (e.g., mobile) */
@media (max-width: 768px) {
    .custom-form {
        width: 100%; /* Full width for mobile */
        margin: 0; /* Remove horizontal centering */
        padding: 0 10px; /* Add padding for a better appearance */
    }
}


.footer p:hover{
    color: #16ac69 !important;
}
.footer a p:hover {
    color: green !important;
    cursor: pointer !important; /* Optional: Adds a pointer cursor */
}

.hero-header{
    /* background: url(../../images/hero.jpg) top right no-repeat; */
    background-size: cover;
    height: 400px;
    background-color: #04653A;
    padding-bottom: 50px; /* Ensure spacing below content */
}


.hero-header1{
    background: url(../../images/hero.jpg) top right no-repeat;
    background-size: cover;
    height: 400px;
    background-color: #04653A;
    padding-top: 100px; /* Adjust to match navbar height */
    padding-bottom: 50px; /* Ensure spacing below content */
    
}

/* Media query for screen sizes up to 768px */
@media screen and (max-width: 768px) {
    .hero-header1 {
        background-size: cover; /* Ensure image fits in the section */
        background-position: top center; /* Adjust background positioning */
        height: auto; /* Allow height to adjust */
        background-color: #1fa769;
        padding: 0; /* Remove padding for mobile */
        display: flex;
        align-items: center; /* Vertically center content */
        justify-content: center; /* Horizontally center content */
        text-align: center;
    }

    .hero-header1 h1 {
        font-size: 2.5rem;
    }

    .hero-header1 h5 {
        font-size: 15px;
    }

    .m-5, .p-5 {
        margin: 0 !important;
        padding: 0 !important;
    }
}

.hero-header1{
    background: url(../../images/hero.jpg) top right no-repeat;
    background-size: cover;
    height: 400px;
    background-color: #04653A;
    padding-top: 20px;
}

/* Media query for screen sizes up to 768px */
@media screen and (max-width: 768px) {
    .hero-header1 {
        background-size: cover; /* Ensure image fits in the section */
        background-position: top right; /* Center the image */
        height: 400px; /* Adjust height for mobile */
        background-color: #1fa769;
        padding: 0; /* Remove padding for mobile */
    }

    .hero-header1 h1 {
        font-size: 2.5rem;
    }

    .hero-header1 h5 {
        font-size: 15px;
    }

    .m-5, .p-5 {
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* Small screen version (up to 576px) */
@media screen and (max-width: 576px) {
    .hero-header1 {
        padding: 0;
        background-size: cover;
        background-position: top right;
        height: 350px;
    }

    .hero-header1 h1 {
        font-size: 2rem;
    }

    .hero-header1 h5 {
        font-size: 1rem;
    }

    .m-5, .p-5 {
        margin-top: 20px !important;
        padding-top: 20px !important;
    }
}

@media (max-width: 768px) {
  
    .about-us h1 {
        font-size: 30px; /* Adjust font size for tablets */
    }
    .about-us h3{
        font-size: 20px;
        padding-top: 20px;
    }
    .about-us p
    {
        font-size: 20px;
    }
}

/* Adjust font size for very small devices (mobile) */
@media (max-width: 576px) {
   
    .about-us h1 {
        font-size: 30px; /* Adjust font size for tablets */
        
    }
    .about-us h3{
        font-size: 20px;
        padding-top: 20px;
    }
    .about-us p
    {
        font-size: 20px;
    }
}





.hero-header2{
    background: url(../../images/WhyBioTpu.jpg) top right no-repeat;
    background-size: cover;
    height: 400px;
    /* background-color: #04653A; */
}

/* Media query for screen sizes up to 768px */
@media screen and (max-width: 768px) {
    .hero-header2 {
        background-size: cover; /* Ensure image fits in the section */
        background-position: top right; /* Center the image */
        height: auto; /* Adjust height for mobile */
        background-color: #1fa769;
        padding: 0; /* Remove padding for mobile */
    }

    .hero-header2 h1 {
        font-size: 2.5rem;
    }

    .hero-header2 h5 {
        font-size: 15px;
    }

    .m-5, .p-5 {
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* Small screen version (up to 576px) */
@media screen and (max-width: 576px) {
    .hero-header2 {
        padding: 0;
        background-size: cover;
        background-position: top right;
        height: auto;
    }

    .hero-header2 h1 {
        font-size: 2rem;
    }

    .hero-header2 h5 {
        font-size: 1rem;
    }

    .m-5, .p-5 {
        margin-top: 20px !important;
        padding-top: 20px !important;
    }
}


#custom-cursor {
    position: fixed;
    width: 20px; /* Initial size of the cursor circle */
    height: 20px;
    background-color: rgba(3, 216, 17, 0.6); /* Semi-transparent black */
    border-radius: 50%;
    pointer-events: none; /* Prevent interaction */
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, width 0.2s ease, height 0.2s ease;
    z-index: 9999; /* Ensure it's on top */
}

.social-icon {
    background-color: white; /* Default background */
    transition: background-color 0.3s ease, transform 0.3s ease;
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%; /* Circle shape */
}

/* Hover effect for social icons */
.social-icon:hover {
    
    transform: scale(1.5); /* Zoom effect */
}

/* Default styling for larger screens (e.g., laptop) */
.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

/* Responsive styling for smaller screens (e.g., mobile) */
@media (max-width: 768px) {
    .follow-us-footer .row {
        flex-wrap: nowrap; /* Prevent wrapping */
        justify-content: space-between; /* Spread the icons evenly */
        display: flex; /* Use flexbox for alignment */
    }

    .follow-us-footer .col-md-4 {
        flex: 1; /* Make columns take equal space */
        text-align: center; /* Center the content */
        padding: 0; /* Remove unnecessary padding */
    }

    .follow-us-footer .social-icon {
        margin: 0 auto; /* Center icons horizontally */
    }
}


/* @keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} */

/* Base animation class */
.animate {
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: all 0.3s ease-in-out;
}

/* Active class to trigger animation */
/* .animate.active {
    opacity: 1;
    visibility: visible;
    animation: fadeInUp 1s ease-in-out forwards;
} */

@keyframes bounceIn {
    from {
        opacity: 0;
        transform: scale(0.6);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate.active {
    animation: bounceIn 1s ease-in-out forwards;
    visibility: visible;
}





/* Style for Social Media Icons */
.social-icons-header a {
    display: inline-block;
    margin: 0 5px;
    color: white;
    font-size: 20px;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Rotate Effect on Hover */
.social-icons-header a:hover {
    transform: rotate(360deg);
    color: #ff5733; /* Optional: Change the color on hover */
}



/* Adjust font size for mobile screens (up to 768px) */
@media screen and (max-width: 768px) {
    .contact-title {
        font-size: 30px !important; /* Smaller font size for tablets */
    }
}

/* Further adjustment for very small devices (up to 576px) */
@media screen and (max-width: 576px) {
    .contact-title {
        font-size: 30px !important; /* Even smaller font size for small mobile screens */
    }
}



.responsive-img {
    object-fit: cover;
    width: 100%;
    height: 700px;
    margin: 0;
    border-radius: 15px;
}

@media (max-width: 768px) {
    .responsive-img {
        height: 500px;
    }
}
@media screen and (max-width: 576px) {
    .responsive-img {
        height: 500px;
    }
}


@media screen and (max-width: 768px) {
    .img-vamsa-a-line{
        height: 100% !important;
        width: 100% !important;
        padding-bottom: 10px !important;
        
    }
}

/* Further adjustment for very small devices (up to 576px) */
@media screen and (max-width: 576px) {
    .img-vamsa-a-line{
        height: 100% !important;
        width: 100% !important;
        padding-bottom: 10px !important;
        
    }
}







