/* =========================================
   GLOBAL EDU SKILLS SOCIETY - PREMIUM DESIGN
   ========================================= */

:root {
    --primary: #0a1128;
    --primary-light: #1e3a8a;
    --secondary: #fbbf24;
    --accent: #3b82f6;
    --gradient: linear-gradient(135deg, #0a1128 0%, #1e3a8a 50%, #3b82f6 100%);
    --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    --text: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    overflow-x: hidden;
    background: #fff;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

a { text-decoration: none; color: inherit; transition: all 0.3s; }
img { max-width: 100%; }

/* Preloader */
.preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--gradient); z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.loader {
    width: 80px; height: 80px; border: 5px solid rgba(255,255,255,0.3);
    border-top-color: var(--secondary); border-radius: 50%;
    animation: spin 1s linear infinite; position: relative;
}
.loader .inner {
    position: absolute; top: 10px; left: 10px; right: 10px; bottom: 10px;
    border: 5px solid rgba(255,255,255,0.3); border-bottom-color: #fff;
    border-radius: 50%; animation: spin 2s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Top Bar */
.top-bar {
    background: var(--gradient); color: white; padding: 10px 0;
    font-size: 0.85rem;
}
.top-info span i { margin-right: 5px; color: var(--secondary); }
.top-social a {
    color: white; margin-left: 10px; width: 28px; height: 28px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.1); border-radius: 50%;
    transition: all 0.3s; font-size: 0.8rem;
}
.top-social a:hover { background: var(--secondary); color: var(--primary); transform: translateY(-2px); }

/* Navbar */
.navbar {
    background: white !important; padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.navbar-brand { display: flex; align-items: center; }
.brand-logo {
    width: 50px; height: 50px; background: var(--gradient);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    color: var(--secondary); font-size: 1.5rem; margin-right: 12px;
    box-shadow: 0 5px 15px rgba(10,17,40,0.2);
}
.brand-name {
    display: block; font-size: 1.2rem; font-weight: 800;
    color: var(--primary); line-height: 1; letter-spacing: 0.5px;
}
.brand-sub {
    display: block; font-size: 0.65rem; color: var(--text-light);
    letter-spacing: 2px; margin-top: 2px; font-weight: 500;
}
.nav-link {
    font-weight: 500; color: var(--text) !important;
    padding: 10px 15px !important; position: relative;
    transition: all 0.3s;
}
.nav-link::after {
    content: ''; position: absolute; bottom: 5px; left: 50%;
    width: 0; height: 2px; background: var(--secondary);
    transition: all 0.3s; transform: translateX(-50%);
}
.nav-link:hover::after, .nav-link.active::after { width: 30px; }
.nav-link:hover, .nav-link.active { color: var(--primary) !important; }

/* Buttons */
.btn-primary-gradient {
    background: var(--gradient); border: none; color: white;
    padding: 12px 30px; border-radius: 50px; font-weight: 600;
    transition: all 0.3s; box-shadow: 0 5px 20px rgba(10,17,40,0.3);
    position: relative; overflow: hidden;
}
.btn-primary-gradient::before {
    content: ''; position: absolute; top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}
.btn-primary-gradient:hover::before { left: 100%; }
.btn-primary-gradient:hover {
    transform: translateY(-3px); box-shadow: 0 10px 30px rgba(10,17,40,0.4);
    color: white;
}

/* Hero Section */
.hero {
    position: relative; min-height: 100vh;
    background: var(--gradient); color: white;
    display: flex; align-items: center; overflow: hidden;
    padding: 100px 0;
}
#particles {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(251,191,36,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(59,130,246,0.15) 0%, transparent 50%);
    z-index: 1;
}
.hero-content { position: relative; z-index: 2; text-align: center; }
.hero-badge {
    display: inline-block; background: rgba(251,191,36,0.15);
    border: 1px solid rgba(251,191,36,0.3); color: var(--secondary);
    padding: 8px 25px; border-radius: 50px; font-size: 0.85rem;
    font-weight: 600; letter-spacing: 1px; margin-bottom: 25px;
    backdrop-filter: blur(10px);
}
.hero h1 {
    font-size: 4rem; font-weight: 900; margin-bottom: 25px;
    line-height: 1.1; text-shadow: 0 5px 30px rgba(0,0,0,0.3);
}
.gradient-text {
    background: linear-gradient(135deg, #fbbf24, #fde68a);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.3rem; margin-bottom: 40px; opacity: 0.95;
    max-width: 700px; margin-left: auto; margin-right: auto;
}
.hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; margin-bottom: 50px; }
.hero-stats {
    display: flex; gap: 40px; justify-content: center; flex-wrap: wrap;
    padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat { display: flex; align-items: center; gap: 10px; }
.hero-stat i { color: var(--secondary); font-size: 1.5rem; }
.hero-stat span { font-weight: 600; }
.scroll-indicator {
    position: absolute; bottom: 30px; left: 50%;
    transform: translateX(-50%); color: white; text-align: center;
    z-index: 2; animation: bounce 2s infinite;
}
.scroll-indicator span { display: block; font-size: 0.75rem; letter-spacing: 2px; margin-bottom: 10px; }
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* Notice Ticker */
.notice-ticker {
    background: var(--secondary); color: var(--primary);
    padding: 10px 0; font-weight: 600; font-size: 0.9rem;
}
.ticker-wrap { display: flex; align-items: center; }
.ticker-label {
    background: var(--primary); color: white; padding: 5px 20px;
    border-radius: 20px; margin-right: 20px; font-size: 0.85rem;
}
.ticker-content { overflow: hidden; white-space: nowrap; flex: 1; }
.ticker-content span {
    display: inline-block; animation: ticker 30s linear infinite;
}
@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Stats Section */
.stats-section {
    background: white; padding: 60px 0;
    margin-top: -80px; position: relative; z-index: 10;
    border-radius: 30px; box-shadow: var(--shadow-lg);
    max-width: 1200px; margin-left: auto; margin-right: auto;
}
.stat-card { text-align: center; padding: 20px; }
.stat-icon {
    width: 70px; height: 70px; margin: 0 auto 15px;
    background: var(--gradient); color: white; border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; box-shadow: 0 10px 25px rgba(10,17,40,0.2);
}
.stat-card h2 {
    font-size: 2.8rem; font-weight: 900; color: var(--primary);
    margin-bottom: 5px;
}
.stat-card p { color: var(--text-light); margin: 0; font-weight: 500; }

/* Section Styles */
.section-badge {
    display: inline-block; color: var(--primary); font-weight: 600;
    letter-spacing: 3px; text-transform: uppercase; font-size: 0.85rem;
    margin-bottom: 10px; position: relative; padding: 5px 20px;
    background: rgba(10,17,40,0.05); border-radius: 20px;
}
.section-title {
    font-size: 2.8rem; font-weight: 800; margin: 15px 0 20px;
    color: var(--primary);
}
.section-subtitle { max-width: 600px; margin: 0 auto; color: var(--text-light); font-size: 1.05rem; }

/* About Preview */
.about-preview { background: var(--bg-light); }
.about-image-wrapper { position: relative; }
.experience-badge {
    position: absolute; bottom: -30px; right: -30px;
    background: var(--gradient); color: white;
    padding: 30px; text-align: center; border-radius: 20px;
    box-shadow: var(--shadow-lg);
}
.experience-badge h3 { font-size: 3rem; color: var(--secondary); margin: 0; }
.experience-badge p { margin: 0; font-size: 0.9rem; }
.about-features { margin-top: 25px; }
.feature-item {
    display: flex; align-items: center; margin-bottom: 12px;
    font-weight: 500; color: var(--text);
}
.feature-item i { color: var(--secondary); margin-right: 12px; font-size: 1.2rem; }

/* Course Cards */
.courses-section { background: white; }
.course-card {
    background: white; padding: 35px 30px; border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08); transition: all 0.4s;
    height: 100%; text-align: center; border: 1px solid #f0f0f0;
    position: relative; overflow: hidden;
}
.course-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 4px; background: var(--gradient);
    transform: scaleX(0); transition: transform 0.4s;
}
.course-card:hover::before { transform: scaleX(1); }
.course-card:hover {
    transform: translateY(-10px); box-shadow: 0 20px 50px rgba(10,17,40,0.15);
}
.course-icon {
    width: 80px; height: 80px; margin: 0 auto 20px;
    background: var(--gradient); color: var(--secondary);
    border-radius: 20px; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; transition: all 0.4s;
}
.course-card:hover .course-icon {
    transform: rotate(360deg) scale(1.1);
    background: var(--gradient-gold); color: var(--primary);
}
.course-card h4 { margin-bottom: 15px; color: var(--primary); }
.course-desc { color: var(--text-light); margin-bottom: 20px; }
.course-meta {
    display: flex; justify-content: space-around; margin: 20px 0;
    padding: 15px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee;
}
.course-meta span { color: var(--text-light); font-size: 0.9rem; font-weight: 500; }
.course-meta i { color: var(--secondary); margin-right: 5px; }
.course-link {
    color: var(--primary); font-weight: 600;
    display: inline-block; margin-top: 10px;
}
.course-link i { transition: transform 0.3s; margin-left: 5px; }
.course-link:hover { color: var(--secondary); }
.course-link:hover i { transform: translateX(5px); }

/* Why Choose Us */
.why-us { background: var(--bg-light); }
.why-card {
    background: white; padding: 35px 25px; border-radius: 20px;
    text-align: center; height: 100%; transition: all 0.4s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.why-card:hover {
    transform: translateY(-10px); box-shadow: 0 20px 40px rgba(10,17,40,0.12);
}
.why-icon {
    width: 80px; height: 80px; margin: 0 auto 20px;
    background: var(--gradient); color: var(--secondary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
}
.why-card h5 { color: var(--primary); margin-bottom: 15px; }
.why-card p { color: var(--text-light); margin: 0; }

/* Testimonials */
.testimonials-section { background: white; }
.testimonial-card {
    background: white; padding: 35px 30px; border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08); height: 100%;
    position: relative; border: 1px solid #f0f0f0;
    transition: all 0.4s;
}
.testimonial-card:hover {
    transform: translateY(-5px); box-shadow: 0 15px 40px rgba(10,17,40,0.12);
}
.testimonial-quote {
    position: absolute; top: 20px; right: 25px;
    font-size: 3rem; color: var(--secondary); opacity: 0.3;
}
.testimonial-rating { color: var(--secondary); margin-bottom: 15px; }
.testimonial-text {
    font-style: italic; color: var(--text-light);
    line-height: 1.7; margin-bottom: 25px;
}
.testimonial-author { display: flex; align-items: center; gap: 15px; }
.author-avatar { font-size: 2.5rem; color: var(--primary); }
.testimonial-author h6 { margin: 0; color: var(--primary); }
.testimonial-author small { color: var(--text-light); }

/* CTA Section */
.cta-section {
    background: var(--gradient); color: white; padding: 100px 0;
    text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; top: -50%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(251,191,36,0.2) 0%, transparent 70%);
    border-radius: 50%;
}
.cta-section h2 { color: white; font-size: 2.8rem; margin-bottom: 20px; position: relative; }
.cta-section p { font-size: 1.2rem; opacity: 0.95; margin-bottom: 30px; position: relative; }

/* Page Banner */
.page-banner {
    background: var(--gradient); color: white;
    padding: 120px 0 60px; text-align: center;
    position: relative; overflow: hidden;
}
.page-banner::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(251,191,36,0.1) 0%, transparent 50%);
}
.page-banner h1 { color: white; font-size: 3rem; margin-bottom: 15px; position: relative; }
.breadcrumb { background: transparent; justify-content: center; position: relative; }
.breadcrumb-item a { color: var(--secondary); }
.breadcrumb-item.active { color: white; }

/* Form Card */
.form-card {
    background: white; padding: 40px; border-radius: 20px;
    box-shadow: var(--shadow);
}
.form-control {
    border: 2px solid #e5e7eb; border-radius: 10px;
    padding: 12px 15px; transition: all 0.3s;
}
.form-control:focus {
    border-color: var(--primary); box-shadow: 0 0 0 3px rgba(10,17,40,0.1);
}

/* Contact Info Card */
.contact-info-card {
    background: var(--gradient); color: white; padding: 40px;
    border-radius: 20px; height: 100%;
}
.contact-info-card h4 { color: white; margin-bottom: 30px; }
.contact-item { display: flex; gap: 15px; margin-bottom: 25px; }
.contact-icon {
    width: 50px; height: 50px; background: rgba(255,255,255,0.15);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    color: var(--secondary); font-size: 1.2rem; flex-shrink: 0;
}
.contact-item h6 { color: var(--secondary); margin-bottom: 5px; }
.contact-item p { margin: 0; opacity: 0.95; }

/* Footer */
.footer {
    background: var(--primary); color: white;
    padding: 80px 0 0; position: relative; overflow: hidden;
}
.footer-wave {
    position: absolute; top: -1px; left: 0; width: 100%;
    line-height: 0;
}
.footer-wave svg {
    width: 100%; height: 80px; fill: white;
}
.footer-brand { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.footer-logo {
    width: 60px; height: 60px; background: var(--gradient-gold);
    border-radius: 15px; display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 1.8rem;
}
.footer-brand h4 { color: white; margin: 0; font-size: 1.3rem; }
.iso-badge {
    display: inline-block; background: var(--secondary);
    color: var(--primary); padding: 3px 12px; border-radius: 5px;
    font-size: 0.7rem; font-weight: 700; margin-top: 5px;
}
.footer-desc { color: #cbd5e1; line-height: 1.8; margin-bottom: 20px; }
.footer h5 {
    color: white; margin-bottom: 25px; font-size: 1.1rem;
    position: relative; padding-bottom: 12px;
}
.footer h5::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 40px; height: 3px; background: var(--secondary);
    border-radius: 2px;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #cbd5e1; transition: all 0.3s; }
.footer-links a:hover { color: var(--secondary); padding-left: 5px; }
.footer-links i { font-size: 0.7rem; margin-right: 10px; color: var(--secondary); }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li { color: #cbd5e1; margin-bottom: 15px; display: flex; gap: 12px; }
.footer-contact i { color: var(--secondary); margin-top: 3px; }
.footer-social { margin-top: 20px; }
.footer-social a {
    display: inline-flex; width: 40px; height: 40px;
    background: rgba(255,255,255,0.1); color: white;
    border-radius: 50%; align-items: center; justify-content: center;
    margin-right: 10px; transition: all 0.3s;
}
.footer-social a:hover {
    background: var(--secondary); color: var(--primary);
    transform: translateY(-3px);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0; margin-top: 50px;
}
.footer-bottom p { margin: 0; color: #cbd5e1; font-size: 0.9rem; }

/* Floating Buttons */
.float-btn {
    position: fixed; width: 55px; height: 55px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.5rem; box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 999; transition: all 0.3s; border: none; cursor: pointer;
}
.float-btn:hover { transform: scale(1.1); color: white; }
.float-btn.whatsapp { bottom: 30px; right: 30px; background: #25D366; }
.float-btn.call { bottom: 100px; right: 30px; background: var(--primary-light); }
.float-btn.top-btn {
    bottom: 170px; right: 30px; background: var(--secondary);
    color: var(--primary); opacity: 0; visibility: hidden;
}
.float-btn.top-btn.visible { opacity: 1; visibility: visible; }

/* Login Page */
.login-page {
    background: var(--gradient); min-height: 100vh;
    font-family: 'Poppins', sans-serif;
}
.login-card {
    background: white; border-radius: 25px; overflow: hidden;
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
}
.login-header {
    background: var(--gradient); color: white;
    padding: 40px; text-align: center;
}
.login-header.admin-header { background: linear-gradient(135deg, #dc2626, #991b1b); }
.login-header i { font-size: 3rem; color: var(--secondary); margin-bottom: 15px; }
.login-header h3 { color: white; margin-bottom: 5px; }
.login-header p { color: rgba(255,255,255,0.8); margin: 0; }
.login-body { padding: 40px; }
.login-body .form-control { border-radius: 10px; padding: 12px 15px; }
.login-body .input-group-text {
    background: var(--bg-light); border: 2px solid #e5e7eb;
    border-right: none; color: var(--primary);
}
.login-body .form-control { border-left: none; }

/* Dashboard */
.dashboard-page { background: #f1f5f9; min-height: 100vh; font-family: 'Poppins', sans-serif; }
.admin-sidebar {
    width: 260px; background: var(--gradient); min-height: 100vh;
    position: fixed; color: white;
}
.sidebar-header {
    padding: 25px 20px; border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}
.sidebar-header i { font-size: 2rem; color: var(--secondary); margin-bottom: 10px; }
.sidebar-header h5 { color: white; margin: 0; }
.sidebar-nav { padding: 20px 0; }
.sidebar-nav a {
    color: rgba(255,255,255,0.8); padding: 12px 25px;
    display: block; text-decoration: none; transition: all 0.3s;
    border-left: 3px solid transparent;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
    background: rgba(255,255,255,0.1); color: white;
    border-left-color: var(--secondary);
}
.sidebar-nav a i { width: 25px; margin-right: 10px; }
.admin-main { margin-left: 260px; padding: 30px; }
.admin-topbar {
    background: white; padding: 20px 25px; border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.admin-stat-card {
    background: white; padding: 25px; border-radius: 15px;
    display: flex; justify-content: space-between; align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: all 0.3s;
}
.admin-stat-card:hover { transform: translateY(-5px); }
.admin-stat-card .stat-info small { color: var(--text-light); }
.admin-stat-card .stat-info h2 { margin: 0; color: var(--primary); }
.admin-stat-card > i { font-size: 3rem; opacity: 0.2; }
.stat-blue { border-left: 4px solid #3b82f6; }
.stat-green { border-left: 4px solid #10b981; }
.stat-orange { border-left: 4px solid #f59e0b; }

/* Responsive */
@media (max-width: 991px) {
    .hero h1 { font-size: 2.8rem; }
    .section-title { font-size: 2rem; }
    .stats-section { margin-top: 0; border-radius: 0; }
    .experience-badge { right: 10px; bottom: -20px; padding: 20px; }
    .experience-badge h3 { font-size: 2rem; }
}
@media (max-width: 768px) {
    .hero { padding: 80px 0; }
    .hero h1 { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-stats { gap: 20px; }
    .section-title { font-size: 1.8rem; }
    .stat-card h2 { font-size: 2rem; }
    .top-info span:nth-child(3) { display: none; }
    .float-btn { width: 48px; height: 48px; font-size: 1.2rem; }
    .float-btn.whatsapp { bottom: 20px; right: 20px; }
    .float-btn.call { bottom: 80px; right: 20px; }
    .float-btn.top-btn { bottom: 140px; right: 20px; }
    .admin-sidebar { width: 100%; position: relative; min-height: auto; }
    .admin-main { margin-left: 0; }
    .cta-section h2 { font-size: 2rem; }
    .page-banner { padding: 100px 0 50px; }
    .page-banner h1 { font-size: 2rem; }
}