/* Modern Conversion-Focused UI Enhancements */
:root {
    --brand-primary: #1a73e8;
    --brand-secondary: #ffb300;
    --text-dark: #1e293b;
    --bg-light: #f8fafc;
    --accent-gold: var(--bs-primary);
    /* Deep Golden Rod - Clearly visible on light bg */
    --soft-gold: #faf3e0;
    /* Creamy Light Background */
    --text-slate: #2f3640;
    /* Professional Slate Grey */
    --white: #ffffff;
}

/* Unique Gold Button */
.btn-premium {
    background-color: var(--accent-gold);
    color: var(--white);
    font-weight: 600;
    border-radius: 0;
    /* Sharp edges look more professional/academic */
    padding: 10px 28px;
    border: 1px solid var(--accent-gold);
    transition: 0.4s;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.btn-premium:hover {
    background-color: transparent;
    color: var(--accent-gold);
    box-shadow: 5px 5px 0px var(--accent-gold);
}

.navbar-toggler {
    border: none;
}

/* Search section css */
.css-typist::after {
    content: "Perfect Campus";
    color: var(--accent-gold);
    animation: rotateText 10s infinite;
    border-right: 3px solid var(--accent-gold);
    padding-right: 8px;
}

@keyframes rotateText {
    0%,
    20% {
        content: "Perfect Campus";
        width: 0;
    }

    25%,
    45% {
        content: "Dream College";
    }

    50%,
    70% {
        content: "Best Career";
    }

    75%,
    95% {
        content: "Top University";
    }
}

/* 2. Entrance Animation for Search Bar */
.search-bar-slide {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 1s ease-out 0.5s forwards;
}

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

/* 3. Button Premium Style (Square Fix) */
.btn-premium {
    background-color: var(--accent-gold);
    color: white;
    border: none;
    transition: 0.3s;
    font-weight: 600;
    letter-spacing: 1px;
}

.btn-premium:hover {
    background-color: var(--text-slate);
    color: var(--accent-gold);
    box-shadow: 4px 4px 0px var(--accent-gold);
}

.fade-in-delayed {
    opacity: 0;
    animation: fadeIn 1s ease-in 1.2s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.hero-gradient {
    background: linear-gradient(135deg, #fff 60%, #fffbeb 100%);
    position: relative;
}

.lead-form-card {
    border: 1px solid #e2e8f0;
    border-top: 4px solid var(--brand-primary);
    border-radius: 16px;
    background: #ffffff;
}

.feature-icon-box {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    color: var(--brand-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.trust-badge-row img {
    opacity: 0.6;
    filter: grayscale(1);
    transition: 0.3s;
}

.trust-badge-row img:hover {
    opacity: 1;
    filter: grayscale(0);
}

.ai-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.ai-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle,
        rgba(99, 102, 241, 0.15) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.course-badge-btn {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 12px 20px;
    border-radius: 12px;
    color: #1e293b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.course-badge-btn:hover {
    border-color: #0284c7;
    background: #f0f9ff;
    color: #0369a1;
    transform: translateY(-2px);
}
/* Darken title color gracefully when hovering over the college link */
.card-title-link:hover {
    color: #0d6efd !important; /* Maps onto standard Bootstrap primary blue */
}

/* Give the view details text link a clean interactive shift on hover */
.hover-arrow-bounce i {
    transition: transform 0.2s ease;
}
.hover-arrow-bounce:hover i {
    transform: translateX(4px);
}
