/* 
Theme: Filifly
Author: Md Mim Akhtar
Author Website: https://www.imimofficial.com
Date Started: 28/10/2024
License: All Rights Reserved
*/

/* Theme */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;1,400&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css');
/* Colors */
:root {
  --primary-color: #007bff;
  --secondary-color: #3498db;
  --dark-color: #6da5a7;
  --white-color: #ffffff;
  --black-color: #000000;
  --dim-black-color: #2e2e2e;
  --red-color: #ff0000;
  --overlay-color: #000000e1;
}


/* Dark Mode Styles */
body.dark-mode {
  --primary-color: #1a73e8;
  --secondary-color: #4285f4;
  --dark-color: #121212;
  --white-color: #e0e0e0;
  --black-color: #ffffff;
  --dim-black-color: #b0b0b0;
  --red-color: #cf6679;
  --overlay-color: #000000e1;
  background-color: var(--dark-color);
  color: var(--white-color);
}

body.dark-mode .menu-toggle {
  color: var(--white-color);
  border: 2px solid var(--white-color);
}

body.dark-mode .navbar {
  background-color: var(--dark-color);
  color: var(--white-color);
  border-bottom: 2px solid var(--dim-black-color);
}

body.dark-mode .navbar a {
  color: var(--white-color);
}

body.dark-mode .navbar a:hover {
  color: var(--primary-color);
}

body.dark-mode .navbar a.active {
  color: var(--primary-color);
}

body.dark-mode .welcome-screen {
  background: linear-gradient(180deg, transparent, hsla(0, 0%, 20%, 0.29) 47.39%, #121212), linear-gradient(90deg, #1a1a1a .07%, #2a2a2a 16.73%, #3a3a3a 34.48%, #4a4a4a 49.98%, #5a5a5a 66.12%, #6a6a6a 81.95%, #7a7a7a 99.9%);
}

body.dark-mode .video-overlay {
  background: linear-gradient(180deg, transparent, hsla(0, 0%, 20%, 0.29) 47.39%, #121212), linear-gradient(90deg, #1a1a1a .07%, #2a2a2a 16.73%, #3a3a3a 34.48%, #4a4a4a 49.98%, #5a5a5a 66.12%, #6a6a6a 81.95%, #7a7a7a 99.9%);
}

body.dark-mode .message {
  color: var(--dim-black-color);
}

body.dark-mode .message a {
  color: var(--primary-color);
}

body.dark-mode .block-transparent,
body.dark-mode .block-primary-color,
body.dark-mode .block-white,
body.dark-mode .block-1,
body.dark-mode .block-2,
body.dark-mode .block-3,
body.dark-mode .block-4 {
  background-color: var(--dark-color);
  color: var(--white-color);
}

body.dark-mode .tabs-container {
  background-color: var(--dim-black-color);
  border: 1px solid var(--dim-black-color);
}

body.dark-mode .tab {
  background-color: var(--dim-black-color);
  color: var(--white-color);
}

body.dark-mode .tab.active {
  background-color: var(--primary-color);
  color: var(--black-color);
}

body.dark-mode .tab-content {
  background-color: var(--dark-color);
  color: var(--white-color);
  border: 1px solid var(--dim-black-color);
}

body.dark-mode .file-upload-area {
  background-color: #333;
  border: 2px dashed var(--primary-color);
  color: var(--white-color);
}

body.dark-mode #upload-icon {
  color: var(--white-color);
}

body.dark-mode .file-preview-item {
  background: #444;
  color: var(--white-color);
}

body.dark-mode .file-size {
  color: var(--dim-black-color);
}

body.dark-mode .file-name {
  color: var(--dim-black-color);
}

body.dark-mode .remove-file {
  background: var(--red-color);
}

body.dark-mode .digit-input {
  border-bottom: 2px solid var(--primary-color);
  color: var(--white-color);
  background-color: #333;
}

body.dark-mode .button,
body.dark-mode .submit-button,
body.dark-mode .send-button,
body.dark-mode .download-file {
  background-color: var(--primary-color);
  color: var(--black-color);
}

body.dark-mode .button:hover,
body.dark-mode .submit-button:hover,
body.dark-mode .send-button:hover,
body.dark-mode .download-file:hover {
  background-color: var(--secondary-color);
}

body.dark-mode .footer {
  background-color: var(--dark-color);
  color: var(--white-color);
  border-top: 2px solid var(--dim-black-color);
}

body.dark-mode .footer a {
  color: var(--primary-color);
}

body.dark-mode .footer a:hover {
  color: var(--secondary-color);
}

body.dark-mode .alert-notification {
  background-color: var(--dark-color);
  border: 2px solid var(--primary-color);
  color: var(--white-color);
}

body.dark-mode .close-btn {
  color: var(--dim-black-color);
}

body.dark-mode .close-btn:hover {
  color: var(--white-color);
}

body.dark-mode .drag-overlay {
  background: #000000b7;
  color: var(--white-color);
}

body.dark-mode .upload-overlay {
  background-color: var(--overlay-color);
}

body.dark-mode .upload-content {
  color: var(--white-color);
}

body.dark-mode .progress-container {
  background-color: #444;
}

body.dark-mode .progress-bar {
  background-color: var(--primary-color);
}

body.dark-mode .cta-banner {
  background-color: var(--dark-color);
  color: var(--white-color);
}

body.dark-mode .upload-success-popup-content {
  background: linear-gradient(180deg, transparent, hsla(0, 0%, 20%, 0.29) 47.39%, #121212), linear-gradient(90deg, #1a1a1a .07%, #2a2a2a 16.73%, #3a3a3a 34.48%, #4a4a4a 49.98%, #5a5a5a 66.12%, #6a6a6a 81.95%, #7a7a7a 99.9%);
  color: var(--white-color);
}

body.dark-mode .input-field input,
body.dark-mode .input-field2 input {
  background-color: #333;
  color: var(--white-color);
  border: 1px solid var(--dim-black-color);
}

body.dark-mode .input-field input:focus,
body.dark-mode .input-field2 input:focus {
  border-color: var(--primary-color);
}

body.dark-mode .close-popup-button,
body.dark-mode .close-popup-buttonn {
  background-color: var(--primary-color);
  color: var(--black-color);
}

body.dark-mode .close-popup-button:hover,
body.dark-mode .close-popup-buttonn:hover {
  background-color: var(--secondary-color);
}

body.dark-mode .scrollToTopBtn {
  background-color: var(--primary-color);
  color: var(--black-color);
}

body.dark-mode .scrollToTopBtn:hover {
  background-color: var(--secondary-color);
}

html {
  scroll-behavior: smooth;
}

/* Chrome, Safari, Edge */
body::-webkit-scrollbar {
  width: 0px;
  background: transparent; /* Optional: Fully transparent to ensure no visible scrollbar */
  scrollbar-width: none; /* Hides scrollbar in Firefox */
  -ms-overflow-style: none; /* Hides scrollbar in IE/Edge */
}

.free-height-20px {
  height: 20px;
}

.empty-space-20px {
  padding-top: 20px;
}

.empty-space-up-down-15px {
  margin: 10px auto;
}

.empty-space-40px {
  padding-top: 40px;
}

.coming-soon {
  font-size:x-small;
}

button {
  cursor: pointer;
}

.error {
  font-size: 12px;
  text-align: left;
  color: var(--red-color);
  display: none;
}

.guide {
  font-size: 12px;
  color: var(--dim-black-color);
  text-align: left;
  margin: 0px auto 5px auto;
}

.message .countings #upload-counts, .message .countings #download-counts {
  animation: glow 1s infinite;
  color: var(--secondary-color);
}

@keyframes glow {
  0% {
    text-shadow: 0 0 15px var(--secondary-color);
    color: var(--secondary-color);
}

50% {
    text-shadow: 0 0 50px var(--secondary-color);
    color: var(--primary-color);
}
100% {
    text-shadow: 0 0 10px var(--secondary-color);
    color: var(--secondary-color);
}

}

.message {
  margin-top: 5px;
  font-size: 14px;
  text-align: center;
  color: var(--dark-color);
  line-height: 1.6;
}

.message a {
  text-decoration: none;
  color: var(--secondary-color);
}

.message a:hover {
  color: var(--primary-color);
}

@media screen and (max-width:768px) {
  .message {
    font-size: 10px;
  }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Inter;
  }

/* Welcome Screen Styling */
.welcome-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  background:linear-gradient(180deg,transparent,hsla(0,0%,95%,.29) 47.39%,#fff),linear-gradient(90deg,#f9ddf1 .07%,#e5e1ff 16.73%,#daedff 34.48%,#e2f4e3 49.98%,#ebf5d8 66.12%,#faf2da 81.95%,#fbe5d8 99.9%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Background Video Styling */
.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0.9;
  height: 100%;
  object-fit: cover; /* Ensure video covers entire background */
  z-index: -1; /* Place it behind the content */
}

/* Overlay to Darken Background for Readability */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent dark overlay */
  z-index: 1; /* Above video, below text */
}

/* Main Content Styling */
.welcome-content {
  position: relative;
  z-index: 2; /* Ensure it stays above video and overlay */
  text-align: center;
  color: #ffffff; /* White text for contrast over video */
}

.text-carousel h1 {
  font-size: 5rem;
  font-weight: 700;
  margin: 0 0 20px 0;
  color: var(--primary-color);
  animation: fadeIn 1s ease-in-out;
}

@media screen and (max-width:768px) {
  .text-carousel h1 {
    font-size: 2rem;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Typewriter Effect */
.feature-text {
  padding: 0px 20px;
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary-color);
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  /* border-right: 10px solid; */
  animation: typing 2s steps(30, end), blink 0.8s infinite step-end alternate;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

/* Buttons */
.welcome-buttons {
  margin-top: 20px;
}

.action-button {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 12px 30px;
  margin: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.action-buttonn {
  background-color: var(--secondary-color);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 12px 30px;
  margin: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.action-buttonn:hover {
  background-color: var(--primary-color);
}

.featured-by {
  width: 100%;
  align-items: center;
  align-content: center;
  justify-content: center;
  text-align: center;
  color: var(--dark-color);   
  font-size: 14px;
  font-weight: 600;
}

.footer-message {
  margin-top: 100px;
  width: 100%;
  text-align: center;
  color: var(--dark-color);   
  font-size: 14px;
  font-weight: 600;
}

.footer-message .tc-message {
  margin-bottom: 10px;
}

.footer-message .tc-message a {
  color: var(--secondary-color);
  text-decoration: none;
}

.footer-message .tc-message a:hover {
  color: var(--primary-color);
}

.footer-message .author {
  color: var(--dark-color);
}

.footer-message .author a {
  color: var(--secondary-color);
  text-decoration: none;
}

.footer-message .author a:hover {
  color: var(--primary-color);
}

.hidden {
  opacity: 0;
  visibility: hidden;
}

body.no-scroll {
  overflow: hidden;
}

.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1; /* Places video behind content */
}

#background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translate(-50%, -50%);
  background-size: cover;
}

/* Overlay styling */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  background:linear-gradient(180deg,transparent,hsla(0,0%,95%,.29) 47.39%,#fff),linear-gradient(90deg,#f9ddf1 .07%,#e5e1ff 16.73%,#daedff 34.48%,#e2f4e3 49.98%,#ebf5d8 66.12%,#faf2da 81.95%,#fbe5d8 99.9%);
  z-index: -1;
}

  /* Navbar Styles */
  .navbar {
    background-color: #ffffff;
    color: var(--dim-black-color);
    padding: 5px 20px;
    border-bottom: 2px solid var(--dark-color);
    position: sticky; /* Makes the navbar sticky */
    top: 0; /* Position the navbar at the top of the viewport */
    z-index: 100; /* Ensure it's on top of other elements */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Uncomment for shadow effect */
  }

  .navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1290px;
    margin: 0 auto;
  }
  
  .logo {
    display: flex;
    align-items: center; /* Aligns items vertically in the center */
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
  }
  
  .logo img {
    width: 60px;
    justify-content: space-between; /* Adjust as needed */
  }

  .logo span {
    margin-left: 10px;
  }
  
  .nav-links {
    display: flex;
    gap: 20px;
  }
  
  .nav-links li {
    list-style: none;
  }
  
  .nav-links a {
    color: var(--dim-black-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
  }
  
  .nav-links a:hover {
    color: var(--primary-color); /* Blue on hover */
  }
  
  .nav-links a.active {
    color: var(--primary-color); /* Active link in primary blue */
  }
  
  /* Mobile Menu Toggle */
  .menu-toggle {
    display: none;
    background: none;
    font-size: 24px;
    color: var(--dim-black-color);
    cursor: pointer;
    border: 2px solid var(--dim-black-color);
    padding: 0px 5px 0px 5px;
    border-radius: 10px;
    z-index: 111;
  }
  
  /* Responsive Styling */
  @media (max-width: 768px) {
    .nav-links {
      display: none;
      flex-direction: column;
      background-color: #ffffff;
      width: 100%;
      position: absolute;
      top: 60px;
      left: 0;
      padding: 10px 0;
      box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    }
  
    .nav-links li {
      margin: 10px 0;
      text-align: center;
    }
  
    .menu-toggle {
      display: block;
    }
  }
    
  /* Show nav-links on mobile toggle */
  .nav-links.show {
      margin-top: 12px;
      display: flex;
      border-bottom: 2px solid var(--dark-color);
      z-index: 100;
  }

.block-main {
    min-height: 100vh;
}

.block-transparent {
    width: 100%;
    padding: 80px 20px 80px 20px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    justify-items: center;
    display: block;
    background-color: #f9ddf1;
}

.block-primary-color {
  width: 100%;
  padding: 80px 20px 80px 20px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  justify-items: center;
  display: block;
  background-color: var(--primary-color);
}

.block-white {
  width: 100%;
  padding: 80px 20px 80px 20px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  justify-items: center;
  display: block;
  background-color: var(--white-color);
}

.block-1 {
  width: 100%;
  padding: 80px 20px 80px 20px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  justify-items: center;
  display: block;
  background-color: #f9ddf1;
}

.block-2 {
  width: 100%;
  padding: 80px 20px 80px 20px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  justify-items: center;
  display: block;
  background-color: #ebf5d8;
}

.block-3 {
  width: 100%;
  padding: 80px 20px 80px 20px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  justify-items: center;
  display: block;
  background-color: #fbe5d8;
}

.block-4 {
  width: 100%;
  padding: 80px 20px 80px 20px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  justify-items: center;
  display: block;
  background-color: #daedff;
}

section {
    width: 1290px;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Tabs Section */
.tabs-section {
  width: 1290px;
  max-width: 100%;
  margin: 40px auto;
  padding: 20px;
  font-family: Arial, sans-serif;
}

.headings {
  text-align: center;
  margin-bottom: 20px;
}

.headings h2 {
  color: var(--dim-black-color);
  font-size: 48px;
}

@media screen and (max-width:768px) {
  .headings h2 {
    font-size: 28px;
  }
}

.tabs-container {
  display: flex;
  justify-content: space-around;
  background-color: var(--dark-color);
  overflow: hidden;
  border: 1px solid var(--dark-color);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.tab {
  flex: 1;
  padding: 15px 10px;
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  background-color: var(--dark-color);
  color: var(--white-color);
  border: none;
  transition: background-color 0.3s, color 0.3s;
}

.tab.active {
  background-color: var(--primary-color);
  color: #fff;
}

.tab:hover {
  background-color: var(--secondary-color);
  color: var(--white-color);
}

/* Tab Content */
.tab-content {
  border: 1px solid #ddd;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 0 0 8px 8px;
  border: 1px solid var(--dark-color);
  border-top: none;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.tab-pane h3 {
  font-size: 24px;
  color: var(--dim-black-color);
  margin-bottom: 10px;
}

.tab-pane p {
  color: var(--dim-black-color);
  font-size: 14px;
  margin-bottom: 20px;
}


/* Styling for file upload and preview */
.file-upload-area {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 20px;
  border: 2px dashed var(--secondary-color);
  background-color: #f8f9fa;
  border-radius: 8px;
  color: var(--dark-color);
  cursor: pointer;
  transition: background-color 0.3s;
}


.file-upload-area:hover {
  background-color: #ebebeb;
}

.upload-box span {
  color: var(--primary-color);
  font-weight: bold;
}

#upload-icon {
  font-size: 46px;
  color: var(--dark-color);
  margin-bottom: 10px;
}

/* File Preview */
.file-preview-container, .receive-file-preview-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); /* Change to auto-fill with min-width */
  gap: 10px;
  margin: 10px 0;
}

.file-preview-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f1f1f1;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  position: relative;
  overflow: hidden; /* Prevent overflow */
}

.file-thumbnail {
  width: 100%;
  height: 100px; /* Fixed height for consistency */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 5px; /* Space between thumbnail and file details */
}

.file-thumbnail img {
  max-width: 100%; /* Responsive image */
  max-height: 100%; /* Keep image within the thumbnail area */
  object-fit: contain; /* Ensures images are contained within their box */
}

.file-thumbnail span {
  font-size: 78px;
}

@media screen and (max-width: 1290px) {
  .file-thumbnail span {
    font-size: 68px;
  }
}

@media screen and (max-width: 768px) {
  .file-thumbnail span {
    font-size: 48px;
  }
}

.file-name {
  font-size: 12px;
  margin: 5px 0;
  color: var(--dark-color);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-size {
  font-size: 11px;
  color: var(--dark-color);
}

.remove-file {
  position: absolute;
  top: 5px;
  right: 5px;
  background: #ff0000;
  color: #fff;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 50%;
  cursor: pointer;
}

.file-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.clear-all {
  background-color: var(--secondary-color);
  border: none;
  font-size: 12px;
  color: #ffffff;
  padding: 5px 10px;
  margin-top: -5px;
  border-radius: 5px;
  cursor: pointer;
}

.clear-all:hover {
  background-color: var(--primary-color);
  transition: background-color 0.3s;
}

.total-size {
  font-size: 12px;
  color: var(--dim-black-color);
}

.file-status {
  font-size: 12px;
  color: var(--dim-black-color);
}

@media (max-width: 768px) {
  .file-preview-container, .receive-file-preview-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .file-preview-container, .receive-file-preview-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 380px) {
  .file-preview-container, .receive-file-preview-container {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 280px) {
  .file-thumbnail {
    height: 80px; /* Adjust height for smaller screens */
  }

  .file-icon {
    font-size: 24px; /* Reduce icon size on very small screens */
  }

  .file-name {
    font-size: 10px; /* Reduce font size for file name */
  }

  .file-size {
    font-size: 9px; /* Reduce font size for file size */
  }
}

/* Status Message  */
.status-message {
  display: flex;
  width: 100%;
  align-items: left;
  text-align: left;
}

.status-message .error-message {
  color: var(--red-color);
}
.status-message .success-message {
  color: var(--primary-color);
}


/* Style applied when upload animation is triggered */
.file-uploading .file-preview-item {
  animation: fly-to-cloud 0.8s ease-in-out forwards;
}

/* Upload Button */
.button {
  width: 100%;
  padding: 12px;
  background-color: var(--secondary-color);
  color: #ffffff;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.button:hover {
  background-color: var(--primary-color);
}

.button:disabled {
  background-color: var(--dark-color);
  cursor: auto;
}

/* Receive Area */
#receive {
  text-align: center;
}

.code-input-area {
  display: flex;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 400px;
  margin: 20px auto;
}

.digit-input {
  width: 10%;
  height: 40px;
  text-align: center;
  font-size: 28px;
  border: none; /* No border */
  border-bottom: 2px solid var(--secondary-color); /* Blue bottom line */
  margin: 0 5px; /* Space between inputs */
  outline: none; /* Remove default outline */
  transition: border-bottom-color 0.3s; /* Transition effect */
}

.digit-input:focus {
  border-bottom-color: var(--dark-color); /* Darker blue on focus */
}

@media screen and (max-width:768px) {
  .digit-input {
    font-size: 20px;
    height: 40px;
  }
}

.download-file {
  margin-top: 10px;
  width: 100%;
  padding: 8px 10px;
  background-color: var(--secondary-color); /* Blue background */
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

.download-file:hover {
  background-color: var(--primary-color); /* Blue background */
  transition: background-color 0.3s;
}

.download-all-button {
  display: none;
}

.submit-button {
  margin-top: 20px;
  padding: 10px 15px;
  background-color: var(--secondary-color); /* Blue background */
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.submit-button:hover {
  background-color: var(--primary-color); /* Darker blue on hover */
}

.status-message {
  margin-top: 10px;
}

.file-preview-container {
  margin-top: 20px;
}

.received-file-list {
  list-style-type: none; /* Remove bullet points */
  padding: 0; /* Remove padding */
}

.received-file-list li {
  padding: 5px 0; /* Add spacing between items */
}

.social-send-container {
  display: none;
  margin: 10px auto 20px auto;
  width: 500px;
  max-width: 100%;
}

/* Send Button */
.send-button {
  width: 100%;
  padding: 12px;
  background-color: var(--secondary-color);
  color: #ffffff;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.send-button:hover {
  background-color: var(--primary-color);
}

/* Social Share */
.social-icons-main {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.social-button {
  background-color: var(--secondary-color);
  color: var(--white-color);
  border: none;
  border-radius: 10px;
  font-size: 16px;
  padding: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.social-button:hover {
  background-color: var(--primary-color);
}

/* How it works */
.how-it-works {
  text-align: center;
  align-items: center;
  justify-content: center;
}

.how-it-works h2 {
  margin-bottom: 10px;
}

.process-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative; /* To position lines */
  margin: 0 auto; /* Center align */
  gap: 10px;
}

.process-step {
  flex: 1 1 calc(25% - 20px); /* 4 columns with space between */
  background-color: #fff; /* White background for steps */
  border: 1px solid var(--dark-color);
  border-radius: 8px;
  padding: 10px;
  position: relative; /* For absolute line positioning */
}

.process-step {
  h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dim-black-color-color);
  }
  p {
    color: var(--dim-black-color);
  }
}

.step-icon {
  font-size: 28px;
  font-weight: bold;
  color: var(--secondary-color); /* Blue color for step numbers */
  margin-bottom: 10px; /* Space below the number */
}

/* Responsive Styles */
@media (max-width: 768px) {
  .process-step {
      flex: 1 1 calc(50% - 20px); /* 2 columns on mobile */
  }
}

/* How It Works Video */
/* Container styling */
.embed-video-section {
  width: 100%;
  justify-content: center;
  align-items: center;
  max-width: 900px;
  border-radius: 8px;
  margin: 30px auto;
  text-align: center;
}

/* Title and description styling */
.embed-video-section h2 {
  color: var(--dim-black-color);
  margin-bottom: 10px;
}

.embed-video-section p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

/* Responsive iframe styling */
.embed-video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.embed-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive styling for smaller screens */
@media (max-width: 600px) {
  .embed-video-section h2 {
    font-size: 20px;
  }

  .embed-video-section p {
    font-size: 14px;
  }
}






/* Features */
.features {
  text-align: center;
  max-width: 100%;
}

.features h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: var(--dim-black-color);
}

.features-intro {
  font-size: 16px;
  color: var(--dim-black-color);
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}

.features-container {
  display: grid;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1290px;
  margin: 0 auto;
}

.feature {
  background-color: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  text-align: center;
}

.feature-icon {
  font-size: 40px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.feature h3 {
  font-size: 18px;
  color: var(--dim-black-color);
  margin-bottom: 10px;
}

.feature p {
  font-size: 14px;
  color: var(--dim-black-color);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .features-container {
      flex-direction: column;
      align-items: center;
      grid-template-columns: repeat(2, 1fr);
  }

  .feature {
      width: 100%;
  }
  .features-container .feature h3 {
    font-size: 18px;
  }
  .feature-icon {
    font-size: 30px;
  }

}


/* Comparison Container */
.comparison-section {
  text-align: center;
  max-width: 100%;
}

.comparison-section h2 {
  color: var(--dim-black-color);
  margin-bottom: 0.5em;
}

.comparison-intro {
  color: var(--dim-black-color);
  margin-bottom: 1.5em;
}

.comparison-table {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1em;
  color: var(--dim-black-color);
  margin-bottom: 1em;
  text-align: left;
  border: 1px solid var(--dark-color);
  border-radius: 10px;
}

thead th {
  background-color: var(--primary-color);
  color: #fff;
  font-weight: bold;
  padding: 1em;
  text-align: left;
}

tbody td {
  padding: 1em;
  border-bottom: 1px solid #ddd;
}

.highlight {
  background-color: #e0f7e9;
  font-weight: bold;
  color: #2e7d32;
}

tbody tr:hover {
  background-color: #f1f1f1;
}

/* Testimonials */
.testimonials {
  text-align: center;
  max-width: 100%;
  margin: auto;
}

.testimonials h2 {
  color: var(--dim-black-color);
  margin-bottom: 0.5em;
}

.testimonials-intro {
  color: var(--dim-black-color);
  margin-bottom: 1.5em;
}

.testimonial-cards {
  display: grid;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  grid-template-columns: repeat(4, 1fr);
}

.testimonial-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  padding: 10px;
  max-width: 300px;
  text-align: left;
  transition: transform 0.3s;
}

.testimonial-text {
  font-size: 14px;
  color:  var(--dim-black-color);
  margin-bottom: 1em;
}

.testimonial-author {
  font-size: 0.9em;
  color: var(--dim-black-color);
  font-style: italic;
}

@media screen and (max-width:768px) {
  .testimonial-cards {
    grid-template-columns: repeat(1, 1fr);
  }

  .testimonial-card {
    max-width: 100%;
  }
}

.reviewText {
  margin-top: 10px;
  padding: 10px;
  width: 100%;
  border-radius: 10px;
  border: 2px solid #ddd; /* Thematic border color */
  background-color: var(--white-color); /* Background color */
  color: var(--black-color); /* Text color */
  transition: border-color 0.3s ease; /* Smooth transition for border color */
}

.reviewText:focus {
  border-color: var(--secondary-color); /* Change border color on focus */
  outline: none; /* Remove default outline */
}

/* Please design the review form other input fields like for name, email */
/* and rating as per your requirement */
.post-review {
  gap: 5px;
  width: 100%;
  max-width: 600px;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.post-review input[type="text"],
.post-review input[type="email"],
.post-review textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-top: 5px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.3s;
}

.post-review .checkbox-container {
  display: flex;
  align-items: center;
  margin: 10px 0;
}

.post-review input[type="checkbox"] {
  margin-right: 10px;
}

.post-review input[type="text"]:focus,
.post-review input[type="email"]:focus,
.post-review textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.2);
}

.post-review label {
  font-size: 14px;
  color: var(--dim-black-color);
}

/* FAQ */
.faq h2 {
  text-align: center;
  color: var(--dim-black-color);
  margin-bottom: 10px;
}

.faq-intro {
  text-align: center;
  margin-bottom: 20px;
  color: var(--dim-black-color);
}

.faq-container {
  max-width: 1290px;
  margin: auto; /* Center the container */
}

.faq-item {
  margin: 15px 0;
  border: 2px solid #ddd; /* Light border */
  border-radius: 8px;
  overflow: hidden; /* Prevent content overflow */
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--dim-black-color); /* White text for contrast */
  padding: 10px;
  font-size: 14px;
  cursor: pointer; /* Pointer cursor for interactivity */
}

.faq-question h3 {
  margin: 0;
}

.faq-answer {
  padding: 15px;
  background-color: #fff; /* White background for the answer */
  color: #333; /* Dark text */
  display: none; /* Hide answers by default */
}

.faq-question i {
  transition: transform 0.3s ease; /* Smooth rotation */
}

.faq-question.active i {
  transform: rotate(180deg); /* Rotate icon when active */
}

/* Show answer when question is clicked */
.faq-item.active .faq-answer {
  display: block; /* Show the answer */
}

.faq-note a {
  color: var(--secondary-color);
  text-decoration: none;
}

.faq-note a:hover {
  color: var(--primary-color);
}

/* Footer Styles */
.footer {
  background-color: var(--white-color);
  padding: 40px 20px;
  color: var(--dark-color);
  font-size: 14px;
  border-top: 2px solid var(--dark-color);
  overflow: hidden;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1290px;
  margin: 0 auto;
}

.footer h4 {
  font-size: 16px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.footer p,
.footer a {
  color: var(--dim-black-color);
  text-decoration: none;
  line-height: 1.6;
}

.footer a:hover {
  color: var(--primary-color); /* Teal for hover effect */
}

.footer ul {
  list-style-type: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

/* Social Icons */
.social-icons {
  display: block;
}
.social-icons a {
  font-size: 18px;
  color: var(--white-color);
  margin-right: 10px;
  padding: 5px 10px;
  border-radius: 10px;
  transition: color 0.3s;
  background-color: var(--dark-color);
}

.footer .footer-bottom {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid var(--dark-color);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
    display: flex;
  }
}

/* Notification style */
.alert-notification {
  position: fixed;
  top: 65px; /* Change this to bottom: 20px; for bottom left */
  right: 20px; /* Change this to left: 20px; for bottom left */
  background-color: #fff;
  border: 2px solid var(--primary-color);
  width: 300px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: left;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  opacity: 0; /* Start hidden */
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(-10px); /* Slide in effect */
}

/* Visible state */
.alert-notification.show {
  z-index: 400; /* Ensure it appears above other elements */
  opacity: 1; /* Show the notification */
  transform: translateY(0); /* Slide into view */
}

/* Title and message */
.alert-notification h2 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #333;
}

.alert-notification p {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: #999;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: var(--dim-black-color);
}


/* Drag Overlay */
/* Overlay styling */
.drag-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000b7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 101;
}

.drag-overlay.active {
  visibility: visible;
  opacity: 1;
}

.drag-overlay i {
  font-size: 50px;
  margin-bottom: 10px;
}

.drag-overlay .align-center {
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Uploading Progress Bar */
.upload-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--overlay-color); /* Semi-transparent black */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 600; /* Make sure it's on top */
  visibility: hidden; /* Hidden by default */
  opacity: 0; /* Start with invisible */
  transition: visibility 0s, opacity 0.3s linear; /* Smooth transition */
}

.upload-overlay.active {
  visibility: visible; /* Show when active */
  opacity: 1; /* Fade in */
}

.upload-content {
  text-align: center;
  color: #ffffff;
  padding: 20px;
  border-radius: 8px;
}

.spinner {
  border: 8px solid #f3f3f3; /* Light grey */
  border-top: 8px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 20px auto; /* Center spinner */
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.progress-container {
  width: 100%;
  background-color: #444; /* Dark background for progress bar */
  border-radius: 5px;
  margin: 10px 0; /* Space above and below the progress bar */
}

.progress-bar {
  height: 10px;
  width: 0; /* Start at 0 width */
  background-color: #3498db; /* Blue color for the progress */
  border-radius: 5px;
  transition: width 0.4s ease; /* Smooth width change */
}

.progress-text {
  margin-top: 10px;
}

/* CTA */
.cta-banner {
  color: white;
  text-align: center;
  padding: 20px;
  line-height: 1.6;
  border-radius: 8px;
}

.cta-button {
  background-color: var(--white-color); /* Golden Yellow */
  color: var(--primary-color);
  font-size: 16px;
  margin-top: 10px;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

/* Upload Success Popup */
.upload-success-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.849);
  display:none; 
  align-items: center;
  justify-content: center;
  z-index: 300;
  overflow: hidden; /* Prevents the entire overlay from scrolling */
}

.upload-success-popup-content {
  position: relative;
  background: linear-gradient(180deg,transparent,hsla(0,0%,95%,.29) 47.39%,#fff),linear-gradient(90deg,#f9ddf1 .07%,#e5e1ff 16.73%,#daedff 34.48%,#e2f4e3 49.98%,#ebf5d8 66.12%,#faf2da 81.95%,#fbe5d8 99.9%);
  border-radius: 10px;
  padding: 20px;
  margin: 20px;
  box-shadow: 0 0 20px rgb(0, 0, 0);
  max-width: 600px;
  width: 100%;
  text-align: center;
  max-height: 85vh; /* Limits height to 80% of viewport */
  overflow-y: auto; /* Adds vertical scroll if content exceeds max-height */
}

/* Optional: Style scrollbar for consistent look across browsers */
.upload-success-popup-content::-webkit-scrollbar {
  width: 5px;
}

.upload-success-popup-content::-webkit-scrollbar-thumb {
  background-color: var(--secondary-color);
  border-radius: 4px;
}

.upload-success-popup-content::-webkit-scrollbar-thumb:hover {
  background-color: var(--primary-color);
}

.upload-success-popup-content h2 {
  font-size: 24px;
  margin: 10px auto;
}

.success-message {
  font-size: 16px;
  margin: 10px auto;
}

.file-info {
  display: block;
  justify-content: space-between;
  margin: 10px auto 20px auto;
  width: 500px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
}

.file-key {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
}

.file-key span {
  font-weight: bold;
  font-size: 38px;
  text-align: center;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width:768px) {
  .upload-success-popup-content h2 {
    font-size: 20px;
  }
  .upload-success-popup-content p {
    font-size: 14px;
  }
  .file-key span {
    font-size: 28px;
    letter-spacing: 5px;
  }
}

@media screen and (max-width:480px) {
  .file-key span {
    font-size: 22px;
    letter-spacing: 5px;
  }
}

.close-button {
  color: var(--dim-black-color);
  border: 1px solid var(--dark-color);
  border-radius: 5px;
  padding: 2px 5px;
  position: relative;
  margin-bottom: 20px;
  cursor: pointer;
  font-size: 12px;
  background-color: transparent;
}

.file-url {
  display: flex;
  align-items: center;
  margin: 0px auto;
  align-items: center;
  justify-content: center;
}

.file-url input {
  width: 500px;
  max-width: 100%;
  padding: 7px 5px;
  border: 1px solid var(--dark-color);
  background-color: transparent;
  border-radius: 5px;
  font-size: 14px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.3s;
}

.copy-button, .share-button {
  display: flex;
  background-color: transparent;
  color: var(--dim-black-color);
  border: 1px solid var(--dim-black-color);
  border-radius: 5px;
  padding: 7px 5px;
  cursor: pointer;
}

.share-button {
  width: 80px;
}

.copy-button i, .share-button i {
  font-size: 16px;
}

.qr-code img {
  width: 120px;
  margin: 10px auto 0 auto;
  height: auto;
  border: 2px solid var(--black-color);
  background-color: var(--white-color);
  padding: 5px;
}

.question {
  margin: 0 0 10px 0;
  font-weight: bolder;
}

.question p {
  font-size: 18px;
}

.social-share-options-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.social-option, .social-option2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid #cccccc;
  border-radius: 8px;
  transition: background-color 0.3s, border-color 0.3s;
}

.social-option:hover, .social-option2:hover {
  background-color: var(--white-color);
}

.social-option.selected, .social-option2.selected {
  border-color: var(--primary-color);
  background-color: var(--white-color);
}

.social-icon img {
  width: 30px;
}

@media screen and (max-width:768px) {
  .social-option, .social-option2 {
    border: 1px solid #cccccc;
  }

  .social-icon img {
    width: 20px;
  }
}

.platform-inputs {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
}


/* Style for each input field wrapper */
.input-field, .input-field2 {
  margin-bottom: 10px;
  display: flex;
  text-align: left;
  flex-direction: column;
  max-width: 500px;
  justify-content: center;
  margin: 5px auto;
  width: 100%;
  text-align: left;
}

.input-field label, .input-field p, .input-field2 label, .input-field2 p {
text-align: left !important;
margin-bottom: 5px;
}

.input-field a, .input-field2 a {
  text-decoration: none;
  color: var(--secondary-color);
}

.input-field a:hover, .input-field2 a:hover {
  color: var(--primary-color);
}

/* Style for the actual input element */
.input-field input, .input-field2 input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
  text-align: left;
  outline: none;
  transition: border-color 0.3s;
  text-align: left !important;
}

.input-field .guide, .input-field2 .guide {
  font-size: 12px;
  text-align: left !important;
  margin-top: 2px;
  color: var(--dim-black-color);
}

/* Hover and focus effects */
.input-field input:focus, .input-field2 input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.2);
}

/* Optional error styling */
.input-field input.error, .input-field2 input.error {
  border-color: red;
}

@media screen and (max-width:768px) {
  .input-field label, .input-field input, .input-field2 label, .input-field2 input {
    font-size: 14px;
  }
}

.close-popup-button, .close-popup-buttonn {
  position: absolute;
  background-color: var(--secondary-color);
  border: none;
  font-size: 20px;
  font-weight: bold;
  color: var(--white-color);
  cursor: pointer;
  padding: 5px;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
  z-index: 600;
}

.close-popup-button:hover, .close-popup-buttonn:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.close-popup-button {
  top: 10px;
  right: 10px;
  display: flex;
}

.close-popup-buttonn {
  display: none;
  top: 20px;
  right: 20px;
}

.send-file {
  margin-top: 20px;
  display: none;
}

/* Scroll To Top */
.scrollToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none; /* Hidden by default */
  background-color: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 5px;
  padding: 6px 10px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
}

.scrollToTopBtn:hover {
  background-color: var(--primary-color);
}