/* Bootstrap custom styles (optional) */
body {
    font-family: 'Segoe UI', sans-serif;
}


.nav-link {
    color: #007bff;
    text-decoration: none;
}

.navbar-toggler {
    background-color: #007bff;
}

html {
  scroll-behavior: smooth;
}
section {
  scroll-margin-top: 80px; /* adjust based on navbar height */
}
.home-page {
  padding-top: 194px; /* same as navbar height */
}

.white-bg {
    background-color: #ffffff !important;
    color: #000000;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-link:focus, .nav-link:hover {
    background-color: #ffc107;;
    color: #fff;
}

.circle-box {
    width: 160px;
    height: 160px;
    background-color: #f8f9fa;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.circle-box:hover {
    transform: scale(1.05);
    background-color: #e9ecef;
}

.circle-img {
    width: 160px;
    height: 160px;
    object-fit: contain;
}

.header-section {
    background-image: url('../assets/images/College.png'); /* Adjust path as needed */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    padding: 100px 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.header-section h1,
.header-section h2 {
    background-color: rgba(255, 255, 255, 0.7);
    display: inline-block;
    padding: 10px 20px;
    border-radius: 10px;
    color: #004080;
}

.header-section p {
    background-color: rgba(255, 255, 255, 0.9);
    display: inline-block;
    padding: 8px 15px;
    border-radius: 8px;
    color: #000;
    font-weight: 500;
}

.header-section a.btn {
    font-weight: bold;
    padding: 12px 24px;
}

.justified-text {
  text-align: justify;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

thead th {
    background-color: #004080;
    color: white;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ddd;
}

tbody td {
    padding: 12px;
    border: 1px solid #ccc;
    font-size: 15px;
}

tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

tbody tr:hover {
    background-color: #f1f1f1;
}

thead tr:nth-child(2),
thead tr:nth-child(3),
thead tr:nth-child(4) {
    background-color: #e6f0ff;
    color: #003366;
    font-weight: bold;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.pagination li {
    color: #1f2937!important; 
    display: inline-block;
}

.pagination a,
.pagination span {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db; /* Tailwind gray-300 */
    border-radius: 0.375rem;    /* rounded-md */
    text-decoration: none;
    color: #1f2937;             /* gray-800 */
    font-size: 0.875rem;        /* text-sm */
}

.pagination a:hover {
    background-color: #2563eb;  /* gray-100 */
}

.pagination .active span {
    background-color: #2563eb; /* blue-600 */
    color: #fff;
    font-weight: bold;
}

.pagination .disabled span {
    color: #9ca3af;             /* gray-400 */
    cursor: not-allowed;
    background-color: #2563eb;  /* gray-50 */
}

/* Example: app.css */
#intro h2, 
#attractions h2, 
#culture h2, 
#travel h2,
.heading-title {
    color: #2b6cb0;
    margin-top: 2rem;
}

ul li {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.text-warning {
    --bs-text-opacity: 1;
    color: #075cff !important;
}

.inline-block {
  display: inline-block!important;
}

.font25 {
  font-size: 25px;
}

.text-red {
  color: red;
}

#scrolling-text-wrapper {
    width: 100%;
    overflow: hidden;
    background: #f8f9fa;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 8px 0;
    position: fixed;
    z-index: 9999;
    top: 0;
}

#scrolling-text {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: scroll-left 20s linear infinite;
    font-weight: bold;
    font-size: 1rem;
    color: #333;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Example: Hide scrolling text on dashboard */
.candidate-dashboard #scrolling-text-wrapper {
    display: none;
}

/* Or change top padding if needed */
.candidate-dashboard main {
    padding-top: 154px; /* adjust as needed */
}

.home-page .fixed-top {
  top: 40px;
}

/* Preloader overlay */
#preloader {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999999;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Spinner animation */
.spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #007bff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.nav-link.active {
    font-weight: bold;
    background-color: #007bff;;
    color: #fff;
}

.imgcenter {
  margin: 0 auto;
}

@media (max-width: 768px) {
    .header-section h1, 
    .header-section h2 {
        font-size: 1.5rem;
    }
    
    .header-section p {
        font-size: 1rem;
    }
    
    .circle-box {
        width: 120px;
        height: 120px;
    }
    
    .circle-img {
        width: 120px;
        height: 120px;
    }

    .font25 {
        font-size: 18px;
    }

}