* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Oswald", Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Oswald", Arial, Helvetica, sans-serif;
}

/* Navbar Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.logo img {
  height: 60px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav ul li a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  font-size: 14px;
}

/* Hamburger Menu Icon */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 100;
}

.hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: #000;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

/* Hero Section Styles */
.hero {
  position: relative;
  background:
    linear-gradient(rgb(71 71 71 / 17%), rgba(0, 0, 0, 0.5)),
    url(./images/banner.webp) no-repeat center center / cover;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 40px 5%;
  color: white;
}

.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

/* Left Content */
.hero-content {
  flex: 1;
  padding-right: 50px;
  margin-top: 60px;
}

.programs-list {
  font-weight: bold;
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.programs-list span {
  text-decoration: underline;
  cursor: pointer;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 20px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.stat-icon {
  background: white;
  border-radius: 8px;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.stat-icon img {
  width: 60%;
}

.stat-text h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.stat-text p {
  font-size: 14px;
  opacity: 0.9;
}

.footnotes {
  font-size: 11px;
  line-height: 1.6;
  opacity: 0.8;
  color: white !important;
}

/* Right Form Card */
.form-card {
  background: white;
  width: 100%;
  max-width: 450px;
  border-radius: 30px;
  padding: 30px;
  color: #333;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-card h2 {
  font-size: 28px;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 10px;
  position: relative;
}

.form-card h2::after {
  content: "";
  display: block;
  width: 240px;
  height: 4px;
  background: linear-gradient(to right, #f44336, #2196f3);
  margin-top: 6px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 8px;
}

input,
select {
  width: 100%;
  padding: 7px 14px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 15px;
  outline: none;
  color: #555;
}

input::placeholder {
  color: #999;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin: 20px 0;
  color: #666;
}

.checkbox-group a {
  color: #666;
  text-decoration: underline;
}

.btn-submit {
  width: 100%;
  background: #000;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.btn-submit:hover {
  background: #333;
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Responsive - Tablet */
@media (max-width: 1100px) {
  header {
    flex-wrap: wrap;
  }

  .hamburger {
    display: flex;
  }

  nav {
    width: 100%;
    display: none;
    margin-top: 15px;
  }

  nav.show {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
  }

  .hero-container {
    flex-direction: column;
    align-items: center;
  }
  .hero-content {
    padding-right: 0;
    margin-bottom: 50px;
    text-align: center;
  }
  .stat-item {
    text-align: start;
  }
}

/* Responsive - Mobile */
@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .stat-icon {
    height: 65px;
    width: 70px;
  }
  .stat-text h4 {
    font-size: 14px !important;
  }
  .stat-text p {
    font-size: 14px !important;
  }
  .footnotes {
    text-align: start;
  }
  .hero {
    padding: 0px 5%;
  }
  .programs-list {
    font-size: 15px;
    text-align: start;
  }
  .form-card {
    padding: 14px;
    width: 112%;
    border-radius: 0%;
  }
}

/* Sticky Footer Styles */
.sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #000000;
  color: #ffffff;
  padding: 12px 5%;
  z-index: 1000;
  display: flex;
  justify-content: center; /* Aligns the content to the right */
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

.footer-content {
  display: flex;
  flex-direction: column;
}

.sticky-footer p {
  font-size: 22px;
  font-weight: 300; /* Gives it that clean, thin look */
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.gradient-line {
  width: 100%;
  height: 2.5px;
  /* Custom gradient to match your image (Orange -> Red/Pink -> Purple -> Blue) */
  background: linear-gradient(to right, #fca311, #ff4d4d, #a35b9e, #1e90ff);
}

/* Optional but recommended: Add padding to the bottom of the body 
   so the footer doesn't cover your page content when scrolled all the way down */
body {
  padding-bottom: 70px;
}

/* Mobile Responsive adjustment for the footer */
@media (max-width: 600px) {
  .sticky-footer {
    justify-content: center; /* Centers it on mobile screens */
    padding: 12px 20px;
  }
  .sticky-footer p {
    font-size: 18px;
  }
}

/* =========================================
   Scholarship Banner Styles
   ========================================= */
.scholarship-banner {
  background-color: #f2f4f7;
  text-align: center;
  padding: 25px 20px;
}

.scholarship-banner h2 {
  color: #005bb5;
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 6px;
}

.scholarship-banner p {
  font-size: 13px;
  color: #1a1a1a;
  font-weight: 500;
}

/* =========================================
   Why UPES Section Styles
   ========================================= */
.why-upes {
  padding: 50px 5%;
  background: #ffffff;
}

.why-upes-container {
  margin: 0 auto;
}

/* Heading & Gradient Line */
.heading-wrapper {
  margin-bottom: 50px;
  display: inline-block; /* Fits the width of the text */
}

.heading-wrapper h2 {
  font-size: 30px;
  font-weight: 100 !important;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.gradient-line-short {
  height: 3px;
  width: 100%;
  /* Matches your orange/red/blue gradient */
  background: linear-gradient(to right, #fca311, #ff4d4d, #a35b9e, #1e90ff);
}

/* Stats Grid Layout */
.why-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.why-card {
  position: relative;
  padding-bottom: 40px;
  min-height: 220px;
}

.why-card h3 {
  font-size: 55px;
  font-weight: 800;
  color: #3b4252;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  line-height: 1;
}

.why-card h3 span {
  font-size: 30px;
  color: #6c757d; /* Lighter gray for the '+' */
  margin-left: 4px;
  font-weight: 700;
}

.why-card p {
  font-size: 16px;
  color: #4a4a4a;
  line-height: 1.5;
  padding-right: 15px; /* Keeps text from touching the edge */
}

/* The curved border effect on the bottom right of each card */
.corner-border {
  position: absolute;
  bottom: 20%;
  right: 0;
  width: 65%;
  height: 60%;
  border-right: 1px solid #dcdcdc;
  border-bottom: 1px solid #dcdcdc;
  border-bottom-right-radius: 20px;
}

/* Responsive Rules for Why UPES Section */
@media (max-width: 1024px) {
  .why-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
  }
}

@media (max-width: 600px) {
  .scholarship-banner h2 {
    font-size: 20px;
  }
  .why-stats-grid {
    grid-template-columns: 1fr;
  }
  .why-card {
    min-height: 180px;
  }
}

/* =========================================
   Features List Section Styles
   ========================================= */
.features-section {
  background-color: #f2f4f7; /* Soft light grey/blue matching your image */
  padding: 60px 5%;
  font-family: "Oswald", Arial, Helvetica, sans-serif;
}

.features-container {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 25px; /* Spacing between each list item */
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 25px; /* Spacing between the icon and the text */
}

/* Circular Icon Outline */
.feature-icon {
  width: 90px;
  height: 90px;
  border: 2px solid #1a1a1a;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.feature-icon img {
  width: 80%; /* Keeps the image perfectly sized inside the circle */
  height: auto;
}

.feature-text p {
  font-size: 20px;
  color: #1a1a1a;
}

.features-footnote {
  margin-top: 5px;
  font-size: 11px;
  color: #1a1a1a;
}

/* Responsive Rules for Features Section */
@media (max-width: 768px) {
  .features-section {
    padding: 40px 5%;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
  }

  .feature-text p {
    font-size: 15px;
  }

  .feature-item {
    gap: 15px;
  }
}

/* =========================================
   International Partners Section Styles
   ========================================= */
.international-partners {
  background-color: #ffffff;
  padding: 40px 5%;
}

.partners-container {
  margin: 0 auto;
  position: relative;
}

/* Re-using heading wrapper styles but ensuring spacing */
.international-partners .heading-wrapper {
  margin-bottom: 50px;
}

.international-partners h2 {
  font-size: 30px;
  font-weight: 300;
  color: #1a1a1a;
  margin-bottom: 8px;
}

/* Layout for the Logos inside the carousel */
.partner-col {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  height: 250px; /* Fixed height to keep columns uniform */
  padding: 20px;
}

.partner-col.single-logo {
  justify-content: center; /* Centers the single logo (like Waterloo) */
}

.partner-logo {
  max-height: 100%; /* Restricts height so logos look balanced */
  object-fit: contain;
  width: auto !important; /* Overrides Owl carousel forcing 100% width */
}

/* =========================================
   Custom Owl Carousel Navigation Styles
   ========================================= */
.partners-carousel .owl-nav {
  margin: 0;
}

.partners-carousel .owl-nav button.owl-prev,
.partners-carousel .owl-nav button.owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background-color: #3b4252 !important; /* Dark grey from your image */
  color: #ffffff !important;
  border-radius: 50% !important;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 34px !important;
  line-height: 1 !important;
  transition: background-color 0.3s ease;
}

.partners-carousel .owl-nav button.owl-prev:hover,
.partners-carousel .owl-nav button.owl-next:hover {
  background-color: #1a1a1a !important;
}

/* Position arrows slightly outside the container */
.partners-carousel .owl-nav button.owl-prev {
  left: -40px;
}

.partners-carousel .owl-nav button.owl-next {
  right: -40px;
}

/* Remove default dots */
.partners-carousel .owl-dots {
  display: none !important;
}

/* Responsive arrows for mobile */
@media (max-width: 768px) {
  .partners-carousel .owl-nav button.owl-prev {
    left: 0;
  }
  .partners-carousel .owl-nav button.owl-next {
    right: 0;
  }
}

/* =========================================
   Placements Section Styles
   ========================================= */
.placements-section {
  padding: 10px 5%;
  background: #ffffff;
}

.placements-container {
  margin: 0 auto;
}

.placements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 10px;
}

.placement-card {
  position: relative;
  padding-bottom: 40px;
  min-height: 200px;
}

.placement-card h3 {
  font-size: 56px;
  font-weight: 800;
  color: #3b4252;
  margin-bottom: 12px;
  display: flex;
  align-items: baseline; /* Keeps the smaller text aligned to the bottom of the numbers */
  line-height: 1;
}

.placement-card h3 span {
  font-size: 32px;
  color: #4a4a4a; /* Slightly darker gray to match image */
  margin-left: 4px;
  font-weight: 700;
}

.placement-card p {
  font-size: 16px;
  color: #4a4a4a;
  line-height: 1.5;
  padding-right: 15px;
}

.placements-footnotes {
  margin-top: 4px;
}

.placements-footnotes p {
  font-size: 14px;
  color: #1a1a1a;
  font-weight: 200; /* Bolder text for the footnotes */
  margin-bottom: 8px;
}

/* Responsive Rules for Placements */
@media (max-width: 1024px) {
  .placements-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
  }
}

@media (max-width: 600px) {
  .placements-grid {
    grid-template-columns: 1fr;
  }
  .placement-card {
    min-height: 160px;
  }
  .placement-card h3 {
    font-size: 45px;
  }
  .placement-card h3 span {
    font-size: 26px;
  }
}

/* =========================================
   Trusted by Industry Section Styles
   ========================================= */
.trusted-industry-section {
  background-color: #ffffff;
  padding: 50px 5%;
}

.industry-container {
  margin: 0 auto;
  position: relative;
}

.trusted-industry-section .heading-wrapper {
  margin-bottom: 30px;
}

/* Custom Navigation Styles for Industry Carousel */
.industry-carousel .owl-nav {
  margin: 0;
}

.industry-carousel .owl-nav button.owl-prev,
.industry-carousel .owl-nav button.owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background-color: #3b4252 !important;
  color: #ffffff !important;
  border-radius: 50% !important;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px !important;
  line-height: 1 !important;
  transition: background-color 0.3s ease;
}

.industry-carousel .owl-nav button.owl-prev:hover,
.industry-carousel .owl-nav button.owl-next:hover {
  background-color: #1a1a1a !important;
}

.industry-carousel .owl-nav button.owl-prev {
  left: -40px;
}

.industry-carousel .owl-nav button.owl-next {
  right: -40px;
}

.industry-carousel .owl-dots {
  display: none !important;
}

/* Responsive arrows for mobile */
@media (max-width: 768px) {
  .industry-carousel .owl-nav button.owl-prev {
    left: 0;
  }
  .industry-carousel .owl-nav button.owl-next {
    right: 0;
  }
}

/* =========================================
   Programs Offered Section Styles
   ========================================= */
.programs-offered-section {
  padding: 20px 5%;
  background: #ffffff;
}

.programs-offered-container {
  margin: 0 auto;
}

.programs-offered-section .heading-wrapper {
  margin-bottom: 40px;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.program-card {
  background-color: #eef1f5; /* Light grayish-blue matching your image */
  border-radius: 16px;
  padding: 35px 30px;
}

.school-prefix {
  font-size: 18px;
  color: #888888;
  margin-bottom: 2px;
  font-weight: 300;
}

.program-card h3 {
  font-size: 26px;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 15px;
}

/* Thin horizontal line separating heading from list */
.card-divider {
  height: 1px;
  background-color: #cfd4db;
  margin-bottom: 25px;
}

.program-card ul {
  list-style-type: disc;
  padding-left: 20px;
}

.program-card ul li {
  font-size: 16px;
  color: #1a1a1a;
  margin-bottom: 14px;
  line-height: 1.4;
}

/* Responsive Rules for Programs Grid */
@media (max-width: 900px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .programs-grid {
    grid-template-columns: 1fr;
  }
  .program-card {
    padding: 25px 20px;
  }
}

/* =========================================
   Admission Criteria Section Styles
   ========================================= */
.admission-criteria-section {
  padding: 50px 5%;
  background: #ffffff;
}

.admission-container {
  margin: 0 auto;
}

.admission-criteria-section .heading-wrapper {
  margin-bottom: 40px;
}

/* Level 1: School Tabs */
.school-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.school-tab-btn {
  padding: 12px 20px;
  background: #ffffff;
  border: 1px solid #5a5a5a;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  transition: all 0.2s ease;
}

.school-tab-btn:hover {
  border-color: #000;
}

.school-tab-btn.active {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

/* Level 2: Degree Tabs */
.degree-tabs {
  display: flex;
  gap: 30px;
  margin-bottom: 25px;
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: 0;
}

.degree-tab-btn {
  background: none;
  border: none;
  font-size: 20px;
  font-weight: 500;
  color: #a0a0a0;
  cursor: pointer;
  padding-bottom: 10px;
  position: relative;
}

.degree-tab-btn.active {
  color: #000000;
  font-weight: 600;
}

.degree-tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px; /* Overlaps the bottom border of the container */
  left: 0;
  width: 100%;
  height: 3px;
  background: #000000;
}

/* Content Area & Cards */
.criteria-panel {
  display: none; /* Hidden by default */
}

.criteria-panel.active {
  display: block; /* Shown when active */
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.criteria-card {
  background-color: #eef1f5;
  border-radius: 16px;
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.criteria-card h3 {
  font-size: 20px;
  font-weight: 500;
  color: #000000;
  margin-bottom: 20px;
}

.criteria-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 8px;
}

.criteria-card p {
  font-size: 14px;
  color: #555555;
  line-height: 1.5;
  margin-bottom: 25px;
}

.apply-btn {
  margin-top: auto; /* Pushes the button to the bottom if cards have different heights */
  padding: 8px 18px;
  background: transparent;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: 0.3s;
}

.apply-btn:hover {
  background: #e0e4e8;
  color: #000;
  border-color: #999;
}

/* Responsive Rules */
@media (max-width: 768px) {
  .criteria-grid {
    grid-template-columns: 1fr;
  }
  .degree-tabs {
    gap: 20px;
  }
  .degree-tab-btn {
    font-size: 16px;
  }
  .school-tab-btn {
    font-size: 12px;
    padding: 10px 14px;
  }
}

/* =========================================
   Stories of Excellence Section Styles
   ========================================= */
.stories-section {
  padding: 70px 5%;
  background: #ffffff;
}

.stories-container {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}

.stories-section .heading-wrapper {
  margin-bottom: 40px;
}

/* Card Styling */
.story-card {
  background-color: #f0f3f6; /* Light gray-blue matching your image */
  border-radius: 12px;
  overflow: hidden; /* Keeps the image inside the rounded corners */
  display: flex;
  flex-direction: column;
  height: 100%;
}

.story-img {
  width: 100%;
  /* A subtle gray background behind the image in case it's a transparent PNG */
  background-color: #e5e5e5;
}

.story-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.story-content {
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Ensures buttons/text align nicely if heights vary */
}

.story-content h3 {
  font-size: 20px;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.story-content .degree {
  font-size: 13px;
  color: #444;
  line-height: 1.5;
  margin-bottom: 15px;
}

.story-content .role {
  font-size: 13px;
  color: #1a1a1a;
  line-height: 1.5;
}

/* Custom Navigation Styles for Stories Carousel (Thin floating chevrons) */
.stories-carousel .owl-nav {
  margin: 0;
}

.stories-carousel .owl-nav button.owl-prev,
.stories-carousel .owl-nav button.owl-next {
  position: absolute;
  /* Positions the arrow roughly in the middle of the portrait image */
  top: 35%;
  transform: translateY(-50%);
  background: transparent !important;
  color: #333 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: color 0.3s ease;
}

.stories-carousel .owl-nav button.owl-prev:hover,
.stories-carousel .owl-nav button.owl-next:hover {
  color: #000 !important;
}

.stories-carousel .owl-nav button.owl-prev {
  left: 10px;
}

.stories-carousel .owl-nav button.owl-next {
  right: 10px;
}

.stories-carousel .owl-dots {
  display: none !important;
}

/* =========================================
   Disclaimer Section Styles
   ========================================= */
.disclaimer-section {
  background-color: #f2f4f7; /* Matches the soft grey background of your other sections */
  padding: 40px 5%;
  text-align: center;
}

.disclaimer-container {
  max-width: 1300px;
  margin: 0 auto;
}

.disclaimer-section p {
  font-size: 14px;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.5;
  font-weight: 400;
}

.disclaimer-section p:last-child {
  margin-bottom: 0;
}

/* Responsive adjustment for mobile */
@media (max-width: 600px) {
  .disclaimer-section {
    padding: 30px 5%;
  }
  .disclaimer-section p {
    font-size: 12px;
  }
}

/* =========================================
   Floating Apply Now Button
   ========================================= */
.floating-apply-btn {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: #000000;
  color: #ffffff;
  padding: 20px 12px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.4);
  z-index: 1500;

  /* Hidden by default */
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease,
    background-color 0.2s;
}

/* Inner span rotates the text to read bottom-to-top */
.floating-apply-btn span {
  display: block;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.floating-apply-btn.show {
  opacity: 1;
  visibility: visible;
}

.floating-apply-btn:hover {
  background-color: #333333;
}

/* Adjust button size slightly for mobile phones */
@media (max-width: 600px) {
  .floating-apply-btn {
    padding: 20px 10px;
    font-size: 14px;
  }
}
