/* Additional styles for the specified requirements */

/* 1. Sticky navigation bar */
.header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Fixed height for header to ensure consistent spacing when it becomes sticky */
.header {
  min-height: 90px; /* Adjust this value based on your actual header height */
}

/* Hero section needs additional padding to prevent overlap with sticky header */
.rowwhat_we_do {
  position: relative;
  z-index: 1; /* Ensure it's below the sticky header */
}

/* Add padding to the main container when header is sticky to prevent content jump */
body.sticky-active {
  padding-top: 90px; /* Must match header height */
}

/* 4. App store badges for AI Travel App */
.app-store-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 15px;
}

.app-store-badge {
  height: 40px;
  transition: opacity 0.2s ease;
}

.app-store-badge:hover {
  opacity: 0.8;
}

/* Hover effects */
.profile__button:hover {
  background-color: var(--gray_900_01) !important;
}

.newsletter-section__button:hover,
.header__button--join:hover,
.hero-content__button--about-us:hover {
  background-color: var(--gray_900_01) !important;
}

.hero-content__button--what-we-do:hover {
  background-color: var(--blue_50) !important;
}

/* Improve accessibility */
a:focus, button:focus {
  outline: 2px solid var(--blue_900);
  outline-offset: 2px;
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blue_900);
  outline-offset: 2px;
}

/* Add scroll margin for anchor links with sticky header */
[id] {
  scroll-margin-top: 80px;
}

/* Shape Animations CSS */

/* Define keyframes for different animation types */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes wiggle {
  0%, 100% {
    transform: rotate(-3deg);
  }
  50% {
    transform: rotate(3deg);
  }
}

@keyframes orbit {
  from {
    transform: rotate(0deg) translateX(10px) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(10px) rotate(-360deg);
  }
}

/* Apply animations to specific elements */

/* Cylinder - Gentle floating animation */
.stack__image--cylinder {
  animation: float 6s ease-in-out infinite;
  transform-origin: center;
}

/* Visual - Rotation like half_torus */
.stack__image--visual {
  animation: orbit 30s linear infinite;
  transform-origin: center;
  scale: 0.8;
}

/* Half Torus - Slow rotation */
.image {
  animation: orbit 20s linear infinite;
  transform-origin: center;
}

/* Torus - Floating with different timing */
.torusone_one {
  animation: float 8s ease-in-out infinite;
  animation-delay: 1s;
  transform-origin: center;
}

/* Define new bounce animation for pyramid */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

/* Pyramid - Bouncing animation */
.pyramidone_one {
  animation: bounce 5s ease-in-out infinite;
  transform-origin: bottom center;
}

/* Emoji Star - Orbit animation */
.image-1 {
  animation: orbit 15s linear infinite;
  transform-origin: center;
}

/* Helix - Rotation */
.newsletter-section__image {
  animation: orbit 25s linear infinite;
  transform-origin: center;
}

/* Add hover effects to pause animations for accessibility */
.stack__image--cylinder:hover,
.stack__image--visual:hover,
.image:hover,
.torusone_one:hover,
.pyramidone_one:hover,
.image-1:hover,
.newsletter-section__image:hover {
  animation-play-state: paused;
}

/* Add animation to product cards when hovered */
.profile:hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px 0 rgba(36, 38, 43, 0.15);
}

/* Create a smoother entry animation for the page */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rowwhat_we_do {
  animation: fadeInUp 0.8s ease-out forwards;
}

.section-1,
.profile,
.newsletter-section {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-play-state: paused;
}

/* Add animation transitions for the app store badges */
.app-store-badge {
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.app-store-badge:hover {
  transform: scale(1.05);
  opacity: 0.85;
}

/* Add animation delay for staggered entry */
.columnhalftorus {
  animation-delay: 0.2s;
}

.column {
  animation-delay: 0.4s;
}

.row_three {
  animation-delay: 0.6s;
}

/* Media query to reduce animations on devices that prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

      /* Additional styles specific to the privacy policy page */
      .privacy-content {
        max-width: 800px;
        margin: 40px auto 80px;
        padding: 0 20px;
      }
      
      .privacy-header {
        text-align: center;
        margin-bottom: 50px;
      }
      
      .privacy-title {
        color: transparent !important;
        background: linear-gradient(180deg, #000000, #001254);
        background-clip: text;
        margin-bottom: 15px;
      }
      
      .privacy-section {
        margin-bottom: 40px;
      }
      
      .privacy-section h3 {
        color: var(--gray_900);
        margin-bottom: 15px;
      }
      
      .privacy-section p, .privacy-section ul {
        color: var(--gray_600);
        line-height: 1.6;
        margin-bottom: 15px;
      }
      
      .privacy-section ul {
        padding-left: 20px;
        list-style-type: disc;
      }
      
      .privacy-section ul li {
        margin-bottom: 10px;
      }
      
      .last-updated {
        font-style: italic;
        margin-top: 60px;
        color: var(--gray_400);
        text-align: center;
      }
      
      .back-to-home {
        display: inline-block;
        margin-top: 30px;
        color: var(--blue_900);
        font-weight: 500;
        transition: all 0.3s ease;
      }
      
      .back-to-home:hover {
        color: var(--black_900);
        text-decoration: underline;
      }
      
      /* Content divider */
      .content-divider {
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--gray_400), transparent);
        margin: 40px 0;
      }

            /* Additional styles specific to the terms page */
      .terms-content {
        max-width: 800px;
        margin: 40px auto 80px;
        padding: 0 20px;
      }
      
      .terms-header {
        text-align: center;
        margin-bottom: 50px;
      }
      
      .terms-title {
        color: transparent !important;
        background: linear-gradient(180deg, #000000, #001254);
        background-clip: text;
        margin-bottom: 15px;
      }
      
      .terms-section {
        margin-bottom: 40px;
      }
      
      .terms-section h3 {
        color: var(--gray_900);
        margin-bottom: 15px;
      }
      
      .terms-section p, .terms-section ul, .terms-section ol {
        color: var(--gray_600);
        line-height: 1.6;
        margin-bottom: 15px;
      }
      
      .terms-section ul, .terms-section ol {
        padding-left: 20px;
      }
      
      .terms-section ul {
        list-style-type: disc;
      }
      
      .terms-section ol {
        list-style-type: decimal;
      }
      
      .terms-section ul li, .terms-section ol li {
        margin-bottom: 10px;
      }
      
      .last-updated {
        font-style: italic;
        margin-top: 60px;
        color: var(--gray_400);
        text-align: center;
      }
      
      .back-to-home {
        display: inline-block;
        margin-top: 30px;
        color: var(--blue_900);
        font-weight: 500;
        transition: all 0.3s ease;
      }
      
      .back-to-home:hover {
        color: var(--black_900);
        text-decoration: underline;
      }
      
      /* Content divider */
      .content-divider {
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--gray_400), transparent);
        margin: 40px 0;
      }
      
      /* Definition list styling */
      .definition-list dt {
        font-weight: 700;
        color: var(--gray_900);
        margin-bottom: 5px;
      }
      
      .definition-list dd {
        margin-bottom: 15px;
        margin-left: 20px;
      }
      
      /* Highlight important sections */
      .important-note {
        background-color: var(--blue_50);
        padding: 20px;
        border-radius: 10px;
        margin: 20px 0;
      }
      
      .important-note p:last-child {
        margin-bottom: 0;
      }

            /* Additional styles specific to the security page */
      .security-content {
        max-width: 800px;
        margin: 40px auto 80px;
        padding: 0 20px;
      }
      
      .security-header {
        text-align: center;
        margin-bottom: 50px;
      }
      
      .security-title {
        color: transparent !important;
        background: linear-gradient(180deg, #000000, #001254);
        background-clip: text;
        margin-bottom: 15px;
      }
      
      .security-section {
        margin-bottom: 40px;
      }
      
      .security-section h3 {
        color: var(--gray_900);
        margin-bottom: 15px;
      }
      
      .security-section p, .security-section ul {
        color: var(--gray_600);
        line-height: 1.6;
        margin-bottom: 15px;
      }
      
      .security-section ul {
        padding-left: 20px;
        list-style-type: disc;
      }
      
      .security-section ul li {
        margin-bottom: 10px;
      }
      
      .back-to-home {
        display: inline-block;
        margin-top: 30px;
        color: var(--blue_900);
        font-weight: 500;
        transition: all 0.3s ease;
      }
      
      .back-to-home:hover {
        color: var(--black_900);
        text-decoration: underline;
      }
      
      /* Content divider */
      .content-divider {
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--gray_400), transparent);
        margin: 40px 0;
      }
      
      /* Security feature cards */
      .security-features {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        margin: 30px 0;
      }
      
      .security-feature-card {
        flex: 1 1 calc(50% - 20px);
        min-width: 250px;
        padding: 25px;
        background-color: var(--blue_50);
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
      }
      
      .security-feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
      }
      
      .security-feature-card h4 {
        color: var(--gray_900);
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 10px;
      }
      
      .security-feature-card p {
        color: var(--gray_600);
        margin-bottom: 0;
      }
      
      .security-icon {
        width: 24px;
        height: 24px;
        display: inline-block;
      }
      
      @media only screen and (max-width: 768px) {
        .security-feature-card {
          flex: 1 1 100%;
        }
      }
      
      /* Security commitment statement */
      .security-commitment {
        background: linear-gradient(135deg, var(--blue_50), rgba(234, 238, 254, 0.6));
        padding: 30px;
        border-radius: 10px;
        margin: 40px 0;
        position: relative;
        overflow: hidden;
      }
      
      .security-commitment::before {
        content: "";
        position: absolute;
        width: 150px;
        height: 150px;
        background: linear-gradient(135deg, var(--blue_100), transparent);
        border-radius: 50%;
        opacity: 0.4;
        top: -50px;
        right: -50px;
      }
      
      .security-commitment h3 {
        color: var(--gray_900);
        margin-bottom: 15px;
        position: relative;
      }
      
      .security-commitment p {
        color: var(--gray_900);
        font-weight: 500;
        position: relative;
      }
      
      /* Security certifications */
      .security-certifications {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
        margin: 30px 0;
      }
      
      .certification-badge {
        width: 120px;
        height: 120px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: white;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        padding: 10px;
        text-align: center;
      }
      
      .certification-badge p {
        margin: 8px 0 0;
        font-size: 14px;
        font-weight: 500;
        color: var(--gray_900);
      }
      
      /* Placeholder for certification icons */
      .cert-icon {
        width: 60px;
        height: 60px;
        background-color: var(--blue_50);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        color: var(--gray_900);
        font-size: 12px;
      }