/* General styles */


#background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* Translucent overlay */
    z-index: -1;
}

#fssai-logo {
    width: 170px; /* Increase size of the FSSAI logo */
    height: auto;
    background-color: #ffffff; /* White background */
    padding: 5px; /* Padding to add some space around the logo */
    border-radius: 5px; /* Rounded corners */
}

#ministry-logo {
    width: 130px; /* Increase size of the FSSAI logo */
    height: auto;
    background-color: #ffffff; /* White background */
    padding: 5px; /* Padding to add some space around the logo */
    border-radius: 5px; /* Rounded corners */
}

#fostas-logo {
    width: 130px;
    height: auto;
    background-color: #ffffff;
    padding: 5px;      /* FIXED */
    border-radius: 5px;
}

#portal-title {
    font-family: 'Bahnschrift SemiLight Condensed', sans-serif;
    font-size: 2rem;
    font-weight: bold;
}

.hero-section {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.hero-section img {
    object-fit: cover;
}

.carousel-inner img {
    width: 100%;
    height: 70vh; /* Adjust height to 70% of viewport height */
    object-fit: contain;
	transition: transform 0.5s ease; /* Smooth transition */

}

#welcomeSection h1 {
    font-size: 3rem;
    font-weight: bold;
}

#welcomeSection p {
    font-size: 1.5rem;
}

#success-stories .card {
    margin-bottom: 30px;
    background-color: rgba(255, 255, 255, 0.8); /* Light background for cards */
    border-radius: 10px;
}

#success-stories .card-text {
    font-size: 0.875rem; /* Small font size */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
}

#success-stories .read-more {
    font-size: 0.875rem;
    color: #007bff;
    text-decoration: none;
}

.full.d-none {
    display: none;
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 50px;
    pointer-events: none;
}

.play-button-overlay i {
    pointer-events: none;
}

#fostac-mission .bg-info, #fostac-mission .bg-success {
    background-color: #17a2b8;
    border-radius: 10px;
    padding: 20px;
    color: #fff;
}

#fostac-mission .bg-success {
    background-color: #28a745;
}

footer {
    background-color: #343a40;
}

footer a {
    font-size: 0.875rem; /* Decrease font size */
}

footer p {
    margin-top: 10px;
}

.navbar {
    border-top: 5px solid #ffffff; /* Adjust the color and thickness of the top border */
	
}

.navbar_sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    box-shadow: 0px -5px 25px #383838;
    width: 100%;
   background: linear-gradient(90deg,#ff9c15,#47915b) 0 0 no-repeat padding-box padding-box transparent;
    z-index: 9999;
}

#contact-us p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

#portal-title{
font-size: 2.5rem;
margin-left: 6rem;
}

@media (max-width: 768px) {
    .navbar-brand img {
        width: 120px;
    }
#portal-title{
font-size: 1.2rem;
margin-left: 0;
}
    .hero-section {
        height: 50vh;
    }

    .carousel-inner img {
        height: 50vh;
    }

    #welcomeSection h1 {
        font-size: 2.5rem;
    }

    #welcomeSection p {
        font-size: 1.2rem;
    }

    #success-stories .card-text {
        font-size: 0.8rem;
    }

    footer a {
        font-size: 0.8rem;
    }
}

.expandable .card-text.truncated {
    -webkit-line-clamp: 2; /* Limit to 2 lines initially */
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.expandable .card-text.full.d-none {
    display: none;
}

.expandable .read-more::after {
    content: 'Read More';
}

.expandable .expanded .read-more::after {
    content: 'Read Less';
}

/* Styles for testimonial and feedback forms */
#share-testimonials, #submit-feedback {
    background-color: #f8f9fa;
    padding: 60px 20px;
    border: 2px solid #ccc; /* Outline the section with a border */
    border-radius: 10px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

/* Adding decorative elements to background */
#share-testimonials::before, #submit-feedback::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(0, 123, 255, 0.5);
    top: -50px;
    left: -50px;
    border-radius: 50%;
}

#share-testimonials::after, #submit-feedback::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(0, 123, 255, 0.5);
    bottom: -50px;
    right: -50px;
    border-radius: 50%;
}

#share-testimonials h2, #submit-feedback h2 {
    margin-bottom: 30px;
}

#share-testimonials .form-group, #submit-feedback .form-group {
    margin-bottom: 20px;
}

#share-testimonials .form-group label, #submit-feedback .form-group label {
    font-size: 1rem;
    display: block;
    text-align: justify;
}

#share-testimonials .form-control, #submit-feedback .form-control {
    font-size: 1rem;
}

#share-testimonials .btn, #submit-feedback .btn {
    font-size: 1rem;
    display: block;
    margin: 0 auto; /* Center align the submit button */
}

#feedback-success-message {
    display: none;
}

/* Left-right form styles */
.form-left, .form-right {
    padding: 10px;
}

.form-left {
    border-right: 1px solid #ccc;
}

@media (max-width: 768px) {
    .form-left, .form-right {
        border: none;
    }
}

.collapse-panel {
    cursor: pointer;
    background-color: #343a40;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;

}

.collapse-panel:hover {
    background-color: #007bff;
}

.collapse-content {
    display: none;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: -10px;
    margin-bottom: 20px;
	background-color: #fff;
}

/* Add box outline */
.box-outline {
    border: 2px solid #000; /* Black border */
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background: rgba(255, 255, 255, 0.9);
}

/* ===== GLOBAL BACKGROUND FIX (Option-1) ===== */

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: none; /* remove old body background */
}

/* Real background image layer */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("../images/top-view-circular-food-frame.jpg")
                no-repeat center center fixed;
    background-size: cover;
    z-index: -2;
}

/* Translucent overlay */
#background-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.75);
    z-index: -1;
}

