/* Custom CSS for CUET Theme */
/* This file is enqueued by the theme and can be used for custom styles. *//* ============================= */
/* CUET Premium Theme - Clean Version */
/* ============================= */

/* ============================= */
/* ROOT COLORS - ONLY COLORS USED */
/* ============================= */

:root {
    --primary-color: #052963;
    --primary-dark: #041f4d;

    --secondary-color: #6c757d;

    --success-color: #198754;
    --success-light: #10b981;

    --info-color: #0dcaf0;

    --warning-color: #ffc107;

    --danger-color: #dc3545;
    --danger-light: #ef4444;

    --light-color: #f8f9fa;
    --lighter-color: #f8fafc;

    --dark-color: #212529;
    --text-dark: #333;

    --white: #ffffff;

    --border-light: #e2e8f0;
    --border-soft: #f0f0f0;

    --shadow-light: rgba(0, 0, 0, 0.06);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --shadow-primary: rgba(5, 41, 99, 0.3);
}

/* ============================= */
/* GENERAL STYLES */
/* ============================= */

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--lighter-color);
    color: var(--text-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* ============================= */
/* CARD STYLING */
/* ============================= */

.card {
    border: none;
    box-shadow: 0 4px 6px -1px var(--shadow-medium),
                0 2px 4px -1px var(--shadow-light);
    transition: transform 0.2s ease-in-out;
    background-color: var(--white);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px var(--shadow-medium),
                0 4px 6px -2px var(--shadow-light);
}

/* ============================= */
/* SECTION TITLES */
/* ============================= */

.section-title {
    position: relative;
    padding-left: 15px;
    border-left: 5px solid var(--primary-color);
    margin-bottom: 20px;
    color: var(--dark-color);
}

/* ============================= */
/* SWIPER BUTTONS */
/* ============================= */

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    background: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 4px var(--shadow-medium);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

/* ============================= */
/* NEWS GRID */
/* ============================= */

.news-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card img {
    height: 180px;
    object-fit: cover;
}

.news-card .card-body {
    flex: 1;
}

/* ============================= */
/* PREMIUM MODAL */
/* ============================= */

.premium-modal .modal-content {
    background: var(--white);
    backdrop-filter: blur(10px);
}

.premium-modal .modal-header {
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--primary-dark) 100%
    );
    color: var(--white);
}

.premium-modal .input-group-text {
    background: var(--lighter-color);
    border: 1px solid var(--border-light);
    border-right: none;
    color: var(--primary-color);
    min-width: 50px;
    justify-content: center;
}

.premium-modal .input-group .form-control {
    border-left: none;
}

.premium-modal .btn-primary {
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--primary-dark) 100%
    );
    border: none;
    color: var(--white);
    transition: all 0.3s ease;
}

.premium-modal .btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 15px -3px var(--shadow-primary);
}

.premium-modal .btn-close-white {
    opacity: 0.8;
    transition: opacity 0.2s;
}

.premium-modal .btn-close-white:hover {
    opacity: 1;
}

/* ============================= */
/* BUTTONS */
/* ============================= */

.btn-primary-blue,
.btn-primary-dark {
    background-color: var(--primary-color);
    color: var(--white);
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary-blue:hover,
.btn-primary-dark:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px var(--shadow-primary);
}

/* ============================= */
/* FORM FEEDBACK */
/* ============================= */

#formFeedback {
    transition: all 0.3s ease;
}

#formFeedback.bg-success {
    background-color: var(--success-light) !important;
    color: var(--white);
}

#formFeedback.bg-danger {
    background-color: var(--danger-light) !important;
    color: var(--white);
}

/* ============================= */
/* MODAL ANIMATION */
/* ============================= */

@keyframes cuetFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.premium-modal.show .modal-dialog {
    animation: cuetFadeInUp 0.5s ease;
}

/* ============================= */
/* SIDEBAR LINKS */
/* ============================= */

.activity-link {
    display: block;
    padding: 12px 15px;
    color: var(--text-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--border-soft);
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    background-color: var(--white);
}

.activity-link:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 20px;
}

.activity-link:last-child {
    border-bottom: none;
}

/* ============================= */
/* RESPONSIVE HEADER */
/* ============================= */

:root {
    --fluid-logo-size: clamp(40px, 8vw, 70px);
    --fluid-toggler-size: clamp(40px, 10vw, 55px);
    --fluid-title-size: clamp(1rem, 4vw, 1.8rem);
}

.nta-logo,
.cuet-logo {
    height: var(--fluid-logo-size);
    transition: height 0.3s ease;
}

.site-title-main {
    font-size: var(--fluid-title-size) !important;
}

.premium-toggler {
    width: var(--fluid-toggler-size);
    height: var(--fluid-toggler-size);
    padding: clamp(8px, 1.5vw, 12px);
    z-index: 9999;
}

/* ============================= */
/* TOGGLER X ICON */
/* ============================= */

.premium-toggler[aria-expanded="true"] .toggler-line {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 60%;
    height: 3px;
    margin: 0;
    transform-origin: center;
    transition: all 0.3s ease;
    background-color: var(--primary-color);
}

.premium-toggler[aria-expanded="true"] .toggler-line:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.premium-toggler[aria-expanded="true"] .toggler-line:nth-child(2) {
    opacity: 0;
    width: 0;
    height: 0;
}

.premium-toggler[aria-expanded="true"] .toggler-line:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg);
}