/* ROOT & MAIN */
:root {
  --accent-color: #0092ca;
  --dark-bg: #0C0C0C;
  --light-bg: #fefefe;
  --text-dark: #333;
  --text-light: #fff;
  --light-grey: #1b1b1b;
  --medium-grey: #252525;
  --dark-grey: #141414;
  --header-height: 65px;
  --footer-height: 40px;
  --dvh: 100vh;
  --dvw: 100vw;
}

html {
  height: 100%;
  margin: 0;
  overflow-y: scroll;
  overflow-x: hidden;
  font-family: 'Roboto', sans-serif;
  transition: background-color 0.3s, color 0.3s;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  transition: background-color 0.3s, color 0.3s;
}

main {
  padding-bottom: var(--footer-height);
  min-height: 100vh;
  box-sizing: border-box;
}

.section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(var(--dvw) * 1);
  min-height: calc(var(--dvh) * 1);
  max-width: calc(var(--dvw) * 1);
}

.header {
  position: fixed;
  width: 100%;
  height: 65px;
  background-color: var(--dark-bg);
  color: var(--text-light);
  z-index: 10;
  top: 0;
  padding: 10px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.header .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.footer {
  bottom: 0;    
  position: fixed;
  left: 0;
  width: 100%;
  height: 40px;
  display: flex;
  text-align: center;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
  background-color: var(--dark-bg);
  color: var(--text-light);
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.5);
  z-index: 10;
  overflow: hidden;
  transition: height 0.3s ease;
}

.logo {
  flex: 1;
}

.nav {
  flex: 2;
}

.logo img {
  height: 60px;
  width: auto;
  cursor: pointer;
}

.hamburger {
  display: none;
}

/* TYPOGRAPHY */
h1 {
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-color);
  text-shadow:
    1px 1px 0px rgba(0, 0, 0, 0.2),
    2px 2px 0px rgba(0, 0, 0, 0.18),
    3px 3px 0px rgba(0, 0, 0, 0.16),
    4px 4px 0px rgba(0, 0, 0, 0.14),
    5px 5px 0px rgba(0, 0, 0, 0.12),
    6px 6px 0px rgba(0, 0, 0, 0.1);
}

h2 {
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-color);
}

h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-light);
}

h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-light);
}

h5 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-light);
}

.card h2 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 2rem;
}

.card p {
  font-size: 1rem;
  color: var(--text-light);
  margin: 5px;
}

.card p strong {
  color: var(--accent-color);
}

.card a {
  color: #0092ca;
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
}

/* BUTTONS */
button {
  padding: 12px;
  margin: 10px 5px;
  font-size: 1rem;
  border: solid 3px #0092ca;
  border-radius: 5px;
  outline: none;
  color: #fff;
  box-sizing: border-box;
}

button {
  background-color: #0092ca;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

button:hover {
  background-color: #007bb5;
  transform: translateY(-2px);
}

button:active {
  transform: translateY(1px);
}

/* DARK/LIGHT MODES */
body.light-mode {
  background-color: var(--light-bg);
  color: var(--text-dark);
}

body.dark-mode {
  background-color: var(--dark-grey);
  color: var(--text-light);
}

body.light-mode #fileList li:nth-child(odd) {
  background-color: var(--light-bg);
}

body.light-mode #fileList li:nth-child(even) {
  background-color: #e0f3fa;
}

body.light-mode #home {
  background: url('../img/apextech3d-bg-light.webp') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
}

body.light-mode #contact {
  background: url('../img/apextech3d-contact-bg-light.webp') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
}

body.light-mode h1 {
  text-shadow: none;
}

body.light-mode .home-h3 {
  color: var(--text-dark);
}

body.light-mode h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-light);
}

body.light-mode .share-modal-content h3 {
  color: var(--text-dark);
  }  

body.dark-mode .share-modal-content {
  background: var(--medium-grey);
  color: var(--text-light);
}  

body.light-mode .modal-content.card h4 {
  color: var(--text-light);
}

body.light-mode h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

body.light-mode h5 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-dark);
}

body.light-mode #breadcrumbs a{
  color: var(--text-dark);
}

body.light-mode .about-section::before,
body.light-mode .services-section::before {
  background: (var(--light-bg));
}

body.light-mode .about-section,
body.light-mode .services-section {
  background: var(--light-bg);
  color: var(--text-dark);
}

body.light-mode .file-manager-container h3 {
  color: var(--text-dark);
}

body.dark-mode .share-link-row input {
  background: #1a1a1a;
  color: var(--text-light);
  border: none;
  outline: none;
}

body.dark-mode .expires select {
  background: #1a1a1a;
  color: var(--text-light);
  border: none;
}

body.dark-mode .expires option {
  background: #1a1a1a;
  color: var(--text-light);
}

/* TOGGLE SWITCH */
.toggle-switch {
  position: relative;
  width: 100px;
  height: 50px;
  --light: #0092ca;
  --dark: #28292c;
  --link: rgb(27, 129, 112);
  --link-hover: rgb(24, 94, 82);
}

.switch-label {
  position: absolute;
  width: 50%;
  height: 25px;
  background-color: var(--dark);
  border-radius: 25px;
  cursor: pointer;
  border: 3px solid var(--dark);
  margin-top: 12px;
}

.checkbox {
  position: absolute;
  display: none;
}

.slider {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.checkbox:checked ~ .slider {
  background-color: var(--light);
}

.slider::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  -webkit-box-shadow: inset 12px -4px 0px 0px var(--light);
  box-shadow: inset 12px -4px 0px 0px var(--light);
  background-color: var(--dark);
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.checkbox:checked ~ .slider::before {
  -webkit-transform: translateX(24px);
  -ms-transform: translateX(24px);
  transform: translateX(24px);
  background-color: var(--dark);
  -webkit-box-shadow: none;
  box-shadow: none;
}

.toggle-switch-mobile {
  display: none;
  position: absolute;
  top: -62px;
  right: 100px;
  z-index: 13;
}

/* NAVIGATION */
.nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  transition: color 0.3s;
}

.nav a i {
  font-size: 1.2rem;
  margin-right: 10px;
  color: var(--text-light);
  transition: color 0.3s, transform 0.3s;
}

.nav a:hover i, .nav a:focus i {
  color: var(--accent-color);
  transform: scale(1.4);
}

.nav a.active i {
  color: var(--accent-color);
  transform: scale(1.4);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* CARDS */
.card {
  background-color: var(--medium-grey);
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  padding: 30px;
  width: 100%;
  max-width: 400px;
  text-align: center;
  border: 2px solid #0092ca;
  overflow: hidden;
}

.card:hover {
  box-shadow: 0 0 15px #0092ca, 0 0 30px #0092ca;
  transition: box-shadow 0.3s ease;
}

.card:active {
  box-shadow: 0 0 15px #0092ca, 0 0 30px #0092ca;
  transition: box-shadow 0.3s ease;
}

.card:focus {
  box-shadow: 0 0 15px #0092ca, 0 0 30px #0092ca;
  transition: box-shadow 0.3s ease;
}

.card .form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
}

/* Inputs and Textareas */
.card .form input,
.card .form textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  font-size: 1rem;
  border: none;
  outline: none;
  color: #fff;
  box-sizing: border-box;
  background-color: #1a1a1a;
  border-bottom: 2px solid #0092ca;
  border-radius: 5px;
}

/* Buttons */
.card .form button {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  font-size: 1rem;
  border: none;
  outline: none;
  color: #fff;
  background-color: #0092ca;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.card .form button:hover {
  background-color: #007bb5;
  transform: translateY(-2px);
}

.card .form button:active {
  transform: translateY(1px);
}

/* SECTIONS */
#home {
  background: url('../img/apextech3d-bg.webp') no-repeat center center;
}

#contact {
  background: url('../img/apextech3d-contact-bg.webp') no-repeat center center;
}

#home, #contact {
  background-size: cover;
  background-attachment: fixed;
  min-height: calc(var(--dvh) * 1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  overflow: hidden;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
}

.modal-content {
  margin: auto;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  color: #fff;
  position: relative;
}

.close-modal {
  position: absolute;
  display: flex;
  justify-content: end;
  top: 0;
}

#loginCloseBtn {
  background: none;
  border: none;
  color: var(--accent-color);
  font-size: 3rem;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 0 0 0;
  transition: color 0.3s, transform 0.2s;
  transform-origin: bottom right;
}

#loginCloseBtn:hover {
  color: var(--text-light);
  transform: scale(1.25);
}

.modal-content.card {
  background-color: var(--medium-grey);
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  padding: 30px;
  width: 90%;
  max-width: 500px;
  color: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-pic-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-pic {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid var(--accent-color);
}

.profile-pic:hover {
  transform: scale(1.2);
  transition: transform 0.3s ease;
}

.profile-pic-large {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
  border: 2px solid var(--accent-color);
}

.edit-profile-pic {
  position: absolute;
  display: flex;
  align-self: flex-end;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  padding: 8px;
  cursor: pointer;
  color: #fff;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.edit-profile-pic:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Cropper Container Styles */
#cropButton, #cancelCropButton {
  padding: 10px 20px;
  margin: 0 5px;
  border: none;
  background-color: var(--accent-color);
  color: white;
  cursor: pointer;
  border-radius: 4px;
  font-size: 1em;
}

#cancelCropButton {
  background-color: #6c757d;
}

#cropButton:hover {
  background-color: var(--accent-color);
}

#cancelCropButton:hover {
  background-color: #5a6268;
}

#cropperContainer h4 {
  margin-bottom: 10px;
}

#cropperContainer img {
  max-height: 400px;
}

#cropButton, #cancelCropButton {
  padding: 10px 20px;
  margin: 0 5px;
  border: none;
  background-color: var(--accent-color);
  color: white;
  cursor: pointer;
  border-radius: 4px;
  font-size: 1em;
}

#cancelCropButton {
  background-color: #6c757d;
}

#cropButton:hover {
  background-color: var(--accent-color);
}

#cancelCropButton:hover {
  background-color: #5a6268;
}

/* Section Styling within Modal */
.user-profile-section,
.account-section,
.password-section,
.logout-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.password-section form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.password-section form div {
  width: 100%;
}

.password-section form label {
  display: flex;
  margin-bottom: 5px;
  text-align: left;
}

.password-section form input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  font-size: 1rem;
  border: none;
  outline: none;
  color: #fff;
  box-sizing: border-box;
  background-color: #1a1a1a;
  border-bottom: 2px solid #0092ca;
}

.password-section form input:focus {
background-color: #333;
border-color: #00aaff;
transition: border-color 0.3s ease, background-color 0.3s ease;
}

/* Update Password Button Styling */
.password-section form button {
  width: 100%;
  padding: 12px;
  margin: 0;
  margin-top: 15px;
  background-color: #28a745;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.password-section form button:hover {
  background-color: #218838;
}

#closeUserSettingsModal {
  position: absolute;
  background: none;
  border: none;
  color: var(--accent-color);
  font-size: 3rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  transition: color 0.3s, transform 0.2s;
  margin-top: 20px;
  align-self: end;
}

#closeUserSettingsModal:hover {
  color: var(--text-light);
  transform: scale(1.25);
}


.password-section .toggle-password {
  right: 40px;
  margin-top: 20px;
}

/* Logout Button Styling */
.logout-section .logout-btn {
  width: 100%;
  padding: 12px;
  margin-top: 40px;
  background-color: #dc3545;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

#userName {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-light);
}

.logout-section .logout-btn:hover {
  background-color: #c82333;
}

/* Ensure all text within the modal is centered */
.modal-content.card h4 {
  margin-bottom: 10px;
  margin-top: 20px;
  text-align: center;
}

/* Additional Spacing */
.user-profile-section {
  border-bottom: 2px solid var(--text-dark);
}

/* -------------------------------------------------------------------------------------------------------------- */

/* ABOUT SECTION STYLING */
.about-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  background: #111;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  left: -50%;
  top: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, var(--medium-grey) 0%, transparent 40%);
  opacity: 1;
}

.about-container {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  overflow: hidden;
  z-index: 2;
}

.about-content h2 {
  margin-bottom: 20px;
}

/* Swiper Carousel Styling */
.swiper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
  overflow: visible; 
}

.swiper-slide {
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  position: relative;
  height: 500px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.swiper-slide-active {
  transform: scale(1);
  opacity: 1;
}

.swiper-slide-prev,
.swiper-slide-next {
  transform: scale(0.8);
  opacity: 0.6;
}

.swiper-button-prev,
.swiper-button-next {
  color: var(--accent-color);
  z-index: 10;
  width: 50px;
  height: 50px;
}

.swiper-button-prev {
  left: 0;
}

.swiper-button-next {
  right: 0;
}

.carousel-item-overlay {
  display: flex;
  flex-direction: column;
  position: absolute;
  align-items: center;
  justify-content: center;
  width: 100%;
  bottom: 0;
  background: #0000009c;
  z-index: 1;
  padding: 10px;
}

.carousel-item-overlay i {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 5px;
}

.carousel-item-overlay h2 {
  font-size: 1.2rem;
  color: #fff;
  font-weight: 600;
  margin: 5px 0;
  text-transform: none;
}


.carousel-item-overlay span {
  display: flex;
  font-size: 1rem;
  color: #fff;
}

/* LIDAR SECTION */
.full-width-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: #000;
}

.full-page {
  width: 100%;
  display: flex;
}

.split-content {
  display: flex;
  width: 100%;
  height: 600px;
}

/* General styles for both left and right sections */
.split-content > div {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

.left-picture {
  background-color: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

.left-picture.visible {
  transform: translateX(0);
  opacity: 1;
}

/* Animations for child elements */
.slide-in-top {
  opacity: 0;
  transform: translateY(-50px);
  transition: transform 0.7s ease-out, opacity 1s ease-out;
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

/* When left-picture is visible, animate child elements */
.left-picture.visible .slide-in-top {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.3s; /* Delay to stagger animations */
}

.left-picture.visible .slide-in-left {
  transform: translateX(0);
  opacity: 1;
  transition-delay: 0.6s; /* Delay to stagger animations */
}

.left-text {
  max-width: 80%;
}

.left-text h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #fff;
}

.left-text p {
  font-size: 1.2rem;
}

.split-content video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SERVICES SECTION STYLING */
.services-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  background: #111;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: "";
  position: absolute;
  left: -50%;
  top: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, var(--medium-grey) 0%, transparent 40%);
  opacity: 1;
}

.services-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.services-swiper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
  overflow: visible; 
}

.services-swiper .swiper-slide {
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  position: relative;
  height: 500px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-swiper .swiper-slide-active {
  transform: scale(1);
  opacity: 1;
}

.services-swiper .swiper-slide-prev,
.services-swiper .swiper-slide-next {
  transform: scale(0.8);
  opacity: 0.6;
}

.services-swiper .swiper-button-prev,
.services-swiper .swiper-button-next {
  color: var(--accent-color);
  z-index: 10;
  width: 50px;
  height: 50px;
}

.services-swiper .swiper-button-prev {
  left: 0;
}

.services-swiper .swiper-button-next {
  right: 0;
}

.services-swiper .carousel-item-overlay {
  display: flex;
  flex-direction: column;
  position: absolute;
  align-items: center;
  justify-content: center;
  width: 100%;
  bottom: 0;
  background: #0000009c;
  z-index: 1;
  padding: 10px;
}

.services-swiper .carousel-item-overlay .icon-wrapper {
  background: var(--dark-grey);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.services-swiper .carousel-item-overlay .icon-wrapper i {
  font-size: 2rem;
  color: var(--accent-color);
}

.services-swiper .carousel-item-overlay h2 {
  font-size: 1.2rem;
  color: #fff;
  font-weight: 600;
  margin: 5px 0;
  text-transform: none;
}

.services-swiper .carousel-item-overlay span {
  display: flex;
  font-size: 1rem;
  color: #fff;
}

.drone-icon {
  width: 32px;
  height: 32px;
  display: inline-block;
  vertical-align: middle;
}

.swiper-pagination-bullet {
  background: var(--accent-color);
}

/* CONTACT SECTION */
.contact-section {
  background-color: #f9f9f9;
}

.contact-section .card {
  padding: 30px;
  border-radius: 8px;
  color: #fff;
}

.contact-section h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  margin-top: 0;
  text-align: center;
}

.contact-section p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.contact-section .contact-info {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  text-align: center;
}

.contact-section .contact-info li {
  margin: 0.5rem 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-section .contact-info li i {
  margin-right: 10px;
  color: #0092ca;
}

.contact-section .contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-section .contact-form form input,
.contact-section .contact-form form textarea,
.contact-section .contact-form form button {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  font-size: 1rem;
  border: none;
  outline: none;
  box-sizing: border-box;
  border-radius: 4px;
}

.contact-section .contact-form form input,
.contact-section .contact-form form textarea {
  background-color: #1a1a1a;
  color: #fff;
  border: 2px solid #0092ca;
  margin-right: 10px;
}

.contact-section .contact-form form input::placeholder,
.contact-section .contact-form form textarea::placeholder {
  color: #ccc;
}

.contact-section .contact-form form input:focus,
.contact-section .contact-form form textarea:focus {
  background-color: #333;
  border-color: #00aaff;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.contact-section .contact-form form button {
  background-color: #0092ca;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  border: solid 3px #0092ca;
}

.contact-section .contact-form form button:hover {
  background-color: #007bb5;
  transform: translateY(-2px);
}

.contact-section .contact-form form button:active {
  transform: translateY(1px);
}

.preferred-contact {
  margin: 10px 0;
}

.preferred-contact label {
  display: flex;
  margin-bottom: 5px;
  font-weight: bold;
  align-items: center;
  justify-content: center;
}

.contact-options {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.contact-options label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: normal;
}

.contact-options input {
  margin-right: 5px;
}

.password-container {
  position: relative;
  display: flex;
  align-items: center;
}

.password-container input {
  width: 100%;
  padding-right: 20px;
}

.toggle-password {
  position: absolute;
  font-size: 1.2rem;
  right: -20px;
  margin-top: 20px;
  cursor: pointer;
  color: var(--accent-color);
  transition: color 0.3s;
}

.toggle-password:hover, .toggle-password:active {
  font-size: 1.3rem;
}

  /* Inline Notifications */
#formMessage {
  margin-top: 10px;
  font-size: 1rem;
  text-align: center;
}

  /* Checkbox's */
.checkbox-group input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 10px;
  height: 10px;
  border: 2px solid #0092ca;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
}

.checkbox-group input[type="checkbox"]:checked {
  background-color: #0092ca;
  border-color: #007bb5;
  position: relative;
}

.checkbox-group input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 8px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-group label {
  display: flex;
  align-items: center;
  margin: 5px 0;
  font-size: 1rem;
  cursor: pointer;
  gap: 10px;
}

.checkbox-group label input {
  margin-right: 10px;
}

/* LOGIN/REGISTER SECTION */
.login-register {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(var(--dvh) * 1);
  text-align: center;
  margin: 0;
  padding: 20px;
}

.form {
  display: flex;
  flex-direction: column;
}

.login-register h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  margin-top: 0;
}

.form input, .form textarea, .form button {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  font-size: 1rem;
  border: none;
  outline: none;
  color: #fff;
  box-sizing: border-box;
}

.form input, .form textarea {
  background-color: #1a1a1a;
  border-bottom: 2px solid #0092ca;
}

.form input:focus, .form textarea:focus {
  background-color: #333;
  border-color: #00aaff;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form button {
  background-color: #0092ca;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  border: solid 3px #0092ca;
}

.form button:hover {
  background-color: #007bb5;
  transform: translateY(-2px);
}

.form button:active {
  transform: translateY(1px);
}

.login-register p {
  font-size: 0.9rem;
}

.login-register a {
  color: #0092ca;
  text-decoration: none;
}

.login-register a:hover {
  text-decoration: underline;
}

/* FOOTER */
.footer.expanded {
  height: 160px;
}

.footer-toggle {
  position: absolute;
  top: 15px;
  right: 40px;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.footer.expanded .footer-toggle i {
  transform: rotate(180deg);
}

.footer-content {
  display: none;
  width: 100%;
  padding: 10px 20px;
  box-sizing: border-box;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.footer-content button {
  margin-right: 40px;
}

.footer-content ul {
  margin-left: 40px;
}

.footer-content a {
  text-decoration: none;
  color: var(--text-light);
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.footer-content a:hover {
  color: var(--accent-color);
}

.contact-info i {
  margin-right: 5px;
}

.footer.expanded .footer-content {
  display: flex;
}

.contact-button {
  background-color: #0092ca;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-button:hover {
  background-color: #007bb5;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  font-size: 0.9rem;
}

.contact-info li {
  margin-bottom: 5px;
}

/* FILE MANAGER */
.file-manager-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  height: calc(100vh - 150px);
  box-sizing: border-box;
}

.file-manager-container header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 100px;
}

#logoutButton {
  background-color: transparent;
  color: var(--accent-color);
  margin-left: auto;
  padding: 5px 10px;
  border-radius: 5px;
  border: 2px solid var(--accent-color);
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

#logoutButton:hover {
  background-color: var(--accent-color);
  color: var(--text-light);
}

#fileControls button {
  color: var(--accent-color);
  background-color: transparent;
  border: 2px solid var(--accent-color);
  transition: background-color 0.3s, color 0.3s;
  font-weight: 600;
}

#fileControls button:hover {
  background-color: var(--accent-color);
  color: var(--text-light);
}

#breadcrumbs {
  padding: 5px;
}

#breadcrumbs a {
  color: var(--text-light);
}

.upload-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
}

.upload-section input[type="file"] {
  display: none;
}

.upload-section button {
  padding: 10px 20px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#dropZone {
  width: 100%;
  height: 150px;
  border: 2px dashed #ccc;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  margin-bottom: 20px;
  transition: background-color 0.3s, border-color 0.3s;
}

#dropZone.dragover {
  background-color: #e9ecef;
  border-color: var(--accent-color);
  color: #333;
}

.file-list-section ul {
  list-style-type: none;
  padding: 0;
  margin-bottom: 50px;
}

.file-list-section li {
  padding: 5px;
  border-radius: 5px;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#fileList li:nth-child(odd) {
  background-color: var(--dark-bg);
}

#fileList li:nth-child(even) {
  background-color: var(--dark-grey);
}

.file-list-section li a {
  text-decoration: none;
  color: var(--accent-color);
}

.file-list-section li a:hover {
  text-decoration: underline;
}

.button-container {
  display: flex;
}

.file-list-section li button {
  margin-left: 5px;
  padding: 5px 10px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.file-list-section li button.download {
  background-color: var(--accent-color);
  color: white;
}

.file-list-section li button.share {
  background-color: var(--accent-color);
  color: white;
}

.file-list-section li button.delete {
  background-color: #dc3545;
  color: white;
}

.upload-progress-bar {
  color: var(--accent-color);
  width: 100%;
  height: 20px;
}
  
#uploadProgressContainer li {
  list-style: none;
  margin-bottom: 10px;
}
  
#uploadProgressContainer li span {
  display: flex;
  margin-bottom: 5px;
  font-weight: bold;
}

.file-list-section li input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #0092ca;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
  margin-right: 5px;
  position: relative;
}

.file-list-section li input[type="checkbox"]:checked {
  background-color: #0092ca;
  border-color: #007bb5;
}

.file-list-section li input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

  /* File list styling */
.file-list-section li {
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
}

  /* Icon styling */
.file-list-section li i {
  width: 30px;
  text-align: center;
  margin-right: 5px;
  font-size: 1.25em;
}

  /* File link styling */
.file-list-section li a {
  text-decoration: none;
  flex-grow: 1;
  text-align: left;
  color: var(--accent-color);
  font-size: 1.2rem;
  font-weight: 600;
}

  /* Folder-specific link styling */
.file-list-section li i.fa-folder + a {
  color: var(--text-light);
  font-weight: bold;
  font-size: 1rem;
}

  /* Dark mode folder styling */
body.dark-mode .file-list-section li i.fa-folder + a {
  color: var(--text-light);
}

  /* Light mode folder styling */
body.light-mode .file-list-section li i.fa-folder + a {
  color: var(--text-dark);
}

.file-list-section li a:hover {
  text-decoration: underline;
}

.file-list-section li i.fa-folder + a:hover {
  color: var(--accent-color);
}

.share-modal.hidden {
  display: none !important;
}

.share-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.share-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 8px;
  max-width: 500px;
  width: 80%;
  position: relative;
  border: 3px solid var(--accent-color);
}

.share-modal-content h3 {
color: var(--text-light);
}

.close-modal {
  position: absolute;
  top: 0;
  right: 0.75rem;
  font-size: 3rem;
  cursor: pointer;
}

.share-link-row {
  margin: 1rem 0;
  display: flex;
  gap: 0.5rem;
  width: 100%;
  align-items: center;
}

.share-link-row input {
  width: 100%;
  padding: 10px;
  height: fit-content;
  font-size: 1rem;
}

.share-link-row button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
}

.expires {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  font-size: 1rem;
  align-items: center;
}

.expires select {
  padding: 5px;
  font-size: 1rem;
}

  /* Loading overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
  
.loading-overlay .loading-content {
  text-align: center;
  color: #fff;
}
  
.loading-overlay p {
  font-size: 1.5em;
  margin: 0.5em 0;
}
  
  /* Spinner styling */
.spinner {
  margin: 1em auto;
  width: 50px;
  height: 50px;
  border: 5px solid #fff;
  border-top: 5px solid var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
  
@keyframes spin {
to {
    transform: rotate(360deg);
  }
}

/* MOBILE STYLES */
@media (max-width: 768px) {
  #home {
    background-size: contain;
    background-size: cover;
  }

  .header .container {
    position: relative;
  }

  .toggle-switch-desktop {
    display: none;
  }

  .toggle-switch-mobile {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 80px;
    right: -100%;
    height: 100%;
    background-color: #0c0c0cef;
    flex-direction: column;
    padding: 30px;
    transition: right 0.3s ease;
    z-index: 11;
    display: flex;
  }

  .nav.active {
    right: -1px;
  }

  .nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .nav li {
    width: 100%;
  }

  .nav a {
    font-size: 1.7rem;
  }

  .mobile-nav-header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }
  
  .hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    width: 40px;
    height: 30px;
    justify-content: space-between;
    z-index: 12;
    position: absolute;
    top: 20px;
    right: 20px;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(10px, 8px);
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(10px, -8px);
  }

  .switch-label {
    right: -15px;
  }

  .file-manager-container header {
    margin-top: 60px;
  }
  
  #about {
    width: 100%;
  }

  .about-container {
    width: 100%;
  }
  
  .swiper {
    width: 80vw;
  }
  
  .swiper-slide {
    height: 400px;
    width: 60%;
  }
  
  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }

  #tour iframe {
    height: 500px;
  }

  .split-content {
    flex-direction: column;
  }

  .left-text {
    max-width: 90%;
  }
  
  .left-text h2 {
    font-size: 1.5rem;
  }
  
  #contact .container {
    width: 100%;
    max-width: 100%;
  }

  .bar {
    height: 3px;
    width: 100%;
    background-color: var(--text-light);
    border-radius: 10px;
    transition: all 0.3s ease;
  }

  .contact-section p {
    display: none;
  }

  .checkbox-group label {
    margin: 0;
    gap: 5px;
  }
  
  .contact-section .card {
    padding: 10px;
    max-width: 92%;
    margin: 60px 0
  }

  .services-grid, .deliverables-grid {
    grid-template-columns: 1fr 1fr;
  }
    
  .edit-profile-pic {
    right: -20px;
  }

  .file-manager-container main {
    flex-direction: row;
    max-width: 100%;
    padding-top: 0;
  }

  #fileControls {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  #fileControls button {
    width: calc(50% - 5px);
    padding: 10px 5px;
    margin: 5px 0;
  }

  .file-list-section h4 {
    margin-bottom: 10px;
  }

  .button-container {
    flex-direction: column;
    max-width: 27%;
  }

  .button-container button {
    width: 100%;
    align-self: end;
    padding: 5px 5px;
    margin: 5px 5px;
  }

  .file-list-section li input[type="checkbox"] {
    min-width: 20px;
    align-self: flex-start;
  }

  .file-list-section li a {
    font-size: 1rem;
  }

  .file-list-section li i {
    width: 0;
    text-align: left;
    font-size: 1.25em;
    left: 30px;
    position: absolute;
  }

  #dropZone {
    display: none;
  }

  .card {
    max-width: 80%;
  }

  .close-modal {
    top: -15px;
    right: 15px;
  }

  .toggle-password {
    right: 45px;
    margin-top: 20px;
  }

  .password-section .toggle-password {
    right: 20px;
    margin-top: 20px;
  }
  
  .modal-content.card {
    padding: 10px;
    max-width: 80%;
    max-height: 80%;
    overflow-y: scroll;
  }

  .logout-section .logout-btn {
    margin-top: 0px;
  }

  .profile-pic-large {
    width: 100px;
    height: 100px;
  }

  .footer p {
    padding-right: 20px;
  }

  .footer-toggle {
    margin-right: 20px;
  }

  .contact-button {
    margin-bottom: 20px;
  }

  .contact-section h3 {
    margin-top: 20px;
  }

  .footer.expanded .footer-content {
    display: flex;
    flex-direction: column;
  }

  .footer-content {
    align-items: normal;
  }

  .footer.expanded {
    padding-top: 20px;
    padding-bottom: 30px;
  }

  .mobile-hide {
    display: none;
  }
}

@media (max-width: 480px) {
  #home {
    background-size: 100% auto;
    background-size: cover;
  }

  #home .container {
    margin-top: 20px;
  }

  #home .container h3 {
    margin: 20px 0;
  }

  #home .container h1 {
    margin-bottom: 20px;
  }

  .services-grid, .deliverables-grid {
    grid-template-columns: 1fr;
  }

  .file-list-section li {
    padding: 10px 5px;
  }

  .modal-content.card h3,
  .modal-content.card h4,
  .modal-content.card p {
    font-size: 1rem;
  }

  .profile-pic-large {
    width: 80px;
    height: 80px;
  }

  .modal-content.card button {
    font-size: 0.9rem;
    padding: 10px;
  }

  .profile-pic-large {
    width: 80px;
    height: 80px;
  }

  button {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  .footer-toggle {
    right: 20px;
  }
}

@media (max-width: 360px) {
  .switch-label {
    right: -32px;
  }
}

@media (orientation: portrait) {
  :root {
    --dvh: calc(var(--vh, 1vh) * 100);
    --dvw: calc(var(--vw, 1vw) * 100);
  }
}

@media (orientation: landscape) {
  :root {
    --dvh: calc(var(--vh, 1vh) * 100);
    --dvw: calc(var(--vw, 1vw) * 100);
  }
}

@media (min-width: 600px) {
  .swiper-slide {
    width: 45%; /* Adjust width for tablets */
  }
}

@media (min-width: 1024px) {
  .swiper-slide {
    width: 30%; /* Adjust width for desktops */
  }
}