@import url('https://fonts.cdnfonts.com/css/ica-rubrik-black');
@import url('https://fonts.cdnfonts.com/css/poppins');

/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  line-height: 1.6;
}

:root {
  --darc-light-gray: #e8e8e8;
  --darc-medium-gray: #c0c0c0;
  --darc-dark-gray: #90989e;
  
  --darc-very-light-blue: #63a4d7;
  --darc-light-blue: #2aa6da;
  --darc-medium-blue: #0076b5;
  --darc-dark-blue: #263D5D;
  
  --darc-light-bg: #f1f2f3;
  --darc-medium-bg: #e0e6ed;
  --darc-heavy-bg: #dddddd;
  
  --darc-text-color: #515365;
  --darc-text-dark: #0e1726;
  --darc-text-gray: #888ea8;
  
  --darc-logo: #273d5e;
  
  --white: #ffffff;
  --black: #000000;

  --sb-w: 280px;
  --sb-bg: rgba(14, 23, 38, 0.7);
  --sb-border: rgba(255, 255, 255, 0.12);
  --sb-accent: #2aa6da;
  --sb-accent-2: #63a4d7;
  --sb-text: #eef2f8;
  --sb-muted: #9ea7b3;
  --elev: 0 10px 30px rgba(0,0,0,0.25);

  --faq-bg: #0b1220;
  --faq-text: #eef3ff;
  --faq-muted: #b9c2d0;

  --accent-1: 255, 99, 132;  /* pink-ish */
  --accent-2: 53, 162, 235;  /* blue-ish */

  --glass: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.12);
  --focus: rgba(53,162,235,.55);

  --radius-outer: 16px;
  --radius-inner: 12px;

  --shadow-lg: 0 18px 40px rgba(0,0,0,.35);

  --toggle-size: 48px; /* Button-Kantenlänge */
  --toggle-gap: 16px;  /* Luft zwischen Button und Menü */
  
}

header {
  background: #2aa6da;
  background-image: url("../images/darc3.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  text-align: center;
  padding: 50px 20px;
}


header h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
}



/* Table Styles */
section#pricing table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.pricing-container {
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 20px; 
}

section#pricing th, section#pricing td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

section#pricing th {
  background: #f4f4f4;
}

/* FAQ Accordion */
.accordion-item {
  margin-bottom: 10px;
}

.faq-container {
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 20px; 
}

.accordion-header {
  background: #f4f4f4;
  padding: 10px;
  cursor: pointer;
  border: 1px solid #ddd;
}

.accordion-content {
  display: none;
  padding: 10px;
  border: 1px solid #ddd;
  border-top: none;
}

/* Login Form */
section#login form {
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

section#login form label {
  display: block;
  margin-bottom: 5px;
  padding-right: 10px;
}

section#login form input {
  width: 100%;
  padding: 8px;
  padding-right: 0px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

section#login form button {
    background: #2aa6da;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 5px;
  
}

section#login form button:hover{
  background: #0076b5;
}

/* Info Section -----------------------------------------------------------------------------------------------------------------*/

#info-section {
  padding: 50px 20px;
  background-color: #f9f9f9;
}

.info-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.info-text {
  flex: 1;
  padding: 20px;
}

.info-text h2 {
  font-size: 2em;
  margin-bottom: 15px;
}

.info-text p {
  font-size: 1.2em;
  line-height: 1.6;
  color: #555;
}

.info-image {
  flex: 1;
  text-align: center;
}

.info-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


/* ==== DCL FAQ – Modern, performant, accessible ==== */


@media (prefers-color-scheme: light) {
  :root {
    --faq-bg: #f5f7fc;
    --faq-text: #0d1b2a;
    --faq-muted: #536275;
    --glass: rgba(255,255,255,.7);
    --border: rgba(10,30,60,.12);
    --focus: rgba(53,162,235,.4);
  }
}

.faq {
  color: var(--faq-text);
  background:
    radial-gradient(900px 600px at 12% -10%, rgba(var(--accent-1),0.22), transparent 60%),
    radial-gradient(900px 700px at 88% 110%, rgba(var(--accent-2),0.20), transparent 60%),
    var(--faq-bg);
  padding: clamp(16px, 3vw, 32px);
}

.faq__header {
  max-width: 1100px;
  margin: 0 auto 12px;
}

.faq__title {
  margin: 0 0 4px;
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: .2px;
}

.faq__subtitle {
  margin: 0 0 12px;
  color: var(--faq-muted);
}

.faq__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.faq__btn {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  color: inherit;
  cursor: pointer;
}
.faq__btn:hover { border-color: rgba(var(--accent-2), .45); }
.faq__btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.faq__list {
  max-width: 1100px;
  margin: 14px auto 0;
  display: grid;
  gap: 10px;
}

.faq__item {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--glass), transparent);
  border-radius: var(--radius-outer);
  box-shadow: var(--shadow-lg);
  overflow: clip; /* performant clipping */
}

.faq__question { margin: 0; }

.faq__toggle {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  background: transparent;
  color: inherit;
  border: 0;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.faq__toggle:hover { background: rgba(255,255,255,.04); }
.faq__toggle:focus-visible { outline: 3px solid var(--focus); outline-offset: -2px; }

.faq__chev {
  width: 18px; height: 18px;
  stroke: currentColor; fill: none; stroke-width: 2;
  transform: rotate(-90deg);
  transition: transform .2s ease;
}
.faq__toggle[aria-expanded="true"] .faq__chev { transform: rotate(0deg); }

/* Ersetze die bisherigen .faq__answer-Regeln durch diese: */
.faq__answer{
  height: 0;                /* statt max-height */
  opacity: 0;
  visibility: hidden;
  overflow: clip;           /* performanter als hidden */
  will-change: height, opacity;
  padding: 0 18px;          /* horizontales Padding bleibt */
}

.faq__answer.open{
  visibility: visible;
  /* Höhe wird per JS animiert und danach auf 'auto' gesetzt */
  padding-bottom: 16px;     /* nur wenn offen */
}

/* falls du lieber weniger Fading willst: */
@media (prefers-reduced-motion: reduce){
  .faq__answer{ transition: none !important; }
}



/* DCL-Service Section ----------------------------------------------------------------------------------------------------------------- */


#dcl-service-section {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
}

.container{
  min-height: 100vh;
  width: 100%;
  background-color: #0e1726;
}

.service-wrapper{
  padding: 5% 8%;
}

.service{
  display: flex;
  flex-direction: column;
  align-items: center;
}

#dcl-service-section h1{
  color: #ffffff;
  font-size: 5rem;
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: transparent;
  letter-spacing: 4px;
  background-color: #0076b5;
  background: linear-gradient(8deg, #2aa6da 0%,  #0076b5 41%, #63a4d7 100%  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

#dcl-service-section h1::after{
  position: absolute;
  content: "";
  top: 100%;
  left: 10%;
  height: 8px;
  width: 80%;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
}

#dcl-service-section h1 span{
  position: absolute;
  top: 100%;
  left: 10%;
  height: 8px;
  width: 8px;
  border-radius: 50%;
  background-color: #2aa6da;
  animation: anim 5s linear infinite;
}

@keyframes anim {
  95%{
    opacity: 1;
  }
  100%{
    opacity: 0;
    left: 89%;
  }
}

#dcl-service-section h2{
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
}

#dcl-service-section .cards{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 70px;
  margin-top: 20px;
}

#dcl-service-section .card{
  height: 350px;
  width: 370px;
  background-color: #263D5D;
  padding: 3% 8%;
  border: 0.2px solid rgb(144, 152, 158, 0.2);
  border-radius: 8px;
  transition: .6s;
  display: flex;
  align-items: center;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

#dcl-service-section .card:after{
  content: "";
  position: absolute;
  top:150%;
  left:-200px;
  width: 120%;
  transform: rotate(50deg);
  background-color: #fff;
  height: 18px;
  filter: blur(30px);
  opacity: 0.5;
  transition: 1s;
}

#dcl-service-section .card:hover:after{
  width: 225%;
  top: -100%;
}

#dcl-service-section .card p{
  text-align: center;
  width: 100%;
  margin: 12px 0;
  color: rgb(255, 255, 255, 0.6);
}

#dcl-service-section .card:hover{
  background-color: transparent;
  transform: translateY(-8px);
  border-color: #2aa6da;
}

#dcl-service-section .card i{
  color: #2aa6da;
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 4.8rem;
}

#dcl-service-section .card .icon-image {
  width: 100px; 
  height: 100px; 
  margin-top: 20px; 
  margin-bottom: 20px;
}

/* Pricing-Slider-Carousel-Section -----------------------------------------------------------------------------------------------------------------*/

.pricing_container {
  padding: 2rem;
  background-color: #0e1726;

}

.pricing_slider_wrapper {
  position: relative;
  max-width: 75rem;
  margin: 0 auto;
}

.pricing_slider {
  display: flex;
  aspect-ratio: 16 / 9;
  overflow: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
  border-radius: 0.5rem;
}

.pricing_slider img {
  flex: 1 0 100%;
  scroll-snap-align: start;
  object-fit: cover;
  border-radius: 0.5rem;
}

.pricing_slider_nav {
  display: flex;
  column-gap: 1rem;
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.pricing_slider_nav a {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: #000;
  opacity: 0.75;
  transition: opacity 250ms ease, transform 250ms ease;
  cursor: pointer;
}

.pricing_slider_nav a:hover,
.pricing_slider_nav a:focus-visible {
  opacity: 1;
  transform: scale(1.1);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Diplom-Slider-Carousel-Section -----------------------------------------------------------------------------------------------------------------*/

#image-carousel-section {
  padding: 20px;
  background-color: #f5f5f5;
  text-align: center;
}

.carousel-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  min-width: 100%;
  box-sizing: border-box;
}

.carousel-item img {
  width: 50%;
  height: auto;
  
}

.caption {
  margin-top: 10px;
  font-size: 16px;
  color: #333;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.carousel-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Sidebar  -----------------------------------------------------------------------------------------------------------------*/
#sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100%;
  background-color: #11121a;;
  color: #fff;
  padding: 20px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

#sidebar .menu-root,
#sidebar nav,
#sidebar .sidebar-nav {
  margin-top: calc(var(--toggle-size) + var(--toggle-gap));
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
}

.sidebar-nav li {
  margin: 20px 0;
}

.sidebar-nav a {
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  transition: color 0.3s ease;

}

/* Icon + Text in einer Linie (SVG ist neben <a>) */
.sidebar-nav li {
  display: flex;
  align-items: center;   /* vertikal mittig */
  gap: 10px;             /* Abstand zwischen Icon und Text */
}

/* Icon-Box: feste Größe, damit alles bündig startet */
.sidebar-nav li > svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: block;
}

/* Text sauber neben dem Icon ausrichten */
.sidebar-nav li > a {
  display: flex;
  align-items: center;
  line-height: 1.2;
  padding-top: 3px;
}


.sidebar-nav a:hover {
  color: #2aa6da;
}


#main-content {
  margin-left: 250px; 
  padding: 20px;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none; 
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #263D5D; 
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.dropdown-menu li {
  padding: 10px 20px;
}

.dropdown-menu a {
  text-decoration: none;
  color: #fff;
  display: block;
}

.dropdown-menu a:hover {
  background-color: #2aa6da; /* Highlight-Farbe */
}

/* Sichtbar, wenn die Klasse `open` hinzugefügt wird */
.dropdown.open .dropdown-menu {
  display: block;
}

.sidebar-toggle {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;

  /* 👉 neuer blauer Hintergrund mit Root-Farben */
  background: linear-gradient(180deg, var(--sb-accent), var(--sb-accent-2));
  color: #fff;

  cursor: pointer;
  z-index: 1100;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  /* 👉 dezenter blauer Glow */
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.25),
    0 0 12px 2px var(--sb-accent-2);

  transition: transform 0.25s ease, box-shadow 0.25s;
}

/* Hover – heller, stärkerer Glow */
.sidebar-toggle:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, var(--sb-accent-2), var(--sb-accent));
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.3),
    0 0 18px 3px var(--sb-accent-2);
}

/* Klickzustand */
.sidebar-toggle:active {
  transform: translateY(0);
}

.sidebar-toggle:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.32); }
.sidebar-toggle:active { transform: translateY(0); }

/* Bars */
.sidebar-toggle .bar {
  width: 22px;
  height: 2px;
  background: currentColor;
  display: block;
  margin: 3px 0;
  transition: transform .35s ease, opacity .2s ease;
}

/* Zu „X“ morph, wenn Sidebar offen (open = sichtbar) */
.sidebar-toggle.open .bar:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.sidebar-toggle.open .bar:nth-child(2) { opacity: 0; }
.sidebar-toggle.open .bar:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Optional: kleine Anpassungen auf sehr schmalen Screens */
@media (max-width: 480px) {
  .sidebar-toggle { top: 14px; left: 14px; width: 44px; height: 44px; border-radius: 10px; }
  .sidebar-toggle .bar { width: 20px; }
}

/* Weniger Animationen bei Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .sidebar-toggle, .sidebar-toggle .bar { transition: none !important; }
}


/* Footer --------------------------------------------------------------------------------------------------------------------- */
footer {
  background: linear-gradient(180deg, var(--darc-dark-blue) 0%, #0e1726 100%);
  color: var(--white);
  padding: 36px 20px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr; /* Brand | Navigation | Rechtliches */
  gap: 28px;
  align-items: start;
}

/* Brand: Logo + Name */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  height: 70px;
  width: auto;
  filter: drop-shadow(0 4px 14px rgba(0, 150, 255, 0.25));
}

.footer-brand .brand-text {
  display: grid;
}

.footer-brand .brand-name {
  font-weight: 700;
  letter-spacing: .2px;
  color: var(--white);
}

.footer-brand .brand-sub {
  font-size: 12px;
  color: rgba(255,255,255,.7);
}

/* Headings im Footer */
.footer-col h4 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--darc-very-light-blue);
}

/* Links */
.footer-links,
.footer-legal {
  display: grid;
  gap: 8px;
}

.footer-links a,
.footer-legal a {
  color: rgba(255,255,255,.9);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.6;
  transition: color .2s ease, opacity .2s ease, transform .2s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--darc-light-blue);
  transform: translateX(2px);
}

/* Divider + Bottom Bar */
.footer-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  margin: 18px 0 12px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  color: rgba(255,255,255,.7);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-bottom .madeby {
  opacity: .8;
}


/* Responsiv */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Scroll-Down-Gif-Header Styles -----------------------------------------------------------------------------------------------------------------*/

.scroll-down {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  margin-top: 20px;
}

.scroll-down img {
  width: 150px; 
  height: auto;
  animation: bounce 2s infinite;
}

/* =========================================================
   Diploma Banner + Netflix-style awards grid (merged from style2.css)
   ========================================================= */

.banner{
    width: 100%;
    height: 100vh;
    text-align: center;
    overflow: hidden;
    position: relative;
    }
.banner .slider{
    position: absolute;
    width: 200px;
    height: 250px;
    top: 10%;
    left: calc(50% - 100px);
    transform-style: preserve-3d;
    transform: perspective(1000px);
    animation: autoRun 40s linear infinite;
    z-index: 2;
}
@keyframes autoRun{
    from{
        transform: perspective(1000px) rotateX(-16deg) rotateY(0deg);
    }to{
        transform: perspective(1000px) rotateX(-16deg) rotateY(360deg);
    }
}

.banner .slider .item{
    position: absolute;
    inset: 0 0 0 0;
    
    transform: 
        rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))
        translateZ(550px);
}
.banner .slider .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    
}
.banner .slider .item img:hover{
   transform: translateY(-10px) scale(1.05);
   box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}
.banner .content{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1400px, 100vw);
    height: max-content;
    padding-bottom: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}
.banner .content h1{
    font-family: 'ICA Rubrik';
    font-size: 16em;
    line-height: 1em;
    color: #dddddd;
    position: relative;
}

.banner .content h1::after{
    position: absolute;
    inset: 0 0 0 0;
    content: attr(data-content);
    z-index: 2;
    -webkit-text-stroke: 4px #000000;
    color: transparent;
}
.banner .content .author{
    font-family: Poppins;
    text-align: right;
    max-width: 200px;
    color: #ffffff;
}
.banner .content h2{
    font-size: 3em;
}
.banner .content .model{
    background-image: url("../images/model.png");
    width: 100%;
    height: 85vh;
    position: absolute;
    bottom: 0;
    left: 0;
    background-size: auto 130%;
    background-repeat: no-repeat;
    background-position: top center;
    z-index: 1;
}
@media screen and (max-width: 1023px) {
    .banner .slider{
        width: 160px;
        height: 200px;
        left: calc(50% - 80px);
    }
    .banner .slider .item{
        transform: 
            rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))
            translateZ(300px);
    }
    .banner .content h1{
        text-align: center;
        width: 100%;
        text-shadow: 0 10px 20px #000;
        font-size: 7em;
    }
    .banner .content .author{
        color: #fff;
        padding: 20px;
        text-shadow: 0 10px 20px #000;
        z-index: 2;
        max-width: unset;
        width: 100%;
        text-align: center;
        padding: 0 30px;
    }
}

/* ===== Diploma overview (Netflix-style layout) ===== */

.awards {
  background: #0e1726;            /* dark section consistent with main service area */
  color: #eef2f8;
  padding: 32px 20px 60px;
}

.awards-row {
  max-width: 1300px;
  margin: 0 auto 28px;
}

.row-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  margin: 0 0 10px;
}

.row-header h2 {
  font-size: clamp(20px, 2.4vw, 28px);
  margin: 0;
  letter-spacing: .2px;
}

.row-actions {
  display: flex;
  gap: 8px;
}

.row-btn {
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.row-btn:hover { background: rgba(255,255,255,.12); }

/* Horizontal scroller for award cards */
.awards .cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(240px, 26vw, 300px);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 2px 12px;
}
.cards::-webkit-scrollbar { height: 10px; }
.cards::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.15);
  border-radius: 20px;
}

.card {
  scroll-snap-align: start;
  background: #111827;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(42,166,218,.66);
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
}

.card .thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}
.card .thumb .badge.remaining {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: linear-gradient(180deg, #2aa6da, #0076b5);
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0,0,0,.35);
}

.card .meta {
  display: grid;
  gap: 8px;
  padding: 12px 12px 14px;
}

.card .title {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

.card .desc {
  margin: 0;
  color: #b9c2d0;
  font-size: 14px;
  min-height: 2.6em; /* enforce at least two lines of text */
}

.progress {
  display: grid;
  gap: 6px;
}
.progress .bar {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  overflow: hidden;
}
.progress .fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #63a4d7, #2aa6da);
  border-radius: 999px;
  transition: width .5s ease;
}
.progress .numbers {
  font-size: 12px;
  color: #9ea7b3;
}

.actions {
  display: flex;
  gap: 8px;
  margin-top: 2px;
}
.actions .primary,
.actions .ghost {
  flex: 1;
  text-align: center;
  font-size: 14px;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.actions .primary {
  color: #fff;
  background: linear-gradient(180deg, #2aa6da, #0076b5);
  border: 1px solid rgba(255,255,255,.1);
}
.actions .primary:hover { transform: translateY(-1px); }
.actions .ghost {
  color: #eef2f8;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}
.actions .ghost:hover { background: rgba(255,255,255,.12); }

@media (max-width: 700px) {
  .awards .cards { grid-auto-columns: 82%; }
}


@media screen and (max-width: 767px) {
    .banner .slider{
        width: 100px;
        height: 150px;
        left: calc(50% - 50px);
    }
    .banner .slider .item{
        transform: 
            rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))
            translateZ(180px);
    }
    .banner .content h1{
        font-size: 5em;
    }

@keyframes shine {
  0% {
    background-position: 100%;
  }
  100% {
    background-position: -100%;
  }
}

.shiny-text.disabled {
  animation: none;
}
}
