@font-face {
  font-family: "vodafoneextra_bold";
  src: url("fonts/vodafone_extrabold-webfont.woff2") format("woff2"),
    url("fonts/vodafone_extrabold-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "vodafone_exbregular";
  src: url("fonts/vodafone_font_exbd-webfont.woff2") format("woff2"),
    url("fonts/vodafone_font_exbd-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "vodafonelight";
  src: url("fonts/vodafone_light-webfont.woff2") format("woff2"),
    url("fonts/vodafone_light-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "vodafoneregular";
  src: url("fonts/vodafone-webfont.woff2") format("woff2"),
    url("fonts/vodafone-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "vodafone_ltregular";
  src: url("fonts/vodafonelt-regular-webfont.woff2") format("woff2"),
    url("fonts/vodafonelt-regular-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "vodafone_rgbold";
  src: url("fonts/vodafonerg-bold-webfont.woff2") format("woff2"),
    url("fonts/vodafonerg-bold-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "vodafone_rgregular";
  src: url("fonts/vodafonerg-regular-webfont.woff2") format("woff2"),
    url("fonts/vodafonerg-regular-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "vodafonebold";
  src: url("fonts/vodafone_bold-webfont.woff2") format("woff2"),
    url("fonts/vodafone_bold-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "vodafonesemibold";
  src: url("fonts/Vodafone_SBd_W.woff2") format("woff2"),
    url("fonts/Vodafone_SBd_W.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "vodafone-medium";
  src: url("fonts/vodafone-medium.woff2") format("woff2"),
    url("fonts/vodafone-medium.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.root {
  font-size: 0.052086vw;
}

a:hover,
a:focus {
  text-decoration: none;
}

[class^="col-"] {
  padding-right: 0rem;
  padding-left: 0rem;
}
.row {
  margin-right: 0rem;
  margin-left: 0rem;
  width: 100%;
}
img {
  width: 100%;
}
html {
  font-family: vodafone_rgregular, sans-serif;
  font-weight: 400;
  margin: 0px;
  padding: 0px;
}
body {
  font-size: 16rem;
  font-family: vodafone_rgregular, sans-serif;
  font-weight: 400;
  margin: 0px;
  padding: 0px;
  color: rgb(255, 255, 255);
  height: 100%;
}
.vf-gartner-container.container {
  max-width: 100%;
  padding: 0px 50rem;
}
.main-vf {
  background: linear-gradient(113deg, #820000 11.35%, #E60000 122.69%);
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  align-items: center;
  display: flex;
  justify-content: center;
}
.vf-gartner-section {
  width: 100%;
}
#circle-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#drop-target {
    position: relative;
    z-index: 5;
    text-align: center;
    width: 950rem;
    margin: auto;
}

#drop-target img {
    width: 100%;
    filter: drop-shadow(0 7rem 10rem rgba(0, 0, 0, 0.25));
}

#drop-target p {
    color: #fff;
    font-family: 'vodafoneregular', sans-serif;
    font-size: 30rem;
    line-height: 1.2;
    margin-top: 40rem;
    width: 75%;
    margin-left: auto;
    margin-right: auto;
}

.draggable-item {
    position: absolute;
    z-index: 10;
    cursor: grab;
    user-select: none;
    touch-action: none;
    text-align: center;
    box-sizing: border-box;
    animation: float 6s ease-in-out infinite;
    transition: transform 0.3s ease-in-out, top 0.4s ease-out, left 0.4s ease-out;
    filter: drop-shadow(0 7rem 10rem rgba(0, 0, 0, 0.25));
}

.draggable-item:hover {
    transform: scale(1.1);
    z-index: 11;
}

.draggable-item.scaled {
    transform: scale(1.1);
    z-index: 11;
}

.draggable-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#item-1 {
  top: 30%;
  left: 4%;
  width: 250rem;
}
#item-2 {
  top: 15%;
  left: 23%;
  width: 160rem;
}
#item-3 {
  top: 20%;
  left: 74%;
  width: 180rem;
}
#item-4 {
  top: 35%;
  right: 2%;
  width: 150rem;
}
#item-5 {
  top: 60%;
  left: 67%;
  width: 210rem;
}
#item-6 {
  top: 81%;
  left: 82%;
  width: 140rem;
}
#item-7 {
  top: 79%;
  left: 17%;
  width: 160rem;
}
#item-8 {
    top: 10%;
    left: 10%;
    width: 150rem;
}
#item-9 {
  top: 59%;
  left: 16%;
  width: 140rem;
}
#item-10 {
  top: 38%;
  left: 26%;
  width: 140rem;
}
#item-11 {
    top: 11%;
    left: 37%;
    width: 130rem;
}
#item-12 {
    top: 20%;
    left: 60%;
    width: 130rem;
}
#item-13 {
  top: 6%;
  left: 84%;
  width: 140rem;
}
#item-14 {
  top: 38%;
  left: 65%;
  width: 140rem;
}
#item-15 {
  top: 44%;
  left: 77%;
  width: 130rem;
}
#item-16 {
  top: 61%;
  left: 86%;
  width: 140rem;
}
#item-17 {
    top: 80%;
    left: 60%;
    width: 140rem;
}
#item-18 {
  top: 80%;
  left: 34%;
  width: 140rem;
}
#item-19 {
  top: 62%;
  left: 28%;
  width: 120rem;
}
#item-20 {
  top: 70%;
  left: 1%;
  width: 150rem;
}

.bubble {
    border-radius: 50%;
}


@keyframes float {
	0% {
		transform: translatey(0);
	}
	50% {
		transform: translatey(-20rem);
	}
	100% {
		transform: translatey(0);
	}
}

/* Cards modal base */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: linear-gradient(227deg, rgba(130, 0, 0, 1) 0%, rgba(230, 0, 0, 1) 95%);
}

.cards-modal-content {
    position: relative;
    margin: auto;
    padding: 50rem 0rem 50rem 0rem;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: scale(0.5);
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
    overflow: hidden;
}

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

/* Cards container - snap and offset */
.cards-container {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 30rem; /* gap between cards per Figma */
    width: 100%;
    max-width: 100%;
    padding: 120rem 40rem 20rem 160rem; /* initial 160rem left offset + 40rem right gutter */
    margin: 0 auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE 10+ */
    overscroll-behavior-x: contain;
    transition: transform 0.5s ease, padding-left 0.5s ease;
    margin-right:80rem;
}

.cards-container::-webkit-scrollbar { 
    display: none;  /* Safari and Chrome */
}

.cards-container.draggable { cursor: grab; user-select: none; }
.cards-container.draggable.active { cursor: grabbing; }

/* Card - pixel-aligned sizing and style */
.card {
    background: #ffffff;
    border-radius: 20rem;
    overflow: hidden;
    width: 503rem; /* matches layout visual width */
    position: relative;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    border: 0;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4rem 28rem rgba(0,0,0,0.12);
}
.card:hover { box-shadow: 0 8rem 40rem rgba(0,0,0,0.18); transform: translateY(-3rem); }

/* Image maintains 16:9 and rounded top corners */
.card-image {
    width: 100%;
    height: 330rem;
    object-fit: cover;
    display: block;
}

/* Content spacing and typography per Figma */
.card-content {
    width: 100%;
    padding: 30rem 28rem 50rem;
    color: #000;
    display: flex;
    flex-direction: column;
    gap: 20rem;
    flex-grow: 1;
}

/* Cards - UI refinements */
.card-logo {
    width: auto;
    height: 55rem;
    margin-bottom: 0rem;
    align-self: flex-start;
}

.card-title {
    font-family: 'vodafonebold', sans-serif;
    font-size: 28rem;
    line-height: 1.15;
    margin: 0;
    min-height: 65rem;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
}

.tag {
    background-color: rgba(237, 237, 237, 0.93);
    border-radius: 4rem;
    padding: 6rem 10rem;
    font-family: 'vodafonelight', sans-serif;
    font-size: 15rem;
    color: #25282B;
}

/* Button styles */
.card-button {
    background-color: #E60000;
    color: #fff;
    padding: 10rem 20rem;
    border-radius: 5rem;
    text-decoration: none;
    font-family: 'vodafonebold', sans-serif;
    font-size: 20rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14rem;
    width: fit-content;
    margin-top: auto; /* push button to bottom for consistent layout */
}

.card-button img { width: 28rem; }

/* Close/back button alignment within header gutter */
.close-btn {
    position: fixed;
    top: 10%;
    right: 40rem;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1001;
}

.back-btn {
    position: absolute;
    top: 10%;
    right: 40rem;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1001;
}

.close-btn img, .back-btn img { width: 85rem; transition: transform 0.3s ease-in-out; }
.close-btn:hover img, .back-btn:hover img { transform: scale(1.06); }

/* Content Page Styles */
.content-page {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #25282B;
    color: #fff;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.content-page.visible {
    display: block;
    opacity: 1;
}

.content-page-body {
    margin-top: 0rem;
    max-width: 95%;
    margin-bottom: 60rem;
}

.content-page-body h2 {
    font-family: 'vodafonebold', sans-serif;
    font-size: 20rem;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.content-page-body p {
    font-family: 'vodafoneregular', sans-serif;
    font-size: 22rem;
    line-height: 1.2;
    margin-bottom: 18rem;
}

.vf-gartner-loading img {
  width: 100%;
  object-fit: contain;
}
.vf-gartner-loading {
  position: absolute;
  width: 100%;
  height: 100%;
  justify-content: center;
  display: flex;
  margin: auto;
  z-index: 999;
  background: radial-gradient(
    132.27% 163.85% at 1.49% 100%,
    rgb(230, 0, 0) 0%,
    rgb(130, 0, 0) 50.96%,
    rgb(130, 0, 0) 100%
  );
}

p.vf-gartner-loading-text {
  position: absolute;
  top: 50%;
  color: rgb(255, 255, 255);
  text-align: center;
  font-family: "vodafonebold", sans-serif;
  font-size: 40rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2em;
}
.vf-gartner-loading-text {
  font-size: 20px;
  font-weight: 500;
  color: white;
  display: inline-block;
}
.vf-gartner-loading-text .dot {
  animation: 1.4s ease 0s infinite normal none running dotsFade;
  opacity: 0;
}
.vf-gartner-loading-text .dot:nth-child(2) {
  animation-delay: 0.2s;
}
.vf-gartner-loading-text .dot:nth-child(3) {
  animation-delay: 0.4s;
}
.vf-gartner-loading-text .dot:nth-child(4) {
  animation-delay: 0.6s;
}
@keyframes dotsFade {
  0%,
  20% {
    opacity: 0;
  }

  40% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.card-button img {
  transition: transform 0.3s ease-in-out;
}
.card-button:hover img {
  transform: translateX(10rem);
}

/* Case Study Page Styles */
.case-study-page {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #25282B; /* per figma */
    color: #fff;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.case-study-page.visible {
    display: block;
    opacity: 1;
}

.case-study-content {
    position: relative;
    padding: 0rem 80rem;
    max-width: 1920rem;
    margin: auto;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 60rem;
}

.case-study-left-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 0 0 1000rem;
  padding: 80rem 0rem;
  padding-right: 0;
}
.case-study-main { max-width: 1000rem; }

.case-study-main h1 {
    font-family: 'vodafonebold', sans-serif;
    font-size: 52rem;
    line-height: 1.1;
    margin-bottom: 20rem;
}

.case-study-main p {
    font-family: 'vodafoneregular', sans-serif;
    font-size: 22rem;
    line-height: 1.2;
}

.case-study-details {
    margin-top: 30rem;
    display: flex;
    flex-direction: column;
    gap: 22rem;
    max-width:  100%;
    margin-bottom: 60rem;
}

.case-study-section {
    display: flex;
    align-items: flex-start;
    gap: 49rem;
}

.case-study-section img {
    width: 94rem;
    flex-shrink: 0;
}

.case-study-section h2 {
    font-family: 'vodafonebold', sans-serif;
    font-size: 38rem;
    color: #E60000;
    margin-bottom: 10rem;
    line-height: 1.1;
}
.case-study-tags-container {
  min-height: 80rem;
  position: absolute;
  bottom: 40rem;
}
.case-study-section p { font-family: 'vodafoneregular', sans-serif; font-size: 22rem; line-height: 1.2; }

/* Right hero image */
.case-study-hero {
    flex: 0 0 783rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30rem;
}
.case-study-hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
}

/* Divider and tags row */
.case-study-divider { width: 997rem; height: 0; border-top: 1rem solid #494C4E; margin: 24rem 0 16rem; }
.case-study-tags { display: flex; align-items: center; gap: 13rem; }
.tags-label { font-family: 'vodafone-medium', sans-serif; font-size: 18rem; }
.tags-list { display: flex; align-items: center; gap: 10rem; }
.tag.dark { background: #494C4E; color: #FFFFFF; border-radius: 4rem; padding: 6rem 10rem; font-family: 'vodafone-medium', sans-serif; font-size: 15rem; }

/* Quote card positioned bottom-right like Figma */
.case-study-quote {
    position: relative;
    z-index: 2; /* stay above hero artwork */
    max-width: 100%;
    background: #fff;
    color: #000;
    padding: 30rem 25rem 25rem;
    border-radius: 10rem;
    display: flex;
    align-items: center;
    gap: 30rem;
    box-shadow: 0 4rem 38rem rgba(0,0,0,0.25);
    overflow: hidden; /* prevent icon overflow */
}

.case-study-quote.video-quote {
  background: linear-gradient(90deg, #820000 -0.02%, #E60000 100.12%);
    color: #fff;
    border-radius: 10rem;
}

.case-study-quote.video-quote .quote-icon {
    filter: none;
}

.case-study-quote.video-quote #video-author-name {
    color: #fff;
    display: block;
}

.case-study-quote.video-quote #video-author-title {
    color: #fff;
    display: block;
}

#case-study-logo, #video-logo {
  width: 135rem;
  object-fit: contain;
  flex-shrink: 0;
   max-height: 75rem; 
}
.case-study-quote .quote-icon {
  height: 44rem !important;
  width: auto !important;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  margin-left: -15%;
  margin-top: -3%;
}
.quote-logo-wrapper {
  width: 30%;
  height: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  max-height: 75rem;
}
.content-wrap {
  position: relative;
}
.quote-content-wrapper {
    width: 70%;
}
#case-study-author-name {
  font-size: 22rem;
  line-height: 1.1em;
  margin-bottom: 2rem;
  margin-top: 0rem;
}
#case-study-author-title, #video-author-title {
    font-size: 16rem;
    line-height: 1.2em;
    margin-bottom: 0;
}
.case-study-quote p {
    font-family: 'vodafoneregular', sans-serif;
    font-size: 18rem;
    line-height: 1.15;
    margin-bottom: 0;
}

.quote-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15rem;
}
.quote-body-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10rem;
}

#case-study-author, #video-author {
    font-family: 'vodafoneregular', sans-serif;
    font-size: 20rem;
    line-height: 1.148;
}
#case-study-author-name, #video-author-name {
    font-family: 'vodafonebold', sans-serif;
    color: #E60000;
    display: block;
}

#case-study-author-title {
    color: #000;
    display: block;
}

.case-study-right-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 0 0 40%;
    gap: 20rem;
}

/* Video Page Styles */
.video-page {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #25282B;
    color: #fff;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.video-page.visible {
    display: block;
    opacity: 1;
}

.video-page-content {
  position: relative;
  padding: 60rem 40rem 40rem 60rem;
  max-width: 1920rem;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 30rem;
  height: 100%;
}

.video-page-main {
  flex-shrink: 0;
  width: 90%;
}
.video-page-main h1 {
    font-family: 'vodafonebold', sans-serif;
    font-size: 52rem;
    line-height: 1.1;
    margin-bottom: 20rem;
}

.video-page-main p {
    font-family: 'vodafoneregular', sans-serif;
    font-size: 22rem;
    line-height: 1.2;
}

.video-page-columns {
  display: flex;
  gap: 60rem;
  flex-grow: 1;
  overflow: hidden;
  margin-top: 0rem;
  justify-content: flex-end;
}

.video-page-left-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 0 0 55%;
    padding-right: 40rem;
}

.video-page-details {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 22rem;
    max-width: 100%;
    padding-top: 15rem;
}

.video-page-section {
    display: flex;
    align-items: flex-start;
    gap: 49rem;
}

.video-page-section img {
    width: 94rem;
    flex-shrink: 0;
}

.video-page-section h2 {
    font-family: 'vodafonebold', sans-serif;
    font-size: 38rem;
    color: #E60000;
    margin-bottom: 10rem;
    line-height: 1.1;
}

.video-page-section p {
    font-family: 'vodafoneregular', sans-serif;
    font-size: 22rem;
    line-height: 1.2;
}

.video-container {
    position: relative;
    cursor: pointer;
}

.video-container video {
    width: 100%;
    border-radius: 10rem;
    display: block;
}

.play-button-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(transparent 55%, rgba(0,0,0,0.35));
    border-radius: 10rem;
}

.play-button-overlay img {
    width: 188rem;
    height: 188rem;
    transition: transform 0.3s ease-in-out;
}

.play-button-overlay:hover img {
    transform: scale(1.1);
}

/* Video Popup Styles */
.video-popup {
    display: none;
    position: fixed;
    z-index: 1300;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    padding: 40rem 60rem;
    backdrop-filter: blur(10rem);
}

.video-popup .back-btn {
    position: absolute;
    top: 60rem;
    right: 80rem;
    cursor: pointer;
    z-index: 1301;
}

.video-popup .back-btn:hover img {
    transform: scale(1.1);
}

.video-popup .close-btn {
    position: absolute;
    top: 60rem;
    right: 80rem;
    cursor: pointer;
    z-index: 1301;
}
.video-popup .back-btn img {
  width: 55rem;
}
.video-popup .close-btn img {
    width: 85rem;
    transition: transform 0.3s ease-in-out;
}

.video-popup .close-btn:hover img {
    transform: scale(1.1);
}

#popup-video-player {
    width: 100%;
    max-width: 1280rem;
    border-radius: 10rem;
    box-shadow: 0 10rem 54rem rgba(0,0,0,0.5);
}
#drop-target video {
  width: 76%;
  object-fit: contain;
}

.video-text-overlay {
    position: absolute;
    top: 48%;
    left: 0%;
    right: 0%;
    color: #fff;
    font-size: 30rem;
    text-align: center;
    width: 32%;
    line-height: 1.1;
    z-index: 10;
    font-family: 'vodafonesemibold', sans-serif;
    margin: auto;
}

/* Smooth slide-in overrides */
.wow {
  visibility: hidden;
  opacity: 0;
}

.wow.animated {
  visibility: visible;
  opacity: 1;
}

.slideInUp {
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: both;
  will-change: transform, opacity;
}

@keyframes slideInUp {
  from {
    transform: translate3d(0, 30px, 0);
    opacity: 0;
  }
  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}
.drag-instruction {
    margin-top: 30rem !important;
    text-align: center !important;
}
.drag-instruction img {
    width: 92rem !important;
}
.drag-instruction p {
    font-size: 16rem !important;
    margin: 0 auto !important;
}
/* Deploying Industry 4.0 */
.page-deployingIndustry4 .quote-content-wrapper {
  display: none;
}
.page-deployingIndustry4 #case-study-logo {
  position: relative;
  width: 240rem;
}
.page-deployingIndustry4 .case-study-quote {
  width: fit-content;
  margin: 0 auto;
  padding: 25rem 50rem !important;
}