:root {
    --primary-color: #3b0b7c;
    --secondary-color: #5e17eb;
    --accent-color: #ff9a9e;
    --text-dark: #1a1a1a;
    --text-light: #6c757d;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(106, 17, 203, 0.4);
}

/* ===== IBVTE HEADER STYLES ===== */

/* Top Ticker Bar */
.ibvte-ticker-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 5px 15px;
    min-height: 34px;
    overflow: hidden;
}

.ticker-left {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    margin-right: 10px;
}

.ticker-left marquee {
    color: #fff;
}

.ticker-link {
    color: #ffe082 !important;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.ticker-link:hover {
    color: #fff176 !important;
    text-decoration: underline;
}

.ticker-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0;
    white-space: nowrap;
    font-size: 12px;
}

.ticker-auth-link {
    color: #fff !important;
    text-decoration: none;
    padding: 0 8px;
    font-weight: 600;
    transition: color 0.2s;
}

.ticker-auth-link:hover {
    color: #ffe082 !important;
}

.ticker-sep {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
}

/* Main Header Brand Area */
.ibvte-header-brand {
    background: #ffffff;
    border-bottom: 3px solid #e0e0e0;
    padding: 12px 0;
    box-shadow: 0 2px 8px rgba(59,11,124,0.07);
}

.ibvte-logo-img {
    height: 180px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
    border: 2px solid var(--primary-color);
}

.ibvte-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ibvte-hindi-name {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.25;
    font-family: 'Noto Sans Devanagari', 'Inter', sans-serif;
    letter-spacing: 0.3px;
}

.ibvte-english-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.3;
    margin-top: 4px;
}

.ibvte-sub-name {
    display: none;
}

/* Government Logos */
.ibvte-govt-logos {
    gap: 15px;
}

.ibvte-govt-logo {
    object-fit: contain;
    max-height: 72px;
    transition: transform 0.2s ease;
}

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

/* Navigation Bar */
.ibvte-navbar-wrapper {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 3px 10px rgba(59,11,124,0.25);
}

.ibvte-navbar-wrapper .navbar {
    padding: 0;
    background: transparent !important;
}

.ibvte-navbar-wrapper .navbar-nav {
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
}

.ibvte-navbar-wrapper .navbar-links {
    color: #fff !important;
    font-size: 11.5px;
    font-weight: 600;
    padding: 12px 7px !important;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.ibvte-navbar-wrapper .navbar-links:hover,
.ibvte-navbar-wrapper .navbar-links:focus {
    background: rgba(255,255,255,0.15);
    color: #ffe082 !important;
}

/* Dropdown Menus */
.ibvte-dropdown {
    border: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 25px rgba(59,11,124,0.2);
    background: #fff;
    min-width: 220px;
    padding: 5px 0;
    margin-top: 0;
    border-top: 3px solid var(--primary-color);
}

.ibvte-dropdown .dropdown-item {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    padding: 8px 18px;
    transition: background 0.2s, color 0.2s, padding-left 0.2s;
    border-bottom: 1px solid #f5f5f5;
}

.ibvte-dropdown .dropdown-item:last-child {
    border-bottom: none;
}

.ibvte-dropdown .dropdown-item:hover {
    background: var(--primary-color);
    color: #fff !important;
    padding-left: 25px;
}

/* Apply For Affiliation Button in Nav */
.ibvte-apply-btn > .navbar-links {
    background: deeppink !important;
    border-radius: 50px !important;
    margin: 5px 5px !important;
    padding: 7px 16px !important;
    color: #fff !important;
}

.ibvte-apply-btn > .navbar-links:hover {
    background: #c2185b !important;
}

/* Mobile Toggler */
.ibvte-toggler {
    color: white !important;
    background: rgba(255,255,255,0.15) !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
}

/* Offcanvas Nav styles */
.ibvte-offcanvas-nav .nav-link {
    color: #333 !important;
    font-size: 13.5px;
    font-weight: 600;
    padding: 10px 16px;
    border-bottom: 1px solid #f0f0f0;
    text-transform: uppercase;
}

.ibvte-offcanvas-nav .nav-link:hover {
    background: var(--primary-color);
    color: #fff !important;
}

.ibvte-offcanvas-nav .dropdown-item {
    font-size: 13px;
    padding: 8px 24px;
    border-bottom: 1px solid #f5f5f5;
}

/* Old nav link hover (kept for compatibility) */
.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link::after {
    background-color: var(--primary-color);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Notice Modal circle effect */
.notice-circle-container {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-15px);}
    60% {transform: translateY(-7px);}
}

/* Card and Hover Effects */
.hover-up {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hover-up:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card {
    transition: all 0.3s ease;
}

/* Slider Section */
.hero-section {
    overflow: hidden;
}

.carousel-item-h {
    height: 540px; /* Increased height by another 20% */
}

.carousel-item-h img {
    width: 100% !important;
    height: 100% !important;
    object-fit: fill !important; /* Ensures image fills the container exactly */
}

.hero-content {
    background-position: center !important;
    transition: transform 0.5s ease;
}

/* Sticky Left Sidebar */
.quick-links-sidebar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.quick-link-btn {
    display: block;
    width: 140px;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
    border-radius: 0 50px 50px 0;
    transition: all 0.3s;
}

.quick-link-btn:hover {
    width: 160px;
    padding-left: 25px;
    color: white;
}

/* Floating Actions Right */
.floating-actions {
    position: fixed;
    right: 0;
    top: 40%;
    z-index: 1000;
}

.rotate-btn {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    background: #e91e63;
    color: white;
    padding: 20px 8px;
    font-weight: bold;
    border-radius: 5px 0 0 5px;
    text-decoration: none;
    font-size: 14px;
}

/* Service Grid (lbspstc style) */
.service-icon-box {
    border-radius: 10px;
    transition: 0.3s;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.service-icon-box i { font-size: 2.5rem; margin-bottom: 10px; }

/* Colors for tiles */
.bg-orange { background: #ff9800; }
.bg-cyan { background: #00bcd4; }
.bg-pink { background: #e91e63; }
.bg-teal { background: #009688; }

/* Logo Marquee Animation */
.logo-marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.logo-track {
    display: flex;
    width: calc(250px * 22); /* Adjust based on logo count */
    animation: scrollLogos 30s linear infinite;
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 11)); }
}

.logo-track:hover {
    animation-play-state: paused;
}
