/* 
    SOFTDEV GROUP OF EDUCATION - PREMIUM DESIGN SYSTEM 2026
    Created for Visual Excellence & High Conversion
*/

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #f59e0b;
    --accent-color: #10b981;
    --bg-dark: #0f172a;
    --card-bg: rgba(255, 255, 255, 0.85);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-main: #1e293b;
    --text-muted: #64748b;
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    --gradient-mesh: radial-gradient(at 0% 0%, hsla(225,100%,60%,0.15) 0, transparent 50%), 
                    radial-gradient(at 50% 0%, hsla(20,100%,70%,0.1) 0, transparent 50%), 
                    radial-gradient(at 100% 0%, hsla(280,100%,60%,0.1) 0, transparent 50%);
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: #f8fafc;
    background-image: var(--gradient-mesh);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .fw-800 { font-family: 'Outfit', sans-serif; font-weight: 800; }

/* GLOBAL GLASSMORPHISM */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.card-custom {
    background: white;
    border: none;
    border-radius: 30px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

.card-custom:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.12);
}

/* PREMIUM HERO SECTION */
.hero-wrapper {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-wrapper .floating-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    z-index: 0;
    animation: float 20s infinite linear;
}

.hero-image-container {
    position: relative;
    z-index: 1;
}

.hero-image-container img {
    border-radius: 40px;
    box-shadow: 0 50px 100px rgba(0,0,0,0.4);
    border: 8px solid rgba(255,255,255,0.05);
}

/* TOP BAR & MARQUEE */
.top-bar { 
    background: rgba(15, 23, 42, 0.9); 
    backdrop-filter: blur(15px); 
    border-bottom: 1px solid rgba(255,255,255,0.08); 
    position: relative;
    z-index: 1001;
}

.scrolling-text { 
    background: rgba(255, 255, 255, 0.08); 
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px; 
    padding: 3px 25px; 
    max-width: 65%;
    position: relative;
    overflow: hidden;
}

.marquee-container {
    display: flex;
    white-space: nowrap;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    animation: marquee-slide 40s linear infinite;
}

.marquee-item {
    padding-right: 60px;
    display: flex;
    align-items: center;
    color: white;
    font-size: 0.85rem;
}

@keyframes marquee-slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.scrolling-text:hover .marquee-content {
    animation-play-state: paused;
}

.top-bar a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-bar a:hover {
    transform: translateY(-2px);
    color: #f59e0b !important;
}

.top-bar i {
    transition: transform 0.4s ease;
}

.top-bar a:hover i {
    transform: scale(1.2) rotate(10deg);
}

/* NAV STYLES */
.main-header { transition: background 0.4s ease, padding 0.4s ease; }
.main-header.scrolled { background: rgba(255, 255, 255, 0.9) !important; backdrop-filter: blur(15px); padding: 10px 0 !important; }

.navbar-nav .nav-link { font-weight: 600; color: #334155; position: relative; transition: color 0.3s; }
.navbar-nav .nav-link:after { 
    content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 3px; 
    background: var(--primary-color); transition: 0.3s; transform: translateX(-50%); border-radius: 3px; 
}
.navbar-nav .nav-link:hover:after { width: 40%; }
.navbar-nav .nav-link:hover { color: var(--primary-color); }

/* BUTTONS */
.btn-primary { 
    background: var(--primary-color); 
    border: none; 
    padding: 12px 30px; 
    border-radius: 50px; 
    font-weight: 700; 
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
    transition: 0.3s;
}

.btn-primary:hover { 
    background: var(--primary-dark); 
    transform: translateY(-3px); 
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.35); 
}

.btn-secondary { background: var(--secondary-color); color: #000; border: none; font-weight: 700; }
.btn-secondary:hover { transform: scale(1.05); background: #fca311; }

/* UNIVERSITY TILES */
.partner-logo-tile {
    padding: 15px;
    background: white;
    border-radius: 24px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 45px rgba(0,0,0,0.04);
    transition: 0.3s;
    border: 1px solid rgba(0,0,0,0.02);
}

.partner-logo-tile:hover { transform: translateY(-10px) scale(1.05); box-shadow: 0 25px 60px rgba(37, 99, 235, 0.15); border-color: var(--primary-color); }
.partner-logo-tile img { max-height: 100px; width: auto; object-fit: contain; filter: grayscale(1) contrast(0.8); transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1); opacity: 0.6; }
.partner-logo-tile:hover img { filter: grayscale(0) contrast(1); opacity: 1; transform: scale(1.1); }

/* ADMISSION BANNER & DEADLINE PULSE */
.admission-banner {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 40px;
    padding: 60px;
    position: relative;
    overflow: hidden;
    color: #1e293b;
    box-shadow: 0 40px 100px rgba(245, 158, 11, 0.2);
    transition: 0.4s;
}

.deadline-pulse {
    animation: deadline-glow 2s infinite;
    border: 2px solid rgba(220, 38, 38, 0.3);
}

@keyframes deadline-glow {
    0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); transform: scale(1); }
    50% { box-shadow: 0 0 20px 10px rgba(220, 38, 38, 0); transform: scale(1.02); }
    100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); transform: scale(1); }
}

/* COURSE CARDS ENHANCEMENTS */
.card-custom {
    background: white;
    border: 1px solid rgba(0,0,0,0.03);
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 15px 45px rgba(0,0,0,0.05);
}

.card-custom:hover {
    transform: translateY(-12px);
    box-shadow: 0 35px 70px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.2);
}

.admission-banner:after {
    content: ''; position: absolute; top: -50px; right: -50px; width: 250px; height: 250px; 
    background: rgba(255,255,255,0.2); border-radius: 50%; z-index: 0;
}

/* MARQUEE PLACEHOLDER */

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed; width: 65px; height: 65px; bottom: 30px; right: 30px; 
    background-color: #25d366; color: #FFF; border-radius: 50px; text-align: center; 
    font-size: 35px; box-shadow: 2px 2px 30px rgba(0,0,0,0.2); z-index: 1000;
    display: flex; align-items: center; justify-content: center; animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
	0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
	70% { transform: scale(1); box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
	100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* FOOTER */
.footer { background: #0f172a; position: relative; padding-top: 100px; }
.footer:before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 8px; background: var(--gradient-primary); }

.avatar-circle {
    width: 60px; height: 60px; background: var(--primary-color); color: white; 
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800;
}

/* ANIMATIONS */
[data-aos] { opacity: 0; transition-property: transform, opacity; }
[data-aos].aos-animate { opacity: 1; }

.text-gradient { background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
