/*
* Alive Capital - Investment & Financial Services
* Build Date: June 2025
* Last Update: June 2025
* Custom Template for Alive Capital
* Copyright (C) 2025 Alive Capital
*/

/*  TABLE OF CONTENTS
    ---------------------------
    *. @Import & Reset
    *. Loading overlay
    1. Generic styles
    2. Home
    3. Right panel
    4. PDF Viewer Styles
    5. Scroll Bar
    6. Scroll Indicator
    7. Media Queries
*/

/* ------------------------------------- */
/* *. @Import & Reset .................. */
/* ------------------------------------- */

/* custom CSS files */
@import url(font-awesome.min.css);
@import url(ionicons.min.css);
@import url(bootstrap.min.css);
@import url(animate.css);
@import url(jquery.mCustomScrollbar.css);
@import url(vegas.css);

/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

/*
* http://meyerweb.com/eric/tools/css/reset/ 
* v2.0 | 20110126
* License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, main {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ------------------------------------- */
/* Loading overlay ..................... */
/* ------------------------------------- */
#loading {
  width: 100vw;
  height: 100vh;
  background: #323a45;
  position: fixed;
  z-index: 999;
}
#loading #preloader {
  position: relative;
  width: 100%;
  height: 3rem;
  top: calc(50% - 1.5rem);
  text-align: center;
  margin: 0 auto;
}
#loading #preloader:after {
  content: "Alive Capital";
  position: absolute;
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.2rem;
  top: 3.5rem;
  width: 100%;
  left: 0;
  right: 0;
  height: 1px;
  text-align: center;
}
#loading #preloader span {
  position: absolute;
  border: 2px solid #FFFFFF;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
}
#loading #preloader span:nth-child(1) {
  width: 3rem;
  height: 3rem;
  left: calc(50% - 1.5rem);
  border-bottom: 2px solid #017cbf;
  z-index: 10;
  -webkit-animation: spin-1 1s infinite ease-in-out;
  -moz-animation: spin-1 1s infinite ease-in-out;
  animation: spin-1 1s infinite ease-in-out;
}
#loading #preloader span:nth-child(2) {
  left: calc(50% - 1.5rem);
  width: 3rem;
  height: 3rem;
}

@-webkit-keyframes spin-1 {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@-moz-keyframes spin-1 {
  0% {
    -moz-transform: rotate(0deg);
  }
  100% {
    -moz-transform: rotate(360deg);
  }
}
@keyframes spin-1 {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* ------------------------------------- */
/* 1. Generic styles ................... */
/* ------------------------------------- */
html {
  font-size: 62.5%; /* 10px base for desktop */
}

body {
  background: #20232D;
  font-family: "Inter", "Helvetica Neue", "Lucida Grande", Arial, Verdana, sans-serif;
  color: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: normal;
  font-style: normal;
  font-size: 1.4rem;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: 0;
  position: absolute;
  height: 100%;
}

/* Mobile base font size adjustments */
@media only screen and (max-width: 1024px) {
  html {
    font-size: 75%; /* 12px base for tablets */
  }
}

@media only screen and (max-width: 768px) {
  html {
    font-size: 87.5%; /* 14px base for small tablets */
  }
}

@media only screen and (max-width: 480px) {
  html {
    font-size: 100%; /* 16px base for phones - normal browser default */
  }

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

  .company-description p:nth-child(2),
  .company-description p:nth-child(3) {
    display: none;
  }

  #open-more-info {
    padding: 10px 15px !important;
    font-size: 1.2rem !important;
  }

  .alive-capital-logo {
    max-height: 70px !important;
    max-width: 350px !important;
  }

  .text-intro {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}


@media only screen and (max-width: 375px) {
  html {
    font-size: 112.5%; /* 18px base for small phones */
  }
}

@media only screen and (max-width: 320px) {
  html {
    font-size: 125%; /* 20px base for very small phones */
  }
}

.scroll-touch {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

body, html {
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  width: 100%;
}

body, input, select, textarea {
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

a {
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  text-decoration: none;
  color: #FFFFFF;
}
a:hover {
  color: #ff1a53;
  text-decoration: none !important;
  outline: none !important;
}
a:active, a:focus {
  outline: none !important;
  text-decoration: none !important;
  color: #FFFFFF;
}

button {
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}
button:hover, button:active, button:focus {
  outline: none !important;
  text-decoration: none !important;
  color: #2B2D35;
}

strong, b {
  font-weight: 700;
}

em, i {
  font-style: italic;
}

p {
  font-family: "Inter", "Helvetica Neue", "Lucida Grande", Arial, Verdana, sans-serif;
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.8;
  color: #666666;
  font-weight: 400;
}

p.text-intro {
  color: #000000;
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 3rem;
  line-height: 1.6;
  font-family: "Poppins", "Helvetica Neue", "Lucida Grande", Arial, Verdana, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  color: #333333;
  font-family: "Playfair Display", "Helvetica Neue", "Lucida Grande", Arial, Verdana, sans-serif;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 1.5rem 0;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  color: inherit;
  text-decoration: none;
}
h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
  color: inherit;
}

h1 {
  font-size: 6rem;
  font-family: "Playfair Display", "Helvetica Neue", "Lucida Grande", Arial, Verdana, sans-serif;
  font-weight: 600;
}
h1 span {
  font-size: 2.5rem;
  color: #666666;
  font-weight: 500;
}

h2 {
  font-size: 3.3rem;
}

h3 {
  font-size: 2.3rem;
}

h4 {
  font-size: 1.8rem;
}

h5 {
  font-size: 1.6rem;
}

h6 {
  font-size: 1.2rem;
}

sub {
  font-size: 0.8em;
  position: relative;
  top: 0.5em;
}

sup {
  font-size: 0.8em;
  position: relative;
  top: -0.5em;
}

.clear {
  clear: both;
}

.display-none {
  display: none !important;
}

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

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

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

.no-margin-bottom {
  margin-bottom: 0;
}

.opacity-0 {
  opacity: 0 !important;
  visibility: hidden !important;
}

.opacity-03 {
  opacity: 0.3 !important;
}

.opacity-1 {
  opacity: 1 !important;
  visibility: visible !important;
}

.index-999 {
  z-index: -999 !important;
}

/* ------------------------------------- */
/* 2. Home ............................. */
/* ------------------------------------- */
.outer-home {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh !important;
}

#home {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100% !important;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  transform-origin: middle left;
}
#home.minimize-left {
  opacity: 0.4 !important;
}
#home .content {
  position: relative;
  z-index: 0;
  left: 0;
  padding: 0;
  top: 50vh;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-height: 111rem;
  padding: 0 10%;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-transform: translateY(calc(-50% - 50px));
  -moz-transform: translateY(calc(-50% - 50px));
  -ms-transform: translateY(calc(-50% - 50px));
  -o-transform: translateY(calc(-50% - 50px));
  transform: translateY(calc(-50% - 50px));
  text-align: left;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 1;
  visibility: visible;
  min-height: auto;
  overflow: visible;
}
#home .content nav {
  display: inline-block;
  width: 100%;
}
#home .content nav ul li {
  margin: 10px 0;
}
#home .content .light-btn {
  font-family: "Poppins", "Helvetica Neue", "Lucida Grande", Arial, Verdana, sans-serif;
  background: #FFFFFF;
  font-weight: 600;
  padding: 0.8em 2.2em;
  color: #323a45;
  margin-right: 10px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  border-radius: 5px;
  border: 1px solid #EFEFEF;
  display: block;
  float: left;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
#home .content .light-btn:hover {
  background: #f8f9fa;
  color: #2B2D35;
  border-color: #cccccc;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive button text */
.mobile-text {
  display: none;
}

.desktop-text {
  display: inline;
}

/* Alive Capital Logo Styles */
.alive-capital-logo {
  max-height: 80px;
  max-width: 300px;
  height: auto;
  width: auto;
  margin-bottom: 10px;
}

#vegas-background {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh !important;
  width: 100vw;
  z-index: -1;
  background-image: url("../background.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.global-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow: visible;
  background: linear-gradient(to right, rgba(255, 255, 255, 1), transparent);
  width: 100vw;
  z-index: 0;
}

/* Transparent div used when more info part is opening, allow the user to click on the home to get back on it */
.layer-left {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: transparent;
  z-index: 0;
}
.layer-left.hide-layer-left {
  z-index: -1000;
}

/* Company Description Styles */
.company-description {
  margin-top: 2rem;
  max-width: 600px;
}

.company-description p {
  color: #2c3e50;
  font-size: 1.4rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-family: "Inter", sans-serif;
  font-weight: 400;
}

/* ------------------------------------- */
/* 3. Right panel ...................... */
/* ------------------------------------- */
#main-content {
  background: #FFFFFF;
  position: relative;
  z-index: 10;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  top: 0;
  right: -40vw;
  width: 60vw;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
#main-content.hide-main-content {
  right: -100vw;
}

#close-more-info {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 20;
  width: 50px;
  height: 50px;
  line-height: 0;
  background: #323a45;
  border: none;
  color: #FFFFFF;
  font-size: 2em;
  -webkit-border-radius: 0 0 0 3px;
  -moz-border-radius: 0 0 0 3px;
  -ms-border-radius: 0 0 0 3px;
  border-radius: 0 0 0 3px;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
#close-more-info i {
  display: inline-block;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
#close-more-info:hover i {
  font-size: 3.5rem;
}
#close-more-info.hide-close {
  right: -50px;
}

/* ------------------------------------- */
/* 4. PDF Viewer Styles ................ */
/* ------------------------------------- */
.pdf-container {
  width: 100%;
  height: 100vh;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.pdf-viewer {
  width: 100%;
  max-width: 900px;
  height: 80vh;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: white;
}

.pdf-header {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.pdf-header h2 {
  margin: 0;
  font-size: 2rem;
  color: #2c3e50;
  font-family: "Playfair Display", serif;
}

.pdf-header p {
  margin: 10px 0;
  color: #7f8c8d;
  font-size: 1.1rem;
  font-family: "Inter", sans-serif;
}

.pdf-fallback {
  text-align: center;
  padding: 40px;
  background: #ecf0f1;
  border-radius: 8px;
  margin-top: 20px;
  display: none;
}

.pdf-fallback a {
  display: inline-block;
  background: #3498db;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.pdf-fallback a:hover {
  background: #2980b9;
}

/* ------------------------------------- */
/* 5. Scroll Bar ....................... */
/* ------------------------------------- */
.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar {
  background: #009cde;
}

.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar {
  background: #009cde;
}

.mCSB_scrollTools {
  position: absolute;
  width: 5px;
  left: auto;
  top: 0;
  right: -5px;
  bottom: 0;
  z-index: 10;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
}
.mCSB_scrollTools .mCSB_draggerRail {
  width: 5px;
  height: 100%;
  margin: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  border-radius: 0;
  background-color: #2B2D35;
  filter: "alpha(opacity=40)";
  -ms-filter: "alpha(opacity=40)";
}
.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  position: relative;
  width: 5px;
  height: 100%;
  margin: 0 auto;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  border-radius: 0;
  text-align: center;
}
.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  background-color: rgba(0, 156, 222, 0.5);
}

.mCSB_scrollTools-left {
  right: 60vw !important;
}

/* ------------------------------------- */
/* 6. Scroll Indicator ................. */
/* ------------------------------------- */
.to-scroll {
  background: transparent;
  font-size: 1.5em;
  border: none;
  position: fixed;
  bottom: 0;
  right: 60vw;
  z-index: 5;
  width: 50px;
  height: 50px;
  line-height: 40px;
  text-align: center;
  -webkit-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  -moz-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  -ms-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  -o-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
}
.to-scroll.info-close {
  bottom: -50px !important;
}
.to-scroll:hover {
  color: #FFFFFF;
}
.to-scroll.hide-scroll {
  bottom: -50px !important;
}
.to-scroll .scroll-down {
  display: inline-block;
  content: "";
  -webkit-animation: scroll 1.3s ease-out infinite forwards;
  -moz-animation: scroll 1.3s ease-out infinite forwards;
  animation: scroll 1.3s ease-out infinite forwards;
}

@-webkit-keyframes scroll {
  0% {
    -webkit-transform: translateY(0px);
  }
  50% {
    -webkit-transform: translateY(10px);
  }
  100% {
    -webkit-transform: translateY(0px);
  }
}
@-moz-keyframes scroll {
  0% {
    -moz-transform: translateY(0px);
  }
  50% {
    -moz-transform: translateY(10px);
  }
  100% {
    -moz-transform: translateY(0px);
  }
}
@keyframes scroll {
  0% {
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -o-transform: translateY(0px);
    transform: translateY(0px);
  }
  50% {
    -webkit-transform: translateY(10px);
    -moz-transform: translateY(10px);
    -ms-transform: translateY(10px);
    -o-transform: translateY(10px);
    transform: translateY(10px);
  }
  100% {
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -o-transform: translateY(0px);
    transform: translateY(0px);
  }
}

/* ------------------------------------- */
/* 7. Media Queries .................... */
/* ------------------------------------- */

/* Large Devices, Wide Screens */
@media only screen and (max-width: 1600px) {
  #main-content {
    right: -30vw;
    width: 70vw;
  }

  .mCSB_scrollTools-left {
    right: 70vw !important;
  }
}

/* Medium Devices, Desktops */
@media only screen and (max-width: 1024px) {
  #main-content {
    right: 0;
    width: 100vw;
  }

  .mCSB_scrollTools-left {
    right: 0 !important;
  }

  /* Switch button text for mobile/tablet */
  .desktop-text {
    display: none;
  }

  .mobile-text {
    display: inline;
  }

  /* Adjust content positioning for tablets - remove the -50px offset */
  #home .content {
    padding: 0 5%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
  }
}

/* Small Devices, Tablets */
@media only screen and (max-width: 768px) {
  #home .content {
    padding: 1rem 4% 1rem 4%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    top: 50vh;
    min-height: auto;
  }

  /* Safe area for mobile devices */
  #home {
    padding-top: env(safe-area-inset-top, 0);
  }

  h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
  }

  h1.text-intro {
    margin-bottom: 1rem;
  }

  p.text-intro {
    font-size: 1.5rem !important;
    margin-bottom: 1.5rem;
    line-height: 1.5;
  }

  .company-description {
    margin-top: 1.5rem;
  }

  .company-description p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.6;
  }

  .to-scroll {
    display: none;
  }

  .pdf-viewer {
    height: 70vh;
  }
  
  .pdf-header h2 {
    font-size: 1.8rem;
  }

  .alive-capital-logo {
    max-height: 55px;
    max-width: 220px;
    margin-bottom: 15px;
    display: block;
  }

  #home .content .light-btn {
    font-size: 1.4rem;
    padding: 0.9em 2em;
  }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width: 480px) {
  #home .content {
    padding: 1.5rem 3% 1rem 3%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    top: 50vh;
    max-height: none;
    min-height: auto;
  }

  /* Safe area for notched devices */
  #home {
    padding-top: env(safe-area-inset-top, 0);
  }

  h1 {
    font-size: 3rem;
    margin-bottom: 0.8rem;
  }

  h1.text-intro {
    margin-bottom: 0.8rem;
  }

  p.text-intro {
    font-size: 1.3rem !important;
    margin-bottom: 1.2rem;
    line-height: 1.4;
  }

  .company-description {
    margin-top: 1.2rem;
  }

  .company-description p {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
  }

  .alive-capital-logo {
    max-height: 45px;
    max-width: 180px;
    margin-bottom: 12px;
    display: block;
  }

  #home .content .light-btn {
    margin-right: 0;
    margin-bottom: 1rem;
    width: 100%;
    float: none;
    text-align: center;
    font-size: 1.3rem;
    padding: 1em 2em;
    box-sizing: border-box;
  }

  #home .content nav {
    width: 100%;
    margin-top: 1rem;
  }
}

/* iPhone SE and very small devices */
@media only screen and (max-width: 375px) {
  #home .content {
    padding: 2rem 2.5% 1rem 2.5%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    top: 50vh;
    min-height: auto;
  }

  /* Ensure we're not cutting off content at the top */
  #home {
    padding-top: env(safe-area-inset-top, 0);
  }

  h1 {
    font-size: 2.5rem;
    margin-bottom: 0.6rem;
  }

  h1.text-intro {
    margin-bottom: 0.6rem;
  }

  p.text-intro {
    font-size: 1.2rem !important;
    margin-bottom: 1rem;
    line-height: 1.3;
  }

  .company-description {
    margin-top: 1rem;
  }

  .company-description p {
    font-size: 1rem;
    margin-bottom: 0.7rem;
    line-height: 1.4;
  }

  .alive-capital-logo {
    max-height: 40px;
    max-width: 160px;
    margin-bottom: 10px;
    display: block;
  }

  #home .content .light-btn {
    font-size: 1.2rem;
    padding: 0.9em 1.5em;
  }
}

/* Original iPhone SE (320px) */
@media only screen and (max-width: 320px) {
  #home .content {
    padding: 1.5rem 2% 1rem 2%;
    min-height: auto;
  }

  /* Ensure we're not cutting off content at the top */
  #home {
    padding-top: env(safe-area-inset-top, 0);
  }

  h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
  }

  p.text-intro {
    font-size: 1.1rem !important;
    margin-bottom: 0.8rem;
  }

  .company-description p {
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
  }


  

  .alive-capital-logo {
    max-height: 35px;
    max-width: 140px;
    margin-bottom: 8px;
    display: block;
  }

  #home .content .light-btn {
    font-size: 1.1rem;
    padding: 0.8em 1.2em;
  }
}

/* Phone landscape mode */
@media screen and (max-device-width: 667px) and (orientation: landscape) {
  #home .content {
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    top: 50vh;
    padding: 0.5rem 3% 0.5rem 3%;
    min-height: auto;
  }

  /* Safe area for landscape */
  #home {
    padding-top: env(safe-area-inset-top, 0);
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
  }

  h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
  }

  h1.text-intro {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
  }

  p.text-intro {
    font-size: 1.1rem !important;
    margin-bottom: 0.8rem;
  }

  .company-description {
    margin-top: 0.8rem;
  }

  .company-description p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }

  .alive-capital-logo {
    max-height: 30px;
    max-width: 120px;
    margin-bottom: 5px;
    display: block;
  }

  #home .content .light-btn {
    font-size: 1rem;
    padding: 0.7em 1.5em;
    margin-top: 0.5rem;
  }
}