/* Arctic Thunder Architecture Studio - Custom Styles */

/* ===== ROOT VARIABLES ===== */
:root {
  --primary-color: #1A237E;
  --secondary-color: #00BCD4;
  --dark-bg: #0D1B2A;
  --light-bg: #E0F7FA;
  --text-dark: #1A1A1A;
  --text-light: #FFFFFF;
  --accent-glow: rgba(0, 188, 212, 0.3);
  --shadow-arctic: 0 10px 40px rgba(0, 188, 212, 0.2);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1a2e 100%);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
.display-1, .display-3, .display-4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-light) !important;
  text-shadow: 0 4px 20px rgba(0, 188, 212, 0.3);
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9) !important;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-light) !important;
  font-weight: 700;
}

.text-white {
  color: #FFFFFF !important;
}

.text-muted {
  color: rgba(255, 255, 255, 0.6) !important;
}

.text-success {
  color: #4ADE80 !important;
}

/* ===== NAVBAR ===== */
.navbar {
  background: linear-gradient(180deg, rgba(26, 35, 126, 0.95) 0%, rgba(26, 35, 126, 0.85) 100%) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  padding: 1rem 0;
  transition: var(--transition-smooth);
  border-bottom: 1px solid rgba(0, 188, 212, 0.2);
}

.navbar.scrolled {
  background: rgba(26, 35, 126, 0.98) !important;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  padding: 0.5rem 0;
}

.navbar-brand {
  color: var(--text-light) !important;
  font-weight: 700 !important;
  font-size: 1.75rem !important;
  transition: var(--transition-smooth);
  text-shadow: 0 2px 10px rgba(0, 188, 212, 0.5);
}

.navbar-brand:hover {
  color: var(--secondary-color) !important;
  transform: translateY(-2px);
}

.nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500 !important;
  padding: 0.5rem 1rem !important;
  margin: 0 0.25rem;
  border-radius: 8px;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--secondary-color) !important;
  background: rgba(0, 188, 212, 0.1);
  transform: translateY(-2px);
}

.nav-link:hover::before {
  width: 80%;
}

.nav-link.active {
  color: var(--text-light) !important;
  background: rgba(0, 188, 212, 0.2) !important;
  font-weight: 600 !important;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3) !important;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 188, 212, 0.3) !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ===== BUTTONS ===== */
.btn {
  font-weight: 600 !important;
  border-radius: 12px !important;
  transition: var(--transition-smooth) !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid transparent !important;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.pulse-btn {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #0097A7 100%) !important;
  color: var(--text-light) !important;
  box-shadow: 0 8px 30px rgba(0, 188, 212, 0.4);
  animation: pulse-glow 2s ease-in-out infinite;
}

.pulse-btn:hover {
  background: linear-gradient(135deg, #00D4FF 0%, var(--secondary-color) 100%) !important;
  color: var(--text-light) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 40px rgba(0, 188, 212, 0.6) !important;
}

.btn-outline-light {
  color: var(--text-light) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  background: transparent !important;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  color: var(--primary-color) !important;
  border-color: var(--text-light) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.3) !important;
}

.btn-primary {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--text-light) !important;
}

.btn-primary:hover {
  background: #0D47A1 !important;
  border-color: #0D47A1 !important;
  color: var(--text-light) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 30px rgba(26, 35, 126, 0.5) !important;
}

.btn-sm {
  padding: 0.5rem 1rem !important;
  font-size: 0.875rem !important;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 8px 30px rgba(0, 188, 212, 0.4);
  }
  50% {
    box-shadow: 0 8px 40px rgba(0, 188, 212, 0.7);
  }
}

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(26, 35, 126, 0.9) 0%, rgba(13, 27, 42, 0.95) 100%),
              url('data:image/svg+xml,%3Csvg width="100" height="100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M50 10 L60 30 L80 30 L65 45 L70 65 L50 50 L30 65 L35 45 L20 30 L40 30 Z" fill="rgba(0,188,212,0.1)" /%3E%3C/svg%3E');
  background-size: cover, 200px 200px;
  background-position: center, center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(0, 188, 212, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(26, 35, 126, 0.3) 0%, transparent 50%);
  animation: gradient-shift 15s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/* ===== CARDS ===== */
.card {
  background: rgba(26, 35, 126, 0.4) !important;
  border: 1px solid rgba(0, 188, 212, 0.3) !important;
  border-radius: 16px !important;
  overflow: hidden;
  transition: var(--transition-smooth) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 20px 60px rgba(0, 188, 212, 0.3) !important;
  border-color: var(--secondary-color) !important;
}

.card-body {
  background: transparent !important;
  color: var(--text-light) !important;
}

.card-img-top {
  transition: var(--transition-smooth);
  object-fit: cover;
}

.card:hover .card-img-top {
  transform: scale(1.1);
}

.program-card {
  position: relative;
  background: linear-gradient(135deg, rgba(26, 35, 126, 0.6) 0%, rgba(0, 188, 212, 0.3) 100%) !important;
  border: 2px solid rgba(0, 188, 212, 0.5) !important;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.value-card {
  padding: 2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.value-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--secondary-color);
  transform: translateY(-5px);
}

/* ===== SECTIONS ===== */
.py-5 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.py-4 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.bg-light {
  background: linear-gradient(135deg, rgba(224, 247, 250, 0.05) 0%, rgba(26, 35, 126, 0.05) 100%) !important;
}

.bg-white {
  background: rgba(255, 255, 255, 0.08) !important;
}

.bg-primary {
  background: var(--primary-color) !important;
}

.bg-opacity-10 {
  background: rgba(26, 35, 126, 0.1) !important;
}

.bg-opacity-20 {
  background: rgba(26, 35, 126, 0.2) !important;
}

.backdrop-blur {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ===== FORMS ===== */
.form-control, .form-select {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 2px solid rgba(0, 188, 212, 0.3) !important;
  color: var(--text-light) !important;
  border-radius: 12px !important;
  padding: 0.875rem 1.25rem !important;
  transition: var(--transition-smooth) !important;
  font-size: 1rem !important;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

.form-control:focus, .form-select:focus {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: var(--secondary-color) !important;
  color: var(--text-light) !important;
  box-shadow: 0 0 0 0.25rem rgba(0, 188, 212, 0.25) !important;
  outline: none !important;
}

.form-control-lg {
  padding: 1.125rem 1.5rem !important;
  font-size: 1.125rem !important;
}

.form-select-lg {
  padding: 1.125rem 1.5rem !important;
  font-size: 1.125rem !important;
}

.form-label {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 600 !important;
  margin-bottom: 0.75rem !important;
  font-size: 1rem !important;
}

.form-check-input {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border: 2px solid rgba(0, 188, 212, 0.4) !important;
  width: 1.5rem;
  height: 1.5rem;
}

.form-check-input:checked {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
}

.form-check-input:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(0, 188, 212, 0.25) !important;
}

.form-check-label {
  color: rgba(255, 255, 255, 0.85) !important;
  margin-left: 0.5rem;
}

.ice-crystal-input {
  position: relative;
  animation: crystal-shimmer 3s ease-in-out infinite;
}

@keyframes crystal-shimmer {
  0%, 100% { border-color: rgba(0, 188, 212, 0.3); }
  50% { border-color: rgba(0, 188, 212, 0.6); }
}

.invalid-feedback, .ice-crystal-feedback {
  color: #FF6B6B !important;
  font-weight: 500 !important;
  display: block;
  margin-top: 0.5rem;
}

.valid-feedback, .ice-crystal-valid {
  color: #4ADE80 !important;
  font-weight: 500 !important;
  display: block;
  margin-top: 0.5rem;
}

.form-control.is-invalid {
  border-color: #FF6B6B !important;
}

.form-control.is-valid {
  border-color: #4ADE80 !important;
}

/* ===== ALERTS ===== */
.alert {
  border-radius: 12px !important;
  border: none !important;
  padding: 1.25rem 1.5rem !important;
  font-weight: 500 !important;
  backdrop-filter: blur(10px);
  animation: slideInDown 0.5s ease;
}

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

/* ===== BADGES ===== */
.badge {
  padding: 0.5rem 1rem !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  font-size: 0.875rem !important;
  background: linear-gradient(135deg, var(--secondary-color), #0097A7) !important;
  color: var(--text-light) !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== IMAGES ===== */
.img-fluid {
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.rounded-4 {
  border-radius: 16px !important;
}

.rounded-circle {
  border-radius: 50% !important;
}

.rounded-pill {
  border-radius: 50rem !important;
}

.shadow-lg {
  box-shadow: 0 20px 60px rgba(0, 188, 212, 0.3) !important;
}

.shadow {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
}

.shadow-sm {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
}

/* ===== ICONS ===== */
.bi {
  display: inline-block;
  vertical-align: middle;
  font-size: inherit;
  line-height: 1;
}

.bi-snow2, .bi-snow, .bi-lightning-charge-fill {
  color: var(--secondary-color) !important;
  filter: drop-shadow(0 2px 8px rgba(0, 188, 212, 0.5));
}

.bi-check-circle-fill {
  color: var(--secondary-color) !important;
}

.bi-trophy-fill, .bi-graph-up-arrow, .bi-clipboard-data-fill {
  color: var(--secondary-color) !important;
  font-size: 2.5rem !important;
}

/* ===== ACCORDION ===== */
.accordion {
  --bs-accordion-bg: rgba(26, 35, 126, 0.3) !important;
  --bs-accordion-border-color: rgba(0, 188, 212, 0.3) !important;
  --bs-accordion-btn-bg: transparent !important;
  --bs-accordion-active-bg: rgba(0, 188, 212, 0.2) !important;
}

.accordion-item {
  background: rgba(26, 35, 126, 0.3) !important;
  border: 1px solid rgba(0, 188, 212, 0.3) !important;
  border-radius: 12px !important;
  margin-bottom: 1rem !important;
  overflow: hidden;
}

.accordion-button {
  background: transparent !important;
  color: var(--text-light) !important;
  font-weight: 600 !important;
  padding: 1.25rem 1.5rem !important;
  border: none !important;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background: rgba(0, 188, 212, 0.2) !important;
  color: var(--text-light) !important;
  box-shadow: none !important;
}

.accordion-button::after {
  filter: brightness(0) invert(1);
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 188, 212, 0.25) !important;
}

.accordion-body {
  background: rgba(0, 0, 0, 0.2) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 1.5rem !important;
}

.accordion-collapse {
  border-top: 1px solid rgba(0, 188, 212, 0.2) !important;
}

/* ===== PROGRESS BARS ===== */
.progress {
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  height: 12px !important;
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color)) !important;
  border-radius: 10px !important;
  transition: width 1s ease !important;
  animation: progress-shimmer 2s ease-in-out infinite;
}

@keyframes progress-shimmer {
  0% { opacity: 1; }
  50% { opacity: 0.8; }
  100% { opacity: 1; }
}

/* ===== TIMELINE ===== */
.timeline-container {
  position: relative;
  padding: 2rem 0;
}

.timeline-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
  border-left: 2px solid rgba(0, 188, 212, 0.5);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--secondary-color);
  box-shadow: 0 0 20px rgba(0, 188, 212, 0.6);
}

/* ===== FLIP CARDS ===== */
.contact-flip-card {
  perspective: 1000px;
  height: 400px;
}

.contact-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.contact-flip-card:hover .contact-flip-inner {
  transform: rotateY(180deg);
}

.contact-flip-front,
.contact-flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 35, 126, 0.4);
  border: 1px solid rgba(0, 188, 212, 0.3);
}

.contact-flip-back {
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.3), rgba(26, 35, 126, 0.5));
  transform: rotateY(180deg);
}

/* ===== MISSION BOX ===== */
.mission-box {
  background: linear-gradient(135deg, rgba(26, 35, 126, 0.6), rgba(0, 188, 212, 0.3));
  border: 2px solid rgba(0, 188, 212, 0.5);
  border-radius: 16px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.mission-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 188, 212, 0.1) 0%, transparent 70%);
  animation: rotate-gradient 10s linear infinite;
}

@keyframes rotate-gradient {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, rgba(26, 35, 126, 0.8), rgba(0, 188, 212, 0.6));
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,%3Csvg width="100" height="100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M50 10 L60 30 L80 30 L65 45 L70 65 L50 50 L30 65 L35 45 L20 30 L40 30 Z" fill="rgba(255,255,255,0.05)" /%3E%3C/svg%3E');
  background-size: 150px 150px;
  opacity: 0.5;
  animation: snow-fall 20s linear infinite;
}

@keyframes snow-fall {
  0% { background-position: 0 0; }
  100% { background-position: 150px 150px; }
}

/* ===== UTILITIES ===== */
.position-relative {
  position: relative !important;
}

.position-absolute {
  position: absolute !important;
}

.position-fixed {
  position: fixed !important;
}

.position-sticky {
  position: sticky !important;
  top: 80px;
}

.sticky-top {
  position: sticky !important;
  top: 0;
  z-index: 1020;
}

.top-0 {
  top: 0 !important;
}

.bottom-0 {
  bottom: 0 !important;
}

.start-0 {
  left: 0 !important;
}

.end-0 {
  right: 0 !important;
}

.start-50 {
  left: 50% !important;
}

.translate-middle-x {
  transform: translateX(-50%) !important;
}

.w-100 {
  width: 100% !important;
}

.h-100 {
  height: 100% !important;
}

.d-flex {
  display: flex !important;
}

.d-grid {
  display: grid !important;
}

.d-none {
  display: none !important;
}

.flex-column {
  flex-direction: column !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.flex-grow-1 {
  flex-grow: 1 !important;
}

.flex-shrink-0 {
  flex-shrink: 0 !important;
}

.align-items-center {
  align-items: center !important;
}

.align-items-start {
  align-items: flex-start !important;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.text-center {
  text-align: center !important;
}

.text-uppercase {
  text-transform: uppercase !important;
}

.text-decoration-none {
  text-decoration: none !important;
}

.overflow-hidden {
  overflow: hidden !important;
}

/* ===== SPACING ===== */
.m-0 { margin: 0 !important; }
.m-1 { margin: 0.25rem !important; }
.m-2 { margin: 0.5rem !important; }
.m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !important; }
.m-5 { margin: 3rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.ms-1 { margin-left: 0.25rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.ms-3 { margin-left: 1rem !important; }
.ms-4 { margin-left: 1.5rem !important; }
.ms-auto { margin-left: auto !important; }

.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }

.mx-auto { margin-left: auto !important; margin-right: auto !important; }

.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }

.p-0 { padding: 0 !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }

.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }

.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

.pt-4 { padding-top: 1.5rem !important; }
.pt-5 { padding-top: 3rem !important; }

.pb-4 { padding-bottom: 1.5rem !important; }

.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.gap-5 { gap: 3rem !important; }

/* ===== LIST STYLES ===== */
.list-unstyled {
  list-style: none !important;
  padding-left: 0 !important;
}

.list-unstyled li {
  margin-bottom: 0.75rem;
}

.list-unstyled a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  transition: var(--transition-smooth);
  display: inline-block;
}

.list-unstyled a:hover {
  color: var(--secondary-color) !important;
  transform: translateX(5px);
}

/* ===== BORDERS ===== */
.border {
  border: 1px solid rgba(0, 188, 212, 0.3) !important;
}

.border-0 {
  border: 0 !important;
}

.border-2 {
  border-width: 2px !important;
}

.rounded {
  border-radius: 8px !important;
}

.rounded-3 {
  border-radius: 12px !important;
}

/* ===== GRID ===== */
.g-0 {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}

.g-3 {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
}

.g-4 {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
}

.g-5 {
  --bs-gutter-x: 3rem;
  --bs-gutter-y: 3rem;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(26, 35, 126, 0.98);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
    border: 1px solid rgba(0, 188, 212, 0.3);
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
    margin: 0.25rem 0;
  }
  
  .hero-section {
    padding: 6rem 0 3rem;
    min-height: auto;
  }
  
  .display-1 {
    font-size: 3rem !important;
  }
  
  .display-3 {
    font-size: 2.5rem !important;
  }
  
  .display-4 {
    font-size: 2rem !important;
  }
  
  .btn-lg {
    padding: 0.875rem 2rem !important;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .position-sticky {
    position: relative !important;
    top: 0 !important;
  }
  
  .order-lg-1 {
    order: 1 !important;
  }
  
  .order-lg-2 {
    order: 2 !important;
  }
  
  .mb-lg-0 {
    margin-bottom: 0 !important;
  }
  
  .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-10 {
    width: 100%;
  }
  
  .text-lg-end, .text-md-end {
    text-align: center !important;
  }
  
  .text-md-start {
    text-align: center !important;
  }
  
  .mt-lg-0 {
    margin-top: 0 !important;
  }
}

@media (max-width: 767.98px) {
  .display-1 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .display-4 {
    font-size: 1.75rem !important;
  }
  
  .lead {
    font-size: 1.1rem;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
  }
  
  .card-body {
    padding: 1.5rem !important;
  }
  
  .mission-box {
    padding: 2rem;
  }
  
  .col-md-4, .col-md-6, .col-md-8 {
    width: 100%;
  }
  
  .col-6 {
    width: 50%;
  }
  
  .mb-md-0 {
    margin-bottom: 0 !important;
  }
  
  .contact-flip-card {
    height: 300px;
  }
}

@media (max-width: 575.98px) {
  .fs-4 {
    font-size: 1.25rem !important;
  }
  
  .fs-3 {
    font-size: 1.5rem !important;
  }
  
  .col-6 {
    width: 100%;
  }
  
  .gap-4 {
    gap: 1rem !important;
  }
  
  .px-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  
  .py-3 {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
  }
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

.animate-on-scroll {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.animate-delay-1 {
  animation-delay: 0.2s;
}

.animate-delay-2 {
  animation-delay: 0.4s;
}

.animate-delay-3 {
  animation-delay: 0.6s;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(26, 35, 126, 0.3);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--secondary-color), var(--primary-color));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #00D4FF, #0D47A1);
}

/* ===== SELECTION ===== */
::selection {
  background: var(--secondary-color);
  color: var(--text-light);
}

::-moz-selection {
  background: var(--secondary-color);
  color: var(--text-light);
}

/* ===== LOADING ANIMATION ===== */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--text-light);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(180deg, rgba(13, 27, 42, 0.95) 0%, rgba(26, 35, 126, 0.98) 100%);
  border-top: 2px solid rgba(0, 188, 212, 0.3);
  padding: 3rem 0 1.5rem;
  margin-top: 5rem;
}

footer a {
  color: rgba(255, 255, 255, 0.8) !important;
  transition: var(--transition-smooth);
}

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

/* ===== ACCESSIBILITY ===== */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--primary-color);
  color: var(--text-light);
  padding: 1rem 2rem;
  text-decoration: none;
  z-index: 9999;
}

.skip-to-content:focus {
  top: 0;
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar, .btn, footer {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .card {
    border: 1px solid #000 !important;
    page-break-inside: avoid;
  }
}