/* navbar dropdown styling*/
.dropdown-submenu .dropdown-menu {
    display: none;
    margin-left: 0; /* Remove margin to stack vertically in mobile */
}
.dropdown-submenu .dropdown-menu.show {
    display: block;
}
@media (min-width: 992px) {
    /* Desktop: flyout style */
    .dropdown-submenu {
        position: relative;
    }

    .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -1px;
        display: none;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
}


/* Topbar Styling */
.topbar {
    background-color: #003092;
    color: whitesmoke;
    font-size: 14px;
    padding: 5px 15px;
    position: sticky;
    top: 0;
    z-index: 1050;
}

#date-time {
    color: whitesmoke;
    font-size: 1rem;
}

    #date-time:hover {
        color: #F8DE22;
    }

.btn {
    font-size: 1rem !important;
    background: none !important;
    border: none !important;
    color: whitesmoke !important;
    font-weight: 500 !important;
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}
.theme-icon{
    color: black !important;
}
.btn:hover, .lang_btn:hover, .site_map:hover, .social-icon:hover {
    background: none !important;
    color: #F8DE22 !important;
    transform: scale(1.1);
}

.lang_btn {
    background: none;
    border: none;
    color: whitesmoke;
    font-size: 14px;
}

.site_map {
    color: white;
}
.activity-text {
    font-size: 26px;
    font-weight: 500;
    color: #143D60 !important;
    margin-bottom: 20px;
}
.social-icon {
    color: whitesmoke !important;
    font-size: 16px;
    transition: transform 0.3s ease-in-out;
}
/** NavBar Styling **/
a.nav-link {
    color: whitesmoke !important;
    letter-spacing: 0.8px !important;
    font-size: 1rem !important;
    font-weight: normal !important;
}
.offcanvas{
    background-color:#003092 !important;
}
/*a.nav-link.dropdown-toggle{
    color:#003092 !important;
}*/
/*a.nav-link {
   color:#003092 !important;
}*/
.navbar-light .navbar-nav .nav-item .nav-link:hover {
    background-color: #FFCF50 !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: #003092 !important;
}

.dropdown-menu {
    background-color: whitesmoke !important;
}

.dropdown-item {
    color: #003092 !important;
    font-size: 1rem !important;
    font-weight: normal !important;
    letter-spacing: 0.8px !important;
}

    .dropdown-item:hover {
        background-color: #003092 !important;
        font-size: 1rem !important;
        font-weight: 500 !important;
        color: whitesmoke !important;
    }

.offcanvas {
    color: #003092 !important;
}

.dropdown-toggle:before {
    color: #003092 !important;
}

.navbar .dropdown .dropdown-toggle:after {
    color: whitesmoke !important;
    font-weight: bold;
    font-size: 12px;
}

.activity_img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    transition: transform 0.3s ease-in-out;
}

    .activity_img:hover {
        transform: scale(1.1);
    }

.dp-subcontent {
    color: #F97300;
    text-align: justify;
}

.indent-word {
    margin-left: 40px; /* Adjust the space as needed */
    display: inline-block;
}
/** Title Styling **/
.mvc-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    width: 100%;
}

.mvc-title {
    font-size: 2.2rem;
    font-weight: 500;
    color: #630000;
}

/* Text & Icon */
.mvc-text {
    font-size: 1.1rem;
    color: #143D60;
}

    .mvc-text i {
        color: #630000;
    }

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.helpline {
    animation: blink 2s infinite;
}




/** MVC Content Styling **/
.mvc-overview, .mvc-operation {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
    /*min-height: 100vh;*/
    overflow: hidden;
    padding: 40px 0;
}

    .mvc-overview .row, .mvc-operation .row {
        display: flex;
        align-items: center;
    }

.mvc_img1 {
    width: 100%;
    height: auto;
    max-height: 420px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}
/* Text Content Styling */
.mvc-content {
    padding: 20px;
    opacity: 0;
    text-align: justify;
    transform: translateX(-50px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

/* Section Animation */
.animate {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.animate-img {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* Heading Styling */
.mvc-content-title {
    font-size: 28px;
    font-weight: 700;
    color: #143D60;
    position: relative;
    display: inline-block;
}

mvc-content-title::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: #F8DE22;
    margin-top: 5px;
    border-radius: 3px;
}

.mvc-subcontent {
    color: #88304E;
    
}
/*.scroll-animation {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}*/

   
.scroll-animation.show {
    opacity: 1;
    transform: translateY(0);
}
ul {
    list-style: none;
    padding-left: 0;
}

    ul .mvc-list {
        padding-left: 25px;
        position: relative;
        margin-bottom: 8px;
        font-size: 16px;
        color: #333;
        transition: color 0.3s ease-in-out;
    }

.mvc-icon {
    color: #FF6500 !important;
    font-size: 18px;
    font-weight: 500;
    display: inline-block;
    transition: transform 0.3s ease-in-out;
}

    .mvc-icon:hover {
        animation: pulse 0.3s ease-in-out;
    }

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}




/* Responsive Adjustments */

@media (max-width: 768px) {
    .carousel-img {
        max-height: 350px;
    }

    .mvc-container {
        padding: 15px;
    }

    .mvc-title {
        font-size: 1.3rem;
    }

    .mvc-text {
        font-size: 1rem;
    }

    .mvc-overview, .mvc-operation {
        min-height: auto;
        padding: 20px 0;
    }

    .mvc_img1 {
        max-height: 300px;
    }

    .mvc-content-title {
        font-size: 24px;
    }
}

/** TAble styling **/

.mvctable-container {
    max-width: 800px;
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mvc-table-title {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    color: #630000;
}

th {
    background-color: #f8f9fa !important;
}

.table thead th {
    position: sticky;
    top: 0;
    background: #003092 !important;
    z-index: 10;
    color: white;
}



/* Footer Styling */
/* Responsive Tweaks */
@media (max-width: 768px) {
    .topbar {
        font-size: 12px;
        padding: 5px 10px;
    }

    .btn {
        font-size: 14px;
    }
}
/* TopBar mobile responsive */
@media (max-width: 576px) {
    #date-time {
        font-size: 0.875rem;
        padding: 5px 10px;
        display: block;
    }

    .dropdown-menu {
        font-size: 0.9rem;
        margin-bottom: 0px;
    }

    .site_map {
        display: none; /* optionally hide Site Map text on small screens */
        margin-bottom: 0px;
    }

    .social-icon i {
        font-size: 16px !important;
        margin-bottom: 0px;
    }

    .lang_btn {
        font-size: 0.9rem;
        padding: 0.25rem 0.5rem;
        margin-bottom: 0px;
    }
}
/* VEC Styling */
.diagnosis-overview {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F1F0E8;
    overflow: hidden;
    padding: 40px 0;
}

    .diagnosis-overview .row {
        display: flex;
        align-items: flex-start;
    }

.diagnosis-content-title {
    font-size: 28px;
    font-weight: 700;
    color: #143D60;
    position: relative;
    display: inline-block;
}

.diagnosis-list {
    padding-left: 25px;
    padding-top: 5px;
    padding-bottom: 5px;
    position: relative;
    font-size: 16px;
    color: #333;
}

.mvc-icon {
    color: #630000;
    font-size: 18px;
    font-weight: 500;
    display: inline-block;
    transition: transform 0.3s ease-in-out;
}

.hero-section {
    background-image: url('assets/img/Farm_slide3.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
}

.hero-heading {
    font-size: 48px;
    font-weight: bold;
    /* text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6); */
    text-shadow: 2px 2px 8px rgb(255, 255, 255);
}
/* .mb-3,.mb-0{
    text-align: justify !important;
  } */
p {
    text-align: justify !important;
    color: black !important;
}

/** Departmental Farms **/
.dp_carouselImg {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

.dept-overview {
    justify-content: center;
    align-items: center;
/*    background-color: #F1F0E8;*/
    /*min-height: 100vh;*/
    overflow: hidden;
    padding: 40px 0;
}

    .dept-overview .row {
        display: flex;
        align-items: center;
    }

.dept-farm-title {
    font-size: 28px;
    font-weight: 700;
    color: #143D60;
    padding: 10px 0;
    position: relative;
    display: inline-block;
}

.dept-farm-list {
    padding-left: 25px;
    padding-top: 5px;
    padding-bottom: 5px;
    position: relative;
    /*margin-bottom: 8px;*/
    font-size: 16px;
    color: #333;
    /*transition: color 0.3s ease-in-out;*/
}
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/** Content div animation **/
.animated-div {
    opacity: 0;
    transform: scale(0.8);
    animation: bounceIn 1s ease-out forwards;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.farm_img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
}

    .farm_img:hover {
        opacity: 0;
        transform: translateX(50px);
        animation: slideInRight 1s ease-in forwards;
    }

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/** Activities **/
.activity-container {
    background-color: #EAE4D5;
    padding: 40px 20px;
    text-align: center;
}

.activity-text {
    font-size: 26px;
    font-weight: 500;
    color: #f8f9fa;
    margin-bottom: 20px;
}
.card1 {
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    /*width: 100%;*/
    height: 100%;
/*    border: 2px solid #123458;*/
    box-shadow: 3px 4px 8px #123458;
    /*margin: 10px auto;*/
}

.card1:hover {
    transform: scale(1.05);
}

.card1 img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}

    .card1 img:hover {
        transform: scale(1.2);
    }

.card1-body {
    display: flex;
    flex-direction: column;
    padding: 15px;
    flex-grow: 1;
    min-height: 180px;
}

.card1-title {
    font-size: 18px;
    font-weight: 500;
    color: #9153F4;
}

.card1-text {
    font-size: 0.9rem;
    color: #333;
    text-align: justify;
    margin-bottom: 10px;
}

.ivf_img {
    /*width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px !important;
    padding: 20px;*/
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
}
.dept-farm-activities {
    justify-content: center;
    align-items: center;
    background-color: white;
    overflow: hidden;
    padding: 40px 0;
}

    .dept-farm-activities .row {
        display: flex;
        align-items: center;
        padding: 30px 0;
    }


    /** Contact Us**/
.contact-container {
    background-color: whitesmoke;
    padding: 40px 20px;
    text-align: center;
}

.contact-card {
    display: flex;
    flex-direction: column;
    background: #F1F0E8;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    height: 100%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

    .contact-card:hover {
        transform: scale(1.05);
    }

    .contact-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        transition: transform 0.5s ease-in-out;
    }

        .contact-card img:hover {
            transform: scale(1.2);
        }

.contactcard-body {
    display: flex;
    flex-direction: column;
    padding: 20px;
    flex-grow: 1;
    min-height: 180px;
}

.contactcard-title {
    font-size: 18px;
    font-weight: 500;
    color: #630000;
}

.contactcard-text {
    font-size: 0.9rem;
    color: #8576FF;
    text-align: justify;
    margin-bottom: 10px;
}

@media (max-width:480px) {
    .contact-info {
        flex-direction: column;
    }
}
.dp-overview {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9f9f9;
    overflow: hidden;
    padding: 40px 0;
}

    .dp-overview .row {
        display: flex;
        align-items: center;
    }
.fodder_table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    background: #fff;
}

    .fodder_table th {
        background-color: #143D60 !important;
        color: white;
        font-weight: 500;
        text-align: center;
        vertical-align: middle;
        letter-spacing: 0.5px;
    }

    .fodder_table td {
        padding: 12px;
        text-align: left;
        letter-spacing: 0.5px;
    }

    .fodder_table thead th {
        position: sticky;
        top: 0;
        background-color: #007bff;
        z-index: 2;
    }