/* ================= GLOBAL VARIABLES & FONTS ================= */
:root {
    --primary-color: #0d6efd;
    --primary-dark: #0a58ca;
    --text-dark: #212529;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 20px 40px rgba(13, 110, 253, 0.15);
    --border-radius: 12px;
}

body {
    font-family: 'Segoe UI', Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

/* ================= ANIMATIONS ================= */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cfModalIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ================= HERO SECTION ================= */
.college-hero-section {
    position: relative;
    padding: 80px 0 100px;
    background-image: url('../../college-page-background.jpg');
    background-size: cover;
    background-position: center 75%;
    background-attachment: fixed;
    color: white;
    margin-bottom: 0;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.college-hero-section .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    color: white;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
    animation: fadeInUp 1s ease-out;
}

/* ================= FLOATING SEARCH & FILTER BAR ================= */
.filter-bar-container {
    max-width: 1140px;
    transform: translateY(-50%);
    position: relative;
    z-index: 100;
    margin-bottom: -30px;
}

.search-filter-card {
    background: #ffffff;
    padding: 10px 18px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 
                0 0 0 1px rgba(226, 232, 240, 0.8);
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: fit-content;
    margin: 0 auto;
}
.search-filter-card:hover {
    box-shadow: 0 18px 40px -6px rgba(15, 23, 42, 0.12), 
                0 0 0 1px rgba(191, 219, 254, 0.8);
}

.custom-input-group {
    background: #ffffff;
    border-radius: 12px;
    border: none;
    padding: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.custom-input-group:focus-within {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.custom-input-group .input-group-text {
    background: transparent;
    border: none;
    color: #64748b;
    padding: 0.75rem 0.5rem 0.75rem 1rem;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
}

.custom-input-group .form-control {
    background: transparent;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: #1e293b;
    box-shadow: none !important;
    outline: none;
    flex-grow: 1;
    width: auto;
    min-width: 200px;
}

.custom-input-group .form-control:focus {
    box-shadow: none;
    background: transparent;
}

.custom-input-group .form-control::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

/* Hide native search cancel button in WebKit */
.custom-input-group .form-control::-webkit-search-cancel-button,
.custom-input-group .form-control::-webkit-search-decoration,
.custom-input-group .form-control::-webkit-search-results-button,
.custom-input-group .form-control::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
}

.custom-input-group .btn-light {
    border: none !important;
    background: transparent;
    padding: 0 16px;
    color: #64748b !important;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-input-group .btn-light:hover {
    color: #ef4444 !important;
    background: #fee2e2;
    border-radius: 8px;
}

.custom-input-group .btn-primary {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.2s;
    margin: 0;
}

.custom-input-group .btn-primary:hover {
    background: #4338ca;
}

.filter-group {
    position: relative;
}

.filter-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #3b82f6;
    z-index: 5;
    pointer-events: none;
    font-size: 1.15rem;
    transition: color 0.25s ease;
}
.filter-group:hover .filter-icon {
    color: #2563eb;
}
.filter-group:focus-within .filter-icon {
    color: #1d4ed8;
}

.filter-group .form-select {
    padding: 8px 18px 8px 38px;
    border-radius: 50px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 0.92rem;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    transition: all 0.25s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%233b82f6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 10px 6px;
    min-width: 140px;
}

.filter-group .form-select:hover {
    background-color: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
}

.filter-group .form-select:focus {
    background-color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
    outline: none;
}

/* ================= COLLEGE CARDS ================= */
.college-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(2, 6, 23, 0.08);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #2563eb;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(8px);
}

.college-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 24px 48px rgba(2, 6, 23, 0.16);
    border-color: #3b82f6;
    background: white;
}

.college-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    opacity: 0;
    transition: opacity 0.25s;
}

.college-card:hover::before {
    opacity: 1;
}

/* Header */
.college-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.75rem 1.75rem 0;
    min-height: auto;
}
.card-header-bg { display: none; }
.college-icon { display: none; }

.card-body {
    padding: 1.75rem 1.75rem 0.25rem;
}

/* Type Badge */
.badge-type {
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(2, 6, 23, 0.04);
}

/* Title */
.college-name {
    margin-bottom: 12px;
    line-height: 1.4;
    min-height: 3.5rem;
}

.college-name a {
    text-decoration: none;
    color: #0f172a;
    font-weight: 700;
    font-size: 1.15rem;
    transition: color 0.2s;
}

.college-name a:hover {
    color: #2563eb;
}

/* Rating/Review Badges */
.badge-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge-custom {
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.badge-rating {
    background: #fef08a;
    color: #854d0e;
    border: none;
}

.badge-rating i {
    font-size: 0.9rem;
}

.badge-reviews {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

/* Description */
.college-desc {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Fees Box */
.fees-box {
    background: #fff5f5;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #fed7d7;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fees-box .label {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 600;
}

.fees-box .value {
    font-size: 1.1rem;
    color: #e53e3e;
    font-weight: 800;
}

/* Buttons */
.btn-view-details {
    flex: 1;
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}
.btn-view-details:hover {
    background: #1d4ed8;
    color: white;
}

.btn-compare {
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    border: 2px solid #2563eb;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
}
.btn-compare:hover {
    background: #2563eb;
    color: white;
}

.btn-compare.active {
    background: #eff6ff;
    color: #2563eb;
    border-color: #bfdbfe;
}

/* ================= MODAL CSS (STRICTLY PRESERVED) ================= */
/* Overlay */
#comparisonModal.cf-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
}

/* Modal container */
#comparisonModal .cf-modal {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    height: auto !important;
    max-height: 90vh;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: cfModalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Header */
#comparisonModal .modal-header {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e2e8f0;
    background: white;
}

#comparisonModal .cf-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

/* Close button */
#comparisonModal .cf-modal-close {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

#comparisonModal .cf-modal-close:hover {
    background: #fee2e2;
    color: #ef4444;
}

/* Body */
#comparisonModal .modal-body {
    padding: 1.5rem 2rem;
    overflow-y: auto;
    flex: 0 0 auto !important;
}

/* Comparison items wrapper */
#comparisonItems.cf-comparison-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 0 0 auto !important;
}

/* Individual item card */
#comparisonItems .cf-compare-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

/* College name inside modal */
#comparisonItems .cf-compare-name {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin-right: 1rem;
}

/* Remove button */
#comparisonItems .cf-remove {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
}

#comparisonItems .cf-remove:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
}

/* Footer */
#comparisonModal .cf-modal-footer {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    border-top: 1px solid #e2e8f0;
    background: #f8f9fa;
    flex: 0 0 auto !important;
}

/* Modal Buttons */
#comparisonModal .cf-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s ease;
}

#comparisonModal .cf-btn-outline {
    background: white;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

#comparisonModal .cf-btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

#comparisonModal .cf-btn-primary {
    background: var(--primary-color);
    border: none;
    color: #ffffff;
}

#comparisonModal .cf-btn-primary:hover {
    background: var(--primary-dark);
}

/* Toast */
#toastContainer {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 20000;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

#toastContainer .cf-toast {
    background: #fff;
    color: #0f172a;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(2, 6, 23, 0.18);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    max-width: 100%;
    min-width: 240px;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    animation: cf-toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
}

#toastContainer .cf-toast::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
}

/* Toast Variants */
#toastContainer .cf-toast-success {
    border-color: #10b981;
}

#toastContainer .cf-toast-success::before {
    background: #10b981;
}

#toastContainer .cf-toast-info {
    border-color: #2563eb;
}

#toastContainer .cf-toast-info::before {
    background: #2563eb;
}

#toastContainer .cf-toast-warning {
    border-color: #f59e0b;
}

#toastContainer .cf-toast-warning::before {
    background: #f59e0b;
}

#toastContainer .cf-toast-error {
    border-color: #ef4444;
}

#toastContainer .cf-toast-error::before {
    background: #ef4444;
}

@keyframes cf-toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 991.98px) {
    .college-hero-section {
        padding: 55px 0 60px !important;
        background-attachment: scroll !important;
    }

    .college-hero-section .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 12px !important;
    }

    .college-hero-section .hero-subtitle {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin-bottom: 22px !important;
        padding: 0 10px;
    }

    .search-container {
        max-width: 100% !important;
        padding: 0 5px;
    }

    .custom-input-group {
        display: flex;
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
        padding: 6px 8px;
        border-radius: 14px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    }

    .custom-input-group .form-control {
        flex: 1 1 0%;
        min-width: 0;
        font-size: 0.95rem;
        padding: 8px 12px;
        border: none;
        background: transparent;
    }

    .custom-input-group .btn-primary {
        width: auto;
        flex: 0 0 auto;
        padding: 9px 18px;
        font-size: 0.85rem;
        border-radius: 10px;
        letter-spacing: 0.5px;
    }

    .filter-bar-container {
        transform: translateY(-50%) !important;
        position: relative !important;
        z-index: 100 !important;
        margin-bottom: 0 !important;
        max-width: 100% !important;
        transition: transform 0.25s ease;
    }

    .filter-bar-container.is-open,
    .filter-bar-container:has(.collapse.show) {
        transform: translateY(-22px) !important;
    }

    .search-filter-card {
        padding: 6px 20px !important;
        border-radius: 50px !important;
        width: fit-content !important;
        margin: 0 0 0 auto !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
        background: #ffffff !important;
        transition: all 0.25s ease !important;
    }

    .search-filter-card.is-open,
    .search-filter-card:has(.collapse.show) {
        width: 100% !important;
        border-radius: 16px !important;
        padding: 14px !important;
        margin: 0 auto !important;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;
    }

    .filter-group {
        margin-bottom: 6px;
        width: 100%;
    }

    .filter-group .form-select {
        font-size: 0.92rem !important;
        padding: 10px 14px 10px 38px !important;
        border-radius: 12px !important;
        min-height: 44px;
        width: 100% !important;
        min-width: 100% !important;
    }

    .filter-icon {
        left: 14px !important;
        font-size: 1.1rem !important;
    }

    .badge-container {
        margin-bottom: 15px;
    }
}

/* =========================================================
   PULSE DOT ANIMATION
========================================================= */
.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
    margin-right: 6px;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    animation: pulse-white 1.5s infinite;
}

@keyframes pulse-white {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* =========================================================
   TECH EVENTS PROMO & SPONSORED AD CARDS
========================================================= */
.cl-tech-promo-card {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border: 1px solid #dbeafe;
    border-radius: 14px;
    padding: 24px 28px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cl-tech-promo-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}

.cl-tech-promo-text {
    font-size: 0.84rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 14px;
}

.cl-tech-promo-btn {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 18px;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.cl-tech-promo-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.cd-sponsored-ad-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    height: 100%;
}

.cd-sponsored-ad-topbar {
    padding: 8px 14px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.cd-sponsored-ad-topbar .badge {
    font-size: 0.68rem;
    padding: 0.25rem 0.65rem;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.cd-sponsored-ad-hint {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 500;
}

.cd-sponsored-ad-link {
    display: flex;
    width: 100%;
    height: 100%;
    flex-grow: 1;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #020817;
}

.cd-sponsored-ad-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.35s ease;
}

.cd-sponsored-ad-card:hover .cd-sponsored-ad-img {
    transform: none;
}

/* =========================================================
   STORY / FEEDBACK BANNER
========================================================= */
.cd-feedback-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #2563eb 100%) !important;
    border-radius: 14px;
    padding: 1.25rem 1.75rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
}

.cd-feedback-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cd-feedback-badge {
    background: rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 20px;
    letter-spacing: 0.02em;
}

.cd-feedback-banner .cd-feedback-title,
.cf-home .cd-feedback-banner h3.cd-feedback-title,
.cd-feedback-title {
    color: #ffffff !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em;
    margin-bottom: 0.25rem;
}

.cd-feedback-banner .cd-feedback-desc,
.cf-home .cd-feedback-banner p.cd-feedback-desc,
.cd-feedback-desc {
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 0.835rem;
    line-height: 1.45;
    max-width: 620px;
}

.cd-feedback-btn {
    background: #ffffff !important;
    color: #1d4ed8 !important;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.45rem 1.25rem;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.cd-feedback-btn:hover {
    background: #f8fafc !important;
    color: #1e40af !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.cd-feedback-btn i {
    transition: transform 0.25s ease;
}

.cd-feedback-btn:hover i {
    transform: translateX(3px);
}

/* =========================================================
   ADVERTISE PROMO CARD
========================================================= */
.cd-advertise-promo-card {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border: 1px solid #dbeafe;
    border-radius: 14px;
    padding: 18px 24px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.04);
}

.cd-ad-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 10px;
    border-radius: 50px;
    background: #dbeafe;
    color: #1d4ed8;
    margin-bottom: 6px;
}

.cd-ad-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.cd-ad-text {
    font-size: 0.8125rem;
    color: #475569;
    max-width: 620px;
    margin: 0 auto 10px auto;
    line-height: 1.45;
}

.cd-ad-btn {
    font-size: 0.775rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 50px;
    background: #2563eb;
    border: none;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
    transition: all 0.2s ease;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.cd-ad-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* =========================================================
   MOBILE RESPONSIVE OVERRIDES
========================================================= */
@media (max-width: 767.98px) {
    .cl-tech-promo-card {
        padding: 18px 14px;
        border-radius: 14px;
    }

    .cl-tech-promo-title {
        font-size: 1.15rem;
    }

    .cl-tech-promo-text {
        font-size: 0.825rem;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .cl-tech-promo-btn {
        width: 100%;
        font-size: 0.825rem;
        padding: 7px 16px;
    }

    .cd-sponsored-ad-card {
        border-radius: 14px;
        min-height: 160px;
    }

    .cd-feedback-banner {
        padding: 1.25rem 1rem;
        border-radius: 14px;
        text-align: center;
    }

    .cd-feedback-title {
        font-size: 1.15rem;
        margin-bottom: 0.3rem;
    }

    .cd-feedback-desc {
        font-size: 0.815rem;
        line-height: 1.5;
        margin-bottom: 0.85rem;
    }

    .cd-feedback-btn {
        width: 100%;
        font-size: 0.825rem;
        padding: 0.6rem 1rem;
    }

    .cd-advertise-promo-card {
        padding: 18px 14px;
        border-radius: 14px;
        margin-top: 12px;
    }

    .cd-ad-title {
        font-size: 1.1rem;
    }

    .cd-ad-text {
        font-size: 0.8rem;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .cd-ad-btn {
        width: 100%;
        font-size: 0.8rem;
        padding: 8px 16px;
    }

    .container,
    .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}