/* Presentation Styles - Matching AIBizs Theme */

:root {
  --background-color: #031119;
  --surface-color: #1b262c;
  --accent-color: #009cdc;
  --primary-color: #006c87;
  --heading-color: #e0e9f2;
  --heading-font: "Nunito Sans", sans-serif;
  --default-color: rgba(255, 255, 255, 0.8);
  --contrast-color: #ffffff;
  --aibizs-gradient: linear-gradient(135deg, #006c87 0%, #009cdc 100%);
}

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

body.presentation-body {
  font-family: "Roboto", sans-serif;
  background: var(--background-color);
  color: var(--default-color);
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
  overflow-y: scroll; /* Always show scrollbar */
}

/* PowerPoint-like drop animation from top to bottom */
@keyframes dropFromTop {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Initial state - hidden above */
body.presentation-body [data-aos] {
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Animated state - visible with drop animation */
body.presentation-body [data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Slide Navigation */
.slide-nav {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 1000;
  background: rgba(27, 38, 44, 0.9);
  padding: 15px 30px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-btn {
  background: var(--aibizs-gradient);
  border: none;
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 20px;
}

.nav-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 20px rgba(0, 156, 220, 0.5);
}

.nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.slide-indicator {
  color: var(--default-color);
  font-weight: 600;
  font-size: 16px;
  min-width: 60px;
  text-align: center;
}

/* Slides Container */
.slides-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 10;
}

.slide.prev {
  transform: translateX(-100%);
}

.slide-content {
  padding: 80px 20px 120px;
  min-height: 100vh;
}

/* Slide 1 - Overview Styles */
.main-title {
  font-family: "Nunito Sans", sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 20px;
  background: var(--aibizs-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-divider {
  width: 100px;
  height: 4px;
  background: var(--aibizs-gradient);
  margin: 20px auto;
  border-radius: 2px;
}

.subtitle {
  font-size: 1.5rem;
  color: var(--default-color);
  margin-bottom: 40px;
}

/* ISO Certifications */
.iso-certifications {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 30px 0 40px;
  flex-wrap: wrap;
}

.cert-badge {
  background: var(--surface-color);
  border: 2px solid var(--accent-color);
  border-radius: 15px;
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  min-width: 150px;
  box-shadow: 0 5px 15px rgba(0, 156, 220, 0.2);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.cert-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 156, 220, 0.4);
  background: rgba(0, 156, 220, 0.1);
}

.cert-badge i {
  font-size: 2.5rem;
  color: #ffd700;
  margin-bottom: 5px;
}

.cert-badge span {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--heading-color);
  font-family: "Nunito Sans", sans-serif;
}

.cert-badge small {
  font-size: 0.85rem;
  color: var(--default-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.applications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 60px auto 0;
}

.app-card {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}

.app-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-color);
  box-shadow: 0 15px 40px rgba(0, 156, 220, 0.3);
}

.app-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--aibizs-gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
}

.app-card h3 {
  font-family: "Nunito Sans", sans-serif;
  font-size: 1.8rem;
  color: var(--heading-color);
  margin-bottom: 10px;
}

.app-card p {
  color: var(--default-color);
  font-size: 1rem;
}

.app-card:visited,
.app-card:active,
.app-card:focus {
  color: inherit;
  text-decoration: none;
}

.app-card-hover-text {
  margin-top: 15px;
  font-size: 0.9rem;
  color: var(--accent-color);
  opacity: 0;
  transition: opacity 0.3s ease;
  font-weight: 500;
}

.app-card:hover .app-card-hover-text {
  opacity: 1;
}

/* Application Header Styles */
.app-header {
  margin-bottom: 50px;
  position: relative;
}

.back-to-home-btn {
  background: var(--aibizs-gradient);
  border: none;
  color: white;
  padding: 12px 25px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 156, 220, 0.3);
  text-decoration: none;
}

.back-to-home-btn:hover {
  transform: translateX(-5px);
  box-shadow: 0 8px 25px rgba(0, 156, 220, 0.5);
  background: var(--aibizs-gradient-hover);
}

.back-to-home-btn i {
  font-size: 1.1rem;
}

.app-title-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.app-icon-large {
  width: 100px;
  height: 100px;
  background: var(--aibizs-gradient);
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: white;
  box-shadow: 0 10px 30px rgba(0, 156, 220, 0.3);
}

.app-title {
  font-family: "Nunito Sans", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 10px;
}

.app-subtitle {
  font-size: 1.3rem;
  color: var(--default-color);
}

/* Features Highlight Section (at top) */
.features-highlight-section {
  margin: 50px 0;
  padding: 40px;
  background: linear-gradient(135deg, rgba(0, 108, 135, 0.1) 0%, rgba(0, 156, 220, 0.1) 100%);
  border-radius: 20px;
  border: 2px solid rgba(0, 156, 220, 0.3);
}

.features-highlight-title {
  font-family: "Nunito Sans", sans-serif;
  font-size: 2.2rem;
  color: var(--heading-color);
  margin-bottom: 30px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.features-highlight-title i {
  color: var(--accent-color);
  font-size: 2rem;
}

.features-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-highlight-badge {
  background: var(--aibizs-gradient);
  border-radius: 15px;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 8px 25px rgba(0, 156, 220, 0.4);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.feature-highlight-badge:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 156, 220, 0.6);
  border-color: rgba(255, 255, 255, 0.3);
}

.feature-highlight-badge i {
  font-size: 1.8rem;
  min-width: 35px;
}

/* Scroll Down Indicator */
.scroll-indicator {
  text-align: center;
  margin: 40px 0;
}

.scroll-down-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 15px 30px;
  border-radius: 50px;
  background: rgba(0, 156, 220, 0.1);
  border: 2px solid rgba(0, 156, 220, 0.3);
}

.scroll-down-btn:hover {
  background: rgba(0, 156, 220, 0.2);
  border-color: var(--accent-color);
  transform: translateY(5px);
  color: var(--heading-color);
}

.scroll-down-btn i {
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.scroll-down-btn span {
  font-size: 1rem;
}

/* Modules Section */
.modules-section {
  margin: 50px 0;
  scroll-margin-top: 100px;
}

.section-title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--primary-color);
  flex-wrap: wrap;
  gap: 15px;
}

.section-title-wrapper .section-title {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.section-title {
  font-family: "Nunito Sans", sans-serif;
  font-size: 2.2rem;
  color: var(--heading-color);
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--primary-color);
  display: flex;
  align-items: center;
  gap: 15px;
}

.download-brochure-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--aibizs-gradient);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 156, 220, 0.3);
}

.download-brochure-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 156, 220, 0.5);
  color: white;
  text-decoration: none;
}

.download-brochure-btn i {
  font-size: 1.1rem;
}

.action-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.play-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(238, 90, 111, 0.3);
}

.play-video-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(238, 90, 111, 0.5);
  background: linear-gradient(135deg, #ff7b7b 0%, #ff6a7f 100%);
}

.play-video-btn i {
  font-size: 1.1rem;
}

/* Video Modal Styles */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.video-modal.show {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  background: #000;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.video-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10001;
  transition: all 0.3s ease;
  color: white;
  font-size: 1.2rem;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.video-modal-content video {
  width: 100%;
  height: auto;
  display: block;
  max-height: 90vh;
}

.video-modal-content iframe {
  width: 100%;
  height: 80vh;
  max-height: 90vh;
  min-height: 500px;
  border: none;
  border-radius: 0 0 15px 15px;
  display: block;
}

/* Responsive adjustments for video modal */
@media (max-width: 768px) {
  .video-modal-content {
    width: 95%;
    border-radius: 10px;
  }
  
  .video-modal-content iframe {
    height: 60vh;
    min-height: 300px;
  }
  
  .action-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .play-video-btn,
  .download-brochure-btn {
    width: 100%;
    justify-content: center;
  }
}

.section-title i {
  color: var(--accent-color);
  font-size: 1.8rem;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.module-item {
  background: var(--surface-color);
  border-radius: 15px;
  padding: 20px 25px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.module-item:visited,
.module-item:active,
.module-item:focus {
  color: inherit;
  text-decoration: none;
}

.module-item .module-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.module-item:hover {
  transform: translateX(10px);
  border-left-color: var(--accent-color);
  background: rgba(0, 156, 220, 0.1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.module-icon-wrapper {
  width: 50px;
  height: 50px;
  background: rgba(0, 156, 220, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.module-icon-wrapper i {
  font-size: 1.5rem;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.module-item:hover .module-icon-wrapper {
  background: var(--aibizs-gradient);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 5px 15px rgba(0, 156, 220, 0.4);
}

.module-item:hover .module-icon-wrapper i {
  color: white;
  transform: scale(1.1);
}

.module-item span {
  font-size: 1.1rem;
  color: var(--default-color);
  font-weight: 500;
  display: block;
}

.module-item small {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  line-height: 1.4;
  display: block;
}

/* Features Section */
.features-section {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 2px solid var(--surface-color);
}

.features-title {
  font-family: "Nunito Sans", sans-serif;
  font-size: 2rem;
  color: var(--heading-color);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.features-title i {
  color: var(--accent-color);
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.feature-badge {
  background: var(--aibizs-gradient);
  border-radius: 50px;
  padding: 12px 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 500;
  box-shadow: 0 5px 15px rgba(0, 156, 220, 0.3);
  transition: all 0.3s ease;
}

.feature-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 156, 220, 0.5);
}

.feature-badge i {
  font-size: 1.2rem;
}

/* Business Intelligence Slide Styles */
.bi-content {
  margin-top: 40px;
}

.bi-description {
  margin-bottom: 50px;
}

.bi-description .lead {
  font-size: 1.4rem;
  color: var(--default-color);
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.bi-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.bi-feature-card {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s ease;
  border: 2px solid transparent;
}

.bi-feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-color);
  box-shadow: 0 15px 40px rgba(0, 156, 220, 0.3);
}

.bi-feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: var(--aibizs-gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
}

.bi-feature-card h3 {
  font-family: "Nunito Sans", sans-serif;
  font-size: 1.5rem;
  color: var(--heading-color);
  margin-bottom: 15px;
}

.bi-feature-card p {
  color: var(--default-color);
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-title {
    font-size: 2.5rem;
  }

  .app-title {
    font-size: 2rem;
  }

  .applications-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .modules-grid {
    grid-template-columns: 1fr;
  }

  .app-title-section {
    flex-direction: column;
    text-align: center;
  }

  .bi-features {
    grid-template-columns: 1fr;
  }

  .slide-nav {
    padding: 10px 20px;
    bottom: 20px;
  }

  .nav-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

/* Keyboard Navigation Hint */
@media (min-width: 769px) {
  .slide-nav::after {
    content: "Use ← → arrow keys to navigate";
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    color: var(--default-color);
    opacity: 0.7;
    white-space: nowrap;
  }
}

/* Scrollbar Styling - For all pages */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--surface-color);
  border-left: 1px solid rgba(0, 156, 220, 0.2);
}

::-webkit-scrollbar-thumb {
  background: var(--aibizs-gradient);
  border-radius: 6px;
  border: 2px solid var(--surface-color);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
  border-color: rgba(0, 156, 220, 0.3);
}

/* Firefox scrollbar styling */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) var(--surface-color);
}

/* Scrollbar Styling - For slide elements (if still used) */
.slide::-webkit-scrollbar {
  width: 8px;
}

.slide::-webkit-scrollbar-track {
  background: var(--surface-color);
}

.slide::-webkit-scrollbar-thumb {
  background: var(--aibizs-gradient);
  border-radius: 4px;
}

.slide::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

/* Organize Button Styles */
.organize-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--aibizs-gradient);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 156, 220, 0.3);
  transition: all 0.3s ease;
}

.organize-btn:hover {
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 6px 20px rgba(0, 156, 220, 0.5);
}

/* Organize Modal Styles */
.organize-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.organize-modal.show {
  display: flex;
}

.organize-modal-content {
  background: var(--surface-color);
  border-radius: 20px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease;
  overflow: hidden;
}

.organize-modal-header {
  padding: 25px 30px;
  border-bottom: 2px solid var(--primary-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--aibizs-gradient);
}

.organize-modal-header h2 {
  font-family: "Nunito Sans", sans-serif;
  font-size: 1.8rem;
  color: white;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.organize-modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.organize-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.organize-modal-body {
  padding: 30px;
  overflow-y: auto;
  flex: 1;
}

.organize-cards-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.organize-card-item {
  background: var(--background-color);
  border: 2px solid var(--primary-color);
  border-radius: 15px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.organize-card-item:hover {
  border-color: var(--accent-color);
  box-shadow: 0 5px 15px rgba(0, 156, 220, 0.2);
}

.organize-card-info {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.organize-card-icon {
  width: 50px;
  height: 50px;
  background: var(--aibizs-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.organize-card-details h4 {
  font-family: "Nunito Sans", sans-serif;
  font-size: 1.2rem;
  color: var(--heading-color);
  margin: 0 0 5px 0;
}

.organize-card-details small {
  color: var(--default-color);
  font-size: 0.9rem;
}

.organize-card-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.organize-control-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.organize-control-group label {
  color: var(--default-color);
  font-size: 0.9rem;
  font-weight: 500;
}

.organize-sort-input {
  width: 70px;
  padding: 8px 12px;
  background: var(--background-color);
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  color: var(--heading-color);
  font-size: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.organize-sort-input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(0, 156, 220, 0.1);
}

/* Toggle Switch */
.organize-toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
  cursor: pointer;
}

.organize-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.organize-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--primary-color);
  transition: 0.3s;
  border-radius: 26px;
}

.organize-toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.organize-toggle-switch input:checked + .organize-toggle-slider {
  background-color: var(--accent-color);
}

.organize-toggle-switch input:checked + .organize-toggle-slider:before {
  transform: translateX(24px);
}

.organize-modal-footer {
  padding: 20px 30px;
  border-top: 2px solid var(--primary-color);
  display: flex;
  justify-content: space-between;
  gap: 15px;
  background: var(--background-color);
}

.organize-btn-reset,
.organize-btn-save {
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.organize-btn-reset {
  background: rgba(255, 255, 255, 0.1);
  color: var(--default-color);
  border: 2px solid var(--primary-color);
}

.organize-btn-reset:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--accent-color);
}

.organize-btn-save {
  background: var(--aibizs-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 156, 220, 0.3);
}

.organize-btn-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 156, 220, 0.5);
}

/* Notification Styles */
.organize-notification {
  position: fixed;
  top: 80px;
  right: 20px;
  padding: 15px 25px;
  background: var(--surface-color);
  border: 2px solid var(--accent-color);
  border-radius: 10px;
  color: var(--heading-color);
  font-weight: 500;
  z-index: 10001;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.organize-notification.show {
  opacity: 1;
  transform: translateX(0);
}

.organize-notification-success {
  border-color: #28a745;
  background: rgba(40, 167, 69, 0.1);
}

/* Responsive Design for Organize Modal */
@media (max-width: 768px) {
  .organize-btn {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
    top: 15px;
    right: 15px;
  }

  .organize-modal-content {
    width: 95%;
    max-height: 95vh;
  }

  .organize-modal-header {
    padding: 20px;
  }

  .organize-modal-header h2 {
    font-size: 1.4rem;
  }

  .organize-card-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .organize-card-controls {
    width: 100%;
    justify-content: space-between;
  }

  .organize-modal-footer {
    flex-direction: column;
  }

  .organize-btn-reset,
  .organize-btn-save {
    width: 100%;
    justify-content: center;
  }
}

/*--------------------------------------------------------------
# Cloud Infrastructure page (bundled — keep in sync with cloud-infrastructure.css)
# Ensures styles apply if cloud-infrastructure.css is missing/outdated on deploy
--------------------------------------------------------------*/

/* Cloud Infrastructure — high specificity so nav links beat Bootstrap reboot on all hosts */

body.presentation-body nav.cloud-infra-subnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin: 28px 0 36px;
  padding: 14px 18px;
  background: rgba(27, 38, 44, 0.6);
  border-radius: 14px;
  border: 1px solid rgba(0, 156, 220, 0.35);
}

body.presentation-body nav.cloud-infra-subnav a,
body.presentation-body nav.cloud-infra-subnav a:link,
body.presentation-body nav.cloud-infra-subnav a:visited {
  display: inline-block;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--heading-font, "Nunito Sans", sans-serif);
  color: var(--heading-color, #e0e9f2);
  text-decoration: none !important;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  text-align: center;
  line-height: 1.35;
  max-width: 100%;
}

body.presentation-body nav.cloud-infra-subnav a:hover,
body.presentation-body nav.cloud-infra-subnav a:focus-visible {
  color: var(--accent-color, #009cdc);
  background: rgba(0, 156, 220, 0.12);
  border-color: rgba(0, 156, 220, 0.45);
  outline: none;
}

body.presentation-body .cloud-infra-section {
  scroll-margin-top: 100px;
  margin-bottom: 48px;
}

body.presentation-body .cloud-infra-section:last-child {
  margin-bottom: 20px;
}

body.presentation-body .cloud-infra-section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--heading-color, #e0e9f2);
  font-family: var(--heading-font, "Nunito Sans", sans-serif);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(0, 156, 220, 0.25);
}

body.presentation-body .cloud-infra-lead {
  color: var(--default-color);
  font-size: 0.95rem;
  margin-bottom: 24px;
  max-width: 52rem;
}

body.presentation-body .cloud-infra-prose {
  color: var(--default-color);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 52rem;
}

body.presentation-body .cloud-infra-prose p {
  margin-bottom: 0;
}

body.presentation-body .cloud-infra-subtitle {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading-color, #e0e9f2);
  font-family: var(--heading-font, "Nunito Sans", sans-serif);
  margin: 1.5rem 0 0.75rem;
}

body.presentation-body .cloud-infra-subtitle:first-child {
  margin-top: 0;
}

body.presentation-body .cloud-infra-list {
  margin: 0 0 0.25rem;
  padding-left: 1.25rem;
}

body.presentation-body .cloud-infra-list li {
  margin-bottom: 0.65rem;
}

body.presentation-body .cloud-infra-list li:last-child {
  margin-bottom: 0;
}

body.presentation-body .cloud-infra-list strong {
  color: color-mix(in srgb, var(--heading-color, #e0e9f2), var(--default-color) 15%);
  font-weight: 700;
}

body.presentation-body .cloud-infra-images {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

body.presentation-body .cloud-infra-figure {
  margin: 0;
  padding: 24px;
  background: rgba(27, 38, 44, 0.5);
  border-radius: 20px;
  border: 2px solid rgba(0, 156, 220, 0.3);
  text-align: center;
}

body.presentation-body .cloud-infra-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(0, 156, 220, 0.2);
}

@media (max-width: 576px) {
  body.presentation-body .cloud-infra-figure {
    padding: 16px;
  }

  body.presentation-body .cloud-infra-images {
    gap: 24px;
  }
}

