/*
Theme Name: Pendidikan Sejarah Modern
Theme URI: https://pendidikansejarah.edu
Author: Program Studi Pendidikan Sejarah
Author URI: https://pendidikansejarah.edu
Description: Tema WordPress modern dan interaktif untuk Program Studi Pendidikan Sejarah dengan mode gelap/terang, animasi modern, dan fitur-fitur khusus pendidikan
Version: 1.0.0
License: GPL v2 or later
Text Domain: pendidikan-sejarah
*/

/* ========================================
   Root Variables & Color Schemes
======================================== */
:root {
  /* Light Mode Colors */
  --primary-color: #c9302c;
  --secondary-color: #f39c12;
  --accent-color: #27ae60;
  --text-primary: #2c3e50;
  --text-secondary: #5a6c7d;
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #ecf0f1;
  --border-color: #dee2e6;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --gradient-primary: linear-gradient(135deg, #c9302c 0%, #f39c12 100%);
  --gradient-secondary: linear-gradient(135deg, #bc0909ff 0%, #370909ff 100%);
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-secondary: 'Poppins', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Dark Mode */
[data-theme="dark"] {
  --primary-color: #e74c3c;
  --secondary-color: #f1c40f;
  --accent-color: #2ecc71;
  --text-primary: #ecf0f1;
  --text-secondary: #bdc3c7;
  --bg-primary: #1a1a2e;
  --bg-secondary: #16213e;
  --bg-tertiary: #0f3460;
  --border-color: #2c3e50;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.5);
}

/* ========================================
   Global Styles
======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-primary);
  transition: color var(--transition-normal);
}

h1 { 
  font-size: clamp(2rem, 5vw, 3.5rem);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
}

a:hover {
  color: var(--secondary-color);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.animate-fade-in {
  animation: fadeInUp 0.8s ease forwards;
}

.animate-slide-left {
  animation: slideInLeft 0.8s ease forwards;
}

.animate-slide-right {
  animation: slideInRight 0.8s ease forwards;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  font-family: var(--font-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-secondary);
  transition: left var(--transition-normal);
  z-index: -1;
}

.btn:hover::before {
  left: 0;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  color: white;
  border-color: transparent;
}

/* Header Styles */
.site-header {
  background: var(--bg-primary);
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: var(--bg-secondary);
  backdrop-filter: blur(10px);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
  transition: transform var(--transition-normal);
}

.logo-icon:hover {
  transform: rotate(360deg) scale(1.1);
}

.site-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin: 0;
}

/* Navigation */
.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-navigation a {
  font-family: var(--font-secondary);
  font-weight: 500;
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  position: relative;
  transition: color var(--transition-fast);
}

.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
  transition: width var(--transition-normal);
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item a::after {
  width: 80%;
}

/* Hero Section - See front-page.css for front-page specific styles */

/* Cards */
.card {
  background: var(--bg-primary);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
  font-size: 1.5rem;
  animation: pulse 2s ease infinite;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.card-description {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Features Grid - See front-page.css for front-page specific styles */

/* Timeline */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: 45%;
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.timeline-content:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.timeline-date {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: bold;
  z-index: 1;
}

/* Footer */
.site-footer {
  background: var(--bg-tertiary);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-section ul li a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
  display: inline-block;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: transform var(--transition-fast);
}

.social-links a:hover {
  transform: translateY(-5px) rotate(360deg);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
}

/* Theme Toggle */
.theme-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.theme-toggle:hover {
  transform: scale(1.1);
}

.theme-toggle i {
  font-size: 1.5rem;
  color: white;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  transition: all var(--transition-normal);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .main-navigation {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: var(--bg-primary);
    box-shadow: var(--shadow-lg);
    transition: left var(--transition-normal);
    z-index: 999;
  }
  
  .main-navigation.active {
    left: 0;
  }
  
  .main-navigation ul {
    flex-direction: column;
    padding: 5rem 2rem;
    gap: 1rem;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  
  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px;
  }
  
  .timeline-date {
    left: 30px;
    transform: translateX(-50%);
  }
}

/* ========================================
   MINIMALIST TOP PROGRESS BAR LOADER
   Modern & Non-Intrusive Loading Animation
======================================== */

/* Main Top Loader Container */
.top-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 99999;
  pointer-events: none;
  overflow: hidden;
}

/* Progress Bar */
.top-loader-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 0 2px 2px 0;
  transition: width 0.2s ease-out;
  box-shadow: 0 0 10px rgba(201, 48, 44, 0.6);
}

/* Animated Glow Effect */
.top-loader-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.4) 50%, 
    transparent 100%
  );
  animation: loaderGlow 1.5s ease-in-out infinite;
  opacity: 0;
}

.top-loader.loading .top-loader-glow {
  opacity: 1;
}

@keyframes loaderGlow {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Loading State */
.top-loader.loading .top-loader-bar {
  animation: topLoaderPulse 2s ease-in-out infinite;
}

@keyframes topLoaderPulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(201, 48, 44, 0.6);
  }
  50% {
    box-shadow: 0 0 20px rgba(201, 48, 44, 0.9), 0 0 30px rgba(243, 156, 18, 0.4);
  }
}

/* Hidden State */
.top-loader.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Completed Animation */
.top-loader.complete .top-loader-bar {
  width: 100% !important;
}

/* Dark Mode Adjustments */
[data-theme="dark"] .top-loader-bar {
  box-shadow: 0 0 15px rgba(231, 76, 60, 0.8);
}

[data-theme="dark"] .top-loader.loading .top-loader-bar {
  animation: topLoaderPulseDark 2s ease-in-out infinite;
}

@keyframes topLoaderPulseDark {
  0%, 100% {
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.8);
  }
  50% {
    box-shadow: 0 0 25px rgba(231, 76, 60, 1), 0 0 35px rgba(241, 196, 15, 0.5);
  }
}

/* ========================================
   CENTER LOADING INDICATOR
   Minimalist & Non-Intrusive
======================================== */

.center-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99998;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.center-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.center-loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 32px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  box-shadow: 
    0 4px 24px rgba(0, 0, 0, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(201, 48, 44, 0.1);
}

/* Spinner Animation */
.loader-spinner {
  width: 40px;
  height: 40px;
  position: relative;
}

.loader-spinner svg {
  width: 100%;
  height: 100%;
  animation: spinnerRotate 1.4s linear infinite;
}

.loader-spinner circle {
  fill: none;
  stroke: url(#loaderGradient);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 90, 150;
  stroke-dashoffset: 0;
  animation: spinnerDash 1.4s ease-in-out infinite;
}

/* Add gradient definition via CSS fallback */
.loader-spinner svg circle {
  stroke: var(--primary-color);
}

@keyframes spinnerRotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes spinnerDash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}

/* Loading Label */
.loader-label {
  font-family: var(--font-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

/* Dark Mode */
[data-theme="dark"] .center-loader-content {
  background: rgba(26, 26, 46, 0.9);
  border-color: rgba(231, 76, 60, 0.15);
  box-shadow: 
    0 4px 24px rgba(0, 0, 0, 0.3),
    0 1px 2px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .loader-spinner svg circle {
  stroke: var(--primary-color);
}

[data-theme="dark"] .loader-label {
  color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
  .center-loader-content {
    padding: 20px 28px;
    gap: 10px;
  }
  
  .loader-spinner {
    width: 36px;
    height: 36px;
  }
  
  .loader-label {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .loader-book {
    width: 70px;
    height: 70px;
  }
  
  .book-cover::after {
    font-size: 2rem;
  }
  
  .loader-decorations {
    width: 200px;
    height: 200px;
  }
  
  .decoration-circle:nth-child(1) { width: 120px; height: 120px; }
  .decoration-circle:nth-child(2) { width: 160px; height: 160px; }
  .decoration-circle:nth-child(3) { width: 200px; height: 200px; }
  
  .historical-symbol {
    font-size: 1.25rem;
  }
  
  .loader-percentage {
    font-size: 0.75rem;
    padding: 3px 10px;
  }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .loader *,
  .loader::before {
    animation: none !important;
    transition: none !important;
  }
  
  .loader {
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
}

/* Print Styles */
@media print {
  .loader {
    display: none !important;
  }
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 998;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.scroll-to-top i {
  color: white;
  font-size: 1.2rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* ========================================
   Section Spacing and Headers - See front-page.css
======================================== */

/* ========================================
   Modern News Section - See front-page.css
======================================== */

/* ========================================
   Modern Timeline Section - See front-page.css
======================================== */

/* ========================================
   Modern Faculty Section - See front-page.css
======================================== */

/* ========================================
   Modern Buttons and Responsive - See front-page.css
======================================== */

/* ========================================
   Hero Statistics Section - See front-page.css
======================================== */

/* ========================================
   CTA Section Redesign
======================================== */
.cta-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #c9302c 0%, #d84b42 50%, #f39c12 100%);
  overflow: hidden;
}

.cta-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  animation: pulse 4s ease-in-out infinite;
}

.cta-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: floatParticle 20s infinite ease-in-out;
}

.particle:nth-child(1) {
  width: 80px;
  height: 80px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  width: 60px;
  height: 60px;
  top: 60%;
  left: 80%;
  animation-delay: 2s;
}

.particle:nth-child(3) {
  width: 40px;
  height: 40px;
  top: 30%;
  left: 70%;
  animation-delay: 4s;
}

.particle:nth-child(4) {
  width: 100px;
  height: 100px;
  top: 70%;
  left: 20%;
  animation-delay: 6s;
}

.particle:nth-child(5) {
  width: 50px;
  height: 50px;
  top: 40%;
  left: 50%;
  animation-delay: 8s;
}

@keyframes floatParticle {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.3;
  }
  25% {
    transform: translate(30px, -30px) rotate(90deg);
    opacity: 0.6;
  }
  50% {
    transform: translate(-20px, 20px) rotate(180deg);
    opacity: 0.4;
  }
  75% {
    transform: translate(20px, 30px) rotate(270deg);
    opacity: 0.7;
  }
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-weight: 600;
  margin-bottom: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  animation: bounceIn 1s ease;
}

@keyframes bounceIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.cta-badge i {
  color: #ffd700;
  font-size: 1.2rem;
  animation: pulse 2s ease infinite;
}

.cta-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.cta-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 3rem;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.cta-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  font-size: 1.1rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.15);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-normal);
}

.cta-feature-item:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-feature-item i {
  font-size: 1.3rem;
  color: #a8ff78;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 3rem;
  font-family: var(--font-secondary);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: all var(--transition-normal);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-cta .btn-text {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-normal);
}

.btn-shine {
  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 ease;
}

.btn-cta:hover .btn-shine {
  left: 100%;
}

.btn-cta-primary {
  background: white;
  color: var(--primary-color);
}

.btn-cta-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  background: #fff;
}

.btn-cta-secondary {
  background: transparent;
  color: white;
  border: 3px solid white;
}

.btn-cta-secondary:hover {
  transform: translateY(-5px) scale(1.05);
  background: white;
  color: var(--primary-color);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .cta-section {
    min-height: auto;
  }
  
  .cta-features {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-cta {
    width: 100%;
  }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
/* ========================================
   BREADCRUMB MODERN - STYLE 1: Glassmorphism
======================================== */
.breadcrumb-modern {
    margin: 0;
    padding: 0;
    position: relative;
    animation: breadcrumbFadeIn 0.6s ease;
}

@keyframes breadcrumbFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.breadcrumb-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: inline-block;
    transition: all 0.3s ease;
}

[data-theme="dark"] .breadcrumb-wrapper {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumb-wrapper:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.breadcrumb-item-modern {
    display: inline-flex;
    align-items: center;
    position: relative;
    animation: breadcrumbItemFadeIn 0.6s ease backwards;
}

.breadcrumb-item-modern:nth-child(1) { animation-delay: 0.1s; }
.breadcrumb-item-modern:nth-child(3) { animation-delay: 0.2s; }
.breadcrumb-item-modern:nth-child(5) { animation-delay: 0.3s; }
.breadcrumb-item-modern:nth-child(7) { animation-delay: 0.4s; }
.breadcrumb-item-modern:nth-child(9) { animation-delay: 0.5s; }

@keyframes breadcrumbItemFadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.breadcrumb-link::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 ease;
}

.breadcrumb-link:hover::before {
    left: 100%;
}

.breadcrumb-link:hover {
    background: rgba(201, 48, 44, 0.1);
    color: var(--primary-color);
    transform: translateX(3px);
}

.breadcrumb-link.home-link {
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(201, 48, 44, 0.3);
}

.breadcrumb-link.home-link:hover {
    transform: translateX(3px) translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 48, 44, 0.4);
}

.breadcrumb-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.breadcrumb-link:hover i {
    transform: scale(1.2) rotate(5deg);
}

.breadcrumb-separator {
    display: inline-flex;
    align-items: center;
    color: var(--text-secondary);
    opacity: 0.5;
    font-size: 0.75rem;
    margin: 0 0.25rem;
}

.breadcrumb-current {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    background: rgba(201, 48, 44, 0.1);
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

.breadcrumb-current::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    animation: breadcrumbUnderline 1s ease infinite;
}

@keyframes breadcrumbUnderline {
    0%, 100% { transform: scaleX(0.8); }
    50% { transform: scaleX(1); }
}

/* ========================================
   BREADCRUMB MODERN - STYLE 2: Material Design
======================================== */
.breadcrumb-modern.style-material .breadcrumb-wrapper {
    background: var(--bg-primary);
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.breadcrumb-modern.style-material .breadcrumb-link {
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.breadcrumb-modern.style-material .breadcrumb-link.home-link {
    background: var(--primary-color);
    border-radius: 8px;
}

.breadcrumb-modern.style-material .breadcrumb-current {
    border-radius: 8px;
    background: var(--bg-secondary);
}

/* ========================================
   BREADCRUMB MODERN - STYLE 3: Minimal Underline
======================================== */
.breadcrumb-modern.style-minimal .breadcrumb-wrapper {
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border-color);
    border-radius: 0;
    padding: 0.75rem 0;
    box-shadow: none;
}

.breadcrumb-modern.style-minimal .breadcrumb-link {
    padding: 0.25rem 0.75rem;
    border-radius: 0;
    border-bottom: 2px solid transparent;
}

.breadcrumb-modern.style-minimal .breadcrumb-link:hover {
    background: transparent;
    border-bottom-color: var(--primary-color);
}

.breadcrumb-modern.style-minimal .breadcrumb-link.home-link {
    background: transparent;
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    box-shadow: none;
}

.breadcrumb-modern.style-minimal .breadcrumb-current {
    background: transparent;
    border-bottom: 2px solid var(--primary-color);
    border-radius: 0;
}

.breadcrumb-modern.style-minimal .breadcrumb-current::after {
    display: none;
}

/* ========================================
   BREADCRUMB MODERN - STYLE 4: Card Style
======================================== */
.breadcrumb-modern.style-card .breadcrumb-wrapper {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.breadcrumb-modern.style-card .breadcrumb-item-modern {
    position: relative;
}

.breadcrumb-modern.style-card .breadcrumb-link {
    padding: 0.5rem 1rem;
    border-radius: 10px;
    border: 1px solid transparent;
}

.breadcrumb-modern.style-card .breadcrumb-link:hover {
    border-color: var(--primary-color);
    background: var(--bg-secondary);
}

.breadcrumb-modern.style-card .breadcrumb-link.home-link {
    background: var(--gradient-primary);
    border: none;
}

.breadcrumb-modern.style-card .breadcrumb-current {
    border: 2px dashed var(--primary-color);
    background: transparent;
}

/* ========================================
   BREADCRUMB MODERN - STYLE 5: Pill Navigation
======================================== */
.breadcrumb-modern.style-pill .breadcrumb-wrapper {
    background: var(--bg-secondary);
    border: none;
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
}

.breadcrumb-modern.style-pill .breadcrumb-list {
    gap: 0.25rem;
}

.breadcrumb-modern.style-pill .breadcrumb-link {
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    background: transparent;
}

.breadcrumb-modern.style-pill .breadcrumb-link:hover {
    background: var(--bg-primary);
    transform: translateX(2px) scale(1.05);
}

.breadcrumb-modern.style-pill .breadcrumb-link.home-link {
    background: var(--gradient-primary);
}

.breadcrumb-modern.style-pill .breadcrumb-current {
    background: var(--bg-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.breadcrumb-modern.style-pill .breadcrumb-separator {
    margin: 0;
}

/* ========================================
   Interactive Hover Effects
======================================== */
.breadcrumb-link {
    position: relative;
}

.breadcrumb-link::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
    background: var(--text-primary);
    color: var(--bg-primary);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

.breadcrumb-link:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 768px) {
    .breadcrumb-wrapper {
        padding: 0.5rem 1rem;
        border-radius: 10px;
        max-width: 100%;
        overflow-x: auto;
    }
    
    .breadcrumb-list {
        flex-wrap: nowrap;
        gap: 0.25rem;
    }
    
    .breadcrumb-link,
    .breadcrumb-current {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
        white-space: nowrap;
    }
    
    .breadcrumb-link span {
        display: none;
    }
    
    .breadcrumb-link i,
    .breadcrumb-link.home-link i {
        margin: 0;
    }
    
    .breadcrumb-link.home-link span {
        display: inline; /* Keep home text */
    }
    
    .breadcrumb-separator {
        font-size: 0.7rem;
        margin: 0 0.125rem;
    }
    
    /* Show only icon on mobile for better space */
    .breadcrumb-item-modern:not(:first-child):not(:last-child) .breadcrumb-link span {
        display: none;
    }
}

@media (max-width: 480px) {
    .breadcrumb-wrapper {
        padding: 0.375rem 0.75rem;
    }
    
    .breadcrumb-current {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* ========================================
   Print Styles
======================================== */
@media print {
    .breadcrumb-modern {
        display: none;
    }
}

/* ========================================
   Dark Mode Adjustments
======================================== */
[data-theme="dark"] .breadcrumb-link {
    color: var(--text-secondary);
}

[data-theme="dark"] .breadcrumb-link:hover {
    background: rgba(201, 48, 44, 0.2);
}

[data-theme="dark"] .breadcrumb-current {
    background: rgba(201, 48, 44, 0.2);
}

/* ========================================
   Accessibility
======================================== */
.breadcrumb-modern:focus-within .breadcrumb-link {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.breadcrumb-link:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 25px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .breadcrumb-modern,
    .breadcrumb-item-modern,
    .breadcrumb-link,
    .breadcrumb-current {
        animation: none !important;
        transition: none !important;
    }
}
/* Print Styles */
@media print {
  .site-header,
  .site-footer,
  .theme-toggle,
  .scroll-to-top,
  .mobile-menu-toggle {
    display: none;
  }
  
  body {
    font-size: 12pt;
    color: black;
    background: white;
  }
  
  a {
    color: black;
    text-decoration: underline;
  }
}

/* ========================================
   Gallery Slideshow Section - See front-page.css
======================================== */
/* ========================================
   Modern Footer Styles with Outfit Font
======================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

.modern-footer {
  font-family: 'Outfit', var(--font-primary);
  position: relative;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  color: var(--text-secondary);
  padding-top: 0;
  margin-top: 80px;
  overflow: hidden;
}

.footer-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: translateY(-99%);
}

.footer-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 120px;
}

.footer-wave path {
  fill: var(--bg-secondary);
  transition: fill var(--transition-normal);
}

[data-theme="dark"] .footer-wave path {
  fill: var(--bg-secondary);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 30px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand {
  animation: fadeInUp 0.6s ease;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.logo-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}

.logo-icon:hover {
  transform: translateY(-4px) rotate(5deg);
}

.logo-text h3 {
  font-family: 'Outfit', var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}

.logo-text span {
  font-family: 'Outfit', var(--font-primary);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  display: block;
  margin-top: 4px;
}

.footer-tagline {
  font-family: 'Outfit', var(--font-primary);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 24px;
  opacity: 0.9;
}

.footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 18px;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.social-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 0;
}

.social-btn i {
  position: relative;
  z-index: 1;
}

.social-btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.social-btn:hover::before {
  opacity: 1;
}

.social-btn:hover i {
  color: white;
}

.footer-links h4,
.footer-contact h4 {
  font-family: 'Outfit', var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-links h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 12px;
}

.footer-nav a {
  font-family: 'Outfit', var(--font-primary);
  font-size: 15px;
  font-weight: 400;
  color: var(--text-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition-fast);
  padding: 6px 0;
}

.footer-nav a i {
  font-size: 14px;
  opacity: 0.6;
  transition: all var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--primary-color);
  transform: translateX(4px);
}

.footer-nav a:hover i {
  opacity: 1;
  transform: translateX(2px);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: var(--bg-primary);
  border-radius: 12px;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.contact-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.contact-label {
  font-family: 'Outfit', var(--font-primary);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.7;
}

.contact-value {
  font-family: 'Outfit', var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a.contact-value:hover {
  color: var(--primary-color);
}

.footer-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-color), transparent);
  margin: 40px 0 30px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 20px;
}

.footer-copyright p,
.footer-credits p {
  font-family: 'Outfit', var(--font-primary);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  margin: 0;
}

.footer-copyright strong {
  font-weight: 600;
  color: var(--text-primary);
}

.footer-credits i {
  color: var(--primary-color);
  margin: 0 4px;
  animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.1); }
  50% { transform: scale(1); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
  }
  
  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer-container {
    padding: 40px 20px 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-logo {
    gap: 14px;
  }
  
  .logo-icon {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
  
  .logo-text h3 {
    font-size: 20px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .footer-wave svg {
    height: 80px;
  }
}

@media (max-width: 480px) {
  .modern-footer {
    margin-top: 60px;
  }
  
  .footer-container {
    padding: 30px 16px 16px;
  }
  
  .footer-social {
    gap: 10px;
  }
  
  .social-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .contact-card {
    padding: 12px;
  }
  
  .contact-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 14px;
  }
  
  .footer-wave svg {
    height: 60px;
  }
}

/* Dark Mode Enhancements */
[data-theme="dark"] .modern-footer {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

[data-theme="dark"] .contact-card,
[data-theme="dark"] .social-btn {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

[data-theme="dark"] .contact-card:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Smooth Animations */
.footer-links,
.footer-contact {
  animation: fadeInUp 0.6s ease;
  animation-fill-mode: both;
}

.footer-links:nth-child(2) {
  animation-delay: 0.1s;
}

.footer-links:nth-child(3) {
  animation-delay: 0.2s;
}

.footer-contact {
  animation-delay: 0.3s;
}
/* ========================================
   ALUMNI SHOWCASE SECTION - See front-page.css
======================================== */