@font-face {
    font-family: 'TAN Nimbus';
    src:
        url('/fonts/TAN-NIMBUS.woff2') format('woff2'),
        url('/fonts/TAN-NIMBUS.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

/* Custom Animations */
@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.animate-marquee {
    animation: marquee 20s linear infinite;
}

.heading-logo h1, .footer-heading h4{
  font-family: "TAN Nimbus";
  font-size: 24px;
  font-weight: 400;
}
.heading-logo p, .footer-heading p{
   font-family: math;
}

/* Slider Styles */
.hero-slider .slick-dots {
    bottom: 20px;
}

.hero-slider .slick-dots li button:before {
    font-size: 12px;
    color: white;
    opacity: 0.5;
}

.hero-slider .slick-dots li.slick-active button:before {
    color: white;
    opacity: 1;
}

.hero-slider .slick-slide > div {
    margin: 0;
}

.bg-banner-first{
  background: url("../images/banner-slider-img1.jpg") no-repeat bottom right/cover;
}
.bg-banner-second{
  background: url("../images/banner-slider-img2.jpg") no-repeat bottom right/cover;
}
.bg-banner-third{
  background: url("../images/banner-slider-img3.jpg") no-repeat bottom right/cover;
}

/* Job Card Styles */
.job-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    transition: box-shadow 0.3s;
}

.job-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.job-badge-new {
    background-color: #ef4444;
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* Result Card Styles */
.result-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.result-badge-result {
    background-color: #dcfce7;
    color: #15803d;
}

.result-badge-admit {
    background-color: #fed7aa;
    color: #c2410c;
}

.result-badge-answer {
    background-color: #e9d5ff;
    color: #7c3aed;
}

/* FAQ Accordion */
details summary {
    cursor: pointer;
    user-select: none;
}

details summary::marker {
    display: none;
}

details[open] summary {
    background-color: #eff6ff;
}

/* Category Cards */
.category-card {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.category-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slider .slick-slide > div > div {
        padding: 2rem !important;
    }

    .hero-slider h2 {
        font-size: 1.5rem !important;
    }

    .hero-slider p {
        font-size: 1rem !important;
    }
}

/* Update List Items */
.update-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.update-item:last-child {
    border-bottom: none;
}

/* Important Links */
.important-link {
    padding: 0.75rem;
    border-radius: 0.25rem;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.important-link:hover {
    background-color: #eff6ff;
}

/* Popular Search Tags */
.search-tag {
    padding: 0.5rem 1rem;
    background-color: #f3f4f6;
    color: #374151;
    border-radius: 9999px;
    font-size: 0.875rem;
    transition: all 0.3s;
    display: inline-block;
}

.search-tag:hover {
    background-color: #2563eb;
    color: white;
}

/* Utility Classes */
.prose {
    max-width: 65ch;
}

.prose p {
    margin-bottom: 1rem;
    line-height: 1.75;
}

.prose h3 {
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

/* =========================
   BLOGS HERO SECTION
========================== */

.blogs-hero-section{
    position:relative;
    padding:90px 20px;
    background:linear-gradient(135deg,#0f172a 0%,#1e3a8a 100%);
    overflow:hidden;
}

.blogs-hero-section::before{
    content:'';
    position:absolute;
    width:500px;
    height:500px;
    background:rgba(255,255,255,0.05);
    border-radius:50%;
    top:-200px;
    right:-150px;
}

.blogs-hero-container{
    max-width:1280px;
    margin:auto;
    position:relative;
    z-index:2;
    text-align:center;
}

.blogs-hero-title{
    font-size:56px;
    font-weight:800;
    color:#ffffff;
    margin-bottom:18px;
    line-height:1.2;
}

.blogs-hero-description{
    max-width:760px;
    margin:auto;
    font-size:18px;
    color:rgba(255,255,255,0.85);
    line-height:1.8;
}

/* =========================
   BLOGS PAGE SECTION
========================== */

.blogs-page-section{
    padding:80px 20px;
}

.blogs-page-container{
    max-width:1280px;
    margin:auto;
}

/* =========================
   TOP BAR
========================== */

.blogs-top-bar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    margin-bottom:45px;
    flex-wrap:wrap;
}

.blogs-top-title{
    font-size:34px;
    font-weight:800;
    color:#111827;
}

.blogs-search-box{
    position:relative;
    width:320px;
}

.blogs-search-input{
    width:100%;
    padding:16px 20px;
    border:none;
    outline:none;
    background:#ffffff;
    border-radius:16px;
    box-shadow:0 10px 25px rgba(0,0,0,0.06);
    font-size:15px;
}

/* =========================
   BLOGS GRID
========================== */

.blogs-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(360px,1fr));
    gap:32px;
}

/* =========================
   BLOG CARD
========================== */

.blogs-card{
    background:#ffffff;
    border-radius:26px;
    overflow:hidden;
    transition:0.4s ease;
    box-shadow:0 12px 35px rgba(0,0,0,0.06);
    position:relative;
}

.blogs-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 45px rgba(0,0,0,0.12);
}

.blogs-card-image-wrapper{
    position:relative;
    overflow:hidden;
    height:250px;
}

.blogs-card-image{
    height:100%;
    object-fit:cover;
    transition:0.5s ease;
}

.blogs-card:hover .blogs-card-image{
    transform:scale(1.08);
}

.blogs-card-category{
    position:absolute;
    top:18px;
    left:18px;
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    color:#ffffff;
    padding:8px 18px;
    border-radius:40px;
    font-size:13px;
    font-weight:600;
    letter-spacing:0.5px;
}

.blogs-card-content{
    padding:30px;
}

.blogs-card-date{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:14px;
    color:#6b7280;
    margin-bottom:16px;
    font-weight:500;
}

.blogs-card-title{
    font-size:25px;
    font-weight:800;
    color:#111827;
    line-height:1.4;
    margin-bottom:18px;
    transition:0.3s;
}

.blogs-card:hover .blogs-card-title{
    color:#2563eb;
}

.blogs-card-description{
    color:#6b7280;
    line-height:1.9;
    font-size:15px;
    margin-bottom:28px;
}

.blogs-card-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.blogs-read-btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:14px 22px;
    border-radius:14px;
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    color:#ffffff;
    font-weight:600;
    transition:0.3s;
}

.blogs-read-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(37,99,235,0.35);
}

.blogs-author-box{
    display:flex;
    align-items:center;
    gap:12px;
}

.blogs-author-image{
    width:46px;
    height:46px;
    border-radius:50%;
    object-fit:cover;
}

.blogs-author-name{
    font-size:15px;
    font-weight:700;
    color:#111827;
}

.blogs-author-role{
    font-size:13px;
    color:#6b7280;
}

/* =========================
   PAGINATION
========================== */

.blogs-pagination{
    display:flex;
    justify-content:center;
    gap:14px;
    margin-top:60px;
    flex-wrap:wrap;
}

.blogs-pagination a{
    width:48px;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    background:#ffffff;
    color:#111827;
    font-weight:700;
    transition:0.3s;
    box-shadow:0 8px 20px rgba(0,0,0,0.06);
}

.blogs-pagination a:hover,
.blogs-pagination a.blogs-pagination-active{
    background:#2563eb;
    color:#ffffff;
}

/* =========================
   RESPONSIVE
========================== */

@media(max-width:768px){

    .blogs-hero-title{
        font-size:38px;
    }

    .blogs-top-bar{
        flex-direction:column;
        align-items:flex-start;
    }

    .blogs-search-box{
        width:100%;
    }

    .blogs-grid{
        grid-template-columns:1fr;
    }

    .blogs-card-footer{
        flex-direction:column;
        align-items:flex-start;
        gap:20px;
    }

}
