/*-----------------------------------*\
  #style.css
  Author: codewithsadee
  Updated: 2025
\*-----------------------------------*/

/*-----------------------------------*\
  #CUSTOM PROPERTIES
\*-----------------------------------*/
:root {
  /* Colors */
  --rich-black-fogra-29_50: hsla(230, 35%, 12%, 0.5);
  --rich-black-fogra-29-1: hsl(230, 35%, 12%);
  --rich-black-fogra-29-2: hsl(230, 35%, 8%);
  --silver-metallic: hsl(220, 20%, 73%);
  --coquelicot_20: hsla(19, 89%, 54%, 0.2);
  --coquelicot_10: hsla(19, 89%, 54%, 0.1);
  --coquelicot: hsl(19, 89%, 54%);
  --sonic-silver: hsl(0, 0%, 42%);
  --cadet-gray: hsl(230, 30%, 68%);
  --light-gray: hsl(0, 0%, 87%);
  --gainsboro: hsl(0, 0%, 97%);
  --white_20: hsla(0, 0%, 97%, 0.2);
  --white_10: hsla(0, 0%, 97%, 0.1);
  --black_10: hsla(0, 0%, 0%, 0.1);
  --white: hsl(0, 0%, 100%);


  /* Typography */
  --ff-catamaran: 'Catamaran', sans-serif;
  --ff-rubik: 'Rubik', sans-serif;
  --fs-1: 3.8rem;
  --fs-2: 3rem;
  --fs-3: 2.5rem;
  --fs-4: 2rem;
  --fs-5: 1.8rem;
  --fs-6: 1.5rem;
  --fw-900: 900;
  --fw-800: 800;
  --fw-700: 700;
  --fw-500: 500;

  /* Spacing */
  --section-spacing: 40px; /* Reduced from 80px to bring sections closer */
  --section-spacing-large: 50px; /* Slightly larger for larger screens */

  /* Shadows */
  --shadow-1: 0 0 20px var(--black_10);
  --shadow-2: 0px 10px 24px var(--coquelicot_20);

  /* Border Radius */
  --radius-10: 10px;
  --radius-8: 8px;
  --radius-5: 5px;

  /* Transitions */
  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);
}

/*-----------------------------------*\
  #RESET
\*-----------------------------------*/
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li { list-style: none; }

a {
  text-decoration: none;
  color: inherit;
}

a,
img,
span,
input,
button,
strong,
ion-icon { display: block; }

img { height: auto; }

input,
button {
  background: none;
  border: none;
  font: inherit;
}

input { width: 100%; }

button { cursor: pointer; }

ion-icon { pointer-events: none; }

address { font-style: normal; }

html {
  font-family: var(--ff-rubik);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--sonic-silver);
  font-size: 1.6rem;
  line-height: 1.6;
}

:focus-visible { outline-offset: 4px; }

::-webkit-scrollbar { width: 5px; }

::-webkit-scrollbar-track { background-color: var(--light-gray); }

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

::-webkit-scrollbar-thumb:hover { background-color: var(--rich-black-fogra-29-1); }

/*-----------------------------------*\
  #REUSED STYLES
\*-----------------------------------*/
.container { padding-inline: 15px; }

.section { padding-block: var(--section-spacing); }

.bg-dark {
  background-color: var(--rich-black-fogra-29-1);
  color: var(--silver-metallic);
}

.has-bg-image {
  background-repeat: no-repeat;
  background-position: top left;
}

.has-before,
.has-after {
  position: relative;
  z-index: 1;
}

.has-before::before,
.has-after::after {
  content: "";
  position: absolute;
}

.h1,
.h2,
.h3 {
  font-family: var(--ff-catamaran);
  line-height: 1.25;
}

.h1 {
  color: var(--white);
  font-size: var(--fs-1);
  font-weight: var(--fw-900);
}

.h2,
.h3 {
  color: var(--rich-black-fogra-29-1);
  font-weight: var(--fw-800);
}

.h2 { font-size: var(--fs-2); }

.h3 { font-size: var(--fs-4); }

.section-text { font-size: var(--fs-6); }

.btn {
  max-width: max-content;
  font-size: var(--fs-6);
  text-transform: uppercase;
  font-weight: var(--fw-500);
  padding: 15px 35px;
  border-radius: var(--radius-8);
  transition: var(--transition-1);
}

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

.btn-primary:is(:hover, :focus) {
  background-color: var(--white);
  color: var(--coquelicot);
  box-shadow: var(--shadow-2);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--coquelicot);
}

.btn-secondary:is(:hover, :focus) { background-color: var(--rich-black-fogra-29-1); }

.w-100 {
  width: 100%;
  margin-left: 4em;
  margin-top: -5em;
}

.circle,
.abs-img { position: absolute; }

.circle {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -56%);
  width: 130%;
  z-index: -1;
  animation: rotate360 15s linear infinite;
}

@keyframes rotate360 {
  0% { transform: translate(-50%, -56%) rotate(0); }
  100% { transform: translate(-50%, -56%) rotate(1turn); }
}

.circle-2 { animation-direction: reverse; }

.hero-subtitle,
.section-subtitle {
  font-family: var(--ff-catamaran);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  max-width: max-content;
}

.section-subtitle {
  background-color: var(--coquelicot_10);
  color: var(--coquelicot);
  padding: 8px 20px;
  border-radius: var(--radius-8);
  margin: 0 auto; /* Centered by default */
}

.section-title { margin-block: 18px 35px; }

.btn-link {
  --color: var(--white);
  color: var(--color);
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  text-transform: uppercase;
  max-width: max-content;
  transition: var(--transition-1);
}

.btn-link::before {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color);
  transition: var(--transition-1);
}

.btn-link:is(:hover, :focus) { --color: var(--coquelicot); }

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

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: var(--light-gray);
  overflow: hidden;
}

.has-scrollbar {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  padding-block-end: 30px;
  scroll-snap-type: inline mandatory;
}

.scrollbar-item {
  min-width: 100%;
  scroll-snap-align: start;
}

.has-scrollbar::-webkit-scrollbar { height: 10px; }

.has-scrollbar::-webkit-scrollbar-track,
.has-scrollbar::-webkit-scrollbar-thumb { border-radius: 50px; }

.has-scrollbar::-webkit-scrollbar-thumb:hover { background-color: var(--coquelicot); }

.has-scrollbar::-webkit-scrollbar-button { width: calc(25% - 25px); }

/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/
.header .btn { display: none; }

.header {
  background-color: transparent;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding-block: 10px;
  box-shadow: var(--shadow-1);
  z-index: 4;
  transition: background-color var(--transition-1);
}

.header.active {
  background-color: var(--rich-black-fogra-29-1);
  box-shadow: var(--shadow-1);
}

.header > .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: block;
  width: 150px;
  height: auto;
}

.logo img {
  width: 150%;
  height: 150%;
  object-fit: contain;
}

.logo .light-logo { display: block; }

.logo .dark-logo { display: none; }

.header.active .logo .light-logo { display: none; }

.header.active .logo .dark-logo { display: block; }

.nav-open-btn {
  background-color: var(--coquelicot);
  padding: 20px 15px;
  border-radius: var(--radius-8);
}

.nav-open-btn .line {
  background-color: var(--white);
  width: 30px;
  height: 3px;
}

.nav-open-btn .line:not(:last-child) { margin-block-end: 6px; }

.nav-open-btn .line:nth-child(2) {
  width: 25px;
  margin-inline-start: auto;
}

.navbar {
  background-color: var(--rich-black-fogra-29-1);
  background-image: url('../images/classes-bg.png');
  color: var(--white);
  position: fixed;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  visibility: hidden;
  transition: 0.25s var(--cubic-in);
}

.navbar.active {
  visibility: visible;
  transform: translateY(-100%);
  transition: 0.5s var(--cubic-out);
}

.nav-close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background-color: var(--rich-black-fogra-29-1);
  color: var(--white);
  font-size: 40px;
  padding: 10px;
  border-radius: var(--radius-8);
}

.navbar-link {
  font-family: var(--ff-catamaran);
  font-size: var(--fs-4);
  text-align: center;
  padding-block: 10px;
  margin-block-end: 20px;
  transition: var(--transition-1);
}

.navbar-link:is(:hover, :focus, .active) { color: var(--coquelicot); }

/* Hero Section Styles */
.hero {
  color: var(--cadet-gray);
  text-align: center;
  padding-block-start: calc(var(--section-spacing) + 80px);
  padding-block-end: 0;
  overflow: hidden;
}

.hero-content {
  margin-block-end: 50px;
}

.hero-subtitle {
  background-color: var(--white_10);
  color: var(--white);
  margin-inline: auto;
  padding: 5px;
  padding-inline-end: 15px;
  border-radius: var(--radius-8);
}

.hero-subtitle .strong {
  display: inline-block;
  background-color: var(--coquelicot);
  padding: 2px 15px;
  margin-inline-end: 15px;
  border-radius: var(--radius-5);
}

.hero-title {
  margin-block: 30px 8px;
}

.hero .section-text {
  margin-block-end: 40px;
}

.hero .btn {
  margin-inline: auto;
}

.hero-banner {
  position: relative;
}

.circle,
.metric {
  position: absolute;
}

.circle {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -56%);
  width: 130%;
  z-index: -1;
  animation: rotate360 15s linear infinite;
}

@keyframes rotate360 {
  0% { transform: translate(-50%, -56%) rotate(0); }
  100% { transform: translate(-50%, -56%) rotate(1turn); }
}

.circle-2 {
  animation-direction: reverse;
}

/* Metric Styles */
.metric {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--ff-catamaran);
  font-size: var(--fs-4);
  font-weight: var(--fw-700);
  text-shadow: 0 0 12px hsla(19, 89%, 54%, 0.6);
  z-index: 1;
  opacity: 0;
}

.metric ion-icon {
  font-size: 36px;
  color: var(--coquelicot);
  filter: drop-shadow(0 0 6px hsla(19, 89%, 54%, 0.8));
}

.metric span {
  transition: opacity 0.3s ease;
}

/* Positioning Metrics (All start from the same points) */
.metric-top-kcal,
.metric-top-steps,
.metric-top-bpm {
  top: 32%;
  right: 4%;
}

.metric-bottom-minutes,
.metric-bottom-distance,
.metric-bottom-sleep {
  bottom: 60%;
  right: 7%;
}

/* Sequential Animations for Metrics */
.metric-top-kcal {
  animation: emergeTopRight 3s ease-in-out 0s infinite;
}

.metric-top-steps {
  animation: emergeTopCenter 3s ease-in-out 1s infinite;
}

.metric-top-bpm {
  animation: emergeTopLeft 3s ease-in-out 2s infinite;
}

.metric-bottom-minutes {
  animation: emergeBottomRight 3s ease-in-out 0s infinite;
}

.metric-bottom-distance {
  animation: emergeBottomCenter 3s ease-in-out 1s infinite;
}

.metric-bottom-sleep {
  animation: emergeBottomLeft 3s ease-in-out 2s infinite;
}

@keyframes emergeTopLeft {
  0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
  33.33% { opacity: 1; transform: translate(-80px, -80px) scale(1); }
  66.67% { opacity: 0; transform: translate(-80px, -80px) scale(1); }
  100% { opacity: 0; transform: translate(-80px, -80px) scale(1); }
}

@keyframes emergeTopCenter {
  0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
  33.33% { opacity: 1; transform: translate(0, -100px) scale(1); }
  66.67% { opacity: 0; transform: translate(0, -100px) scale(1); }
  100% { opacity: 0; transform: translate(0, -100px) scale(1); }
}

@keyframes emergeTopRight {
  0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
  33.33% { opacity: 1; transform: translate(80px, -80px) scale(1); }
  66.67% { opacity: 0; transform: translate(80px, -80px) scale(1); }
  100% { opacity: 0; transform: translate(80px, -80px) scale(1); }
}

@keyframes emergeBottomLeft {
  0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
  33.33% { opacity: 1; transform: translate(-80px, 80px) scale(1); }
  66.67% { opacity: 0; transform: translate(-80px, 80px) scale(1); }
  100% { opacity: 0; transform: translate(-80px, 80px) scale(1); }
}

@keyframes emergeBottomCenter {
  0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
  33.33% { opacity: 1; transform: translate(0, 100px) scale(1); }
  66.67% { opacity: 0; transform: translate(0, 100px) scale(1); }
  100% { opacity: 0; transform: translate(0, 100px) scale(1); }
}

@keyframes emergeBottomRight {
  0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
  33.33% { opacity: 1; transform: translate(80px, 80px) scale(1); }
  66.67% { opacity: 0; transform: translate(80px, 80px) scale(1); }
  100% { opacity: 0; transform: translate(80px, 80px) scale(1); }
}

/* Tablet Adjustments */
@media (max-width: 768px) {
  .metric {
    font-size: 1.6rem;
  }

  .metric ion-icon {
    font-size: 28px;
  }

  .metric-top-kcal,
  .metric-top-steps,
  .metric-top-bpm {
    top: 35%;
    right: 8%;
  }

  .metric-bottom-minutes,
  .metric-bottom-distance,
  .metric-bottom-sleep {
    bottom: 55%;
    right: 10%;
  }

  @keyframes emergeTopLeft {
    0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
    33.33% { opacity: 1; transform: translate(-60px, -60px) scale(1); }
    66.67% { opacity: 0; transform: translate(-60px, -60px) scale(1); }
    100% { opacity: 0; transform: translate(-60px, -60px) scale(1); }
  }

  @keyframes emergeTopCenter {
    0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
    33.33% { opacity: 1; transform: translate(0, -80px) scale(1); }
    66.67% { opacity: 0; transform: translate(0, -80px) scale(1); }
    100% { opacity: 0; transform: translate(0, -80px) scale(1); }
  }

  @keyframes emergeTopRight {
    0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
    33.33% { opacity: 1; transform: translate(60px, -60px) scale(1); }
    66.67% { opacity: 0; transform: translate(60px, -60px) scale(1); }
    100% { opacity: 0; transform: translate(60px, -60px) scale(1); }
  }

  @keyframes emergeBottomLeft {
    0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
    33.33% { opacity: 1; transform: translate(-60px, 60px) scale(1); }
    66.67% { opacity: 0; transform: translate(-60px, 60px) scale(1); }
    100% { opacity: 0; transform: translate(-60px, 60px) scale(1); }
  }

  @keyframes emergeBottomCenter {
    0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
    33.33% { opacity: 1; transform: translate(0, 80px) scale(1); }
    66.67% { opacity: 0; transform: translate(0, 80px) scale(1); }
    100% { opacity: 0; transform: translate(0, 80px) scale(1); }
  }

  @keyframes emergeBottomRight {
    0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
    33.33% { opacity: 1; transform: translate(60px, 60px) scale(1); }
    66.67% { opacity: 0; transform: translate(60px, 60px) scale(1); }
    100% { opacity: 0; transform: translate(60px, 60px) scale(1); }
  }
}

/* Mobile Adjustments */
@media (max-width: 480px) {
  .metric {
    font-size: 1.4rem;
  }

  .metric ion-icon {
    font-size: 24px;
  }

  .metric-top-kcal,
  .metric-top-steps,
  .metric-top-bpm {
    top: 38%;
    right: 0%;
  }

  .metric-bottom-minutes,
  .metric-bottom-distance,
  .metric-bottom-sleep {
    bottom: 50%;
    right: 0%;
  }

  @keyframes emergeTopLeft {
    0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
    33.33% { opacity: 1; transform: translate(-50px, -50px) scale(1); }
    66.67% { opacity: 0; transform: translate(-50px, -50px) scale(1); }
    100% { opacity: 0; transform: translate(-50px, -50px) scale(1); }
  }

  @keyframes emergeTopCenter {
    0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
    33.33% { opacity: 1; transform: translate(-20px, -60px) scale(1); }
    66.67% { opacity: 0; transform: translate(-20px, -60px) scale(1); }
    100% { opacity: 0; transform: translate(-20px, -60px) scale(1); }
  }

  @keyframes emergeTopRight {
    0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
    33.33% { opacity: 1; transform: translate(0, -60px) scale(1); }
    66.67% { opacity: 0; transform: translate(0, -60px) scale(1); }
    100% { opacity: 0; transform: translate(0, -60px) scale(1); }
  }

  @keyframes emergeBottomLeft {
    0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
    33.33% { opacity: 1; transform: translate(-50px, 50px) scale(1); }
    66.67% { opacity: 0; transform: translate(-50px, 50px) scale(1); }
    100% { opacity: 0; transform: translate(-50px, 50px) scale(1); }
  }

  @keyframes emergeBottomCenter {
    0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
    33.33% { opacity: 1; transform: translate(-20px, 60px) scale(1); }
    66.67% { opacity: 0; transform: translate(-20px, 60px) scale(1); }
    100% { opacity: 0; transform: translate(-20px, 60px) scale(1); }
  }

  @keyframes emergeBottomRight {
    0% { opacity: 0; transform: translate(0, 0) scale(0.5); }
    33.33% { opacity: 1; transform: translate(0, 60px) scale(1); }
    66.67% { opacity: 0; transform: translate(0, 60px) scale(1); }
    100% { opacity: 0; transform: translate(0, 60px) scale(1); }
  }
}   
/*-----------------------------------*\
  #TRANSFORMATIONS
\*-----------------------------------*/
.transformations .section-subtitle { 
  margin-inline: auto; 
  text-align: center;
  color: var(--white);
}

.transformations-list {
  scroll-behavior: smooth;
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 20px;
}

.transformation-item {
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
  min-width: 300px;
  flex-shrink: 0;
}

.transformation-item:hover {
  transform: scale(1.05);
}

.transformation-item:focus {
  outline: 2px solid var(--bittersweet);
  outline-offset: 2px;
}

.img-transf-cover {
  width: 100%;
  height: 600px;
  object-fit: fill;
  display: block;
  max-height: 100%;
  border-radius: 10px;
  transition: filter 0.3s ease;
}

.transformation-item:hover .img-transf-cover {
  filter: brightness(70%);
}

.transformation-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.transformation-item:hover .transformation-overlay,
.transformation-item:focus .transformation-overlay {
  opacity: 1;
}

.play-icon {
  font-size: 48px;
  color: var(--bittersweet);
  margin-bottom: 10px;
  animation: pulse 2s infinite;
}

.transformation-cta {
  font-family: 'Rubik', sans-serif;
  font-size: 1.2em;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.transformation-item.video::after {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--bittersweet);
  color: var(--white);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.9em;
  font-family: 'Rubik', sans-serif;
}

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

.scrollbar-item {
  height: 600px;
  overflow: hidden;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.9);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.open {
  display: block;
  opacity: 1;
}

.modal-content {
  background-color: var(--white);
  margin: 30vh auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  position: relative;
  box-sizing: border-box;
  transform: scale(0.7);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.modal.open .modal-content {
  transform: scale(1);
  opacity: 1;
}

.close-btn {
  color: #333;
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

.close-btn:hover,
.close-btn:focus {
  color: #000;
}

.modal-body {
  display: flex;
  flex-direction: row;
  gap: 10px; /* Reduced gap to bring media and text closer */
  align-items: flex-start;
}

.modal-media {
  flex: 1;
  width: 100%;
  max-width: 50%;
  display: flex; /* Added to center content */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
}

.modal-text {
  flex: 1;
  width: 100%;
  max-width: 50%;
  padding: 10px;
}

#modalVideo {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  display: block;
}

#modalImage {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  display: block;
}

.modal-text h3 {
  margin: 0 0 10px;
  color: #333;
  font-size: 1.5em;
}

.modal-text p {
  margin: 8px 0;
  font-size: 1em;
}

.modal-text blockquote {
  font-style: italic;
  color: #666;
  border-left: 4px solid #ddd;
  padding-left: 15px;
  margin: 10px 0;
  font-size: 1em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .modal-body {
    flex-direction: column;
    align-items: center;
    gap: 10px; /* Maintain reduced gap on mobile */
  }
  .modal-media, .modal-text {
    max-width: 100%;
  }
  .modal-media {
    justify-content: center; /* Ensure centering on mobile */
    align-items: center;
  }
  .transformation-overlay {
    opacity: 0.7; /* Slightly visible on mobile for touch devices */
  }
  .transformation-item {
    min-width: 250px; /* Smaller min-width for mobile */
  }
}

/*-----------------------------------*\
  #TRAINERS
\*-----------------------------------*/
.trainers .section-subtitle { margin-inline: auto; }

.trainers-list {
  scroll-behavior: smooth;
}

.trainer-img {
  border-radius: 20px;
  display: block;
  transition: transform var(--transition-2);
}

.scrollbar-item:hover .trainer-img {
  transform: scale(1.05);
}

.img-cover {
  height: 100%;
  object-fit: cover;
}

/*-----------------------------------*\
  #REDEFINE PROGRESS
\*-----------------------------------*/
.redefine-progress {
  padding: 0;
  margin: 0;
  width: 100%;
  background-repeat: no-repeat;
  background-position: top left;
  overflow-x: hidden;
}

.progress-container {
  padding: 60px 15px;
  padding-bottom: 30px;
  position: relative;
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
}

.progress-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

 

 

.progress-intro {
  font-size: 1.8rem;
  line-height: 1.6;
  color: var(--silver-metallic);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  font-family: var(--ff-rubik);
  font-weight: var(--fw-400);
}

.progress-intro:not(:last-of-type) {
  margin-bottom: 20px; /* Space between the two paragraphs */
}

.progress-intro em {
  font-style: italic;
  position: relative;
  display: inline-block;
  font-weight: var(--fw-500);
}

.progress-intro em::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--coquelicot), transparent);
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.progress-intro em:hover::after {
  opacity: 1;
}

.word-cloud {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px 0;
}

.word-cloud-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.word {
  font-family: var(--ff-catamaran);
  font-weight: var(--fw-800);
  text-transform: uppercase;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  text-align: center;
}

.word:hover {
  color: var(--coquelicot);
  transform: scale(1.05);
}

.word-separator {
  color: var(--coquelicot);
  font-size: 2.5rem;
  font-weight: var(--fw-700);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}

.word-separator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--coquelicot),
    transparent
  );
  animation: separatorGlow 2s ease-in-out infinite;
}

.word-separator::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 8px;
  height: 8px;
  background: var(--coquelicot);
  border-radius: 50%;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.word-separator:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 0.8;
}

@keyframes separatorGlow {
  0%, 100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scaleY(0.8);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scaleY(1);
  }
}

.word-1 {
  font-size: 2.6rem;
 }

.word-2 {
  font-size: 4.5rem;
  color: var(--coquelicot);
  font-weight: var(--fw-900);
}

.word-3 {
  font-size: 2.2rem;
}

.word-4 {
  font-size: 4rem;
  color: var(--coquelicot);
  font-weight: var(--fw-900);
}

.word-5 {
  font-size: 2rem;
}

.word-6 {
  font-size: 3.5rem;
  color: var(--coquelicot);
  font-weight: var(--fw-900);
}

.word-7 {
  font-size: 2.2rem;
}

.word-8 {
  font-size: 3.8rem;
  color: var(--coquelicot);
  font-weight: var(--fw-900);
}

.word-9 {
  font-size: 2rem;
}

.word-10 {
  font-size: 5rem;
  color: var(--coquelicot);
  font-weight: var(--fw-900);
  font-style: italic;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .progress-intro {
    font-size: 1.6rem;
    max-width: 90%;
  }

  .word-cloud {
    gap: 15px;
    padding: 30px 0;
  }

  .word-cloud-row {
    gap: 15px;
  }

  .word-1 { font-size: 2.8rem; }
  .word-2 { font-size: 3.5rem; }
  .word-3 { font-size: 1.9rem; }
  .word-4 { font-size: 3.2rem; }
  .word-5 { font-size: 1.8rem; }
  .word-6 { font-size: 2.8rem; }
  .word-7 { font-size: 1.9rem; }
  .word-8 { font-size: 3rem; }
  .word-9 { font-size: 1.8rem; }
  .word-10 { font-size: 4rem; }
}

@media (max-width: 480px) {
  .progress-intro {
    font-size: 1.5rem;
  }

  .word-cloud {
    gap: 10px;
    padding: 20px 0;
  }

  .word-cloud-row {
    gap: 10px;
    flex-direction: column;
  }

  .word-separator {
    display: none; /* Hide separator on mobile for better readability */
  }

  .word-1 { font-size: 2.6rem; }
  .word-2 { font-size: 3rem; }
  .word-3 { font-size: 1.7rem; }
  .word-4 { font-size: 2.8rem; }
  .word-5 { font-size: 1.6rem; }
  .word-6 { font-size: 2.5rem; }
  .word-7 { font-size: 1.7rem; }
  .word-8 { font-size: 2.6rem; }
  .word-9 { font-size: 1.6rem; }
  .word-10 { font-size: 3.5rem; }
}
/*-----------------------------------*\
  #CONTACT
\*-----------------------------------*/
.contact {
  padding-block: var(--section-spacing);
  padding-top: 30px; /* Reduced top padding */
}

.contact-content {
  display: grid;
  gap: 50px;
  margin-block-end: 40px;
}

.contact-info .section-subtitle {
  margin-inline: 0;
}

.contact-info .section-title {
  color: var(--rich-black-fogra-29-1);
}

.contact-list {
  margin-block-start: 25px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-block-end: 20px;
}



.contact-item .icon {
  background-color: var(--coquelicot);
  color: var(--white);
  font-size: 24px;
  padding: 8px;
  border-radius: 50%;
}

.contact-text {
  font-size: var(--fs-6);
  color: var(--sonic-silver);
}

.contact-text a {
  color: var(--rich-black-fogra-29-1);
  transition: var(--transition-1);
}

.contact-text a:is(:hover, :focus) {
  color: var(--coquelicot);
}

.contact-form .input-field {
  background-color: var(--white);
  border: 1px solid var(--light-gray);
  padding: 15px 20px;
  margin-block-end: 20px;
  border-radius: var(--radius-10);
  font-size: var(--fs-6);
  color: var(--rich-black-fogra-29-1);
}

.contact-form .input-field::placeholder {
  color: var(--sonic-silver);
}

.contact-form textarea.input-field {
  height: 150px;
  resize: vertical;
}

.contact-form .btn-primary {
  width: max-content;
  margin-inline: 0;
}

.success-message {
  display: none;
  align-items: center;
  gap: 10px;
  background-color: var(--coquelicot_10);
  color: var(--coquelicot);
  padding: 15px 20px;
  border-radius: var(--radius-10);
  margin-block-start: 20px;
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
}

.success-message .check-icon {
  font-size: 20px;
}

.contact-map iframe {
  width: 100%;
  border-radius: var(--radius-10);
}

/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/
.footer { font-size: var(--fs-6); }

.footer-top .container {
  display: grid;
  gap: 50px;
}

.footer .logo { color: var(--white); }

.footer-brand-text { margin-block: 25px; }

.footer-top .wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 20px;
}

.footer-brand-list li:not(:last-child) { margin-block-end: 15px; }

.footer-brand-title,
.footer-list-title {
  color: var(--white);
  font-family: var(--ff-catamaran);
}

.footer-list-title {
  font-size: var(--fs-4);
  font-weight: var(--fw-800);
  margin-block-end: 28px;
}

.footer-list-title::before {
  bottom: 0;
  width: 70px;
  height: 1px;
  background-color: var(--coquelicot);
}

.footer-list > li:not(:first-child) { margin-block-start: 12px; }

.footer-link { transition: var(--transition-1); }

.footer-link:not(.address):is(:hover, :focus) { color: var(--coquelicot); }

.footer-list-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
}

.footer-list-item .icon {
  background-color: var(--coquelicot);
  color: var(--white);
  font-size: 24px;
  padding: 8px;
  border-radius: 50px;
}

.footer-form {
  position: relative;
  margin-block-end: 30px;
}

.footer-form .input-field {
  background-color: var(--white);
  color: var(--rich-black-fogra-29-1);
  padding-block: 18px;
  padding-inline: 30px 80px;
  border-radius: var(--radius-10);
}

.footer-form .btn {
  position: absolute;
  top: 5px;
  right: 5px;
  bottom: 5px;
  padding: 0;
  font-size: 26px;
  padding-inline: 12px;
}

.footer-form .btn-primary:is(:hover, :focus) {
  background-color: var(--rich-black-fogra-29-1);
  color: var(--white);
  box-shadow: none;
}

.social-list {
  display: flex;
  gap: 15px;
}

.social-link {
  background-color: var(--white_20);
  color: var(--white);
  padding: 13px;
  border-radius: 50%;
  transition: var(--transition-1);
}

.social-link:is(:hover, :focus) { background-color: var(--coquelicot); }

.footer-bottom {
  background-color: var(--rich-black-fogra-29-2);
  color: var(--white);
  text-align: center;
  padding-block: 15px;
}

.copyright-link {
  display: inline-block;
  color: var(--coquelicot);
}

.footer-bottom-list {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-block-start: 10px;
}

.footer-bottom-link {
  padding-inline-start: 20px;
  transition: var(--transition-1);
}

.footer-bottom-link::before {
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 10px;
  height: 10px;
  background-color: var(--coquelicot);
  border-radius: 50%;
}

.footer-bottom-link:is(:hover, :focus) { color: var(--coquelicot); }

/*-----------------------------------*\
  #BACK TO TOP
\*-----------------------------------*/
.back-top-btn {
  position: fixed;
  bottom: 20px;
  right: 40px;
  background-color: var(--coquelicot);
  color: var(--rich-black-fogra-29-1);
  font-size: 20px;
  padding: 11px;
  border-radius: 50%;
  border: 2px solid var(--rich-black-fogra-29-1);
  visibility: hidden;
  opacity: 0;
  transition: var(--transition-1);
  z-index: 4;
}

.back-top-btn.active {
  visibility: visible;
  opacity: 1;
  transform: translateY(-10px);
}

/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/
/* Larger than 575px */
@media (min-width: 575px) {
  :root {
    --fs-1: 5.8rem;
    --fs-2: 4rem;
  }

  .container {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }

  .hero-subtitle,
  .section-subtitle { font-size: var(--fs-5); }

  .header .container {
    max-width: unset;
    padding-inline: 30px;
  }

  .hero-content { padding-inline: 40px; }

  .hero-subtitle .strong { padding-block: 6px; }

  .hero::after { height: 340px; }

  .abs-img-1 {
    top: 130px;
    right: -10px;
    width: 230px;
  }

  .abs-img-2 {
    bottom: 56px;
    left: 262px;
    width: 310px;
  }

  .footer-top .container {
    grid-template-columns: 1fr 1fr;
    column-gap: 25px;
  }

  .modal-content {
    width: 85%;
    max-height: 85vh;
  }

  .modal-body {
    flex-direction: column;
    align-items: center;
  }

  .modal-media,
  .modal-text {
    max-width: 100%;
    width: 100%;
  }

  #modalVideo,
  #modalImage {
    max-height: 350px;
  }
}

/* Larger than 768px */
@media (min-width: 768px) {
  :root {
    --fs-2: 4.5rem;
  }

  .container { max-width: 720px; }

  .scrollbar-item { min-width: calc(50% - 12.5px); }

  .hero-banner {
    max-width: max-content;
    margin-inline: auto;
  }

  .abs-img-1 {
    top: 40px;
    right: 270px;
  }

  .footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer-bottom-list { margin-block-start: 0; }

  .rolla-partnership {
    padding: 60px 0;
  }

  .rolla-content {
    flex-direction: column;
    gap: 30px;
  }

  .rolla-text {
    padding-right: 0;
  }

  .rolla-carousel {
    height: 400px;
  }

  .carousel-img {
    height: 70%;
  }

  .rolla-benefits {
    grid-template-columns: 1fr;
  }

  .progress-container {
    padding: 60px 15px;
  }

  .word-cloud {
    gap: 15px;
    padding: 30px 0;
  }

  .word-cloud-row {
    gap: 20px;
  }

  .word-1 { font-size: 2.8rem; }
  .word-2 { font-size: 3.5rem; }
  .word-3 { font-size: 1.9rem; }
  .word-4 { font-size: 3.2rem; }
  .word-5 { font-size: 1.8rem; }
  .word-6 { font-size: 2.8rem; }
  .word-7 { font-size: 1.9rem; }
  .word-8 { font-size: 3rem; }
  .word-9 { font-size: 1.8rem; }
  .word-10 { font-size: 4rem; }
}

/* Larger than 992px */
@media (min-width: 992px) {
  .container,
  .header .container { max-width: 960px; }

  .nav-open-btn,
  .nav-close-btn { display: none; }

  .header .btn { display: block; }

  .header {
    background-color: transparent;
    box-shadow: none;
    padding-block: 30px;
    transition: var(--transition-1);
  }

  .header.active {
    transform: translateY(-100%);
    background-color: var(--rich-black-fogra-29-1);
    z-index: 1000;

    padding-block: 20px;
    box-shadow: var(--shadow-1);
    animation: slideIn 0.5s ease forwards;
  }

  @keyframes slideIn {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(0); }
  }

  .header .container { gap: 30px; }

  .header .logo { color: var(--white); }

  .header.active .logo { color: var(--rich-black-fogra-29-1); }

  .navbar,
  .navbar.active {
    all: unset;
    margin-inline-start: auto;
  }

  .navbar-list {
    display: flex;
    gap: 10px;
  }

  .navbar-link {
    color: var(--white);
    font-size: unset;
    padding: 0 10px;
    margin-block-end: 0;
  }

  .header.active .navbar-link { color: var(--white); }

  .header .navbar-link:is(:hover, :focus, .active) { color: var(--coquelicot); }

  .header.active .btn {
    background-color: var(--coquelicot);
    color: var(--white);
  }

  .header.active .btn:is(:hover, :focus) { background-color: var(--rich-black-fogra-29-1); }

  .hero {
    background-size: contain;
    text-align: left;
  }

  .hero::before {
    content: "";
    position: absolute;
    top: -1000px;
    left: -500px;
    width: 1500px;
    height: 1500px;
    background-image: radial-gradient(circle, var(--coquelicot_20) 20%, transparent 70% 100%);
    z-index: -1;
  }

  .hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 25px;
  }

  .hero-content {
    padding-inline: 0;
    margin-block-end: 0;
  }

  .hero-subtitle,
  .hero .btn { margin-inline: 0; }

  .hero::after {
    width: 330px;
    height: 100%;
    left: auto;
    right: 0;
  }

  .footer-top .container {
    grid-template-columns: 0.85fr 0.5fr 1fr 0.85fr;
    column-gap: 50px;
  }

  .contact-content {
    grid-template-columns: 1fr 1fr;
    align-items: flex-start;
  }

  .rolla-content {
    flex-direction: row;
    align-items: center;
    gap: 80px;
  }

  .rolla-text {
    flex: 1;
    text-align: left;
    padding-right: 50px;
  }

  .rolla-carousel {
    flex: 1;
    height: 550px;
  }

  .carousel-img {
    height: 85%;
  }

  .modal-content {
    width: 90%;
    max-width: 900px;
  }

  .modal-body {
    flex-direction: row;
    align-items: flex-start;
  }

  .modal-media,
  .modal-text {
    max-width: 50%;
  }
}

/* Larger than 1200px */
@media (min-width: 1200px) {
  :root {
    --fs-1: 7rem;
    --fs-2: 5.5rem;
    --fs-4: 2.2rem;
    --fs-5: 2rem;
    --section-spacing: 50px; /* Adjusted for larger screens */
  }

  .container,
  .header .container { max-width: 1140px; }

  .btn {
    padding: 18px 45px;
    border-radius: var(--radius-10);
  }

  .section-subtitle { --fs-5: 2.2rem; }

  .has-scrollbar { gap: 30px; }

  .scrollbar-item { min-width: calc(33.33% - 20px); }

  .header .container { padding-inline: 0; }

  .hero::after { width: 420px; }

  .hero .section-text { --fs-6: 1.8rem; }

  .abs-img-1 {
    top: 80px;
    right: 360px;
    width: 260px;
  }

  .abs-img-2 {
    bottom: 70px;
    left: 305px;
    width: 360px;
  }

  .footer-top .container { grid-template-columns: 1fr 0.6fr 0.9fr 1fr; }

  .contact .container { max-width: 1140px; }
}

/* Smaller than 768px for Modal */
@media (max-width: 768px) {
  .modal {
    background-color: rgba(0, 0, 0, 0.95);
  }

  .modal-content {
    margin: 2vh 2vw;
    padding: 15px;
    width: calc(100% - 4vw);
    height: calc(100% - 4vh);
    max-width: none;
    max-height: none;
    border-radius: 8px;
    overflow-y: auto;
  }

  .modal-body {
    flex-direction: column;
    gap: 15px;
    height: 100%;
  }

  .modal-media {
    flex: none;
    width: 100%;
    max-width: 100%;
    height: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .modal-text {
    flex: none;
    width: 100%;
    max-width: 100%;
    padding: 10px;
    height: 50%;
    overflow-y: auto;
  }

  #modalVideo {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
  }

  #modalImage {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
  }

  .modal-text h3 {
    font-size: 1.3em;
  }

  .modal-text p,
  .modal-text blockquote {
    font-size: 0.9em;
  }

  .close-btn {
    top: 10px;
    right: 15px;
    font-size: 28px;
  }
}

/* Smaller than 480px */
@media (max-width: 480px) {
  .modal-text h3 {
    font-size: 1.2em;
  }

  .modal-text p,
  .modal-text blockquote {
    font-size: 0.85em;
  }

  .close-btn {
    font-size: 24px;
  }

  .word-cloud {
    gap: 10px;
    padding: 20px 0;
  }

  .word-cloud-row {
    gap: 15px;
    flex-direction: column;
  }

  .word-1 { font-size: 2.6rem; }
  .word-2 { font-size: 3rem; }
  .word-3 { font-size: 1.7rem; }
  .word-4 { font-size: 2.8rem; }
  .word-5 { font-size: 1.6rem; }
  .word-6 { font-size: 2.5rem; }
  .word-7 { font-size: 1.7rem; }
  .word-8 { font-size: 2.6rem; }
  .word-9 { font-size: 1.6rem; }
  .word-10 { font-size: 3.5rem; }
}




/* Transformations Grid */
.transformations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Increased min width */
  gap: 30px; /* Increased gap for better spacing */
  padding: 30px 0; /* Increased padding */
}

.transformation-item-test {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-10);
  cursor: pointer;
  transition: transform 0.3s ease;
  min-height: 400px; /* Added minimum height for larger cards */
}

.img-transf-cover.transformation-img-test {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 400px; /* Ensure images scale with card height */
}
.transformation-item-test:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .transformations-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Adjusted for medium screens */
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .transformations-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .transformation-item-test {
    min-height: 350px; /* Slightly smaller for mobile */
  }
  .img-transf-cover.transformation-img {
    min-height: 350px;
  }
}





/* Trainers Grid */
.trainers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  padding: 30px 0;
}

.trainer-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-10);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 400px;
}

.trainer-card:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.img-trainer-cover.trainer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 400px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .trainers-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .trainers-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .trainer-card {
    min-height: 350px;
  }
  .img-trainer-cover.trainer-img {
    min-height: 350px;
  }
}




.success-message {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #28a745;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.success-message.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.success-message .check-icon {
  font-size: 1.3rem;
}
















/* Rolla Partnership Section Styles */
.rolla-partnership {
  position: relative;
  background-color: var(--white);
  padding-block: var(--section-spacing);
  overflow: hidden;
}

.rolla-header {
  margin-bottom: 40px;
  text-align: center;
}

.full-width-carousel-section {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 80vh;
  min-height: 600px;
  overflow: hidden;
  border-radius: 0;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.carousel-slide.active {
  opacity: 1;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(255, 102, 0, 0.2) 100%
  );
  z-index: 1;
}

.rolla-logo {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 80px;
  height: auto;
  z-index: 10;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 50%;
  padding: 40px;
  z-index: 5;
  color: white;
}

.slide-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 4.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: white;
}

.slide-content p {
  font-family: 'Roboto', sans-serif;
  font-size: 2rem;
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.device-carousel {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 400px;
  z-index: 6;
}

.device-mockup {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(0.8) rotate(5deg);
}

.device-mockup.active {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.device-mockup img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.carousel-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 10;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.carousel-dot.active {
  background: var(--coquelicot);
  transform: scale(1.3);
  box-shadow: 0 0 15px rgba(255, 102, 0, 0.6);
}

.carousel-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
}

.carousel-arrow {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow:hover {
  background: rgba(255, 102, 0, 0.8);
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .full-width-carousel-section {
    height: 70vh;
    min-height: 450px;
  }

  .rolla-header .section-title {
    font-size: 2.2rem;
  }

  .rolla-header .section-subtitle {
    font-size: 1rem;
    padding: 6px 15px;
  }

  .device-carousel {
    right: 20px;
    width: 220px;
    height: 320px;
  }

  .slide-content {
    padding: 20px;
    right: 40%;
  }

  .slide-content h3 {
    font-size: 1.8rem;
  }

  .slide-content p {
    font-size: 1rem;
    max-width: 90%;
  }

  .rolla-logo {
    width: 60px;
    top: 15px;
    right: 15px;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .full-width-carousel-section {
    height: 60vh;
    min-height: 400px;
  }

  /* Move last slide background image to the left for Jogging Tutorial */
  .carousel-slide:nth-child(3) {
    background-position: right center;
  }

  /* Make device carousel visible and position at bottom-left */
  .device-carousel {
    display: block;
    width: 180px;
    height: 260px;
    right: 0px; /* Position at max left */
    bottom: 10px; /* Position at max bottom */
    top: auto;
    left: auto;
    transform: none; /* Remove previous centering transforms */
  }

  .slide-content {
    position: relative;
    color: white;
    text-align: center;
    padding: 20px;
    padding-bottom: 280px; /* Adjusted to accommodate device carousel */
    right: 0;
    width: 100%;
    bottom: 0;
  }

  .slide-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .slide-content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .rolla-header .section-title {
    font-size: 1.8rem;
  }

  .rolla-header .section-subtitle {
    font-size: 0.9rem;
    padding: 5px 12px;
  }

  .rolla-logo {
    width: 50px;
    top: 10px;
    right: 10px;
  }

  .carousel-arrow {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .carousel-controls {
    bottom: 20px;
    gap: 10px;
  }

  .carousel-dot {
    width: 10px;
    height: 10px;
  }
}
.success-message {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #28a745;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.success-message.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.success-message .check-icon {
  font-size: 1.3rem;
}

.celebration-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #000;
  opacity: 0.8;
  animation: fall 4s linear infinite;
}

.emoji-particle {
  position: absolute;
  font-size: 24px;
  animation: float 3s ease-in-out infinite;
}

.fitness-particle {
  position: absolute;
  font-size: 20px;
  animation: burst 2.5s ease-out infinite;
}

.firework {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: firework 1s ease-out forwards;
}

.success-pulse {
  animation: pulse 0.6s ease-in-out;
}

@keyframes fall {
  0% { transform: translateY(-100vh) rotate(0deg); opacity: 0.8; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

@keyframes float {
  0% { transform: translateY(0) scale(1); opacity: 1; }
  50% { transform: translateY(-20px) scale(1.2); opacity: 0.7; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes burst {
  0% { transform: scale(0); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

@keyframes firework {
  0% { transform: translate(0, 0); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)); opacity: 0; }
}

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














.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.whatsapp-btn:hover {
  background-color: #20b354;
  transform: scale(1.1);
}
.whatsapp-btn ion-icon {
  font-size: 30px;
}


















/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-image: linear-gradient(45deg, var(--bittersweet), #ff85a1) 1;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.card-icon {
  font-size: 3rem;
  color: var(--bittersweet);
  margin-bottom: 1.5rem;
}

.card-title {
  font-family: 'Catamaran', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.card-text {
  font-family: 'Rubik', sans-serif;
  font-size: 1.7rem;
  color: var(--white);
  line-height: 1.7;
  opacity: 0.9;
}

.card-shape {
  position: absolute;
  bottom: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  z-index: -1;
  opacity: 0.3;
  transform: rotate(30deg);
  transition: transform 0.5s ease;
}

.service-card:hover .card-shape {
  transform: rotate(30deg) scale(1.1);
}

.section-text {
  font-family: 'Rubik', sans-serif;
  font-size: 1.7rem;
  line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 1.5rem;
  }

  .card-title {
    font-size: 2.5rem;
  }

  .card-text {
    font-size: 1.5rem;
  }

  .section-text {
    font-size: 1.5rem;
  }

  .card-shape {
    bottom: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
  }
}

@media (max-width: 480px) {
  .card-icon {
    font-size: 2.5rem;
  }

  .card-title {
    font-size: 2.5rem;
  }

  .card-text {
    font-size: 1.5rem;
  }

  .section-text {
    font-size: 1.5rem;
  }
}