/* =============================================
   AISU - All India Students Union
   Custom Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Saira:wght@500;600;700;800&display=swap');

:root {
    --primary: #FF6F0F;
    --primary-dark: #e05c00;
    --primary-light: #fff0e6;
    --secondary: #003366;
    --secondary-light: #e6eeff;
    --accent: #FFD700;
    --dark: #0d1b2a;
    --dark2: #1a2d42;
    --light: #f8fafd;
    --text-muted: #7a8490;
    --glass: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.18);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.35s cubic-bezier(.4, 0, .2, 1);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #2d3748;
    background: #fff;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Saira', sans-serif;
}

/* =============================================
   NAVBAR
   ============================================= */
.aisu-navbar {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.aisu-topbar {
    background: linear-gradient(90deg, var(--secondary) 0%, var(--dark) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 0;
    font-size: 13px;
}

.navbar-brand .brand-text {
    font-family: 'Saira', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.navbar-brand .brand-text span.orange {
    color: var(--primary);
}

.navbar-brand .brand-text span.white {
    color: #fff;
}

.nav-link-custom {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 8px 14px !important;
    border-radius: 6px;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: var(--primary) !important;
    background: rgba(255, 111, 15, 0.12);
}

.btn-nav-login {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff !important;
    border-radius: 8px;
    padding: 8px 20px !important;
    font-weight: 600;
    border: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 111, 15, 0.4);
}

.btn-nav-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 111, 15, 0.5);
}

.dropdown-menu {
    background: var(--dark2);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: rgba(255, 111, 15, 0.15);
    color: var(--primary);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark) 0%, #1a2d42 40%, #0a2040 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 111, 15, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 4s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 51, 102, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 111, 15, 0.15);
    border: 1px solid rgba(255, 111, 15, 0.3);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: fadeInDown 0.6s ease forwards;
}

.hero-title {
    font-family: 'Saira', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
    animation: fadeInUp 0.7s ease forwards;
}

.hero-title .highlight {
    color: var(--primary);
    position: relative;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 580px;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    animation: fadeInUp 0.9s ease forwards;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(255, 111, 15, 0.4);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 111, 15, 0.5);
    color: #fff;
}

.btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 13px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease forwards;
}

.hero-stat-item {
    text-align: center;
}

.hero-stat-item .stat-num {
    font-family: 'Saira', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.hero-stat-item .stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-image-wrapper {
    position: relative;
    animation: fadeInRight 0.8s ease forwards;
}

.hero-card-float {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 3s ease-in-out infinite;
}

.hero-card-float.card1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.hero-card-float.card2 {
    bottom: 20%;
    left: -20px;
    animation-delay: 1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-light), #ffe8d6);
    color: var(--primary);
    border: 1px solid rgba(255, 111, 15, 0.2);
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Saira', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
}

.section-title .accent {
    color: var(--primary);
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    margin: 16px auto;
}

.section-divider.left {
    margin: 16px 0;
}

/* =============================================
   FEATURE CARDS
   ============================================= */
.feature-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px 25px;
    border: 1px solid #eef0f5;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    transform: scaleY(0);
    transition: var(--transition);
    transform-origin: bottom;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 111, 15, 0.2);
}

.feature-card:hover::before {
    transform: scaleY(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 18px;
    background: var(--primary-light);
    color: var(--primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: #fff;
    transform: rotate(-5deg) scale(1.05);
}

/* =============================================
   INITIATIVE CARDS (Home)
   ============================================= */
.initiative-card {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    color: #fff;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
}

.initiative-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 111, 15, 0.08) 0%, transparent 70%);
    transition: var(--transition);
    opacity: 0;
}

.initiative-card:hover::after {
    opacity: 1;
}

.initiative-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 111, 15, 0.3);
}

.initiative-card .ic-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.initiative-card h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.initiative-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}

.initiative-card .ic-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: rgba(255, 111, 15, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.initiative-card:hover .ic-arrow {
    background: var(--primary);
    color: #fff;
    transform: translateX(3px);
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid #eef0f5;
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 5rem;
    color: var(--primary-light);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
    z-index: 0;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 111, 15, 0.2);
}

.testimonial-card .stars {
    color: var(--accent);
    margin-bottom: 10px;
}

.testimonial-card p {
    position: relative;
    z-index: 1;
    color: #555;
    font-size: 0.93rem;
    line-height: 1.7;
}

.testimonial-card .tc-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.testimonial-card .tc-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.testimonial-card .tc-name {
    font-weight: 700;
    color: var(--dark);
    font-size: 0.95rem;
}

.testimonial-card .tc-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-hero {
    background: linear-gradient(135deg, var(--dark) 0%, #1a2d42 100%);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 70% 50%, rgba(255, 111, 15, 0.1) 0%, transparent 60%);
}

.page-hero .breadcrumb-item {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
}

.page-hero .breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
}

.page-hero .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

.page-hero .breadcrumb-divider {
    color: rgba(255, 255, 255, 0.4);
}

.info-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
}

.reg-detail-card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 20px 24px;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.reg-detail-card:hover {
    box-shadow: var(--shadow);
}

.reg-detail-card .rd-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

.reg-detail-card .rd-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    margin-top: 4px;
}

/* =============================================
   TEAM PAGE
   ============================================= */
.team-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid #eef0f5;
    transition: var(--transition);
    height: 100%;
}

.team-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.team-card .tc-img-wrapper {
    position: relative;
    padding-top: 100%;
    background: linear-gradient(135deg, var(--primary-light), #fff);
    overflow: hidden;
}

.team-card .tc-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .tc-img-wrapper img {
    transform: scale(1.05);
}

.team-card .tc-level-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary);
    color: #fff;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.team-card .tc-body {
    padding: 20px;
}

.team-card .tc-body h5 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
    font-size: 1rem;
}

.team-card .tc-body .designation {
    color: var(--primary);
    font-size: 0.83rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.team-card .tc-body .description {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
}

.team-card .tc-contacts a {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    margin-bottom: 4px;
}

.team-card .tc-contacts a:hover {
    color: var(--primary);
}

.level-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    border: 2px solid #dde0e8;
    background: #fff;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

/* =============================================
   MEMBERSHIP FORMS
   ============================================= */
.form-section {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.step-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.step-content h5 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.process-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid #eef0f5;
    transition: var(--transition);
}

.process-card:hover {
    box-shadow: var(--shadow);
}

.id-format-box {
    background: linear-gradient(135deg, var(--dark), var(--dark2));
    color: #fff;
    border-radius: var(--radius);
    padding: 20px 24px;
    font-family: 'Courier New', monospace;
    font-size: 1.3rem;
    letter-spacing: 2px;
    text-align: center;
    border: 1px solid rgba(255, 111, 15, 0.3);
}

.id-format-box span {
    color: var(--primary);
}

.form-label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--dark);
    margin-bottom: 6px;
}

.form-control,
.form-select {
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.92rem;
    transition: var(--transition);
    background: #fff;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 111, 15, 0.12);
}

/* =============================================
   COMPETITION PORTAL
   ============================================= */
.comp-type-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
    height: 100%;
    text-align: center;
}

.comp-type-card:hover,
.comp-type-card.selected {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 111, 15, 0.1);
}

.comp-type-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 16px;
    color: var(--primary);
    transition: var(--transition);
}

.comp-type-card:hover .comp-type-icon {
    background: var(--primary);
    color: #fff;
}

.comp-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid #eef0f5;
    transition: var(--transition);
    height: 100%;
}

.comp-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.comp-card .comp-img {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.comp-card .comp-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.comp-card .comp-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.comp-card .comp-body {
    padding: 20px;
}

.comp-card .comp-body h5 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.comp-card .comp-body .comp-meta {
    display: flex;
    gap: 16px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.comp-card .comp-body .comp-meta i {
    color: var(--primary);
}

.comp-card .comp-status-open {
    color: #22c55e;
    font-size: 0.8rem;
    font-weight: 600;
    background: #f0fdf4;
    padding: 3px 10px;
    border-radius: 50px;
}

/* =============================================
   COMPLAINT PORTAL
   ============================================= */
.complaint-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid #eef0f5;
    transition: var(--transition);
}

.complaint-card:hover {
    box-shadow: var(--shadow);
}

.privacy-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
}

.access-level-card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 20px;
    border-left: 4px solid var(--primary);
}

/* =============================================
   INTERNSHIP
   ============================================= */
.internship-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid #eef0f5;
    transition: var(--transition);
    height: 100%;
}

.internship-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.internship-card .int-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 24px;
    color: #fff;
}

.internship-card .int-header h5 {
    font-weight: 700;
    margin-bottom: 4px;
}

.internship-card .int-header p {
    opacity: 0.85;
    font-size: 0.85rem;
    margin: 0;
}

.internship-card .int-body {
    padding: 20px;
}

.tag-pill {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    margin: 3px 2px;
}

/* =============================================
   AFFILIATION
   ============================================= */
.affil-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--light);
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.affil-step-num {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}

/* =============================================
   LOGIN SYSTEM
   ============================================= */
.login-card {
    background: #fff;
    border-radius: 24px;
    padding: 45px 40px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
    border: 1px solid #eef0f5;
    max-width: 440px;
    margin: 0 auto;
}

.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo h2 {
    font-family: 'Saira', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
}

.login-logo h2 span.orange {
    color: var(--primary);
}

.login-role-tabs {
    display: flex;
    border-radius: 10px;
    background: var(--light);
    padding: 4px;
    margin-bottom: 24px;
    gap: 4px;
}

.login-role-tab {
    flex: 1;
    text-align: center;
    padding: 8px 6px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-muted);
}

.login-role-tab.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 111, 15, 0.3);
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-info-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid #eef0f5;
    transition: var(--transition);
    height: 100%;
}

.contact-info-card:hover {
    box-shadow: var(--shadow);
}

.contact-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 14px;
}

/* =============================================
   FOOTER
   ============================================= */
.aisu-footer {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 70px;
}

.aisu-footer h5 {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-brand {
    font-family: 'Saira', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
}

.footer-brand span.orange {
    color: var(--primary);
}

.footer-brand span.white {
    color: #fff;
}

.footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.88rem;
    padding: 4px 0;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary);
    padding-left: 6px;
}

.footer-link::before {
    content: '›';
    margin-right: 6px;
    color: var(--primary);
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    margin-right: 8px;
    font-size: 0.95rem;
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    margin-top: 50px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
}

.footer-newsletter .input-group .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 8px 0 0 8px;
}

.footer-newsletter .input-group .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter .input-group .form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none;
    border-color: var(--primary);
}

.footer-newsletter .btn-primary {
    border-radius: 0 8px 8px 0;
}

/* =============================================
   MISC UTILITIES
   ============================================= */
.gradient-bg {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.bg-dark-custom {
    background: var(--dark);
}

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

.shadow-custom {
    box-shadow: var(--shadow);
}

.shadow-lg-custom {
    box-shadow: var(--shadow-lg);
}

.badge-primary {
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 111, 15, 0.4);
    color: #fff;
}

.btn-outline-custom {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 11px 28px;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(255, 111, 15, 0.4);
    transition: var(--transition);
    font-size: 1.1rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-4px);
    color: #fff;
    box-shadow: 0 8px 30px rgba(255, 111, 15, 0.5);
}

/* =============================================
   PAGE TRANSITIONS / Animations
   ============================================= */
.reveal {
    opacity: 1;
    /* transform removed */
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 120px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .login-card {
        padding: 30px 20px;
    }

    .form-section {
        padding: 24px 16px;
    }

    .hero-stats {
        gap: 20px;
    }
}

/* =============================================
   ✨ PREMIUM VISUAL ENHANCEMENTS
   Custom Cursor, Animations, Glassmorphism
   ============================================= */

/* --- Orange Spotlight Cursor Glow (replaces custom cursor) --- */
#aisu-spotlight {
    width: 420px;
    height: 420px;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 111, 15, 0.13) 0%, rgba(255, 111, 15, 0.04) 40%, transparent 70%);
    border-radius: 50%;
    transition: opacity 0.4s ease;
    mix-blend-mode: screen;
}

/* --- Mobile safe: hide spotlight on touch --- */
@media (pointer: coarse) {
    #aisu-spotlight {
        display: none !important;
    }
}

/* --- Page Load Fade-in --- */
body {
    animation: pageLoad 0.5s ease forwards;
}

@keyframes pageLoad {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --- Enhanced Navbar Glow --- */
.aisu-navbar {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s ease;
}

.aisu-navbar.scrolled {
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 111, 15, 0.08);
}

.nav-link-custom {
    position: relative;
    overflow: hidden;
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(.4, 0, .2, 1);
    transform: translateX(-50%);
}

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

/* --- Animated Brand Logo --- */
.navbar-brand .brand-text span.orange {
    display: inline-block;
    animation: brandPulse 3s ease-in-out infinite;
}

@keyframes brandPulse {

    0%,
    100% {
        text-shadow: 0 0 8px rgba(255, 111, 15, 0.3);
    }

    50% {
        text-shadow: 0 0 25px rgba(255, 111, 15, 0.8), 0 0 50px rgba(255, 111, 15, 0.3);
    }
}

/* --- Glassmorphism Cards --- */
.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
}

/* --- Feature Cards - Enhanced --- */
.feature-card {
    transition: transform 0.4s cubic-bezier(.34, 1.56, .64, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 0 30px 60px rgba(255, 111, 15, 0.12), 0 0 0 1px rgba(255, 111, 15, 0.15);
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 111, 15, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover::after {
    opacity: 1;
}

/* --- Initiative Cards - Enhanced Glow --- */
.initiative-card {
    transition: transform 0.4s cubic-bezier(.34, 1.56, .64, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.initiative-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35), 0 0 30px rgba(255, 111, 15, 0.12);
    border-color: rgba(255, 111, 15, 0.45);
}

/* --- Animated Gradient Border (for key cards) --- */
.animated-border {
    position: relative;
    z-index: 0;
}

.animated-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary), var(--primary));
    background-size: 300% 300%;
    animation: gradientBorder 4s linear infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.animated-border:hover::before {
    opacity: 1;
}

@keyframes gradientBorder {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* --- Shimmer Effect (for section badges) --- */
.section-badge {
    position: relative;
    overflow: hidden;
}

.section-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
    to {
        left: 150%;
    }
}

/* --- Button Ripple Effect --- */
.btn-primary-custom,
.btn-hero-primary,
.btn-nav-login {
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::before,
.btn-hero-primary::before,
.btn-nav-login::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease;
    opacity: 0;
}

.btn-primary-custom:active::before,
.btn-hero-primary:active::before,
.btn-nav-login:active::before {
    width: 250px;
    height: 250px;
    opacity: 1;
    transition: 0s;
}

/* --- Staggered Reveal Animations --- */
.reveal {
    transition: opacity 0.7s cubic-bezier(.4, 0, .2, 1), transform 0.7s cubic-bezier(.4, 0, .2, 1);
}

.reveal.delay-1 {
    transition-delay: 0.1s;
}

.reveal.delay-2 {
    transition-delay: 0.2s;
}

.reveal.delay-3 {
    transition-delay: 0.3s;
}

.reveal.delay-4 {
    transition-delay: 0.4s;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Row children stagger */
.row .reveal:nth-child(1) {
    transition-delay: 0s;
}

.row .reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.row .reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.row .reveal:nth-child(4) {
    transition-delay: 0.3s;
}

/* --- Typewriter cursor on hero --- */
.hero-title .typewriter {
    border-right: 3px solid var(--primary);
    animation: blink 0.75s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        border-color: transparent;
    }

    50% {
        border-color: var(--primary);
    }
}

/* --- Team Cards - Enhanced --- */
.team-card {
    transition: transform 0.4s cubic-bezier(.34, 1.56, .64, 1), box-shadow 0.4s ease;
}

.team-card:hover {
    transform: translateY(-10px) rotate(0.5deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

/* --- Stat Counter Glow --- */
.hero-stat-item .stat-num {
    animation: statGlow 3s ease-in-out infinite;
}

@keyframes statGlow {

    0%,
    100% {
        text-shadow: 0 0 5px rgba(255, 111, 15, 0.2);
    }

    50% {
        text-shadow: 0 0 20px rgba(255, 111, 15, 0.7), 0 0 40px rgba(255, 111, 15, 0.3);
    }
}

/* --- Page Hero - Animated Background --- */
.page-hero {
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 111, 15, 0.08), transparent 70%);
    bottom: -200px;
    right: -100px;
    animation: floatBg 8s ease-in-out infinite;
}

@keyframes floatBg {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

/* --- Hero Image Glow Halo --- */
.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 111, 15, 0.15), transparent 70%);
    animation: haloGlow 4s ease-in-out infinite;
    z-index: 0;
}

@keyframes haloGlow {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

/* --- Floating Particles in Hero --- */
.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: particleFly var(--dur, 6s) ease-in-out var(--delay, 0s) infinite;
}

@keyframes particleFly {
    0% {
        transform: translateY(100px) translateX(0);
        opacity: 0;
    }

    20% {
        opacity: 0.8;
    }

    80% {
        opacity: 0.4;
    }

    100% {
        transform: translateY(-200px) translateX(var(--dx, 40px));
        opacity: 0;
    }
}

/* --- Registration Detail Cards Enhanced --- */
.reg-detail-card {
    transition: transform 0.4s cubic-bezier(.34, 1.56, .64, 1), box-shadow 0.4s ease;
    overflow: hidden;
    position: relative;
}

.reg-detail-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 111, 15, 0.04), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.reg-detail-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 16px 40px rgba(255, 111, 15, 0.1);
}

.reg-detail-card:hover::after {
    opacity: 1;
}

/* --- Login Card Enhanced --- */
.login-card {
    animation: loginCardIn 0.6s cubic-bezier(.34, 1.56, .64, 1) forwards;
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 111, 15, 0.06), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

@keyframes loginCardIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.login-role-tab {
    transition: all 0.3s cubic-bezier(.34, 1.56, .64, 1);
}

.login-role-tab:hover:not(.active) {
    background: rgba(255, 111, 15, 0.08);
    color: var(--primary);
    transform: scale(1.04);
}

.login-role-tab.active {
    animation: tabPop 0.3s cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes tabPop {
    0% {
        transform: scale(0.9);
    }

    60% {
        transform: scale(1.06);
    }

    100% {
        transform: scale(1);
    }
}

/* --- Dropdown menu animation --- */
.dropdown-menu {
    animation: dropIn 0.25s cubic-bezier(.34, 1.56, .64, 1);
    transform-origin: top center;
}

@keyframes dropIn {
    from {
        opacity: 0;
        transform: scaleY(0.8) translateY(-8px);
    }

    to {
        opacity: 1;
        transform: scaleY(1) translateY(0);
    }
}

.dropdown-item {
    position: relative;
    overflow: hidden;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 111, 15, 0.12), transparent);
    transition: left 0.3s ease;
}

.dropdown-item:hover::before {
    left: 0;
}

/* --- Footer Social Icon Enhanced --- */
.footer-social a {
    transition: all 0.4s cubic-bezier(.34, 1.56, .64, 1);
}

.footer-social a:hover {
    transform: translateY(-5px) rotate(-5deg) scale(1.15);
    box-shadow: 0 8px 20px rgba(255, 111, 15, 0.35);
}

/* --- Scroll Top Button --- */
.scroll-top {
    animation: none;
    transition: all 0.4s cubic-bezier(.34, 1.56, .64, 1);
}

.scroll-top.visible {
    animation: bounceIn 0.5s cubic-bezier(.34, 1.56, .64, 1);
}

.scroll-top:hover {
    transform: translateY(-6px) scale(1.1);
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    60% {
        transform: scale(1.15);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* --- Selection Color --- */
::selection {
    background: rgba(255, 111, 15, 0.25);
    color: var(--dark);
}

/* --- Form Focus Glow --- */
.form-control:focus,
.form-select:focus {
    transform: scale(1.01);
    box-shadow: 0 0 0 3px rgba(255, 111, 15, 0.15), 0 6px 20px rgba(255, 111, 15, 0.08);
}

/* --- Topbar animated underline --- */
.aisu-topbar small a {
    position: relative;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.aisu-topbar small a:hover {
    color: var(--primary);
}

.aisu-topbar small a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s;
}

.aisu-topbar small a:hover::after {
    width: 100%;
}

/* --- Internship card enhanced --- */
.internship-card {
    transition: transform 0.4s cubic-bezier(.34, 1.56, .64, 1), box-shadow 0.4s ease;
}

.internship-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 111, 15, 0.1);
}

.internship-card .int-header {
    position: relative;
    overflow: hidden;
}

.internship-card .int-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    transition: opacity 0.4s;
    opacity: 0;
}

.internship-card:hover .int-header::after {
    opacity: 1;
}

/* --- Hero Floating Cards enhanced --- */
.hero-card-float {
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-card-float:hover {
    transform: translateY(-5px) !important;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.3);
}

/* --- Mobile safe: keep cursor default on touch --- */
@media (pointer: coarse) {
    #aisu-cursor-canvas {
        display: none !important;
    }

    body,
    a,
    button,
    input,
    select,
    textarea,
    label {
        cursor: auto !important;
    }
}

/* Responsive @media stays last */
@media (max-width: 576px) {
    .hero-cta-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-stat-item .stat-num {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

/* =============================================
   PREMIUM KEYFRAME ANIMATIONS
   ============================================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes floatUp {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-14px);
    }
}

@keyframes floatSlow {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-10px) rotate(1deg);
    }

    66% {
        transform: translateY(-5px) rotate(-1deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    25% {
        transform: translate(30px, -20px) scale(1.05);
        opacity: 0.9;
    }

    50% {
        transform: translate(-20px, -35px) scale(0.95);
        opacity: 0.7;
    }

    75% {
        transform: translate(15px, 10px) scale(1.02);
        opacity: 0.85;
    }
}

@keyframes pulseRing {
    0% {
        transform: scale(0.92);
        box-shadow: 0 0 0 0 rgba(255, 111, 15, 0.5);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(255, 111, 15, 0);
    }

    100% {
        transform: scale(0.92);
        box-shadow: 0 0 0 0 rgba(255, 111, 15, 0);
    }
}

@keyframes borderGlow {

    0%,
    100% {
        border-color: rgba(255, 111, 15, 0.25);
        box-shadow: 0 0 0 rgba(255, 111, 15, 0);
    }

    50% {
        border-color: rgba(255, 111, 15, 0.7);
        box-shadow: 0 0 20px rgba(255, 111, 15, 0.2);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

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

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

/* =============================================
   SCROLL REVEAL ANIMATIONS
   ============================================= */
.reveal {
    opacity: 1;
    /* transform removed */
    transition: opacity 0.7s cubic-bezier(.4, 0, .2, 1), transform 0.7s cubic-bezier(.4, 0, .2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children */
.reveal:nth-child(2) {
    transition-delay: 0.08s;
}

.reveal:nth-child(3) {
    transition-delay: 0.16s;
}

.reveal:nth-child(4) {
    transition-delay: 0.24s;
}

.reveal:nth-child(5) {
    transition-delay: 0.32s;
}

.reveal:nth-child(6) {
    transition-delay: 0.40s;
}

/* =============================================
   ENHANCED HERO ORBS
   ============================================= */
.hero-section .orb-1,
.hero-section .orb-2,
.hero-section .orb-3 {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    animation: orbFloat 8s ease-in-out infinite;
    z-index: 0;
}

.hero-section .orb-1 {
    width: 500px;
    height: 500px;
    top: -100px;
    right: -80px;
    background: radial-gradient(circle, rgba(255, 111, 15, 0.22), transparent 70%);
    animation-duration: 9s;
}

.hero-section .orb-2 {
    width: 350px;
    height: 350px;
    bottom: -80px;
    left: -60px;
    background: radial-gradient(circle, rgba(0, 51, 102, 0.35), transparent 70%);
    animation-duration: 11s;
    animation-delay: -3s;
}

.hero-section .orb-3 {
    width: 250px;
    height: 250px;
    top: 40%;
    right: 30%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08), transparent 70%);
    animation-duration: 13s;
    animation-delay: -6s;
}

/* =============================================
   ANIMATED GRADIENT TEXT
   ============================================= */
.gradient-text {
    background: linear-gradient(90deg, #FF6F0F, #FFD700, #FF6F0F, #FF4500);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s linear infinite;
}

/* =============================================
   HERO IMAGE FLOAT
   ============================================= */
.hero-image-wrapper {
    animation: floatSlow 6s ease-in-out infinite;
}

/* =============================================
   SECTION DIVIDER GLOW
   ============================================= */
.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #FFD700, var(--primary));
    background-size: 200% auto;
    border-radius: 4px;
    animation: shimmer 2.5s linear infinite;
}

/* =============================================
   ENHANCED CARD INTERACTIONS
   ============================================= */

/* Shine sweep on hover */
.feature-card,
.initiative-card,
.team-card,
.reg-detail-card,
.contact-info-card {
    position: relative;
    overflow: hidden;
}

.feature-card::after,
.initiative-card::after,
.team-card::after,
.contact-info-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.08) 50%, transparent 70%);
    transform: skewX(-20deg);
    transition: left 0.6s ease, top 0.6s ease;
    pointer-events: none;
}

.feature-card:hover::after,
.initiative-card:hover::after,
.team-card:hover::after,
.contact-info-card:hover::after {
    left: 120%;
    top: 0;
}

/* Orange glow on hover */
.feature-card:hover,
.initiative-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 111, 15, 0.15), 0 0 30px rgba(255, 111, 15, 0.07) !important;
}

/* =============================================
   BUTTON PULSE EFFECT
   ============================================= */
.btn-hero-primary {
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.btn-hero-primary:hover::before {
    transform: translateX(100%);
}

.btn-primary-custom {
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.btn-primary-custom:hover::before {
    transform: translateX(100%);
}

/* =============================================
   PULSING STATS
   ============================================= */
.hero-stat-item .stat-num {
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.hero-stat-item:hover .stat-num {
    transform: scale(1.08);
    color: #FFD700;
}

/* =============================================
   SECTION BADGE ENHANCED
   ============================================= */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(255, 111, 15, 0.12), rgba(255, 215, 0, 0.08));
    border: 1px solid rgba(255, 111, 15, 0.25);
    color: var(--primary);
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    animation: borderGlow 3s ease-in-out infinite;
}

/* =============================================
   ANIMATED PARTICLES (hero)
   ============================================= */
.hero-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 111, 15, 0.8), rgba(255, 215, 0, 0.3));
    animation: heroParticleRise var(--dur, 6s) var(--delay, 0s) ease-in infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes heroParticleRise {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 0.7;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-60vh) translateX(var(--dx, 40px)) scale(0.2);
        opacity: 0;
    }
}

/* =============================================
   NAVBAR ENHANCED
   ============================================= */
.aisu-navbar.scrolled {
    backdrop-filter: blur(16px);
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.97) 0%, rgba(26, 45, 66, 0.97) 100%) !important;
    border-bottom: 1px solid rgba(255, 111, 15, 0.15);
}

/* Nav active indicator dot */
.nav-link-custom.active {
    position: relative;
}

.nav-link-custom.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
}

/* =============================================
   SCROLL TOP BUTTON
   ============================================= */
.scroll-top {
    transition: all 0.35s cubic-bezier(.4, 0, .2, 1);
    animation: pulseRing 2.5s ease-in-out infinite;
}

/* =============================================
   FOOTER ENHANCED
   ============================================= */
.aisu-footer {
    position: relative;
    overflow: hidden;
}

.aisu-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), #FFD700, var(--primary), transparent);
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

.footer-social a {
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-social a:hover {
    transform: translateY(-4px) scale(1.15);
    color: var(--primary) !important;
    text-shadow: 0 0 12px rgba(255, 111, 15, 0.6);
}

/* =============================================
   IMAGE HOVER EFFECTS
   ============================================= */
img.rounded-3,
img.img-fluid {
    transition: transform 0.5s cubic-bezier(.4, 0, .2, 1), box-shadow 0.5s ease;
}

.hero-image-wrapper img:hover {
    transform: scale(1.02);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5) !important;
}

/* =============================================
   FORM SECTION ANIMATION
   ============================================= */
.form-section {
    animation: fadeInUp 0.6s ease forwards;
}

.form-control,
.form-select {
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    transform: scale(1.01);
    box-shadow: 0 0 0 3px rgba(255, 111, 15, 0.18), 0 6px 20px rgba(255, 111, 15, 0.08);
}

/* =============================================
   SECTION TRANSITIONS (page feel)
   ============================================= */
section {
    transition: background 0.5s ease;
}

/* Moving orange accent line on section-badge hover */
.section-badge:hover {
    background: linear-gradient(135deg, rgba(255, 111, 15, 0.2), rgba(255, 215, 0, 0.12));
    border-color: var(--primary);
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

/* =============================================
   MISSION/VISION CARDS (about page)
   ============================================= */
.about-mission-card,
.about-vision-card {
    transition: transform 0.4s cubic-bezier(.34, 1.56, .64, 1), box-shadow 0.4s ease;
}

.about-mission-card:hover,
.about-vision-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(255, 111, 15, 0.12);
}

/* =============================================
   REG DETAIL CARD HOVER
   ============================================= */
.reg-detail-card {
    transition: all 0.35s cubic-bezier(.4, 0, .2, 1);
    border-left: 3px solid transparent;
}

.reg-detail-card:hover {
    border-left-color: var(--primary);
    transform: translateX(4px);
    box-shadow: 0 8px 30px rgba(255, 111, 15, 0.08);
}

/* =============================================
   SOCIAL MEDIA CARD PULSE
   ============================================= */
[onmouseover] i.fab,
[onmouseover] svg {
    transition: transform 0.3s ease;
}

[onmouseover]:hover i.fab,
[onmouseover]:hover svg {
    transform: scale(1.15) rotate(-5deg);
}

/* =============================================
   MOU PARTNER CARD ENHANCEMENTS
   ============================================= */
.feature-card[style*="border-top"] {
    transition: transform 0.4s cubic-bezier(.34, 1.56, .64, 1), box-shadow 0.4s ease, border-top-width 0.3s ease;
}

.feature-card[style*="border-top"]:hover {
    border-top-width: 6px !important;
}

/* =============================================
   CONSTITUTION LINK BOX PULSE
   ============================================= */
.mt-4[style*="primary-light"] .btn-primary-custom {
    animation: none;
    transition: all 0.4s ease;
}

/* =============================================
   DECLARATION CHECKLIST MICRO-ANIMATIONS
   ============================================= */
.form-check-input:checked + .form-check-label {
    color: #15803d;
    transition: color 0.3s ease;
}

.form-check-label {
    transition: color 0.3s ease;
    cursor: pointer;
}

/* =============================================
   CONTACT EMAIL CARDS HOVER LIFT
   ============================================= */
.p-3[style*="border-left"] {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.p-3[style*="border-left"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* =============================================
   ROLE CARD ROW STAGGER ANIMATION
   ============================================= */
.col-lg-4:nth-child(1) .feature-card { animation-delay: 0s; }
.col-lg-4:nth-child(2) .feature-card { animation-delay: 0.08s; }
.col-lg-4:nth-child(3) .feature-card { animation-delay: 0.16s; }
.col-lg-4:nth-child(4) .feature-card { animation-delay: 0.24s; }
.col-lg-4:nth-child(5) .feature-card { animation-delay: 0.32s; }
.col-lg-4:nth-child(6) .feature-card { animation-delay: 0.40s; }
.col-lg-4:nth-child(7) .feature-card { animation-delay: 0.48s; }
.col-lg-4:nth-child(8) .feature-card { animation-delay: 0.56s; }
.col-lg-4:nth-child(9) .feature-card { animation-delay: 0.64s; }

/* =============================================
   STATE FILTER DROPDOWN STYLING
   ============================================= */
#state-filter {
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

#state-filter:focus {
    box-shadow: 0 0 0 3px rgba(255, 111, 15, 0.15);
}

/* =============================================
   TEAM-CARD STAGGER REVEAL
   ============================================= */
.team-card-wrapper:nth-child(1) { --reveal-delay: 0ms; }
.team-card-wrapper:nth-child(2) { --reveal-delay: 80ms; }
.team-card-wrapper:nth-child(3) { --reveal-delay: 160ms; }
.team-card-wrapper:nth-child(4) { --reveal-delay: 240ms; }
.team-card-wrapper:nth-child(5) { --reveal-delay: 320ms; }
.team-card-wrapper:nth-child(6) { --reveal-delay: 400ms; }
.team-card-wrapper:nth-child(7) { --reveal-delay: 480ms; }
.team-card-wrapper:nth-child(8) { --reveal-delay: 560ms; }
.team-card-wrapper.reveal {
    transition-delay: var(--reveal-delay, 0ms);
}

/* =============================================
   SUCCESS MESSAGE PULSE ANIMATION
   ============================================= */
#primary-success, #student-success, #complaint-success {
    animation: successPop 0.5s cubic-bezier(.34, 1.56, .64, 1) forwards;
}

@keyframes successPop {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* =============================================
   ABOUT PAGE DEPT CELL ICON SPIN ON HOVER
   ============================================= */
.feature-card:hover .feature-icon i {
    animation: iconBounce 0.5s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.15) rotate(-8deg); }
    75% { transform: scale(1.1) rotate(4deg); }
}

/* =============================================
   PRIVACY BADGE GLOW (COMPLAINT PAGE)
   ============================================= */
.privacy-badge {
    animation: privacyGlow 3s ease-in-out infinite;
}

@keyframes privacyGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
    50% { box-shadow: 0 0 12px 0 rgba(34, 197, 94, 0.2); }
}

/* =============================================
   LEVEL-FILTER BUTTON IMPROVED ANIMATION
   ============================================= */
.filter-btn {
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 111, 15, 0.08);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: inherit;
}

.filter-btn:hover::before {
    opacity: 1;
}

/* =============================================
   WHATSAPP / PHONE ICON WIGGLE
   ============================================= */
.tc-contacts a:hover i {
    animation: wiggle 0.4s ease;
    display: inline-block;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-12deg); }
    75% { transform: rotate(10deg); }
}

/* ═══════════════════════════════════════════════════
   SAFE HOVER ENHANCEMENTS — No visibility hiding
   ═══════════════════════════════════════════════════ */

/* Feature card hover lift */
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(255,111,15,0.15);
}
.initiative-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(255,111,15,0.18);
}
.testimonial-card:hover {
    transform: translateY(-4px);
}

/* Shimmer on CTA buttons */
@keyframes shimmer-btn {
    0%   { left: -100%; }
    60%, 100% { left: 150%; }
}
.btn-hero-primary, .btn-primary-custom {
    position: relative;
    overflow: hidden;
}
.btn-hero-primary::after, .btn-primary-custom::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
    transform: skewX(-18deg);
    animation: shimmer-btn 3s ease infinite;
}

/* Footer link indent on hover */
.footer-link {
    transition: color 0.25s, padding-left 0.22s;
}
.footer-link:hover {
    color: var(--primary) !important;
    padding-left: 5px;
}

/* Social icon enlarge */
.footer-social a {
    transition: transform 0.25s, color 0.25s;
}
.footer-social a:hover {
    transform: scale(1.25);
    color: var(--primary) !important;
}

/* Scroll-to-top visibiltiy (JS controlled via opacity) */
.scroll-top {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

/* Topbar glide */
@keyframes topbar-glide {
    from { opacity: 0; transform: translateX(-8px); }
    to   { opacity: 1; transform: translateX(0); }
}
.aisu-topbar small {
    animation: topbar-glide 0.5s ease forwards;
}

/* Gallery image zoom */
#gallery-preview img {
    transition: transform 0.35s ease;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}


/* ── Scroll Reveal ── */
.reveal {
    opacity: 1;
    /* transform removed */
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
    will-change: opacity, transform;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale {
    opacity: 0;
    transform: scale(0.88);
    transition: opacity 0.6s cubic-bezier(.4,0,.2,1), transform 0.6s cubic-bezier(.4,0,.2,1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Stagger delays for child reveals */
.stagger > *:nth-child(1) { transition-delay: 0.05s; }
.stagger > *:nth-child(2) { transition-delay: 0.13s; }
.stagger > *:nth-child(3) { transition-delay: 0.21s; }
.stagger > *:nth-child(4) { transition-delay: 0.29s; }
.stagger > *:nth-child(5) { transition-delay: 0.37s; }
.stagger > *:nth-child(6) { transition-delay: 0.45s; }
.stagger > *:nth-child(7) { transition-delay: 0.53s; }
.stagger > *:nth-child(8) { transition-delay: 0.61s; }
.stagger > *:nth-child(9) { transition-delay: 0.69s; }

/* ── Floating Orb Animations ── */
@keyframes float-orb {
    0%, 100% { transform: translateY(0px) scale(1); }
    50%       { transform: translateY(-22px) scale(1.04); }
}
@keyframes float-orb-reverse {
    0%, 100% { transform: translateY(0px) scale(1); }
    50%       { transform: translateY(18px) scale(0.97); }
}
.orb-1 { animation: float-orb 7s ease-in-out infinite; }
.orb-2 { animation: float-orb-reverse 9s ease-in-out infinite; }
.orb-3 { animation: float-orb 11s ease-in-out infinite 2s; }

/* ── Hero Title Gradient Shimmer ── */
@keyframes gradient-shift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.gradient-text {
    background: linear-gradient(135deg, #FF6F0F 0%, #FFD700 35%, #FF6F0F 65%, #ff4500 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease infinite;
}

/* ── Floating hero cards ── */
@keyframes hero-card-float {
    0%, 100% { transform: translateY(0px) rotate(-3deg); }
    50%       { transform: translateY(-10px) rotate(-2deg); }
}
@keyframes hero-card-float2 {
    0%, 100% { transform: translateY(0px) rotate(3deg); }
    50%       { transform: translateY(-14px) rotate(2deg); }
}
.hero-card-float.card1 { animation: hero-card-float 5s ease-in-out infinite; }
.hero-card-float.card2 { animation: hero-card-float2 6s ease-in-out infinite 1s; }

/* ── Shimmer on primary buttons ── */
@keyframes shimmer-slide {
    0%   { left: -100%; }
    60%, 100% { left: 150%; }
}
.btn-hero-primary, .btn-primary-custom {
    position: relative;
    overflow: hidden;
}
.btn-hero-primary::after, .btn-primary-custom::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: skewX(-20deg);
    animation: shimmer-slide 3.5s ease infinite;
}

/* ── Pulse badge on section headers ── */
@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,111,15,0.4); }
    50%       { box-shadow: 0 0 0 6px rgba(255,111,15,0); }
}
.section-badge {
    animation: pulse-badge 2.8s ease infinite;
}

/* ── Feature card: lift + glow on hover ── */
.feature-card, .initiative-card, .testimonial-card {
    transition: transform 0.35s cubic-bezier(.4,0,.2,1),
                box-shadow 0.35s cubic-bezier(.4,0,.2,1),
                border-color 0.35s;
}
.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 24px 60px rgba(255,111,15,0.18);
    border-color: rgba(255,111,15,0.3);
}
.initiative-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(255,111,15,0.2);
}
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

/* ── Typing cursor blink ── */
@keyframes cursor-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}
.typing-cursor::after {
    content: '|';
    color: var(--primary);
    animation: cursor-blink 0.9s step-end infinite;
    font-weight: 700;
    margin-left: 2px;
}

/* ── Animated number counter ── */
@keyframes count-up {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.stat-num {
    display: inline-block;
    animation: count-up 0.6s ease forwards;
}

/* ── Skeleton shimmer loader ── */
@keyframes skeleton-shine {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shine 1.5s ease infinite;
    border-radius: 8px;
}

/* ── Rotate icon in initiative cards ── */
.initiative-card .ic-icon {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}
.initiative-card:hover .ic-icon {
    transform: rotate(10deg) scale(1.15);
}

/* ── Nav link underline sweep ── */
.nav-link-custom {
    position: relative;
}
.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 50%;
    width: 0; height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
}
.nav-link-custom:hover::after,
.nav-link-custom.active::after {
    left: 0;
    width: 100%;
}

/* ── Page entry animation ── */
@keyframes page-enter {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}
body {
    animation: page-enter 0.5s ease forwards;
}

/* ── Section divider grow ── */
@keyframes divider-grow {
    from { width: 0; }
    to   { width: 60px; }
}
.section-divider {
    animation: divider-grow 0.8s ease forwards 0.3s;
    width: 0;
}
.section-divider.mx-auto { margin-left: auto; margin-right: auto; }

/* ── Scroll Top bounce ── */
@keyframes bounce-up {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-5px); }
}
.scroll-top:hover {
    animation: bounce-up 0.5s ease infinite;
}

/* ── Footer link hover ── */
.footer-link {
    position: relative;
    transition: color 0.25s, padding-left 0.25s;
}
.footer-link:hover {
    color: var(--primary) !important;
    padding-left: 6px;
}

/* ── Social icon spin ── */
.footer-social a, .tc-contacts a {
    transition: transform 0.3s cubic-bezier(.4,0,.2,1), color 0.3s;
}
.footer-social a:hover {
    transform: rotate(15deg) scale(1.2);
    color: var(--primary) !important;
}

/* ── Card glass shine on hover ── */
.hero-card-float {
    position: absolute;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    transition: transform 0.35s, box-shadow 0.35s;
    z-index: 2;
}
.hero-card-float.card1 { bottom: 80px; right: -20px; }
.hero-card-float.card2 { top: 60px; left: -20px; }
.hero-card-float:hover {
    box-shadow: 0 16px 48px rgba(255,111,15,0.3);
}

/* ── Typewriter for hero subtitle ── */
@keyframes typewriter {
    from { width: 0; }
    to   { width: 100%; }
}

/* ── News card entrance ── */
@keyframes slide-in-up {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
#home-news-grid > div {
    animation: slide-in-up 0.6s ease both;
}
#home-news-grid > div:nth-child(1) { animation-delay: 0.1s; }
#home-news-grid > div:nth-child(2) { animation-delay: 0.2s; }
#home-news-grid > div:nth-child(3) { animation-delay: 0.3s; }
#home-news-grid > div:nth-child(4) { animation-delay: 0.4s; }

/* ── Gallery photo hover zoom ── */
#gallery-preview img {
    transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}
#gallery-preview .col-lg-6 > div:hover img,
#gallery-preview .col-6 > div:hover img {
    transform: scale(1.07);
}

/* ── Winner card medal glow ── */
@keyframes medal-glow {
    0%, 100% { box-shadow: 0 4px 12px rgba(255,165,0,0.4); }
    50%       { box-shadow: 0 6px 24px rgba(255,165,0,0.7); }
}

/* ── Topbar marquee/glide feel ── */
@keyframes topbar-glide {
    from { opacity: 0; transform: translateX(-10px); }
    to   { opacity: 1; transform: translateX(0); }
}
.aisu-topbar small {
    animation: topbar-glide 0.6s ease forwards;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal, .reveal-left, .reveal-right, .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
    }
}

