﻿body {
    overflow-x: hidden;
}


/*Top Header*/
.custom-header {
    background: #f07901; /* Light gray background */
    border-bottom: 1px solid #e9ecef; /* Subtle border */
}

.contact-link {
    color: black; /* Bootstrap primary color */
    margin-right: 20px;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .contact-link:hover {
        color: lightyellow; /* Darker shade on hover */
    }

.custom-social-icons {
    margin-top: 10px; /* Spacing above social icons */
}

.social-icon {
    color: #1d2553; /* Icon color */
    font-size: 1.5rem; /* Icon size */
    margin-left: 15px; /* Space between icons */
    transition-duration: 0.5s;
    padding: 2px;
}

    .social-icon:hover {
        color: #f07901;
        background: black;
        padding: 2px;
    }


/*Second Top Header*/
.custom-header {
    background-color: #f8f9fa; /* Light background color */
}

.header-logo {
    width: 80%; /* Decreased image size */
    max-width: 150px; /* Maximum width to maintain a reasonable size */
}


.institute-title {
    font-size: 37px;
    letter-spacing:-1px;
    font-family: Swis721 BlkCn BT;
    text-transform: uppercase;
    font-weight: bold;
    color: #1d2553;
}


/* Center logos and adjust for very small screens */
@media (max-width: 576px) { /* Targeting extra small screens */
    .header-logo {
        width: 70%; /* Smaller image size on small screens */
        max-width: 100px; /* Adjust max width for small screens */
    }

    .institute-title {
        font-size: 1.4rem; /* Adjust font size for very small screens */
    }

    .row {
        text-align: center; /* Center all elements in the row */
        justify-content: center; /* Ensure all items are centered horizontally */
    }

    .col-md-2, .col-md-8 {
        flex: 0 0 auto; /* Prevent flex-grow on small screens */
    }
}


/*Navigations*/
.custom-navbar {
    position: sticky !important;
    top: 0;
    z-index: 11;
    background-color: #00933d; /* Primary Color */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

    .custom-navbar .nav-link {
        color: lightyellow; /* Accent Color */
        font-weight: 600;
        padding: 0px 15px !important;
        transition: color 0.3s ease, transform 0.3s ease;
    }


.navbar-toggler {
    border: none;
}

.custom-toggler .fas.fa-bars {
    color: #f9e848; /* Color for bars icon */
    font-size: 1.5rem;
}

.navbar-nav .dropdown-menu {
    display: none; /* Hide dropdown by default */
    background-color: white;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.navbar-nav .dropdown:hover .dropdown-menu {
    display: block; /* Show dropdown on hover */
}

.navbar-nav .dropdown-item {
    color: black;
    font-size:13px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .navbar-nav .dropdown-item:hover {
        background-color: #f07901;
        color: white;
        text-shadow: 2px 0px 2px black;
    }
/* Responsive Styles for Small Screens */
@media (max-width: 768px) {
    .custom-navbar .nav-link {
        padding: 8px 10px !important; /* Add more padding between links */
    }

    .navbar-nav .dropdown-item {
        padding: 10px 15px; /* Increase padding for dropdown items */
    }
}


    /*Home Slider*/
.carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: auto;
}

.slides {
    display: flex;
    transition: transform 0.8s ease-in-out;
    will-change: transform;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    position: relative;
}

    .slide img {
        width: 100%;
        display: block;
    }

/* Custom controls (arrows) */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s;
}

    .carousel-control:hover {
        background-color: rgba(0, 0, 0, 0.8);
    }

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Adjust content for the slides */
.slide-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(61, 56, 56, 0.438);
    padding: 20px;
    border-radius: 8px;
    max-width: 400px;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-content h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.slide-content p {
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 10px;
}


/*Footer Starts*/
/*Footer*/
/* Footer Section Styling */
.footer-section {
    background-color: #00441c; /* Dark background for contrast */
    color: #ffffff; /* White text color */
    padding: 40px 20px; /* Top and bottom padding, side padding */
}

/* Footer Title */
.footer-title {
    font-size: 1.5rem; /* Title font size */
    font-weight: bold; /* Bold text */
    color: #ff9900; /* Title color */
    margin-bottom: 20px; /* Margin below title */
    text-transform: uppercase; /* Uppercase for emphasis */
}

/* Footer Links */
.footer-links {
    list-style: none; /* Remove bullet points */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
}

    .footer-links a {
        color: #dfe6e9; /* Link color */
        text-decoration: none; /* No underline */
        display: inline-block; /* Inline-block for margins */
        padding: 10px 0; /* Vertical padding for better spacing */
        transition: color 0.3s ease, transform 0.3s ease; /* Smooth transition for color and transform */
    }

        /* Enhanced Hover Effect for Quick Links */
        .footer-links a:hover {
            color: #f07901; /* Change color on hover */
            transform: translateX(3px); /* Move slightly to the right on hover */
            text-decoration: none; /* Underline on hover */
        }


/* Address Section */
.footer-address {
    font-size: 1rem; /* Address font size */
    color: #ecf0f1; /* Icon color */
    margin-bottom: 20px; /* Margin below address */
}

    /* Address Icons */
    .footer-address i {
        margin-right: 8px; /* Space between icon and text */
    }

.footer-social {
    display: flex; /* Flexbox for easy alignment */
     /* Space above the icons */
}

    .footer-social a {
        color: #ecf0f1; /* Default icon color */
        margin: 0 10px; /* Space between icons */
        font-size: 1.5rem; /* Icon size */
        transition: background-color 0.3s, transform 0.3s; /* Transition for hover */
        padding: 3px 7px; /* Padding for the circular background */
        border-radius: 10%; /* Circular shape */
    }

        .footer-social a:hover {
            background-color: #f07901; /* Background color on hover */
            color: #00441c; /* Change icon color on hover */
        }


/* Responsive Adjustments */
@media (max-width: 576px) {
    .footer-title {
        text-align: center; /* Center align for small screens */
    }

    .footer-links,
    .footer-address,
    .footer-social {
        text-align: center; /* Center align for small screens */
    }
}
/*Footer Ends*/


/*footer New Section*/
.footer-container {
    background-color: #003014;
    padding: 20px 0;
    border-top: 1px solid #ddd;
}

.footer-text {
    font-size: 14px;
    color: white;
    margin: 0;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

    .footer-link:hover {
        color: #0056b3;
        text-decoration: underline;
    }

@media (max-width: 576px) {
    .footer-text {
        font-size: 12px;
    }

    .footer-container {
        text-align: center;
    }
}

.footer-logo {
    height: 25px;
    width: auto;
}

/*About Us Section Related to Home Page*/
/* Section Styling */
.about-sec {
    font-family:Verdana;
    background: linear-gradient(135deg, #f9e848, #ffffff);
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    padding: 2rem 1rem;
}

.about-head {
    color: #1d2553;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.about-highlight {
    width: 60px;
    height: 3px;
    background-color: #378113;
    margin-bottom: 1rem;
}

.about-descript {
    font-size: 1rem;
    line-height: 2;
    color: black;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.btn-read-more {
    background-color: #1d2553;
    color: #fff;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .btn-read-more:hover {
        background-color: #00933d;
        box-shadow: 1px 2px 2px 0px black;
        color:white;
        text-shadow: 2px 0px 2px black;
        text-decoration: none;
    }

/* Image Wrapper */
.about-image-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.about-img-horizontal {
    width: 100%;
    max-height: 300px; /* Limit height for a professional look */
    object-fit: cover; /* Ensures the image scales properly */
    border-radius: 12px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

    .about-img-horizontal:hover {
        transform: scale(1.05);
        opacity: 0.9;
    }

/* Reduce Space Between Text and Image */
.row {
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .about-head {
        font-size: 1.5rem;
    }

    .about-descript {
        font-size: 0.9rem;
    }

    .btn-read-more {
        font-size: 0.8rem;
        padding: 8px 16px;
    }

    .about-image-wrapper {
        max-width: 100%;
    }

    .about-img-horizontal {
        max-height: 200px; /* Further reduce height on smaller screens */
    }
}


/*Principal's Message Section from Home Page*/
/* Section Wrapper */
.desk-section-wrapper {
    background: linear-gradient(135deg, #f9e848, #ffffff);
    border-radius: 12px;
    font-family:Verdana;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

/* Content Wrapper */
.desk-content-wrapper {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem 1rem;
}

/* Principal's Image */
.desk-image-container {
    margin: 0 auto;
    max-width: 220px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.desk-image {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.desk-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease;
}

.desk-image-container:hover .desk-image-overlay {
    opacity: 0.1;
}

/* Title Styling */
.desk-title {
    color: #1d2553;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
}

.desk-highlight {
    width: 50px;
    height: 3px;
    background-color: #378113;
    margin: 0 auto 1rem auto;
}

/* Message Styling */
.desk-message {
    font-size: 1rem;
    line-height: 2;
    color: black;
    text-align: justify;
    margin-bottom: 1.5rem;
}

.desk-signature {
    font-size: 0.9rem;
    font-weight: bold;
    color: #00933d;
    text-align: right;
}


/* Responsive Design */
@media (max-width: 768px) {
    .desk-content-wrapper {
        padding: 1.5rem;
    }

    .desk-image-container {
        max-width: 180px;
    }

    .desk-title {
        font-size: 1.2rem;
    }

    .desk-message {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .desk-signature {
        font-size: 0.85rem;
    }
}


/*Trades in Home Section*/
/* Section Styling */
.iti-trades-section {
    background-color: #f4f7f6;
    padding: 50px 0;
}

.iti-trade-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

    .iti-trade-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

.iti-trade-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 2px solid #00933d;
}

.iti-trade-title {
    font-size: 2rem;
    text-shadow: 1px 0px 3px black;
    font-weight: 700;
    color: #34b56a;
    background: #00933d;
    text-transform: uppercase;
    margin-top: 8px;
    transition: color 0.3s ease, transform 0.3s ease;
}


/* Responsive Design */
@media (max-width: 768px) {
    .iti-trades-section {
        padding: 30px 15px;
    }

    .iti-trade-card {
        padding: 20px;
    }

    .iti-trade-title {
        font-size: 1.5rem;
    }
}


/*Photo Gallery Section of Home Page*/
/* Section Styling */
.photo-gallery-section {
    background-color: #f9f9f9;
    padding: 50px 0;
}

.gallery-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #00933d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 40px;
}

/* Gallery Item Styling */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gallery-img {
    width: 100%;
    height: 250px; /* Fixed height for uniformity */
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1); /* Zoom effect */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}



/* Responsive Design */
@media (max-width: 768px) {
    .gallery-img {
        height: 200px; /* Adjusted for smaller screens */
    }
}

@media (max-width: 576px) {
    .gallery-img {
        height: 150px; /* Further adjusted for very small screens */
    }
}


/*Notice Board, Press Release and Downloads section*/
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00933d;
    margin-bottom: 20px;
    border-bottom: 2px solid #8cebb3;
    padding-bottom: 10px;
    text-align: center; /* Ensuring the title is centered */
}

.notice-board,
.download-section,
.tender-notices {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    padding: 20px;
}

    .notice-board:hover,
    .download-section:hover,
    .tender-notices:hover {
        transform: scale(1.05);
    }

.notice-marquee {
    background: #f7f7f7;
    border-radius: 8px;
    padding: 15px;
}

.list-group-item {
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center; /* Ensures the icon and text are vertically centered */
    justify-content: flex-start; /* Ensures icon stays on the left */
    padding-right: 10px;
    overflow: hidden;
}

    .list-group-item a {
        text-decoration: none;
        color: #333;
        font-weight: 500;
        display: flex;
        align-items: center;
        text-align: justify; /* Justifies text */
        flex-grow: 1; /* Allows text to take available space but without overflowing the icon */
        word-wrap: break-word; /* Ensures the text wraps instead of overflowing */
    }

        .list-group-item a:hover {
            color: #1d2553;
            transform: translateX(5px);
            transition: transform 0.3s ease;
        }

.download-link {
    color: #333;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Ensures the icon stays aligned with the text */
    text-align: justify;
    flex-grow: 1; /* Prevents icon from shifting when content grows */
    width: 100%;
}

    .download-link i {
        color: #d9534f;
        font-size: 1.2rem;
        margin-right: 10px; /* Space between the icon and text */
    }

    .download-link:hover {
        color: #0056b3;
    }

.container-fluid1 {
    padding: 30px 50px;
}

.d-flex {
    display: flex;
    flex-direction: column;
}

.flex-fill {
    flex: 1 1 auto;
}
/* Ensure all sections have equal height */
.row {
    display: flex;
    justify-content: space-between;
}
/* Mobile adjustments */
@media (max-width: 767px) {
    .container-fluid {
        padding: 20px;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .d-flex {
        flex-direction: column;
    }

    .col-md-4 {
        margin-bottom: 15px;
    }

    .download-link {
        font-size: 0.9rem;
        justify-content: flex-start; /* Ensures the icon and text stack on top of each other in small screens */
        text-align: left; /* Aligns text to the left */
    }

    .list-group-item {
        flex-direction: column; /* Stack the icon and text vertically on small screens */
        align-items: flex-start; /* Aligns the icon and text to the start */
        width: 100%;
    }

    .download-link i {
        font-size: 1.5rem;
        margin-bottom: 5px; /* Adds space between the icon and text */
    }

    .download-link a {
        width: 100%; /* Ensures full width for links in small screens */
    }
}
/*Gif Image*/
.mygif {
    height: 20px;
    width: auto;
}
/* Base style for buttons */
.read-more-btn {
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 20px;
    border: none;
    margin-top: 14px;
    border-radius: 30px !important;
    background: #00933d !important;
    color: white !important;
    text-transform: uppercase; /* Makes the text uppercase for emphasis */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Adds depth with shadow */
    transition-duration: 0.3s !important;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

    /* Hover effect with scaling and color change */
    .read-more-btn:hover {
        background: white !important;
        color: #00933d !important;
        border: 2px solid #00933d;
    }


.all {
    border: 2px solid #00933d;
}

/*Inner Header*/
/* Inner header */
.about-section {
    background-image: url('../images/Inner_header.jpg');
    overflow-x: hidden !important;
    background-size: cover;
    background-position: center;
    width: 100vw;
    min-height: 250px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    padding: 40px;
    position: relative;
    margin: 0 auto;
}

.breadcrumb-list {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
    list-style-type: none;
}

    .breadcrumb-list a {
        color: white;
        text-decoration: none;
        font-weight: bold;
        padding: 0 10px;
    }

        .breadcrumb-list a:hover {
            color: white;
        }

    .breadcrumb-list i {
        font-size: 1.2em;
        background-color: #00933d;
        padding: 10px;
        border-radius: 10px;
        margin-right: 5px;
    }

h1 {
    margin: 10px 0 0;
    font-size: 2.5em;
    text-align: center;
}

.breadcrumb-list::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    height: 1px;
    width: 60%;
    background: rgba(255, 255, 255, 0.5);
    z-index: -1;
}

@media (max-width: 1200px) {
    .about-section {
        min-height: 200px;
        padding: 30px;
    }

    h1 {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .about-section {
        min-height: 150px;
        padding: 20px;
    }

    .breadcrumb-list {
        font-size: 1em;
    }

    h1 {
        font-size: 2em;
    }
}

@media (max-width: 576px) {
    .about-section {
        min-height: 120px;
        padding: 15px;
    }

    .breadcrumb-list {
        font-size: 0.9em;
    }

    h1 {
        font-size: 1.5em;
    }
}


/*Gallery Category*/
.thumb {
    margin-bottom: 15px;
}

    .thumb img {
        object-fit: cover;
        width: 100%;
        height: 200px;
    }

    .thumb:last-child {
        margin-bottom: 0;
    }

.border-image {
    background-repeat: repeat;
    border: 10px solid;
    border-image: url('../images/border.png') 15 round;
    width: 100%;
}

.caption-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

    .caption-overlay:hover {
        background-color: rgba(255, 255, 255, 0.95);
    }

.caption-text {
    font-size: 18px;
    font-weight: bold;
    color: #042c71;
    margin: 0;
}

/* Photo Gallery Page */
.gallery-container {
    padding: 2rem 0;
}

.gallery-title {
    color: #042c71;
    text-align: center;
    margin-bottom: 1.5rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 images per row */
    grid-auto-rows: 200px; /* Fixed height for all images */
    grid-gap: 15px; /* Space between images */
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Maintain image proportions */
        transition: transform 0.3s ease-in-out;
    }

    .gallery-item:hover img {
        transform: scale(1.05);
    }

    .gallery-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        opacity: 0;
        transition: opacity 0.3s;
    }

    .gallery-item:hover::before {
        opacity: 1;
    }

    .gallery-item a::after {
        content: '\f002';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        font-size: 2rem;
        color: #fff;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0;
        transition: opacity 0.3s;
    }

    .gallery-item:hover a::after {
        opacity: 1;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr); /* 2 images per row */
        grid-auto-rows: 150px;
    }
}

@media (max-width: 576px) {
    .gallery {
        grid-template-columns: 1fr; /* 1 image per row */
        grid-auto-rows: 150px;
    }
}


/*Video Gallery Page*/
.video-gallery-container {
    padding: 2rem 0;
}

.gallery-title {
    color: #042c71;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
    font-size: 2rem;
}

.video-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 videos per row */
    grid-gap: 20px; /* Space between videos */
}

.video-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

    .video-item iframe {
        width: 100%;
        height: 200px;
        border: none;
        border-radius: 8px 8px 0 0;
    }

    .video-item:hover {
        transform: translateY(-5px);
    }

/* Creative Video Title */
.video-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: #fff;
    padding: 10px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border-radius: 0 0 8px 8px;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s, transform 0.3s;
}

.video-item:hover .video-title {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .video-gallery {
        grid-template-columns: repeat(2, 1fr); /* 2 videos per row */
    }
}

@media (max-width: 576px) {
    .video-gallery {
        grid-template-columns: 1fr; /* 1 video per row */
    }
}


/*Notice Board Page*/
.notice-board-container {
    padding: 2rem 0;
}

.notice-title {
    color: #042c71;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.notice-board {
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.notice-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e0e0e0;
}

    .notice-item:last-child {
        margin-bottom: 0;
    }

    .notice-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

.notice-details {
    flex: 1;
}

.notice-title-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #042c71;
    margin-bottom: 0.3rem;
}

.notice-date {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.notice-link {
    color: #378113;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

    .notice-link:hover {
        color: #f07901;
    }

    .notice-link .icon {
        font-size: 1.6rem;
        margin-right: 0.5rem;
        color: #f9e848;
        transition: transform 0.3s;
    }

    .notice-link:hover .icon {
        transform: rotate(360deg);
    }

/* Responsive Design */
@media (max-width: 576px) {
    .notice-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .notice-link {
        margin-top: 0.5rem;
    }
}


/*Press Release Page*/
.press-release-container {
    padding: 3rem 0;
}

.press-release-title {
    color: #042c71;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.press-release-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 images per row */
    gap: 1rem;
}

.press-release-item {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .press-release-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    }

    .press-release-item img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-bottom: 4px solid #1d2553;
    }

    .press-release-item .image-title {
        padding: 1rem;
        text-align: center;
        background-color: #1d2553;
        color: white;
        font-weight: 600;
        font-size: 1rem;
        border-radius: 0 0 12px 12px;
        overflow-y: auto; /* Enable vertical scrolling */
        max-height: 4rem; /* Set a fixed height for the title */
        text-overflow: ellipsis; /* Add ellipsis if text overflows */
    }

/* Responsive Design */
@media (max-width: 992px) {
    .press-release-gallery {
        grid-template-columns: repeat(2, 1fr); /* 2 images per row on medium screens */
    }
}

@media (max-width: 576px) {
    .press-release-gallery {
        grid-template-columns: 1fr; /* 1 image per row on small screens */
    }

    .press-release-title {
        font-size: 1.8rem;
    }
}


/*Downloads Page*/

.downloads-table th,
.downloads-table td {
    vertical-align: middle;
    font-size: 1rem;
}

.downloads-table .thead-custom {
    background-color: #378113;
    color: #ffffff;
}

.downloads-table tbody tr:hover {
    background-color: #f1f1f1;
}

.download-icon {
    font-size: 1.5rem;
    color: #00933d;
    transition: color 0.3s ease;
}

    .download-icon:hover {
        color: #f07901;
    }


    /*Administration Staff*/
.staff-title {
    font-size: 2rem;
    font-weight: bold;
    color: #378113;
    border-bottom: 2px solid #8cc050;
    padding-bottom: 8px;
    text-align:center;
}


.staff-card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .staff-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    }

.staff-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.staff-info {
    padding: 15px;
}

.staff-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #362614;
}

.staff-designation {
    font-size: 1rem;
    color: #378113;
    margin-top: 5px;
}


/*Committees Page*/
.committee-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #378113;
    border-bottom: 2px solid #8cc050;
    padding-bottom: 10px;
}

.committee-description {
    font-size: 1rem;
    color: #555;
    width: 100%;
    margin: 0 auto 40px;
}

.committee-card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .committee-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    }

.committee-name {
    font-size: 1.8rem;
    color: #1d2553;
}

.committee-info {
    font-size: 1rem;
    color: #555;
}

.chairperson {
    font-size: 1.1rem;
    color: #378113;
}

.members {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.member-badge {
    background-color: #f07901;
    color: #362614;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s, transform 0.3s;
}

    .member-badge:hover {
        background-color: #378113;
        color: #fff;
        transform: translateY(-3px);
    }


/*Accessibility Buttons and Mail*/
/* Screen Section Styles */
.screen {
    background-color: #1d2553;
    color: white;
}

.screen-link,
.text-size {
    color: white;
    font-weight: 500;
    margin: 0 5px;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
}

    .screen-link:hover,
    .text-size:hover {
        color: white;
        transform: translateY(-2px);
    }

.text-size {
    padding: 0 4px;
    font-size: 1rem;
    cursor: pointer;
}

#dark {
    background-color: #000;
    color: white;
    padding: 0 8px;
    border-radius: 3px;
}

/* Dark mode styles */
.dark-mode {
    background-color: #121212;
    color: white;
}

/* Text center alignment */
.text-center {
    text-align: center;
}

@media (max-width: 576px) {
    .screen-link,
    .text-size {
        font-size: 10px; /* Further reduced font size for small screens */
        margin: 0 3px;
    }
}


/*About Us*/
/* About Us Section Styles */
.about-iti {
    background-color: #f5f5f5;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

/* Section Content Box */
.about-content {
    background-color: #fff;
    padding: 2rem;
    border: 2px solid #059541;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

    .about-content:hover {
        transform: translateY(-5px);
    }

/* Title Styling */
.about-title {
    color: #00933d;
    font-weight: 700;
    font-size: 2rem;
    text-transform: uppercase;
    text-align: center; /* Centered title */
    position: relative;
    display: block;
}

    .about-title::before {
        content: '';
        width: 60px;
        height: 4px;
        background-color: #005a25;
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
    }

/* Paragraph Styling */
.about-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

/* Button Styling */
.about-btn {
    background-color: #378113;
    color: #fff;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 30px;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

    .about-btn:hover {
        background-color: #2e6e0f;
        transform: translateY(-3px);
    }

/* Decorative Elements */
.about-iti::before,
.about-iti::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: rgba(55, 129, 19, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.about-iti::before {
    top: -20px;
    left: -20px;
}

.about-iti::after {
    bottom: -20px;
    right: -20px;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .about-title {
        font-size: 1.5rem;
    }

    .about-text {
        font-size: 0.9rem;
    }

    .about-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

/*Principal's Desk*/
/* Principal's Desk Section Styles */
.principal-desk {
    background-color: #f9f9f9;
    color: #362614;
}

/* Card Styling */
.principal-card {
    background-color: #fff;
    border: 2px solid #059541;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

    .principal-card:hover {
        transform: translateY(-5px);
    }

/* Photo Styling */
.principal-photo {
    width: 100%;
    max-width: 180px;
    height: auto;
    border: 5px solid #f07901;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Principal Name & Title */
.principal-name {
    color: #378113;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0;
}

.principal-title {
    color: #f07901;
    font-weight: 500;
    font-size: 1rem;
}

/* Heading */
.principal-heading {
    color: #00933d;
    text-align: center;
    font-weight: 700;
    font-size: 2rem;
    border-bottom: 3px solid #005a25;
    padding-bottom: 10px;
}

/* Message Text */
.principal-message {
    font-size: 1rem;
    line-height: 1.8;
    text-align: justify;
    color: #555;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .principal-heading {
        font-size: 1.5rem;
    }

    .principal-name {
        font-size: 1.1rem;
    }

    .principal-title {
        font-size: 0.9rem;
    }

    .principal-message {
        font-size: 0.9rem;
    }
}


/*Electrician Page*/
/* Trade Section Styling */
.trade-section {
    background-color: #f5f5f5;
    padding: 2rem;
    border: 2px solid #378113;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

    .trade-section:hover {
        transform: translateY(-5px);
    }

/* Trade Image Styling */
.trade-image {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border: 5px solid #f07901;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Trade Title */
.trade-title {
    font-size: 2rem;
    font-weight: 700;
    color: #00933d;
    border-bottom: 3px solid #378113;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Trade Info List */
.trade-info {
    list-style: none;
    padding: 0;
}

    .trade-info li {
        font-size: 1rem;
        color: #362614;
        margin-bottom: 0.75rem;
        padding-left: 1.5rem;
        position: relative;
        line-height: 1.6;
    }

        /* Custom Bullet Points */
        .trade-info li::before {
            content: "\2022";
            color: #378113;
            font-size: 1.2rem;
            position: absolute;
            left: 0;
            top: 0.1rem;
        }

        /* Strong Text Styling */
        .trade-info li strong {
            color: #00933d;
        }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .trade-section {
        padding: 1.5rem;
    }

    .trade-title {
        font-size: 1.5rem;
    }

    .trade-info li {
        font-size: 0.95rem;
    }

    .trade-image {
        max-height: 250px;
    }
}


/*Contact Us Page*/
/* Contact Section Styling */
.contact-section {
    background-color: #f5f5f5;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Equal Height Styling */
.contact-info,
.query-form {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

/* Contact Title and Form Title Styling */
.contact-title,
.form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #00933d;
    margin-bottom: 1rem;
    border-bottom: 3px solid #378113;
    padding-bottom: 0.5rem;
}

/* Contact Info Styling */
.contact-text {
    font-size: 1rem;
    color: #362614;
    line-height: 1.8;
}

    .contact-text i {
        color: #378113;
        margin-right: 8px;
        font-size: 1.2rem;
    }

    .contact-text a {
        color: #f07901;
        font-weight:600;
        text-decoration: none;
        transition: color 0.3s;
    }

        .contact-text a:hover {
            color: #378113;
        }

/* Form Styling */
.form-control {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 0.75rem;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: border-color 0.3s;
}

    .form-control:focus {
        border-color: #378113;
        box-shadow: 0 0 5px rgba(55, 129, 19, 0.3);
    }

.btn-submit {
    background-color: #378113 !important;
    color: #fff !important;
    font-size: 1rem !important;
    padding: 6px 12px !important;
    border: none !important;
    border-radius: 5px !important;
    transition: background-color 0.3s !important;
}

    .btn-submit:hover {
        background-color: #1d2553 !important;
        color: #fff !important;
    }

/* Responsive Adjustments */
@media (max-width: 576px) {
    .contact-title,
    .form-title {
        font-size: 1.5rem;
    }

    .contact-text {
        font-size: 0.95rem;
    }

    .btn-submit {
        width: 100%;
    }
}


/*Tenders Page*/
/* Section Styling */
.iti-docs-section {
    background-color: #f5f5f5;
    padding: 2rem 0;
    border-top: 3px solid #378113;
    border-bottom: 3px solid #378113;
    border-radius: 8px;
}

/* Table Styling */
.docs-files-table {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

/* Table Header Styling */
.thead-custom {
    background-color: #378113;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
}

/* Table Row Styling */
.docs-files-table tbody tr {
    transition: background-color 0.3s ease;
}

    .docs-files-table tbody tr:hover {
        background-color: #ffead5;
    }

/* Download Link Styling */
.docs-download-link {
    color: #1d2553;
    font-size: 1.5rem;
    transition: color 0.3s;
}

    .docs-download-link:hover {
        color: #378113;
    }

/* Download Icon Styling */
.docs-download-icon {
    font-size: 1.2rem;
}

/* Responsive Table Adjustments for Small Screens */
@media (max-width: 576px) {
    .section-title {
        font-size: 1.5rem;
    }

    .docs-files-table {
        font-size: 0.9rem;
    }

    .docs-download-icon {
        font-size: 1rem;
    }
}


/*Vision and Mission*/
/* Vision and Mission Section Styling */
.vision-mission-section {
    background-color: #f5f5f5;
    padding: 2rem 0;
    border-top: 3px solid #378113;
    border-bottom: 3px solid #378113;
}

/* Vision Box Styling */
.vision-box, .mission-box {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

    .vision-box:hover, .mission-box:hover {
        transform: translateY(-10px);
    }

/* Icon Styling */
.vision-icon, .mission-icon {
    font-size: 4rem;
    color: #378113;
    margin-bottom: 1rem;
}

/* Title Styling */
.vision-title, .mission-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1d2553;
    margin-bottom: 1rem;
}

/* Text Styling */
.vision-text, .mission-text {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .section-title {
        font-size: 1.5rem;
    }

    .vision-text, .mission-text {
        font-size: 0.9rem;
    }

    .vision-icon, .mission-icon {
        font-size: 3rem;
    }

    .vision-title, .mission-title {
        font-size: 1.5rem;
    }
}


/*Affiliation and Accreditation*/
/* Affiliation and Accreditation Section Styling */
.affiliation-accreditation-container {
    padding: 3rem 0;
    background-color: #f5f5f5;
}

.affiliation-block, .accreditation-block {
    background-color: #fff;
    padding: 3rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

    .affiliation-block:hover, .accreditation-block:hover {
        transform: translateY(-10px);
    }

/* Section Content */
.section-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Section Heading */
.section-heading {
    font-size: 2.5rem;
    color: #00933d;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #f07901;
    padding-bottom: 0.5rem;
}

/* Section Description */
.section-description {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .section-heading {
        font-size: 2.2rem;
    }

    .section-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 992px) {
    .section-heading {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .affiliation-block, .accreditation-block {
        padding: 2rem 1rem;
    }
}

@media (max-width: 768px) {
    .section-heading {
        font-size: 1.8rem;
    }

    .section-description {
        font-size: 0.95rem;
    }

    .affiliation-block, .accreditation-block {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .section-heading {
        font-size: 1.5rem;
    }

    .section-description {
        font-size: 0.9rem;
    }

    .affiliation-block, .accreditation-block {
        padding: 1.2rem;
    }
}


.sitemap-road {
    padding: 2rem 1rem;
    background: #f9fafb;
}

.sitemap-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: #0070c0;
}

.road-container {
    position: relative;
    max-width: 1000px;
    margin: auto;
    padding: 0 1rem;
}

    /* Central road line */
    .road-container::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 4px;
        background: repeating-linear-gradient( to bottom, #ff6600, #ff6600 20px, transparent 20px, transparent 40px );
        transform: translateX(-50%);
    }

.road-item {
    position: relative;
    width: 50%;
    padding: 1rem 2rem;
    box-sizing: border-box;
}

    .road-item.left {
        left: 0;
        text-align: right;
    }

    .road-item.right {
        left: 50%;
        text-align: left;
    }

    .road-item .dot {
        position: absolute;
        top: 1.2rem;
        width: 18px;
        height: 18px;
        background: #008000;
        border-radius: 50%;
        border: 3px solid #fff;
        box-shadow: 0 0 0 3px #00800055;
    }

    .road-item.left .dot {
        right: -11px;
    }

    .road-item.right .dot {
        left: -11px;
    }

    .road-item a {
        display: inline-block;
        text-decoration: none;
        font-size: 1rem;
        font-weight: 600;
        color: #1e293b;
        transition: color .3s ease;
        background: #ffffff;
        padding: .6rem 1rem;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,.1);
    }

        .road-item a:hover {
            color: #ff6600;
        }

/* Responsive: stack vertically */
@media (max-width: 768px) {
    .road-container::before {
        left: 10px;
    }

    .road-item, .road-item.left, .road-item.right {
        width: 100%;
        text-align: left;
        padding-left: 2.5rem;
    }

        .road-item .dot {
            left: -1px;
            right: auto;
        }
}

.faq-section {
    background: linear-gradient(135deg, #0070c0 0%, #008000 100%);
    padding: 3rem 1rem;
    color: #1e293b;
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #f9fafb;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
}

.faq-header {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-title {
    font-size: 2rem;
    margin: 0;
    color: #1d2553;
}

.faq-subtitle {
    color: #1e293b;
    font-size: 1rem;
    opacity: .7;
    text-align: center;
}

.faq-grid {
    display: grid;
    gap: 1rem;
}

.faq-item {
    background: #ffffff;
    border: 2px solid #0070c0;
    border-radius: 10px;
    overflow: hidden;
    transition: all .3s ease;
}

    .faq-item:hover {
        border-color: #ff6600;
        transform: translateY(-2px);
    }

.faq-question {
    padding: 1rem;
    font-weight: 600;
    cursor: pointer;
    color: #1d2553;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .faq-question::after {
        content: "+";
        font-size: 1.2rem;
        color: #ff6600;
        transition: transform .3s ease;
    }

.faq-item[open] .faq-question::after {
    content: "−";
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1rem 1rem;
    font-size: .95rem;
    line-height: 1.5;
    color: #1e293b;
}

@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr 1fr;
    }
}