/* ba.css - Ultra Premium B.A. Course Page Styles */

:root {
    --ba-primary: #f2b915;
    --ba-secondary: #10235a;
    --ba-accent: #f59e0b;
    --ba-text-glow: rgba(242, 185, 21, 0.5);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 20px;
    --card-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

body.theme-light {
    --ba-primary: #10235a;
    --ba-secondary: #f2b915;
    --ba-accent: #0f172a;
    --ba-text-glow: rgba(16, 35, 90, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(16, 35, 90, 0.15);
    --card-shadow: 0 15px 35px rgba(16, 35, 90, 0.12);
}

/* Animations */
@keyframes heroFloating {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(0.5deg); }
    66% { transform: translateY(5px) rotate(-0.5deg); }
}

@keyframes titleGlow {
    0%, 100% { text-shadow: 0 0 20px var(--ba-text-glow); }
    50% { text-shadow: 0 0 40px var(--ba-text-glow), 0 0 10px var(--ba-primary); }
}

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

@keyframes shimmer {
    0% { transform: translateX(-150%) skewX(-20deg); }
    100% { transform: translateX(150%) skewX(-20deg); }
}

/* Hero Section Refined */
.hero-section {
    position: relative;
    padding: 100px 0 120px;
    background: linear-gradient(-45deg, #020617, #10235a, #030712, #1e1b4b);
    background-size: 400% 400%;
    animation: backgroundFlow 12s ease infinite;
    color: white;
    text-align: center;
    clip-path: ellipse(160% 100% at 50% 0%);
    z-index: 1;
}

body.theme-light .hero-section {
    background: linear-gradient(-45deg, #f8fafc, #e0e7ff, #f1f5f9, #dbeafe);
    color: var(--ba-primary);
}

.hero-content-wrapper {
    animation: heroFloating 6s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(3.5rem, 12vw, 6rem);
    font-weight: 950;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--ba-primary) 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -4px;
    animation: titleGlow 4s ease-in-out infinite;
    line-height: 1;
}

body.theme-light .hero-title {
    background: linear-gradient(135deg, black 0%, #f2b915 100%);
    -webkit-background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3.5vw, 1.6rem);
    max-width: 850px;
    margin: 0 auto;
    opacity: 0.85;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: -0.5px;
}

/* Premium Info Cards Refined */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: -80px;
    padding-bottom: 100px;
    position: relative;
    z-index: 10;
}

.premium-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 50px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 4s infinite;
    pointer-events: none;
}

.premium-card:hover {
    transform: translateY(-20px) rotateX(5deg);
    border-color: var(--ba-primary);
    box-shadow: var(--card-shadow), 0 0 30px rgba(242, 185, 21, 0.1);
}

body.theme-light .premium-card:hover {
    box-shadow: var(--card-shadow), 0 0 30px rgba(16, 35, 90, 0.1);
}

.premium-card .icon-box {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(242, 185, 21, 0.2), rgba(242, 185, 21, 0.05));
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: var(--ba-primary);
    margin-bottom: 30px;
    transition: var(--transition);
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.1);
}

body.theme-light .premium-card .icon-box {
    background: linear-gradient(135deg, rgba(16, 35, 90, 0.1), rgba(16, 35, 90, 0.05));
    color: var(--ba-primary);
}

.premium-card:hover .icon-box {
    transform: scale(1.1) rotate(10deg);
    background: var(--ba-primary);
    color: var(--ba-secondary);
}

body.theme-light .premium-card:hover .icon-box {
    background: #10235a;
    color: #f2b915;
}

.premium-card h4 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--ba-primary);
}

.premium-card p {
    font-size: 1.15rem;
    line-height: 1.8;
    opacity: 0.8;
    color: var(--text-primary);
}

/* Rest of the styles... */
/* Stats Banner - Sleek Premium */
.stats-banner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    background: rgba(16, 35, 90, 0.4);
    backdrop-filter: blur(15px);
    padding: 35px 25px;
    border-radius: 24px;
    margin: 60px 0;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

body.theme-light .stats-banner {
    background: rgba(5, 19, 61);
    border: 1px solid rgba(16, 35, 90, 0.08);
    box-shadow: 0 15px 30px rgba(16, 35, 90, 0.06);
}

.stat-item {
    flex: 1;
    min-width: 160px;
    text-align: center;
    padding: 10px;
    position: relative;
    transition: var(--transition);
}
.stat-item i{
    color: #f2b915;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
}

body.theme-light .stat-item:not(:last-child)::after {
    background: linear-gradient(to bottom, transparent, rgba(16, 35, 90, 0.1), transparent);
}

@media (max-width: 768px) {
    .stat-item:not(:last-child)::after {
        display: none;
    }
}

.stat-item:hover {
    transform: translateY(-3px);
}

.stat-icon {
    font-size: 1.6rem;
    color: var(--ba-primary);
    margin-bottom: 12px;
    opacity: 0.9;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    font-weight: 600;
}

body.theme-light .stat-label {
    color: #64748b;
}

.stat-value {
    font-size: 1.6rem;
    color: white;
    font-weight: 800;
    letter-spacing: -0.5px;
}

body.theme-light .stat-value {
    color: white;
}

.section-wrapper {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-tag {
    color: var(--ba-primary);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--text-primary);
}

.subjects-mosaic {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.mosaic-tag {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: default;
}

.mosaic-tag i {
    color: var(--ba-primary);
    font-size: 1.2rem;
}
.mosaic-tag:hover i {
    color: #10235a;
}
body.theme-light .mosaic-tag:hover i {
    color: white;
}

.mosaic-tag:hover {
    background: var(--ba-primary);
    color: var(--ba-secondary);
    transform: scale(1.1) rotate(2deg);
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(242, 185, 21, 0.3);
}

body.theme-light .mosaic-tag:hover {
    background: #10235a;
    color: #f2b915;
}


/* Key Highlights - Elegant Grid */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.highlight-box {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

body.theme-light .highlight-box {
    background: rgba(16, 35, 90, 0.02);
    border: 1px solid rgba(16, 35, 90, 0.05);
}

.highlight-box:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--ba-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

body.theme-light .highlight-box:hover {
    background: white;
    box-shadow: 0 20px 40px rgba(16, 35, 90, 0.08);
}

.highlight-box i {
    font-size: 2.4rem;
    color: var(--ba-primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.highlight-box:hover i {
    transform: scale(1.1);
}

.highlight-box h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

body.theme-light .highlight-box h4 {
    color: black;
}

.highlight-box p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

body.theme-light .highlight-box p {
    color: #475569;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 25px;
    position: relative;
}

@media (max-width: 1200px) {
    .process-timeline {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .process-timeline {
        grid-template-columns: 1fr;
    }
}

.step-card {
    position: relative;
    padding: 40px 30px;
    background: var(--glass-bg);
    border-radius: 28px;
    border: 1px solid var(--glass-border);
    text-align: center;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 45px;
    background: var(--ba-primary);
    color: var(--ba-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(242, 185, 21, 0.4);
}

.career-path-box {
    background: linear-gradient(135deg, #472c07 0%, #020617 100%);
    padding: 50px;
    border-radius: 40px;
    color: white;
    margin-top: 50px;
    border: 1px solid var(--ba-primary);
}

.career-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.career-item {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.career-item:hover {
    background: rgba(242, 185, 21, 0.1);
    border-color: var(--ba-primary);
    transform: scale(1.05);
}

.career-item h4 {
    color: #f2b915;
    margin-bottom: 15px;
    font-size: 1.3rem;
}
body.theme-light .career-item h4 {
    color: #f2b915;
}

/* --- Responsive Design (Down to 310px) --- */

@media (max-width: 1024px) {
    .hero-title { font-size: 4rem; }
    .info-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}

@media (max-width: 768px) {
    .hero-section { padding: 100px 0 60px; }
    .hero-title { font-size: 3rem; letter-spacing: -2px; }
    .hero-subtitle { font-size: 1.1rem; }
    
    .info-grid { margin-top: -40px; gap: 20px; }
    .premium-card { padding: 35px 25px; border-radius: 24px; }
    
    .stats-banner { padding: 30px 20px; margin: 40px 0; border-radius: 20px; }
    .stat-item { min-width: 130px; }
    .stat-item:not(:last-child)::after { display: none; }
    
    .section-wrapper { padding: 60px 0; }
    .section-title { font-size: 2.2rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 15px; }
    
    .hero-section { padding: 80px 0 50px; }
    .hero-title { font-size: 2.2rem; letter-spacing: -1px; }
    .hero-subtitle { font-size: 1rem; padding: 0 10px; }
    
    .info-grid { grid-template-columns: 1fr; margin-top: 20px; }
    .premium-card { padding: 30px 20px; }
    .premium-card h3 { font-size: 1.5rem; }
    
    .stats-banner { gap: 15px; padding: 25px 15px; }
    .stat-item { min-width: 100%; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding: 15px 0; }
    body.theme-light .stat-item { border-bottom: 1px solid rgba(16, 35, 90, 0.05); }
    .stat-item:last-child { border-bottom: none; }
    .stat-value { font-size: 1.4rem; }
    
    .subjects-mosaic { gap: 10px; }
    .mosaic-tag { padding: 10px 18px; font-size: 0.9rem; }
    
    .highlights-grid { grid-template-columns: 1fr; gap: 15px; }
    .highlight-box { padding: 30px 20px; }
    
    .career-path-box { padding: 40px 15px; border-radius: 24px; }
    .career-grid { grid-template-columns: 1fr; gap: 20px; }
    .career-item { padding: 25px 20px; }
    
    .process-timeline { gap: 30px; }
    .step-card { padding: 35px 20px; }
}

/* Specific support for 310px screens */
@media (max-width: 320px) {
    .hero-title { font-size: 1.8rem; }
    .section-title { font-size: 1.8rem; }
    
    .premium-card, .highlight-box, .career-item, .step-card {
        padding: 25px 15px;
    }
    
    .mosaic-tag { width: 100%; justify-content: center; }
}
