/*
Theme Name: Bora Classes
Theme URI: https://boraclasses.com
Author: Techmates Solutions 
Author URI: https://techmates-solutions.com/
Description: Custom Tailwind CSS Theme for Bora Classes.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.4
*/

/* =========================================
   1. Global Typography & Reset Overrides
   ========================================= */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #013764; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #163C56; }

/* =========================================
   2. Utility Classes & Patterns
   ========================================= */
.hero-gradient {
    background: linear-gradient(to right, rgba(1, 55, 100, 0.95) 0%, rgba(22, 60, 86, 0.8) 100%);
}

.pattern-grid, .pattern-dots {
    background-image: radial-gradient(#AAC7D7 1.5px, transparent 1.5px);
    background-size: 24px 24px;
}

.pattern-dna {
    background-image: radial-gradient(#AAC7D7 1.5px, transparent 1.5px);
    background-size: 30px 30px;
}

/* =========================================
   3. Animations
   ========================================= */
/* Text Slide Up Animation */
.word-mask {
    overflow: hidden;
    display: inline-block;
    vertical-align: bottom;
}

.word-slide-up {
    display: inline-block;
    transform: translateY(100%);
    animation: slideUp 0.8s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes slideUp {
    to { transform: translateY(0); }
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Marquee Animation (Student Corner/Rankers) */
.marquee-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll-left 35s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused !important;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.33333%); }
}

/* =========================================
   4. Component Specifics
   ========================================= */

/* Ranker Cards */
.ranker-card {
    width: 260px;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    overflow: hidden;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.ranker-card:hover { transform: translateY(-5px); }
.ranker-header { background-color: #dbeafe; height: 150px; display: flex; align-items: flex-end; justify-content: center; padding-top: 10px; }
.ranker-image { height: 140px; object-fit: contain; display: block; }
.ranker-exam-strip { background-color: #1f1f1f; color: #ffffff; text-align: center; font-weight: 800; font-size: 14px; padding: 8px 0; text-transform: uppercase; letter-spacing: 0.5px; }
.ranker-body { padding: 16px 20px 24px 20px; }
.ranker-name { margin: 0; color: #222; font-size: 18px; font-weight: 700; line-height: 1.2; }
.ranker-course { margin: 6px 0 0 0; color: #666; font-size: 13px; font-weight: 500; }
.ranker-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }
.ranker-result { color: #013764; font-size: 24px; font-weight: 800; }

/* Gallery & Lightbox */
.gallery-card { break-inside: avoid; margin-bottom: 1.5rem; }
.gallery-card img { transition: transform 0.5s ease; }
.gallery-card:hover img { transform: scale(1.1); }
.gallery-overlay { background: linear-gradient(to top, rgba(1, 55, 100, 0.9), transparent); opacity: 0; transition: opacity 0.3s ease; }
.gallery-card:hover .gallery-overlay { opacity: 1; }
.filter-btn.active { background-color: #013764; color: white; border-color: #013764; }
#lightbox { display: none; backdrop-filter: blur(10px); }

/* Tabs (Engineering/Programs) */
.tab-active { border-bottom: 3px solid #FFD700; color: #013764; font-weight: 700; }
.tab-content { display: none; animation: tabSlideUp 0.4s ease-out; }
.tab-content.active { display: block; }
@keyframes tabSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Forms */
.form-input:focus { border-color: #013764; box-shadow: 0 0 0 4px rgba(1, 55, 100, 0.1); }

/* Blog Typography */
.blog-content h2 { font-family: 'Outfit', sans-serif; font-size: 1.8rem; font-weight: 700; color: #013764; margin-top: 2rem; margin-bottom: 1rem; }
.blog-content h3 { font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 600; color: #163C56; margin-top: 1.5rem; margin-bottom: 0.8rem; }
.blog-content p { margin-bottom: 1.2rem; line-height: 1.8; color: #4b5563; font-size: 1.05rem; }
.blog-content ul { list-style-type: disc; padding-left: 1.5rem; margin-bottom: 1.5rem; color: #4b5563; }
.blog-content li { margin-bottom: 0.5rem; }
.blog-content blockquote { border-left: 4px solid #FFD700; padding-left: 1rem; font-style: italic; color: #555; background: #f9f9f9; padding: 1.5rem; border-radius: 0 8px 8px 0; margin: 2rem 0; }