.top-container{
    margin-top:48px;
    
}
.normal-container {
    background: linear-gradient(135deg, #f9f9f9, #e6f4f1);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    margin: 10px auto;
    max-width: 1200px;
}
.common-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px;
    background: linear-gradient(135deg, #e8f0f2 0%, #c9d6df 100%);
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.common-container-left,
.common-container-right {
    flex: 1 1 100%;
    background: #f9fbfc;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    padding: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.common-container-left:hover,
.common-container-right:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1024px) {
    .common-container {
        flex-wrap: nowrap;
    }
    .common-container-left,
    .common-container-right {
        flex: 1 1 calc(50% - 4px);
    }
}

@media (max-width: 1023px) {
    .common-container-left,
    .common-container-right {
        flex: 1 1 100%;
    }
}

.common-slide {
    font-family: 'Arial', sans-serif;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.common-slide-heading {
    font-size: 1.5rem;
    color: #00703C;
    margin: 0 0 8px;
    font-weight: 600;
}

.common-slide-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    gap: 8px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.common-slide-container::-webkit-scrollbar {
    display: none;
}

.common-slide-item {
    flex: 0 0 calc(100% - 16px);
    scroll-snap-align: start;
    background: #F8F8F8;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.common-slide-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.common-slide-title {
    font-size: 1.3rem;
    color: #996515; 
    margin: 0 0 8px;
    font-weight: 600;
}


.common-slide-description {
    font-size: 1rem;
    color: #2F5D64;
    margin: 0;
    line-height: 1.5;
}

.common-slide-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 12px;
    width: 100%;
}

.common-slide-dots {
    display: flex;
    gap: 8px;
}

.common-slide-dot {
    width: 10px;
    height: 10px;
    background-color: #c9d6df;
    border-radius: 50%;
    cursor: pointer;
    transition: width 0.2s ease, background-color 0.2s ease;
}

.common-slide-dot.active {
    width: 24px;
    border-radius: 6px;
    background-color: #DAA520;
}

.common-slide-arrow {
    padding: 6px;
    cursor: pointer;
}

.common-slide-icon {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .common-slide-heading {
        font-size: 1.3rem;
    }
    .common-slide-title {
        font-size: 1.1rem;
    }
    .common-slide-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .common-slide-heading {
        font-size: 1.2rem;
    }
    .common-slide-item {
        padding: 10px;
    }
    .common-slide-title {
        font-size: 1rem;
    }
    .common-slide-description {
        font-size: 0.8rem;
    }
}



.common-gallery {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
}

.common-gallery-left {
    flex: 1.5;
}


.common-gallery-right {
    flex: 1;
    font-family: 'Arial', sans-serif;
    color: #333;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.common-gallery-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.common-gallery-right-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.common-gallery-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
    transition: background 0.2s ease, border-radius 0.2s ease;
}

.common-gallery-detail:hover {
    background: #f8f9fa;
    border-radius: 4px;
}

.common-gallery-detail:last-child {
    border-bottom: none;
}

.common-gallery-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: filter 0.2s ease;
}

.common-gallery-detail:hover .common-gallery-icon {
    filter: brightness(1.1);
}

.common-gallery-detail p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    flex-grow: 1;
}

.common-gallery-detail .location,
.common-gallery-detail .duration,
.common-gallery-detail .language {
    color: #333;
    font-weight: 500;
}

.common-gallery-detail-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #DAA520;
    transition: all 0.2s ease;
}

.common-gallery-detail-link:hover {
    background: #fff;
    border-color: #DAA520;
    box-shadow: 0 4px 12px rgba(218, 165, 32, 0.2);
}

.common-gallery-detail-link .common-gallery-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0.8);
    transition: filter 0.2s ease;
}

.common-gallery-detail-link:hover .common-gallery-icon {
    filter: brightness(1);
}

.common-gallery-detail-link .guide {
    margin: 0;
    font-size: 14px;
    color: #2c3e50;
    font-weight: 600;
}

.common-gallery-detail-link .guide a {
    color: #00703C;
    text-decoration: none;
    transition: color 0.2s ease;
}

.common-gallery-detail-link .guide a:hover {
    color: #DAA520;
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .common-gallery {
        flex-direction: column-reverse;
        gap: 10px;
        padding: 10px;
    }

    .common-gallery-right {
        width: 100%;
        padding: 10px;
        gap: 8px;
        box-sizing: border-box;
    }

    .common-gallery-title {
        font-size: 20px;
    }

    .common-gallery-right-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .common-gallery-detail {
        gap: 6px;
        padding: 8px;
        border-bottom: none;
        background: #f8f9fa;
        border-radius: 8px;
        box-sizing: border-box;
    }

    .common-gallery-icon {
        width: 18px;
        height: 18px;
    }

    .common-gallery-detail p {
        font-size: 13px;
    }

    .common-gallery-detail-link {
        grid-column: span 2;
        padding: 8px;
    }

    .common-gallery-detail-link .guide {
        font-size: 13px;
    }
}
.common-gallery-image-container {
  position: relative;
  height: 500px;
  margin: 2px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.common-gallery-image-index {
  width: 15%;
  background-color: #eaeaea;
  overflow-y: auto;
  position: absolute;
  height: 100%;
  z-index: 1;
}

.common-gallery-image-item {
  cursor: pointer;
  transition: opacity 0.3s;
}

.common-gallery-image-index .common-gallery-image-item {
    margin: 8px;
    padding-bottom: 50.625%;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.common-gallery-image-index .common-gallery-image-item img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    border-radius: 4px;
}
.common-gallery-image-index .common-gallery-image-item:hover {
  opacity: 0.8;
}

.common-gallery-image-display {
  width: 85%;
  position: absolute;
  left: 15%;
  height: 100%;
  overflow: hidden;
}

.common-gallery-image-display .common-gallery-image-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s;
  display: none;
}

.common-gallery-image-display .common-gallery-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.common-gallery-image-display .common-gallery-image-item.active {
  opacity: 1;
  display: block;
}

.common-gallery-nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.common-gallery-nav-button.prev {
  left: 8px;
}

.common-gallery-nav-button.next {
  right: 8px;
}

.common-gallery-nav-button:hover {
  background: rgba(0, 0, 0, 0.8);
}

.common-gallery-indicators {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
}

.common-gallery-dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 3px;
  background-color: #ccc;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;
}

.common-gallery-active-dot, .common-gallery-dot:hover {
  background-color: #555;
}

@media screen and (max-width: 768px) {
  .common-gallery-image-container {
    height: 200px;
    width: calc(100%-10px);
    position: relative;
  }

  .common-gallery-image-index {
    display: none;
  }

  .common-gallery-image-display {
    width: 100%;
    left: 0;
    position: relative;
  }

  .common-gallery-image-display .common-gallery-image-item {
    position: relative;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: auto;
    max-height: 100%;
  }

  .common-gallery-image-display .common-gallery-image-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  /* Navigation buttons on small screen */
  .common-gallery-nav-button {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 3;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }

  .common-gallery-nav-button.prev {
    left: 8px;
  }

  .common-gallery-nav-button.next {
    right: 8px;
  }

  .common-gallery-nav-button:hover {
    background: rgba(0, 0, 0, 0.8);
  }

  /* Adjust dot positions for small screens */
  .common-gallery-indicators {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
  }

  .common-gallery-dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 3px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
  }

  .common-gallery-active-dot, .common-gallery-dot:hover {
    background-color: #555;
  }
}






.safety-container {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f0f4f8, #e2e8f0);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    padding: 10px;
    font-family: 'Segoe UI', sans-serif;
    color: #2d3748;
    overflow: hidden;
}

/* Header Section */
.safety-header {
    background: linear-gradient(135deg, #2b6cb0, #1a4971);
    color: #fff;
    text-align: center;
    padding: 10px 8px;
    border-radius: 8px 8px 0 0;
    margin: 0;
}

.safety-header h1 {
    font-size: 1.7rem;
    font-weight: 700;
    margin: 0 0 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.safety-header h2 {
    font-size: 0.95rem;
    font-weight: 400;
    margin: 0;
    opacity: 0.9;
}

/* Introduction Grid with Flex */
.safety-introduction-grid {
    display: flex;
    gap: 8px;
    margin: 6px 0;
}

.safety-introduction,
.safety-what-is-ams {
    flex: 1;
    padding: 8px;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.safety-introduction:hover,
.safety-what-is-ams:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

.safety-introduction h2,
.safety-what-is-ams h2 {
    font-size: 1.3rem;
    color: #2b6cb0;
    margin: 0 0 4px;
    font-weight: 600;
    text-align: left;
}

.safety-introduction p,
.safety-what-is-ams p {
    font-size: 0.85rem;
    line-height: 1.3;
    color: #4a5568;
    margin: 0;
}

/* Symptoms Section */
.safety-symptoms {
    padding: 8px;
    margin: 6px 0;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.safety-symptoms h2 {
    font-size: 1.3rem;
    color: #2b6cb0;
    margin: 0 0 6px;
    font-weight: 600;
    text-align: left;
}

.symptom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(85px, 1fr));
    gap: 6px;
}

.symptom-item {
    background: linear-gradient(135deg, #e6effa, #dbe4f0);
    padding: 6px;
    border-radius: 6px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.symptom-item:hover {
    transform: scale(1.02);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

.symptom-item img {
    width: 28px;
    height: 28px;
    margin-bottom: 3px;
}

.symptom-item p {
    font-size: 0.8rem;
    font-weight: 500;
    color: #2d3748;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .safety-introduction-grid {
        flex-direction: column;
        gap: 6px;
    }
    .safety-header {
        padding: 8px 6px;
    }
    .safety-header h1 {
        font-size: 1.5rem;
    }
    .safety-header h2 {
        font-size: 0.85rem;
    }
    .safety-introduction h2,
    .safety-what-is-ams h2,
    .safety-symptoms h2 {
        font-size: 1.2rem;
    }
    .safety-introduction p,
    .safety-what-is-ams p {
        font-size: 0.8rem;
    }
    .symptom-grid {
        grid-template-columns: repeat(3, 1fr); /* Exactly 3 columns */
    }
    .symptom-item img {
        width: 24px;
        height: 24px;
    }
    .symptom-item p {
        font-size: 0.75rem;
    }
}


.safety-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 12px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.safety-grid h2 {
    grid-column: 1 / -1;
    font-size: 1.5rem;
    font-family: 'Inter', sans-serif;
    color: #1a202c;
    text-align: center;
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.altitude-chart {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.altitude-chart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.altitude-chart label {
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    color: #4a5568;
    font-weight: 500;
    margin-bottom: -2px;
    transition: color 0.2s ease;
}

.altitude-chart label:hover {
    color: #2d3748;
}

.altitude-chart progress {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
    overflow: hidden;
}

.altitude-chart progress::-webkit-progress-value {
    background: linear-gradient(to right, #48bb78, #ecc94b, #f56565);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.altitude-chart progress::-moz-progress-bar {
    background: linear-gradient(to right, #48bb78, #ecc94b, #f56565);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.safety-alert {
    padding: 12px;
    background: linear-gradient(135deg, #f56565, #e53e3e);
    color: white;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.safety-alert:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(229, 62, 62, 0.3);
}

.safety-alert h3 {
    font-size: 1.25rem;
    font-family: 'Inter', sans-serif;
    margin-bottom: 4px;
    font-weight: 600;
}

.safety-alert p {
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .safety-grid {
        grid-template-columns: 1fr;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .safety-grid h2 {
        font-size: 1.3rem;
    }

    .altitude-chart label {
        font-size: 0.8rem;
    }

    .safety-alert h3 {
        font-size: 1.15rem;
    }

    .safety-alert p {
        font-size: 0.85rem;
    }
}





.prevention-wrapper {
    font-family: 'Poppins', sans-serif;
    margin: 0 auto;
    padding: 4px;
}

.prevention-wrapper h3 {
    font-size: 1.25rem;
    color: #2c3e50;
    margin: 0 0 10px 0;
    text-align: center;
}

.prevention-grid {
    display: flex;
    gap: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.prevention-tips {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.75rem;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex: 1 1 calc(33.33% - 12px); /* 3 tips per row */
    min-width: 140px; /* Minimum width for each tip */
}

.tip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tip img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    padding: 6px;
    background: #e3f2fd;
    border-radius: 50%;
}

.tip-content h4 {
    font-size: 0.8125rem;
    color: #1a237e;
    font-weight: 600;
    margin: 0 0 0.125rem 0;
}

.tip-content p {
    font-size: 0.6875rem;
    color: #64748b;
    margin: 0;
}

.safety-footer {
    flex: 1;
    padding: 1rem;
    background: #1a237e;
    border-radius: 6px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.safety-footer p {
    font-size: 0.8125rem;
    line-height: 1.4;
    margin: 0;
}

.safety-footer strong {
    color: #ffd54f;
}

@media (max-width: 768px) {
    .prevention-grid {
        flex-direction: column;
        gap: 0.75rem;
    }

    .prevention-tips {
        flex-direction: row;
    }

    .tip {
        flex: 1 1 calc(33.33% - 12px); /* 3 tips per row on small screens */
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .tip {
        flex: 1 1 calc(33.33% - 8px); /* 3 tips per row on very small screens */
        flex-direction: column;
        text-align: center;
        gap: 4px;
        padding: 0.5rem;
    }

    .tip img {
        margin-bottom: 0.25rem;
    }

    .tip-content h4 {
        font-size: 0.75rem;
    }

    .tip-content p {
        font-size: 0.625rem;
    }
}



.tab-container {
    font-family: 'Poppins', sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4px;
}

.tab-buttons {
    display: flex;
    gap: 4px;
    margin-bottom: 10px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #00703C #f8f9fa;
    padding: 8px 0;
}

.tab-buttons::-webkit-scrollbar {
    height: 4px;
}

.tab-buttons::-webkit-scrollbar-thumb {
    background: #00703C;
    border-radius: 2px;
}

.tab-buttons::-webkit-scrollbar-track {
    background: #f8f9fa;
}

.tab-button {
    flex: 0 0 auto;
    padding: 12px 24px;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tab-button:hover {
    background: #DAA520;
    color: white;
    border-color: #00703C;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.tab-button.active {
    background: #00703C;
    color: white;
    border-color: #DAA520;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.tab-content {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.tab-pane {
    display: none;
    font-size: 0.875rem;
    color: #4a5568;
}

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

@media (max-width: 768px) {
    .tab-buttons {
        gap: 6px;
    }

    .tab-button {
        padding: 14px 28px;
        font-size: 1rem;
        border-radius: 6px;
    }
}