/* ============================================================
   Faculty — assets/css/style.css
   Layered on top of Bootstrap 5
   ============================================================ */

:root {
    --ct-primary: #4B46FF;
    --ct-primary-nav: #D7E7FF;
    --ct-primary-dark: #4949de;
    --ct-navy: #ffffff;
    --ct-text: #131315;
    --ct-light-bg: #f3f4f6;
    --ct-font: 'Inter', system-ui, -apple-system, sans-serif;
    --section-py: 80px;
}

body {
    font-family: var(--ct-font);
    color: var(--ct-text);
    background: var(--ct-navy);
}

.py-section {
    padding-top: var(--section-py);
    padding-bottom: var(--section-py);
}

/* Buttons */
.ct-btn-primary {
    background: var(--ct-primary);
    color: #fff !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.6rem 2rem;
    border-radius: 40px;
    border: none;
    transition: 0.2s;
}

.ct-btn-primary:hover {
    background: var(--ct-primary-dark);
    transform: translateY(-2px);
}

/* Header & Topbar */
.ct-topbar {
    background: linear-gradient(135deg, var(--ct-primary) 75%, var(--ct-primary-nav) 40%);
    color: #fff;
    padding: 2rem 0;
    font-size: 1.25rem;
}

.ct-topbar__link {
    color: var(--ct-navy) !important;
}

.ct-topbar a {
    color: var(--ct-primary);
    text-decoration: none;
}

.ct-topbar a:hover {
    color: #fff;
}

.ct-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.ct-logo {
    color: var(--ct-text);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
}

.ct-header .nav-link {
    color: var(--ct-text) !important;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.5rem 1rem !important;
}

.ct-header .nav-link:hover,
.ct-header .nav-link.active {
    color: var(--ct-primary) !important;
}

/* Tickers */
.ct-ticker {
    padding: 2rem 0;
    overflow: hidden;
    white-space: nowrap;
    background-color: var(--ct-primary);
    color: var(--ct-navy)
}

.ct-ticker__track {
    display: inline-flex;
    align-items: center;
    animation: ctscroll 30s linear infinite;
}

.ct-ticker__item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 2rem;
    font-size: 1.75rem;
    font-weight: 500;
}

.ct-ticker__dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.ct-ticker__dot--white {
    border: 2px solid #fff;
}

@keyframes ctscroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Hero text */
.ct-hero-heading {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--ct-text);
    line-height: 1.1;
}

.ct-hero-subtext {
    font-size: 0.9rem;
    color: #6b7280;
    max-width: 90%;
}

/* Sections */
.ct-section-heading {
    font-weight: 700;
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.2;
}

/* Contacts Form */
.ct-contact-form input,
.ct-contact-form textarea {
    font-size: 0.85rem;
    border: none;
}

.ct-contact-form .form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #111;
}

/* Footer */
.ct-footer {
    background: var(--ct-primary);
    color: #fff;
}

.ct-footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
}

.ct-footer a:hover {
    color: #fff;
}

.ct-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    :root {
        --section-py: 60px;
    }

    .ct-hero .ct-hero__text-box {
        padding: 2rem !important;
    }
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        justify-content: space-between;
    }

    .navbar-expand-lg .navbar-nav {
        width: 70%;
        justify-content: center;
        align-items: center;
        gap: 20px;

        li a {
            color: var(--ct-text);
            text-decoration: none;
        }
    }
}