/* General Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Custom Properties */
:root {
  --primary-dark: #0a0e1a;
  --primary-blue: #0d1b2a;
  --accent-blue: #1b4965;
  --accent-cyan: #00d4ff;
  --accent-gold: #ffd700;
  --accent-orange: #ff6b35;
  --accent-coral: #ff847c;
  --accent-red: #e63946;
  --text-light: #e0e0e0;
  --text-white: #ffffff;
  --text-muted: #8899aa;
  --bg-section-dark: #0f1923;
  --bg-section-alt: #131f2e;
  --bg-card: rgba(15, 25, 40, 0.85);
  --gradient-hero: linear-gradient(135deg, rgba(10, 14, 26, 0.7) 0%, rgba(13, 27, 42, 0.5) 100%);
  --gradient-accent: linear-gradient(135deg, #00d4ff 0%, #0077b6 100%);
  --gradient-gold: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
  --border-glow: rgba(0, 212, 255, 0.3);
  --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.15);
}

html {
  font-size: 17px;
  font-family: "Roboto", sans-serif;
  color: var(--text-light);
  background-color: var(--primary-dark);
  scroll-behavior: smooth;
}

body {
  background-color: var(--primary-dark);
  overflow-x: hidden;
}

ul, nav {
  list-style: none;
}

a {
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
}

a:hover {
  opacity: 1;
  color: var(--accent-cyan);
}

a.btn {
  border-radius: 6px;
  text-transform: uppercase;
  font-weight: bold;
  text-align: center;
  background: var(--gradient-accent);
  opacity: 1;
  transition: all 400ms;
  padding: 18px 42px;
  border: none;
  letter-spacing: 1px;
}

a.btn:hover {
  background: linear-gradient(135deg, #00b4d8 0%, #005f8a 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px;
  position: relative;
}

section:not(.hero):nth-child(odd) {
  background-color: var(--bg-section-dark);
}

section:not(.hero):nth-child(even) {
  background-color: var(--bg-section-alt);
}

.grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

hr {
  width: 250px;
  height: 3px;
  background: var(--gradient-accent);
  border: 0;
  margin-bottom: 40px;
  border-radius: 2px;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

/* ===== IMAGE CLASSES - STRONA GŁÓWNA (BEZ ZMIAN) ===== */
.image-1 { background-image: url("http://cc-series.pl/gry-wojenne-rts-moba.jpg"); }
.image-2 { background-image: url("http://cc-series.pl/gry-strategiczne-rts-tower-defense.jpg"); }
.image-3 { background-image: url("http://cc-series.pl/gry-rts-strategiczne-na-komputer-pc.jpg"); }
.image-4 { background-image: url("http://cc-series.pl/gry-strategiczne-logiczne-szachy.jpg"); }
.image-5 { background-image: url("http://cc-series.pl/gry-strategiczne-wojenne-online.jpg"); }
.image-6 { background-image: url("http://cc-series.pl/gry-rts-strategie-czolgi.jpg"); }

/* ===== IMAGE CLASSES - SUBPAGE 1: Strategie MMO / MMORTS / Imperia ===== */
.image-mmorts-1 { background-image: url("http://cc-series.pl/mmorts-strategie-online-budowa-imperium.jpg"); }
.image-mmorts-2 { background-image: url("http://cc-series.pl/strategie-online-ekonomia-zarzadzanie.jpg"); }
.image-mmorts-3 { background-image: url("http://cc-series.pl/budowa-imperium-gry-mmorts.jpg"); }
.image-mmorts-4 { background-image: url("http://cc-series.pl/strategia-czasu-rzeczywistego-online.jpg"); }

/* ===== IMAGE CLASSES - SUBPAGE 2: Gry wojenne / militarne / bitewne ===== */
.image-wojenne-1 { background-image: url("http://cc-series.pl/gry-wojenne-militaria-armia.jpg"); }
.image-wojenne-2 { background-image: url("http://cc-series.pl/gry-militarne-taktyka-bitwy.jpg"); }
.image-wojenne-3 { background-image: url("http://cc-series.pl/gry-bitewne-flota-ekspansja.jpg"); }
.image-wojenne-4 { background-image: url("http://cc-series.pl/gry-wojskowe-armia-taktyka.jpg"); }

/* ===== IMAGE CLASSES - SUBPAGE 3: Kosmos / sci-fi / galaktyczne imperia ===== */
.image-kosmos-1 { background-image: url("http://cc-series.pl/gry-kosmos-scifi-galaktyka.jpg"); }
.image-kosmos-2 { background-image: url("http://cc-series.pl/gry-scifi-eksploracja-statki-kosmiczne.jpg"); }
.image-kosmos-3 { background-image: url("http://cc-series.pl/imperium-kosmiczne-galaktyczne-strategie.jpg"); }
.image-kosmos-4 { background-image: url("http://cc-series.pl/strategie-kosmos-galaktyka-online.jpg"); }

/* ===== IMAGE CLASSES - SUBPAGE 4: Antyk / fantasy / gladiatorzy ===== */
.image-antyk-1 { background-image: url("http://cc-series.pl/gry-antyk-grecja-gladiatorzy.jpg"); }
.image-antyk-2 { background-image: url("http://cc-series.pl/gry-fantasy-lochy-arena.jpg"); }
.image-antyk-3 { background-image: url("http://cc-series.pl/gry-mitologia-antyczne-swiaty.jpg"); }
.image-antyk-4 { background-image: url("http://cc-series.pl/gladiatorzy-fantasy-arena-online.jpg"); }

/* ===== IMAGE CLASSES - SUBPAGE 5: MOBA / karcianki / rywalizacja PvP ===== */
.image-moba-1 { background-image: url("http://cc-series.pl/gry-moba-pvp-ranking.jpg"); }
.image-moba-2 { background-image: url("http://cc-series.pl/gry-karcianki-deckbuilding-taktyka.jpg"); }
.image-moba-3 { background-image: url("http://cc-series.pl/pvp-rywalizacja-karcianki-online.jpg"); }
.image-moba-4 { background-image: url("http://cc-series.pl/taktyka-pojedynkow-moba-karciane.jpg"); }

/* ===== IMAGE CLASSES - SUBPAGE 6: Casual / logiczne / teleturnieje ===== */
.image-casual-1 { background-image: url("http://cc-series.pl/gry-casual-quizy-teleturnieje.jpg"); }
.image-casual-2 { background-image: url("http://cc-series.pl/gry-logiczne-kulki-pasjans.jpg"); }
.image-casual-3 { background-image: url("http://cc-series.pl/gry-lamiglowki-krzyzowki-online.jpg"); }
.image-casual-4 { background-image: url("http://cc-series.pl/teleturnieje-quizy-gry-logiczne.jpg"); }

/* Section Titles */
section h3.title {
  text-transform: uppercase;
  font-size: 38px;
  margin-bottom: 15px;
  text-align: center;
  color: var(--text-white);
  font-family: 'Orbitron', 'Roboto', sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  position: relative;
}

.section-subtitle {
  font-size: 18px !important;
  color: var(--accent-cyan) !important;
  text-align: center;
  margin-bottom: 30px !important;
  font-weight: 300;
  letter-spacing: 0.5px;
  font-style: italic;
  max-width: 700px;
  opacity: 0.85;
}

@media (max-width: 675px) {
  section h3.title { font-size: 22px; letter-spacing: 1px; }
  .section-subtitle { font-size: 15px !important; }
}

section p {
  max-width: 900px;
  line-height: 1.9;
  padding: 0;
  margin-bottom: 30px;
  text-align: center;
  color: var(--text-light);
  font-size: 16px;
}

@media (max-width: 800px) {
  section { padding: 40px 20px; }
}

/* Header Styles */
header {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px 0;
  opacity: 0;
  animation: 1s slidefade 1s forwards;
  color: #fff;
  z-index: 2;
  text-transform: uppercase;
  text-align: center;
}

header h2 {
  font-family: 'Orbitron', "Arial", sans-serif;
  font-size: 23px;
  font-weight: 700;
  color: var(--text-white);
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
  margin-top: 10px;
  margin-right: 40px;
}

@media (max-width: 935px) {
  header h2 {
      margin-right: 0px;
  }
}

/* MENU NAWIGACYJNE */
header nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

header nav li a {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--accent-gold) !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 3px;
  display: block;
  text-align: center;
}

header nav li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.3s ease;
}

header nav li a:hover::after {
  width: 100%;
}

header nav li a:hover {
  color: #fff !important;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

/* Active menu link */
header nav li a.active {
  color: var(--accent-cyan) !important;
  text-shadow: 0 0 12px rgba(0, 212, 255, 0.5);
}

header nav li a.active::after {
  width: 100%;
  background: var(--accent-cyan);
}

@media (max-width: 900px) {
  header nav {
    grid-template-columns: repeat(2, 1fr);
  }
  header nav li a {
    font-size: 11px;
  }
}

@media (max-width: 600px) {
  header nav {
    grid-template-columns: 1fr;
  }
  header nav li a {
    font-size: 14px;
  }
}

/* Hero Styles */
.hero {
  position: relative;
  justify-content: center;
  text-align: center;
  min-height: 120vh;
  color: #fff;
}

.hero .background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("http://cc-series.pl/gry-strategiczne-rts-wojskowe.jpg");
  background-size: cover;
  background-position: center center;
  z-index: 0;
}

.hero .background-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero h1 {
  font: 900 60px 'Orbitron', "Roboto", sans-serif;
  text-shadow: 2px 2px 3px rgba(255, 215, 57, 1);
  margin-bottom: 20px;
  letter-spacing: 2px;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h2 {
  font: 700 36px 'Orbitron', "Roboto", sans-serif;
  margin-bottom: 15px;
  letter-spacing: 1px;
  line-height: 1.3;
  background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.hero h3 {
  font: 300 26px "Raleway", sans-serif;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
  margin-bottom: 30px;
  color: #ffffff;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

@media (max-width: 1000px) {
  .hero h1 { font-size: 36px; margin-top:75px; }
  .hero h2 { font-size: 24px; margin-right:0px; }
  .hero h3 { font-size: 18px; }
}

@media (max-width: 625px) {
  .hero h1 { font-size: 28px; margin-top: 425px; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 22px; margin-top: 700px; }
}

.hero-content-area {
  opacity: 0;
  margin-top: 200px;
  animation: 2s slidefade 2s forwards;
  justify-content: flex-end;
  padding: 0 30px;
  position: relative;
  z-index: 2;
}

@keyframes slidefade {
  100% { opacity: 1; margin: 0; }
}

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

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 5px rgba(0, 212, 255, 0.3); }
  50% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.6); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 935px) {
  header {
    height: auto;
    padding-bottom: 30px;
    flex-direction: column;
    text-align: center;
  }
  .hero-content-area { top: 50px; }
}

/* Destinations Section */
.destinations .grid li {
  height: 300px;
  padding: 20px;
  background-clip: content-box;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.destinations .grid li:hover { transform: scale(1.02); box-shadow: var(--shadow-glow); }
.destinations .grid li.small { flex-basis: 30%; }
.destinations .grid li.large { flex-basis: 70%; }

@media (max-width: 1100px) {
  .destinations .grid li.small, .destinations .grid li.large { flex-basis: 50%; }
}
@media (max-width: 800px) {
  .destinations .grid li.small, .destinations .grid li.large { flex-basis: 100%; }
}

/* Packages Section */
.packages .grid li {
  padding: 45px 35px;
  flex-basis: 50%;
  text-align: center;
  background: var(--bg-card);
  border-radius: 12px;
  margin: 10px;
  border: 1px solid rgba(0, 212, 255, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.packages .grid li::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.packages .grid li:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
  transform: translateY(-5px);
  background: rgba(20, 35, 55, 0.9);
}
.packages .grid li:hover::before { opacity: 1; }

.packages .grid li i {
  color: var(--accent-cyan);
  transition: all 0.4s ease;
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.3));
}
.packages .grid li:hover i {
  color: var(--accent-gold);
  transform: scale(1.1);
  filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.4));
}

.packages .grid li h4 {
  font-size: 24px;
  margin: 25px 0;
  color: var(--text-white);
  font-family: 'Orbitron', 'Roboto', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
}
.packages .grid li p { color: var(--text-muted); font-size: 15px; line-height: 1.8; }

@media (max-width: 800px) {
  .packages .grid li { flex-basis: 100%; padding: 30px 20px; margin: 8px 0; }
}

/* Quote Styles */
.quote {
  font-size: 19px !important;
  font-weight: 300;
  line-height: 1.7 !important;
  margin: 30px 0 20px;
  color: var(--text-white) !important;
  position: relative;
  padding: 25px 35px !important;
  border-left: 4px solid var(--accent-cyan);
  background: rgba(0, 212, 255, 0.05);
  border-radius: 0 8px 8px 0;
  font-style: italic;
}
@media (max-width: 800px) {
  .quote { font-size: 17px !important; margin: 15px 0; padding: 20px 25px !important; }
}

/* Info Boxes - new interactive component */
.info-box {
  max-width: 900px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 12px;
  padding: 30px 40px;
  margin: 20px auto;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

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

.info-box:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
  transform: translateX(5px);
}

.info-box h4 {
  color: var(--accent-cyan);
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 700;
}

.info-box p {
  text-align: left !important;
  max-width: 100% !important;
  margin-bottom: 0 !important;
  font-size: 15px !important;
  line-height: 1.8;
}

/* Keyword highlight */
.keyword {
  color: var(--accent-cyan);
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: default;
  position: relative;
}

.keyword:hover {
  color: var(--accent-gold);
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

/* Feature list */
.feature-list {
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 30px auto;
  text-align: center;
}

.feature-item {
  background: var(--bg-card);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 10px;
  padding: 25px 20px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-item:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.feature-item:hover::before { opacity: 1; }

.feature-item i {
  color: var(--accent-cyan);
  font-size: 2.5em;
  margin-bottom: 15px;
  display: block;
  transition: all 0.4s ease;
}

.feature-item:hover i {
  color: var(--accent-gold);
  transform: scale(1.15);
}

.feature-item h5 {
  color: var(--text-white);
  font-family: 'Orbitron', sans-serif;
  font-size: 15px;
  margin-bottom: 10px;
  font-weight: 700;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 700px) {
  .feature-list { grid-template-columns: 1fr; }
}

/* Stats bar */
.stats-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin: 30px 0;
  max-width: 900px;
}

.stat-item {
  text-align: center;
  padding: 20px 30px;
  background: var(--bg-card);
  border-radius: 10px;
  border: 1px solid rgba(0, 212, 255, 0.1);
  min-width: 150px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
  transform: translateY(-3px);
}

.stat-item .stat-number {
  font-family: 'Orbitron', sans-serif;
  font-size: 32px;
  font-weight: 900;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 5px;
}

.stat-item .stat-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Accordion / Expandable */
.expandable-section {
  max-width: 900px;
  width: 100%;
  margin: 15px auto;
}

.expandable-btn {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 8px;
  padding: 18px 25px;
  color: var(--text-white);
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.expandable-btn:hover {
  border-color: var(--accent-cyan);
  background: rgba(20, 35, 55, 0.9);
}

.expandable-btn .arrow {
  transition: transform 0.3s ease;
  color: var(--accent-cyan);
  font-size: 14px;
}

.expandable-btn.active .arrow {
  transform: rotate(180deg);
}

.expandable-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  background: rgba(10, 18, 30, 0.7);
  border-radius: 0 0 8px 8px;
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-top: none;
}

.expandable-content.open {
  max-height: 600px;
  padding: 20px 25px;
}

.expandable-content p {
  text-align: left !important;
  max-width: 100% !important;
  margin-bottom: 10px !important;
}

/* Breadcrumb */
.breadcrumb {
  max-width: 900px;
  width: 100%;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--text-muted);
  text-align: left;
}

.breadcrumb a {
  color: var(--accent-cyan);
  font-weight: 400;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--accent-gold);
}

.breadcrumb span {
  margin: 0 8px;
  color: var(--text-muted);
}

/* Content links styling */
.content-link {
  color: var(--accent-cyan);
  border-bottom: 1px dashed var(--accent-cyan);
  transition: all 0.3s ease;
  font-weight: 400;
}

.content-link:hover {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

/* Call to action box */
.cta-box {
  max-width: 900px;
  background: linear-gradient(135deg, rgba(27, 73, 101, 0.5) 0%, rgba(0, 212, 255, 0.1) 100%);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 12px;
  padding: 40px;
  margin: 30px auto;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: glowPulse 3s ease-in-out infinite;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(45deg, transparent, rgba(0, 212, 255, 0.1), transparent);
  animation: shimmer 3s linear infinite;
  background-size: 200% 100%;
  border-radius: 12px;
}

.cta-box h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 22px;
  color: var(--accent-gold);
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.cta-box p {
  position: relative;
  z-index: 1;
  margin-bottom: 0 !important;
}

/* ===== Partnerzy / Stopka - BEZ ZMIAN ===== */
.logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.logos img {
  width: 150px;
  height: auto;
  margin: 10px 15px;
  filter: brightness(0.9) contrast(1.1);
  transition: all 0.4s ease;
  border-radius: 8px;
}

.logos img:hover {
  filter: brightness(1.1) contrast(1.2);
  transform: translateY(-4px) scale(1.05);
}

.cooperation {
  background: linear-gradient(135deg, #0d1b2a 0%, #1b4965 50%, #0d1b2a 100%);
  padding: 60px 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.cooperation::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
}

.cooperation::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
}

@media screen and (max-width: 1000px) {
  .logos img {
    width: 200px;
    height: auto;
    margin: 10px auto;
  }
}

/* Footer Section */
footer {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: linear-gradient(135deg, #0a0e1a 0%, #131f2e 100%);
  color: #fff;
  padding: 25px 0;
  border-top: 2px solid rgba(0, 212, 255, 0.2);
}
footer ul { display: flex; }
footer ul li { margin-left: 16px; }
footer ul li a { transition: all 0.3s ease; }
footer ul li a:hover { color: var(--accent-cyan); transform: scale(1.2); }
footer p {
  text-transform: uppercase;
  font-size: 14px;
  opacity: 0.6;
  align-self: center;
  letter-spacing: 0.5px;
}
@media (max-width: 1100px) {
  footer { flex-direction: column; }
  footer p { text-align: center; margin-bottom: 20px; }
  footer ul li { margin: 0 8px; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--primary-dark); }
::-webkit-scrollbar-thumb { background: var(--accent-blue); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-cyan); }
::selection { background: rgba(0, 212, 255, 0.3); color: #fff; }

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

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

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5);
}

/* Subpage intro section */
.intro-section {
  padding-top: 120px;
}

.intro-section h3.title {
  font-size: 32px;
}
