/* General Styles */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --sideLinkColor: #721c24;
    --examinationSidebarNewAttcolor:#28a745;
    --adminSubMenuLiColor: #7ca1ae;
    --transition: all 0.3s ease-in-out;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Aspect ratio: 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background-color: #000; /* Optional: Adds a background in case video doesn't load */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.logo-img {
    max-width: 100%;
    height: auto;
}

.event-image {
        width: 14rem; /* Set the desired width */
        height: 14rem; /* Set the desired height */
        object-fit: cover; /* Ensures the image covers the area without distortion */
}

.header-section img {
    max-height: 72px; /* Adjust the height to fit your layout */
    object-fit: contain; /* Ensures aspect ratio is maintained */
}

.input-group {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.input-group select, 
.input-group input, 
.input-group button {
    height: 40px;
}

.input-group select {
    width: 30%;
}

.input-group input {
    width: 30%;
}

.input-group button {
    width: 20%; 
}

.input-group button i {
    font-size: 18px;
}
.text-primary-sssa{
    color: var(--primary-color);
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Navigation Styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: var(--primary-color);
}

.nav-link {
    position: relative;
    font-weight: 500;
}
/* Show the dropdown when the parent item is hovered */
.nav-item.dropdown .dropdown-menu {
    display: none;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    position: absolute; 
    z-index: 1000;
}

.hover-effect::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: white;
    transition: var(--transition);
    transform: translateX(-50%);
}

.hover-effect:hover::after {
    width: 100%;
}

/* Carousel Styles */
.carousel-item {
    height: 600px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

/* Quick Links Styles */
.quick-link {
    transition: var(--transition);
    cursor: pointer;
}

.quick-link:hover {
    transform: translateY(-5px);
    color: var(--primary-color);
}

.quick-link i {
    transition: var(--transition);
}

.quick-link:hover i {
    transform: scale(1.2);
}

/* Card Styles */
.hover-card {
    transition: var(--transition);
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
}
/* admission poratl payment Section  (addp)*/
.adpp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f8f9fa;
}

.adpp-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.adpp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.adpp-card {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.adpp-card:hover {
    transform: scale(1.05);
}

.adpp-icon {
    font-size: 32px;
    color: var(--primary-color);
}

.adpp-card p {
    margin: 0;
    font-size: 16px;
    color: #343a40;
}

.adpp-new {
    font-size: 14px;
    font-weight: bold;
    color: red;
    margin-left: 5px;
}


/* Map Styles */
.map-container {
    border-radius: 10px;
    overflow: hidden;
}

.contact-info i {
    width: 20px;
}

/* Footer Styles */
.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    padding-left: 10px;
    color: var(--primary-color);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: var(--transition);
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/*Home Counter Section*/
.hm-counter-section {
    background-color: #c3d5e8;
    padding: 80px 0;
    text-align: center;
    border: dotted var(--primary-color);
}

.hm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.hm-counter-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.hm-counter-item {
    padding: 20px;
    transition: var(--transition);
}

.hm-counter-item:hover {
    transform: translateY(-5px);
}

.hm-counter-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.hm-counter-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1;
}

.hm-counter-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* About Title And About Page Style */
.abt-title {
    font-size: 2em;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

/* About Paragraphs */
.abt-paragraph {
    font-size: 1.1em;
    color: var(--dark-color);
    line-height: 1.6;
    text-align: justify;
}
.abt-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.abt-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Card Style */

.abt-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.abt-about {
    text-align: center;
    background-color: var(--light-color);
}
.abt-image {
    margin-bottom: 20px;
}

/* Section */
.abt-section {
    margin-bottom: 40px;
}
.abt-card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.abt-card {
    background-color: var(--light-color);
    width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.abt-card:hover {
    transform: scale(1.05);
}

.abt-card-content {
    padding: 20px;
}

.abt-card-title {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.abt-card-description {
    color: var(--dark-color);
    font-size: 1em;
}

.abt-org-details, .abt-Official-Address {
    width: 80%;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.abt-org-details h2, .abt-Official-Address h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.abt-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--secondary-color);
}
.abt-row-bold {
    font-weight: bold;
}

.abt-row:last-child {
    border-bottom: none;
}

.abt-row div {
    width: 48%;
}

.abt-row strong {
    font-weight: bold;
}

/* Important Links Section */
.abt-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.abt-link-card {
    width: 150px;
    text-align: center;
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 10px;
    border-radius: 8px;
    transition: var(--transition);
    text-decoration: none;
}

.abt-link-card:hover {
    background-color: var(--primary-color);
}

/* Footer */
.abt-footer {
    text-align: center;
    padding: 20px;
    background-color: var(--secondary-color);
    color: var(--light-color);
    font-size: 0.9em;
}



/* Gallery Section (g) */
.video-iframe {
    width: 100%;
    height: 200px;
}
    
.g-gallery-container {
    padding: 2rem;
    background: #f8f9fa;
}

.g-gallery-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #333;
}

.g-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.g-img-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
    cursor: pointer;
}

.g-img-card:hover {
    transform: translateY(-5px);
}

.g-img-wrapper {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
}

.g-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.g-img-description {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.g-img-card:hover .g-img-description {
    transform: translateY(0);
}

.g-img-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.g-img-text {
    font-size: 0.9rem;
    line-height: 1.4;
}

.g-img-date {
    font-size: 0.8rem;
    color: #ccc;
    margin-top: 0.5rem;
}

.g-img-link {
    text-decoration: none;
    color: inherit;
    display: block;
}


/* Gallery Magazine Section */

.g-mag-title {
    color: var(--sideLinkColor);
    font-size: 2rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--sideLinkColor);
    padding-bottom: 0.5rem;
}

.g-mag-sidebar {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.g-mag-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.g-mag-links li {
    margin-bottom: 1rem;
}

.g-mag-links a {
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 0.5rem;
    border-radius: 4px;
}

.g-mag-links a:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
    padding-left: 1rem;
}

.g-mag-table {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.g-mag-table thead {
    color: white;
}

.g-mag-table th,
.g-mag-table td {
    padding: 1rem;
    vertical-align: middle;
}

.g-mag-download {
    background-color: transparent;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.g-mag-download:hover {
    color: #0056b3;
}

.g-mag-new {
    background-color: var(--examinationSidebarNewAttcolor);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

/* Affiliated Schools Page Sections */

.afsc-container {
    padding: 1rem;
    background-color: var(--light-color);
}

.afsc-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.afsc-search-section {
    background-color: var(--maroon-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.afsc-search-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.afsc-search-label {
    color: white;
    font-weight: 500;
    margin-bottom: 0;
    white-space: nowrap;
}

.afsc-select,
.afsc-search-input {
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 0.5rem;
    width: 100%;
}

.afsc-go-btn {
    background-color: #ff6b4a;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.afsc-go-btn:hover {
    background-color: #ff5533;
}

.afsc-table {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.afsc-table thead {
    background-color: #f0f0f0;
}

.afsc-table th {
    padding: 1rem;
    font-weight: 600;
    color: var(--dark-color);
}

.afsc-table td {
    padding: 1rem;
    vertical-align: top;
}

.afsc-college-name {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.afsc-address {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.afsc-contact-info {
    font-size: 0.9rem;
}

.afsc-label {
    font-weight: 500;
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

.afsc-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.afsc-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.afsc-type-badge {
    background-color: #e9ecef;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.afsc-principal {
    font-weight: 500;
}

.afsc-contact-item {
    display: block;
    margin-bottom: 0.3rem;
}

/* admin panel add-afsc form */
.add-afsc-form-container {
    display: none;
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: var(--light-color);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease-in-out;
}

.add-afsc-form-container.visible {
    display: block;
    opacity: 1;
}

.add-afsc-toggle-btn {
    font-size: 30px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 1px 7px;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.add-afsc-toggle-btn:hover {
    background-color: var(--primary-color);
}

.add-afsc-data-form {
    display: flex;
    flex-direction: column;
}

.add-afsc-data-form-title {
    font-size: 24px;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 20px;
}

.add-afsc-data-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
}

.add-afsc-data-field {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.add-afsc-data-field label {
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 5px;
    font-size: 14px;
}

.add-afsc-data-field input {
    padding: 8px;
    font-size: 14px;
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    outline: none;
    transition: border-color var(--transition);
}

.add-afsc-data-field input:focus {
    border-color: var(--primary-color);
}

.add-afsc-data-submit {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.add-afsc-data-btn {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color var(--transition);
}

.add-afsc-data-btn:hover {
    background-color: #0056b3;
}

.add-afsc-data-btn:focus {
    outline: none;
}

/* Student Login Page (std-login) */

.std-login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.std-login-form {
    background: var(--primary-color);
    padding: 2rem;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.std-login-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--light-color);
}

.std-login-input-group {
    position: relative;
    margin-bottom: 1rem;
}

.std-login-input {
    width: 100%;
    padding: 0.8rem 2.5rem 0.8rem 1rem;
    border: none;
    border-radius: 5px;
    outline: none;
    
}

.std-login-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: var(--secondary-color);
}



.std-login-checkbox {
    margin-right: 0.5rem;
}

.std-login-forgot {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.std-login-button {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    background: var(--secondary-color);
    color: var(--light-color);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.std-login-button:hover {
    background: #0056b3;
}

.std-login-register {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.std-login-register a {
    color: var(--primary-color);
    text-decoration: none;
}

/* vice chancellor page ui css (vc) */
.vc-container {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.vc-content {
    display: flex;
    align-items: flex-start;
    background-color: var(--light-color);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    max-width: 800px;
    border-radius: 8px;
    overflow: hidden;
}

.vc-image {
    flex-shrink: 0;
    padding: 15px;
}

.vc-image img {
    width: 150px;
    height: auto;
    border-radius: 8px;
}

.vc-message {
    padding: 20px;
    color: var(--dark-color);
    line-height: 1.6;
}

.vc-name {
    font-size: 1.5em;
    color: var(--primary-color);
    margin: 0;
}

.vc-position {
    font-size: 1.1em;
    color: var(--secondary-color);
    margin: 5px 0 20px;
}

.vc-message p {
    margin: 0 0 10px;
}

.vc-signoff {
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 20px;
    text-align: right;
}

/* Registrar page design */

.registrar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--light-color);
    padding: 2rem;
}

.registrar-info {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 500px;
    margin: 0 auto;
}

.registrar-info h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.registrar-info p {
    margin-bottom: 1rem;
}

.registrar-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.registrar-info a:hover {
    text-decoration: underline;
}

.registrar-info img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.registrat-contact-info {
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

/* question paper css */

.q-paper-container {
    max-width: 100%;
    border: 1px solid var(--secondary-color);
    border-radius: 8px;
    padding: 20px;
    background-color: var(--light-color);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Year Selector */
.q-paper-year-selector {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.q-paper-year-label {
    font-weight: bold;
    margin-right: 10px;
}

.q-paper-year-dropdown {
    padding: 8px;
    font-size: 1rem;
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    outline: none;
}

.q-paper-year-button {
    padding: 8px 16px;
    margin-left: 10px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.q-paper-year-button:hover {
    background-color: #0056b3;
}

/* Table */
.q-paper-table-container {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--secondary-color);
    border-radius: 8px;
}

.q-paper-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.q-paper-table th,
.q-paper-table td {
    padding: 10px;
    border: 1px solid var(--secondary-color);
    text-align: left;
}

.q-paper-table th {
    background-color: var(--dark-color);
    color: white;
    font-weight: normal;
}

.q-paper-table td {
    background-color: var(--light-color);
}

.q-paper-search-bar {
    padding: 8px;
    width: 200px;
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    
}

/* Pagination */
.q-paper-pagination {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.q-paper-pagination button {
    padding: 6px 12px;
    margin: 0 5px;
    border: 1px solid var(--secondary-color);
    background-color: transparent;
    border-radius: 4px;
    cursor: pointer;
    color: var(--dark-color);
}

.q-paper-pagination button:hover {
    background-color: var(--primary-color);
    color: white;
}

/* about marksheet page css */
.abt-mark-container {
    width: 98%;
    background-color: white;
    border: 1px solid var(--secondary-color);
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
}

.abt-mark-view-result h2 {
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.abt-mark-form label {
    color: var(--dark-color);
    font-weight: bold;
    margin-top: 10px;
    display: block;
}

.abt-mark-input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid var(--secondary-color);
    border-radius: 5px;
    transition: var(--transition);
}

.abt-mark-input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.abt-mark-button {
    width: 100%;
    padding: 10px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}

.abt-mark-button:hover {
    background-color: var(--dark-color);
}

.abt-mark-note {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--secondary-color);
    text-align: center;
}

/* admin panel css start from here */

.admn-container {
    display: flex;
    height: 100vh; /* Ensure the container fills the height of the viewport */
}

/* Sidebar styles */
.admn-sidebar {
    width: 250px;
    background-color: black;
    color: white;
    padding: 20px;
    height: 100%; /* Ensure it fills the full height */
    box-sizing: border-box;
    overflow: auto;
    scrollbar-width: none; /* Firefox */
    height: 100vh; 
}

.admn-sidebar::-webkit-scrollbar {
     display: none; /*crome,safari,edge */
}

.admn-logo h2 {
    color: white;
    text-align: center;
    font-size: 24px;
    margin: 0;
}

.admn-profile {
    text-align: center;
    margin: 20px 0;
}

.admn-profile-img {
    width: 90px;
    height: 9s0px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.admn-profile p {
    margin: 0;
    color: white;
    font-size: 16px;
}

/* Navigation styles */
.admn-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    
}

.admn-nav-item {
    display: block;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.admn-nav-item:hover {
    background-color: var(--secondary-color);
}

/* Sub-menu styles: initially hidden */
.admn-sub-menu {
    display: none;
    list-style: none;
    padding-left: 20px; /* Indent the sub-menu */
    background-color: #000000;
    color: var(--light-color);
    margin: 0;
}

/* Show the sub-menu on hover */
.admn-nav li:hover .admn-sub-menu {
    display: block;
    position: relative;
    top: 0;
    left: 0;
}

/* Sub-menu item styles */
.admn-sub-menu li a {
    color: var(--adminSubMenuLiColor);
    padding: 8px 15px;
    display: block;
    text-decoration: none;
}

.admn-sub-menu li a:hover {
    background-color: var(--adminSubMenuLiColor);
    color: var(--light-color);
}

/* Main content styles */
.admn-main {
    flex-grow: 1;
    padding: 20px;
    background-color: var(--light-color);
    overflow-y: auto; 
    overflow: auto;
    scrollbar-width: none;
}
.admn-main::-webkit-scrollbar {
    display: none; /*crome,safari,edge */
}


/* Header styles */
.admn-header {
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    background-color: var(--light-color);
    padding: 15px;
    border-bottom: 1px solid var(--secondary-color);
}

.admn-header h1 {
    margin: 0; 
}

.admn-header-icons {
    display: flex;
    gap: 50px; 
}
.admn-icon-link {
    font-size: 20px; 
    color: var(--primary-color); 
    text-decoration: none; 
    transition: color 0.3s;
}
.admn-icon-link:hover {
    color: var(--hover-color); 
}
.superadmin {
    color: var(--admin-color); 
}

.superadmin:hover {
    color: var(--admin-hover-color); 
}

/* Footer styles */
.admn-footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 15px 0;
    margin-top: 20px;
    border-radius: 8px;
    font-size: 0.9em;
}
/* admin panel home content change using it that form */

.admn-hm-change{
    padding: 20px;
    background-color: var(--light-color);
    border-radius: 8px;
    box-sizing: border-box;
}

.form-section {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-section h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.form-section .form-label {
    font-weight: bold;
    color: var(--dark-color);
}

.form-section .form-control {
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--secondary-color); 
    transition: var(--transition);
}

.form-section .form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 5px rgba(13, 110, 253, 0.5);
}

.form-section .btn {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    background-color: var(--primary-color); 
    border: none;
    color: white;
    border-radius: 5px;
    transition: var(--transition);
}

.form-section .btn:hover {
    background-color: var(--primary-color);
}

.form-section .btn:active {
    background-color: #004085;
}
/* login of admin  */
.admin-login-container{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

}
.admin-login-box {
    background: rgba(255, 255, 255, 0.1); /* Transparent background with opacity */
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 40px;
    width: 320px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.admin-login-box:hover {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
}
.admin-login-logo {
    width: 100px;
    border-radius: 75px;
}
.admin-login-container-h2 {
    color: var(--light-color);
    margin-bottom: 20px;
    font-weight: 600;
}
.admin-login-textbox {
    margin-bottom: 20px;
    padding-right: 40px;
    position: relative;
}
.admin-login-textbox input {
    width: 100%;
    padding: 12px;
    padding-left: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.2);
    color: var(--light-color);
    font-size: 16px;
    outline: none;
}
.admin-login-textbox input::placeholder {
    color: var(--light-color);
}

.admin-login-textbox input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color); 
}
.admin-login-btn {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background-color: var(--primary-color);
    color: white;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.admin-login-btn:hover{
    background-color: var(--dark-color);
}
.custom-background{
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}
/* add news form and that page */
.add-news-form {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}
.add-news-form input,
.add-news-form button {
    padding: 10px;
    margin: 10px;
    font-size: 16px;
}
.add-news-form input {
    width: 200px;
}
.add-news-form button.add-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
.add-news-form button.update-btn {
    background-color: #ff9800;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
.add-news-form button.delete-btn {
    background-color: #f44336;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}
/* add top rankers details css  */
.add-toprankers-form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

h4 {
    text-align: center;
    margin-bottom: 20px;
}

/* Styling for each form group (label + input pair) */
.add-toprankers-form-group {
    display: flex;
    margin-bottom: 15px;
    align-items: center;
}

.add-toprankers-form-label {
    width: 150px;
    font-weight: bold;
    margin-right: 20px;
}

.add-toprankers-form-input {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.add-toprankers-form-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Styling for form action buttons */
.add-toprankers-form-actions {
    text-align: center;
    margin-top: 20px;
}

.add-toprankers-form-btn {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    margin: 0 10px;
    cursor: pointer;
    font-size: 14px;
}

.add-toprankers-form-btn:hover {
    background-color: #45a049;
}

/* Styling for the Reset button */
.add-toprankers-reset-btn {
    padding: 10px 20px;
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 5px;
    margin: 0 10px;
    cursor: pointer;
    font-size: 14px;
}

.add-toprankers-reset-btn:hover {
    background-color: #e53935;
}

/* preview of news section css */

.pre-news-item {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.pre-news-item:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.pre-news-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}
.pre-news-item p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.pre-actions {
    display: flex;
    justify-content: space-between;
}
.pre-actions button {
    padding: 8px 15px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
.pre-news-update-btn {
    background-color: #ff9800;
    padding: 10px 20px;
    color: white;
    border: none;
    border-radius: 5px;
    margin: 0 10px;
    cursor: pointer;
    font-size: 14px;
}
.pre-news-delete-btn {
    background-color: #f44336;
    color: white;
}
.pre-news-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
    color: #555;
}

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 1s ease-out;
}

@media (max-width: 768px) {
    
    .abt-org-details, .abt-Official-Address {
        width: 100%;
    }
     
    .pb4 {
        font-size: 1.4rem; 
    }
    
    .P69 {
        display: flex; /* Use flexbox to center the image */
        justify-content: center; /* Center horizontally */
        margin-left: 0; /* Remove left margin for better centering */
        margin-right: 0; /* Remove right margin for better centering */
    }
    
    .event-image {
        margin: 0 auto; /* Center the image */
        width: 14rem; /* Set the desired width */
        height: 11rem; /* Set the desired height */
    }
    
    .pb12{
        font-size: 0.9rem; 
    }
    
    .video-container {
        padding-bottom: 75%; /* Adjust aspect ratio for mobile if needed */
        margin-top: 10px;

    }
    
    .navbar-nav {
        text-align: center;
    }
    

    .navbar-nav .nav-item {
        margin-bottom: 10px;
    }

    .hero-section .carousel-item {
        height: 400px;
    }

    .carousel-caption h2 {
        font-size: 1.5rem;
    }

    .quick-link {
        font-size: 14px;
    }

    .quick-link i {
        font-size: 25px;
    }

    /* .footer-links {
        text-align: center;
    } */

    .footer-links li {
        margin: 5px 0;
    }

    .contact-info {
        padding: 15px;
    }

    .map-container iframe {
        width: 100%;
        height: 300px;
    }

    .footer .social-icons {
        display: flex;
        justify-content: center;
        margin-top: 15px;
    }

    .footer .social-icons .social-icon {
        margin-right: 10px;
    }

    .footer .social-icons .social-icon:last-child {
        margin-right: 0;
    }

    .footer .footer-links {
        padding-left: 0;
    }

    .card-body {
        padding: 10px;
    }

    /* About (abt) section  */
    .abt-container {
        padding: 10px;
    }

    .abt-title {
        font-size: 2em;
        color: var(--primary-color);
        margin-bottom: 20px;
    }

    .abt-card {
        width: 100%;
    }

    .abt-link-card {
        width: 100%;
    }
    /* Admission Portal Payments(Adpp) section */

    .adpp-container {
        padding: 10px;
    }

    .adpp-title {
        font-size: 20px;
        color: var(--dark-color);
    }

    .adpp-grid {
        grid-template-columns: 1fr;
    }

    .adpp-card {
        padding: 10px;
        gap: 10px;
    }

    .adpp-icon {
        font-size: 28px;
    }

    .adpp-card p {
        font-size: 14px;
    }

    .g-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .afsc-container {
        padding: 1rem;
    }

    .afsc-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .afsc-search-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .afsc-search-group {
        margin-bottom: 1rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .afsc-search-label {
        margin-bottom: 0.5rem;
        display: block;
    }

    .afsc-search-input,
    .afsc-select {
        font-size: 0.9rem;
        padding: 0.5rem;
    }

    .afsc-go-btn {
        width: 100%;
        margin-top: 0.5rem;
        padding: 0.5rem;
    }

    .afsc-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .afsc-table th,
    .afsc-table td {
        padding: 0.75rem;
        min-width: 120px;
    }

    /* Convert table to cards for better mobile view  afsc section*/
    .afsc-table-mobile {
        display: block;
    }

    .afsc-table-mobile thead {
        display: none;
    }

    .afsc-table-mobile tbody tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 1rem;
        background: white;
    }

    .afsc-table-mobile td {
        display: block;
        border: none;
        padding: 0.5rem 0;
    }

    .afsc-table-mobile td:before {
        content: attr(data-label);
        font-weight: bold;
        display: block;
        margin-bottom: 0.25rem;
        color: var(--secondary-color);
    }

    .afsc-college-name {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .afsc-address {
        white-space: normal;
        margin-bottom: 0.5rem;
    }

    .afsc-contact-info {
        margin-top: 0.5rem;
    }

    .afsc-contact-item {
        margin-bottom: 0.25rem;
        white-space: normal;
    }

    .afsc-dropdown {
        max-height: 150px;
    }

    .afsc-dropdown-item {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    /* Adjustments For The Search Wrapper */
    .afsc-search-wrapper {
        width: 100%;
    }

    /* Make Contact Information More Readable On Mobile */
    .afsc-contact-info > div {
        margin-bottom: 0.5rem;
        white-space: normal;
    }

    .afsc-label {
        display: block;
        margin-bottom: 0.25rem;
    }

    .afsc-link {
        word-break: break-all;
    }

    /* Stack The Type Badge Vertically School Type */
    .afsc-type-badge {
        display: inline-block;
        margin-bottom: 0.5rem;
    }

    /*Counter Section Mobile*/
    .hm-counter-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hm-counter-item {
        padding: 15px;
    }

    .hm-counter-number {
        font-size: 36px;
    }

    .hm-counter-title {
        font-size: 16px;
    }

    /* Student Login Page */

    .std-login-form {
        width: 90%;
        padding: 1.5rem;
    }

    /* vice chancellor page ui css (vc) */

    .vc-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .vc-image {
        padding: 10px;
    }
    
    .vc-image img {
        width: 120px;
    }
    
    .vc-message {
        padding: 15px;
    }

    /* Registrar mobile view */

    .registrar-container {
        flex-direction: column;
        padding: 1rem;
    }

    .registrar-info {
        width: 100%;
        padding: 1rem;
    }

    /* question paper css  */
    .q-paper-year-selector {
        flex-direction: column;
        align-items: flex-start;
    }

    .q-paper-year-button {
        margin: 10px 0 0 0;
        width: 100%;
    }

    .q-paper-table {
        min-width: 100%;
    }

    .q-paper-pagination {
        justify-content: center;
    }
    .q-paper-search-bar{
        min-width: 100%;
    }

    /* about marksheet page css */

    .abt-mark-container {
        width: 98%;
        padding: 20px;
    }

    /* admin panel css start from here */
    .admn-sidebar{
        display: none;
    }
}


/* Mobile View Adjustments for screens <= 430px */
@media (max-width: 430px) {
  #google_translate_element {
    width: 100% !important;  /* Full width on smaller screens */
    text-align: center;      /* Center align the widget */
    margin: 0 auto;          /* Center the element */
    overflow: visible !important;  /* Avoid clipping */
  }

  /* Google Translate dropdown (Combo box) */
  .goog-te-combo {
    width: 100% !important;   /* Full width dropdown */
    font-size: 14px;          /* Smaller font size */
    padding: 5px;             /* Adjust padding for better fit */
  }

  /* Make sure the container is responsive */
  .goog-te-gadget-simple {
    width: 100% !important;   /* Set container width to 100% */
    text-align: center;       /* Center the content */
  }

  /* Hide the Google Translate banner/frame */
  .goog-te-banner-frame {
    display: none !important;  /* Hide the banner on mobile */
  }

  /* Language selector adjustments */
  .goog-te-menu-frame {
    max-width: 100% !important; /* Prevent overflow of the dropdown */
    overflow-x: hidden !important; /* Hide horizontal scroll */
  }

  /* Adjust button appearance and text */
  .goog-te-menu-value {
    padding: 5px !important;   /* Adjust padding */
    font-size: 14px !important; /* Smaller font size */
  }
}
