
/* ── NEXUS DEFENDERS PREMIUM HOME STYLES ── */
:root {
  --blue-dark: #0A1930;
  --blue-main: #0A3D91;
  --blue-light: #1E5CD6;
  --gold: #FFB800;
  --gold-light: #FFC933;
  --gray-light: #F8F9FA;
  --text-dark: #2D3748;
}

.bg-blue { background-color: var(--blue-dark); }
.bg-light { background-color: var(--gray-light); }
.text-gold { color: var(--gold); }
.text-blue { color: var(--blue-main); }
.section-padding { padding: 100px 0; }
.section-title { font-size: 36px; font-weight: 700; color: var(--blue-dark); margin-bottom: 20px; }
.section-tag { display: inline-block; padding: 6px 16px; background: rgba(10, 61, 145, 0.1); color: var(--blue-main); border-radius: 50px; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.section-desc { color: #64748B; max-width: 600px; font-size: 18px; line-height: 1.6; }

/* Announcement Bar */
.announcement-bar { background: var(--blue-dark); color: white; padding: 10px 0; text-align: center; font-size: 14px; position: relative; z-index: 1000; }
.badge-fire { background: #DC2626; padding: 2px 8px; border-radius: 4px; font-weight: bold; margin-right: 10px; }
.announcement-text { margin-right: 15px; }
.btn-gold { background: var(--gold); color: var(--blue-dark); padding: 4px 12px; border-radius: 4px; font-weight: bold; text-decoration: none; transition: 0.3s; }
.btn-gold:hover { background: var(--gold-light); }

/* Hero Section */
.premium-hero { min-height: 90vh; display: flex; align-items: center; position: relative; overflow: hidden; background: linear-gradient(135deg, #f8f9fc 0%, #eef2f9 100%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.text-gradient { background: linear-gradient(90deg, var(--blue-main), var(--blue-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-title { font-size: clamp(40px, 5vw, 60px); font-weight: 800; line-height: 1.1; margin-bottom: 24px; color: var(--blue-dark); }
.hero-subtitle { font-size: 18px; color: #475569; line-height: 1.7; margin-bottom: 32px; }
.hero-stats { display: flex; gap: 40px; margin-top: 40px; padding-top: 40px; border-top: 1px solid rgba(0,0,0,0.05); }
.stat-item { text-align: left; }
.stat-num { font-size: 32px; font-weight: 800; color: var(--blue-main); }
.stat-label { display: block; font-size: 14px; color: #64748B; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

/* Cyber Shield Visual */
.cyber-shield-container { position: relative; width: 400px; height: 400px; margin: 0 auto; display: flex; justify-content: center; align-items: center; }
.center-shield { width: 180px; height: 180px; border-radius: 50%; box-shadow: 0 20px 50px rgba(10, 61, 145, 0.2); z-index: 10; border: 4px solid white; }
.bounce-anim { animation: float 4s ease-in-out infinite; }
.orbit-item { position: absolute; width: 50px; height: 50px; background: white; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 10px 25px rgba(0,0,0,0.1); color: var(--blue-main); font-size: 20px; z-index: 5; }
.orbit-1 { top: 10%; left: 10%; animation: float 5s ease-in-out infinite 1s; }
.orbit-2 { top: 10%; right: 10%; animation: float 6s ease-in-out infinite 0.5s; }
.orbit-3 { bottom: 10%; left: 15%; animation: float 4.5s ease-in-out infinite 1.5s; }
.orbit-4 { bottom: 15%; right: 10%; animation: float 5.5s ease-in-out infinite 2s; }

@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }

/* About Section */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.about-image-wrapper { position: relative; }
.about-image-placeholder { background: white; height: 400px; border-radius: 20px; display: flex; flex-direction: column; justify-content: center; align-items: center; box-shadow: 0 20px 40px rgba(0,0,0,0.05); position: relative; z-index: 2; border: 1px solid #e2e8f0; }
.decor-box { position: absolute; top: -20px; left: -20px; width: 100%; height: 100%; border: 3px solid var(--blue-main); border-radius: 20px; z-index: 1; }
.mission-vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }
.mv-card h3 { font-size: 20px; margin: 15px 0 10px; color: var(--blue-dark); }
.mv-card p { font-size: 14px; color: #64748B; }

/* Features Grid */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.feature-box { background: white; padding: 30px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); transition: 0.3s; border: 1px solid #f1f5f9; text-align: left; }
.feature-box:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(10, 61, 145, 0.08); border-color: var(--blue-light); }
.feature-icon { width: 60px; height: 60px; background: rgba(10, 61, 145, 0.05); border-radius: 12px; display: flex; justify-content: center; align-items: center; font-size: 24px; color: var(--blue-main); margin-bottom: 20px; }
.feature-box h3 { font-size: 18px; margin-bottom: 10px; color: var(--blue-dark); }
.feature-box p { font-size: 14px; color: #64748B; margin: 0; }

/* Featured Training */
.featured-training-section { position: relative; overflow: hidden; border-radius: 30px; margin: 0 20px; }
.featured-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; }
.badge-gold { background: var(--gold); color: var(--blue-dark); padding: 6px 16px; border-radius: 50px; font-weight: bold; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.featured-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.featured-list li { font-size: 16px; display: flex; align-items: center; gap: 10px; }
.glass-panel { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 20px; }
.floating-icon { animation: float 3s ease-in-out infinite; }

/* Programs */
.programs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.program-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.3s; border: 1px solid #f1f5f9; }
.program-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(10, 61, 145, 0.1); }
.program-img { height: 160px; background: var(--blue-dark); display: flex; justify-content: center; align-items: center; }
.program-body { padding: 25px; }
.program-body h3 { font-size: 20px; margin-bottom: 10px; color: var(--blue-dark); }
.program-body p { font-size: 14px; color: #64748B; margin-bottom: 20px; min-height: 42px; }
.program-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--blue-main); font-weight: 600; padding-top: 15px; border-top: 1px solid #f1f5f9; }

/* Internships & Services */
.internship-grid, .services-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.intern-card { background: white; padding: 25px; border-radius: 12px; text-align: center; width: 200px; box-shadow: 0 5px 15px rgba(0,0,0,0.03); border: 1px solid #f1f5f9; transition: 0.3s; }
.intern-card:hover { border-color: var(--blue-main); }
.intern-card .icon-box { font-size: 30px; color: var(--blue-main); margin-bottom: 15px; }
.service-item { background: white; padding: 15px 25px; border-radius: 50px; font-weight: 600; color: var(--blue-dark); box-shadow: 0 5px 15px rgba(0,0,0,0.03); display: flex; align-items: center; gap: 10px; border: 1px solid #f1f5f9; transition: 0.3s; cursor: default; }
.service-item:hover { background: var(--blue-main); color: white; transform: scale(1.05); }

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 30px; max-width: 800px; margin: 0 auto; position: relative; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,0.1); transform: translateX(-50%); }
.timeline-item { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-dot { width: 40px; height: 40px; background: var(--gold); border-radius: 50%; display: flex; justify-content: center; align-items: center; color: var(--blue-dark); font-weight: bold; font-size: 18px; z-index: 2; position: absolute; left: 50%; transform: translateX(-50%); }
.timeline-content { width: 45%; background: rgba(255,255,255,0.05); padding: 25px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(10px); }
.timeline-content h3 { color: var(--gold); margin-bottom: 10px; font-size: 20px; }

/* Tools Marquee */
.tools-marquee { overflow: hidden; white-space: nowrap; padding: 20px 0; background: white; border-radius: 16px; box-shadow: 0 5px 20px rgba(0,0,0,0.02); }
.tools-track { display: inline-block; animation: scrollLeft 30s linear infinite; }
.tool-logo { display: inline-flex; align-items: center; gap: 10px; margin: 0 40px; font-size: 24px; font-weight: 600; color: #94A3B8; }
@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Social Buttons */
.social-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.btn-social { padding: 12px 25px; border-radius: 50px; color: white; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; transition: 0.3s; }
.btn-social:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); color: white; }
.bg-whatsapp { background: #25D366; } .bg-telegram { background: #0088cc; } .bg-linkedin { background: #0077b5; } .bg-youtube { background: #FF0000; } .bg-facebook { background: #1877F2; } .bg-discord { background: #5865F2; }

/* Footer */
.premium-footer { background: #050C17; padding: 80px 0 30px; color: #94A3B8; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; }
.footer-title { color: white; font-size: 18px; margin-bottom: 25px; font-weight: 600; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: #94A3B8; text-decoration: none; transition: 0.3s; }
.footer-links a:hover { color: var(--gold); padding-left: 5px; }
.footer-social-links a { display: inline-flex; width: 40px; height: 40px; background: rgba(255,255,255,0.05); border-radius: 50%; justify-content: center; align-items: center; color: white; margin-right: 10px; transition: 0.3s; }
.footer-social-links a:hover { background: var(--blue-main); transform: translateY(-3px); }

/* Animations */
.reveal-up, .reveal-left, .reveal-right, .fade-up { opacity: 0; transition: all 0.8s ease; }
.reveal-up { transform: translateY(50px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.fade-up { transform: translateY(20px); }
.active { opacity: 1; transform: translate(0, 0); }
.delay-1 { transition-delay: 0.1s; } .delay-2 { transition-delay: 0.2s; } .delay-3 { transition-delay: 0.3s; } .delay-4 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 992px) {
  .hero-grid, .about-grid, .featured-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-stats { justify-content: center; }
  .orbit-item { display: none; }
  .timeline::before { left: 30px; }
  .timeline-dot { left: 30px; transform: none; }
  .timeline-item { flex-direction: column !important; align-items: flex-end; }
  .timeline-content { width: calc(100% - 80px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .desktop-only { display: none; }
  .hero-title { font-size: 32px; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
}


/* --- DROPDOWN NAV STYLES --- */
.nav-dropdown {
  position: relative;
  display: inline-block;
}
.nav-dropdown > a::after {
  content: ' \f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.8em;
  margin-left: 4px;
}
.nav-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--surface-high);
  min-width: 240px;
  box-shadow: 0px 8px 24px rgba(0,0,0,0.15);
  z-index: 100;
  border-radius: 8px;
  border: 1px solid var(--outline-var);
  padding: 10px 0;
}
.nav-dropdown:hover .nav-dropdown-content {
  display: block;
}
.nav-dropdown-content a {
  color: var(--on-surface) !important;
  padding: 10px 20px !important;
  display: block;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px !important;
  transition: background 0.2s, color 0.2s;
}
.nav-dropdown-content a:hover {
  background-color: var(--primary-soft);
  color: var(--primary) !important;
}
/* Grid Utility */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }

/* Service Card */
.service-icon-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-icon-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
  border-color: var(--primary);
}
.service-icon-card .icon-wrap {
  width: 60px; height: 60px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.service-icon-card h3 { color: var(--blue-dark); font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.service-icon-card p { color: #64748b; font-size: 15px; line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }
.service-icon-card a { font-weight: 600; color: var(--primary); text-decoration: none; }

/* Testimonials */
.testimonial-card {
  background: var(--surface-dim);
  border-radius: 12px;
  padding: 30px;
  border: 1px solid var(--outline-var);
}
.testimonial-quote { font-size: 16px; font-style: italic; color: var(--on-surface); margin-bottom: 20px; }
.testimonial-author { font-weight: 700; color: var(--gold); }
