/* Layout Components */

/* Section - Full width container */
.section {
    width: 100%;
    padding: 0px 0px;
}

/* Block - Centered content container */
.block {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding: 40px;
    text-align: left;
}

.block-narrow{
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 40px;
    text-align: left;
}

.block-shadow {
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    border-radius: 10px;
    padding: 40px;
    height: fit-content;
}

.space{
    height: 40px;
}


/* Footer - Centered footer container */
.footer {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding: 4rem 2rem 2rem;
    color: #ffffff;
    font-size: 12px;
}

.footer a{
    color: #ffffff;
}

/* Logo */
.logo img {
    height: 50px;
    width: auto;
}

/* Column Layouts */
.col-2 {
    display: flex;
    gap: 3rem;
}

.col-2 > * {
    flex: 1;
}

.col-3 {
    display: flex;
    gap: 2rem;
}

.col-3 > * {
    flex: 1;
}

.col-4 {
    display: flex;
    gap: 2rem;
}

.col-4 > * {
    flex: 1;
}


/* Typography Classes */

.headline {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.subheadline {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.subtitle {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}


.smalltitle{
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.text-normal{
    font-weight: normal !important;
}

.text-xs{
    font-size: 14px !important;
}

.text-xxs{
    font-size: 12px !important;
}

.text-xxl{
    font-size: 24px !important;
}

.text-xl{
    font-size: 18px !important;
}

/* Alignment */
.center{
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.left{
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}

.right{
    text-align: right;
    margin-left: auto;
    margin-right: 0;
}

.top{
    display: flex;
    align-items: flex-start;
}

.bottom{
    display: flex;
    align-items: flex-end;
}

.middle{
    display: flex;
    align-items: center;
}

/* Padding */
.p-10{
    padding: 10px;
}

.p-20{
    padding: 20px;
}

.p-40{
    padding: 40px;
}

/* List */
.tick-list {
    list-style: none;
    margin: 20px 0 0 0;
    padding: 0;
  }
  
  .tick-list li {
    position: relative;
    margin: 8px 0;
    padding-left: 32px; /* space for tick image */
    line-height: 20px;
  }
  
  .tick-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background: url('images/icon-tick.png') no-repeat center;
    background-size: contain; /* ensure image scales nicely */
  }

  .round-tick-list li{
    line-height: 24px;
    padding-bottom: 10px;
  }

  .round-tick-list li::before {
    background: url('images/icon-check-green.svg') no-repeat center!important;
    background-size: contain!important; /* ensure image scales nicely */

  }


  .cross-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .cross-list li {
    position: relative;
    margin: 8px 0;
    padding-left: 32px; /* space for cross image */
    line-height: 24px;
  }
  
  .cross-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background: url('images/icon-cross.png') no-repeat center;
    background-size: contain; /* scale icon */
  }
  
/* Numbered list with round badge (no wrapper needed) */
.number-list{
    --badge: 48px;      /* circle diameter (adjust to your design) */
    --gap: 20px;        /* space between badge and text */
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: item;
  }
  
  .number-list li{
    position: relative;
    margin: 22px 0;
    padding-left: calc(var(--badge) + var(--gap));
    line-height: 1.6;
    min-height: var(--badge);              /* row never shorter than the badge */
  }
  
  /* numbered badge */
  .number-list li::before{
    counter-increment: item;
    content: counter(item, decimal-leading-zero);
    position: absolute;
    left: 0;
    width: var(--badge);
    height: var(--badge);
    border-radius: 50%;
    background: #00aeff;                     /* Niagawan blue */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: calc(var(--badge) * 0.33);
    letter-spacing: .5px;
  }
  
  /* make <b> behave like normal inline text */
  .number-list li b{
    display: inline;
    font-weight: 800;
  }
  
  /* color variants */
  .number-list.orange li::before{ background:#F1A62B; }
  .number-list.green  li::before{ background:#44C962; }
  
  /* Step list - smaller version for simple steps */
  .step-list {
    --badge: 32px;      /* smaller circle diameter */
    --gap: 16px;        /* space between badge and text */
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: item;
  }
  
  .step-list li {
    position: relative;
    margin: 12px 0;     /* smaller margin */
    padding-left: calc(var(--badge) + var(--gap));
    line-height: 1.4;   /* tighter line height */
    min-height: var(--badge);
    display: flex;
    align-items: center; /* center text vertically with badge */
  }
  
  /* numbered badge for steps */
  .step-list li::before {
    counter-increment: item;
    content: counter(item, decimal-leading-zero);
    position: absolute;
    left: 0;
    width: var(--badge);
    height: var(--badge);
    border-radius: 50%;
    background: #00aeff;                     /* Green color for steps */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: calc(var(--badge) * 0.4);
    letter-spacing: .5px;
  }
  
  /* optional: compact on small screens */
  @media (max-width: 520px){
    .number-list{ --badge: 60px; --gap: 16px; }
    .step-list{ --badge: 28px; --gap: 12px; }
  }
  
  
  /* small screens: tighten the left padding if needed */
  @media (max-width: 480px){
    .number-list li{ padding-left: 76px; }
  }
  
  /* ========================================
     CUSTOM AIN CSS - DESKTOP STYLES
     ======================================== */
  
  /* Layout Components */
  .red {
      color: red;
  }
  
  .border {
      border: 1px solid red;
  }
  
  .space-2 {
      height: 6rem;
  }
  
  .space-4 {
      height: 12rem;
  }
  
  /* Flex Utility Classes */
  .flex-1 { flex: 1; }  /* 1 part */
  .flex-2 { flex: 2; }  /* 2 parts */
  .flex-3 { flex: 3; }  /* 3 parts */
  
  /* Background Utilities */
  .bg-light-blue {
      background: #f2f8ff;
  }
  
  .bg-dark {
      background-color: #1a1a1a;
  }

  .bg-light-grey{
    background-color: #F8F9FA;
  }
  
  /* ========================================
     ICON AND TEXT LAYOUT STYLES
     ======================================== */
  
  /* Base with-icon class */
  .with-icon {
      position: relative;
      padding-left: 28px; /* creates indent for the tick */
      line-height: 1.7;
  }
  
  .with-icon::before {
      content: "";
      position: absolute;
      left: 0;
      top: 2px;
      width: 20px;
      height: 20px;
      background-size: contain; /* ensure image scales nicely */
      background-repeat: no-repeat;
      background-position: center;
  }
  
  /* Green tick variant (default) */
  .with-tick-green::before {
      background-image: url('images/icon-tick.png');
  }
  
  /* Blue tick variant */
  .with-tick-blue::before {
      background-image: url('images/icon-tick-blue.svg');
  }

    /*plus icon variant */
    .with-icon-plus::before {
    background-image: url('images/icon-plus.svg') !important;
    width: 1.5em !important;  /* Scales with font size */
    height: 1.5em !important; /* Scales with font size */
    top: 50% !important; /* Center vertically */
    transform: translateY(-50%) !important; /* Perfect vertical centering */
    left: -10px!important;
    }
  
  /* Icon text layout */
  .icon-text {
      display: flex;
      align-items: flex-start; /* align top of image with text */
      gap: 1rem; /* space between image and text */
  }
  
  .icon {
      width: 4rem;
      height: 4rem;
      flex-shrink: 0; /* don't let it shrink */
  }
  
  /* ========================================
     TEXT STYLING
     ======================================== */
  
  /* Wavy text underline */
  .wavy-text {
      text-decoration-line: underline;
      text-decoration-style: wavy;
      text-decoration-color: #fcae08;
      text-decoration-thickness: 3px;
      text-underline-offset: 5px;
  }
  
  .smalltitle-compact {
      font-size: 18px;
      margin-bottom: 5px;
      font-weight: 600;
  }
  
  /* ========================================
     IMAGE STYLES
     ======================================== */
  
  .img-block-small {
      width: 50%;
      height: auto;
  }
  
  .img-testimonial {
      width: 30%;
      height: auto;
      max-width: 80px;
      display: block;
      object-fit: contain;
      margin: 0 auto;
  }
  
  /* ========================================
     TESTIMONIAL CARD STYLES
     ======================================== */
  
  .testimonial-card {
      position: relative;
      border-radius: 12px;
      min-height: 250px;
      color: white;
      background-image: url('images/banner-2.webp');
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center;
      height: auto;
      padding: 30px;
  }

  .testimonial-card-price{
    background: #F8F9FA!important;
    color: #000!important;
    border: 1px solid #BBBBBB!important;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.1);
  }
  
  .testimonial-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 1;
  }
  
  .testimonial-card > * {
      position: relative;
      z-index: 2;
  }
  
  .testimonial-card .col-2 {
      align-items: flex-start;
      margin-top: auto;
  }
  
  /* ========================================
     E-INVOICE STEPS SECTION STYLES
     ======================================== */
  
  .e-invoice-steps {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 40px;
      margin-top: 40px;
  }
  
  .step-block {
      background: white;
      border-radius: 12px;
      padding: 10px;
  }
  
  .step-number {
      width: 35px;
      height: 35px;
      background: #00aeff;
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      font-weight: 500;
      margin-bottom: 20px;
      margin-left: auto;
      margin-right: auto;
  }
  
  .step-content {
      display: flex;
      flex-direction: column;
      gap: 20px;
  }
  
  .step-image {
      text-align: center;
      margin-bottom: 20px;
  }
  
  .step-image img {
      width: 100%;
      max-width: 400px;
      height: auto;
      border-radius: 8px;
      display: block;
      margin: 0 auto;
  }
  
  .step-text {
      text-align: center;
  }
  
  /* ========================================
     TOGGLE BUTTON STYLES - EINVOICE
     ======================================== */
  
  .toggle-buttons {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      margin: 20px 0;
  }
  
  .toggle-btn {
      padding: 12px 24px;
      background: #00aeff;
      color: #ffffff;
      border-radius: 10px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      min-width: 200px;
      box-shadow: 0 4px 12px rgba(35, 55, 64, 0.3);
  }
  
  .toggle-btn:hover {
      background: #ffffff;
      color: #00aeff;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0, 174, 255, 0.3);
  }
  
  .toggle-btn.active {
      background: #00aeff;
      color: white;
      box-shadow: 0 4px 12px rgba(0, 174, 255, 0.3);
  }

  /* ========================================
     HORIZONTAL TAB STYLES - CAREER
     ======================================== */
  
  .tab-navigation {
      display: flex;
      justify-content: center;
      margin: 30px 0;
      border-bottom: 2px solid #e0e0e0;
      border-radius: 15px 15px 0 0;
      padding: 10px;
  }
  
  .tab-btn {
      padding: 15px 30px;
      background: transparent;
      color: #00AEFF;
      border: none;
      border-radius: 10px 10px 0 0;
      font-size: 20px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      margin: 0 5px;
      position: relative;
      min-width: 180px;
  }
  
  .tab-btn:hover {
      background: #e9ecef;
      color: #00aeff;
      transform: translateY(-2px);
  }
  
  .tab-btn.active {
      background: #00aeff;
      color: #ffffff;
      /* box-shadow: 0 4px 12px rgba(0, 174, 255, 0.3); */
      transform: translateY(-2px);
  }
  
  .tab-btn.active::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      right: 0;
      height: 3px;
      background: #00aeff;
      border-radius: 2px;
  }
  
  .tab-content {
      background: #ffffff;
      border-radius: 0 0 15px 15px;
      overflow: hidden;
  }
  
  .tab-panel {
      display: none;
      padding: 40px;
      animation: fadeIn 0.3s ease-in-out;
  }
  
  .tab-panel.active {
      display: block;
  }
  
  @keyframes fadeIn {
      from {
          opacity: 0;
          transform: translateY(10px);
      }
      to {
          opacity: 1;
          transform: translateY(0);
      }
  }


  .career-block{
    padding: 20px;
    border-radius: 15px;
    /* box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.1); */
    border: 1px solid #BBBBBB;
  }

  .career-block i{
    font-size: 40px;
    color: #00aeff;
    padding-bottom: 20px;
    text-align: left!important;
  }

  .career-block > div, .career-block > p{
    text-align: left!important;
    margin-left: 0!important;
    margin-right: auto!important;
  }

  /* ========================================
     JOB DETAILS POPUP STYLES
     ======================================== */
  
  .clickable-details {
      transition: all 0.3s ease;
  }
  
  .clickable-details:hover {
      color: #0088cc !important;
      text-decoration: underline;
      transform: translateX(5px);
  }
  
  .job-modal-content {
      position: relative;
      background-color: #ffffff;
      margin: 5% auto;
      padding: 0;
      border-radius: 15px;
      width: 90%;
      max-width: 800px;
      max-height: 90vh;
      overflow-y: auto;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
      animation: slideIn 0.3s ease-out;
  }
  
  @keyframes slideIn {
      from {
          opacity: 0;
          transform: translateY(-50px);
      }
      to {
          opacity: 1;
          transform: translateY(0);
      }
  }
  
  .job-details {
      padding: 40px;
  }
  
  .job-title {
      color: #000;
      font-size: 28px;
      font-weight: 700;
      margin-bottom: 10px;
      text-align: center;
  }
  
  .job-type {
      background: #f2f8ff;
      color: #00aeff;
      padding: 8px 16px;
      border-radius: 20px;
      font-weight: 600;
      font-size: 14px;
      display: inline-block;
      margin-bottom: 30px;
      text-align: center;
      width: 100%;
  }
  
  .job-section {
      margin-bottom: 30px;
  }
  
  .job-section h3 {
      color: #333;
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 15px;
      border-bottom: 2px solid #00aeff;
      padding-bottom: 5px;
  }
  
  .job-section p {
      color: #666;
      line-height: 1.6;
      margin-bottom: 15px;
  }
  
  .job-list {
      list-style: none;
      padding: 0;
      margin: 0;
  }
  
  .job-list li {
      position: relative;
      padding-left: 25px;
      margin-bottom: 10px;
      color: #666;
      line-height: 1.5;
  }
  
  .job-list li::before {
      content: "✓";
      position: absolute;
      left: 0;
      top: 0;
      color: #00aeff;
      font-weight: bold;
      font-size: 16px;
  }
  
  .job-actions {
      display: flex;
      gap: 15px;
      justify-content: center;
      margin-top: 40px;
      padding-top: 30px;
      border-top: 1px solid #e0e0e0;
  }
  
  .btn-secondary {
      background-color: #6c757d;
      color: #ffffff;
      padding: 12px 24px;
      border: none;
      border-radius: 8px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
  }
  
  .btn-secondary:hover {
      background-color: #5a6268;
      transform: translateY(-2px);
  }
  
  .linkedin-btn {
      background-color: #0077b5 !important;
      border-color: #0077b5 !important;
  }
  
  .linkedin-btn:hover {
      background-color: #005885 !important;
      border-color: #005885 !important;
  }
  
  .linkedin-icon {
      display: inline-block;
      background-color: #ffffff;
      color: #0077b5;
      font-weight: bold;
      font-size: 14px;
      padding: 2px 4px;
      border-radius: 2px;
      margin-right: 8px;
      font-family: Arial, sans-serif;
  }

  /* ========================================
     SOCIAL CONNECT CARD STYLES
     ======================================== */
  
  .social-connect-card {
      background-color: #FFF7EA;
      border-radius: 20px;
      padding: 40px;
      box-shadow: 6px 6px 0px 0px #D4D4D4;
      /* border: 4px solid #D4D4D4; */
  }
  
  .social-icons {
      display: flex;
      gap: 15px;
      align-items: center;
  }
  
  .social-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      text-decoration: none;
      transition: all 0.3s ease;
      font-size: 20px;
      color: #ffffff;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  
  .social-icon.facebook {
      background-color: #1877f2;
  }
  
  .social-icon.linkedin {
      background-color: #0077b5;
  }
  
  .social-icon.instagram {
      background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  }

  /* ========================================
     YEARLY ACTIVITIES GALLERY STYLES
     ======================================== */
  
  .year-navigation {
      display: flex;
      justify-content: center;
      margin: 30px 0;
      gap: 10px;
      flex-wrap: wrap;
  }
  
  .year-btn {
      padding: 12px 24px;
      background: transparent;
      color: #666;
      border: 2px solid #e0e0e0;
      border-radius: 25px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      min-width: 80px;
  }
  
  .year-btn:hover {
      background: #f8f9fa;
      color: #00aeff;
      border-color: #00aeff;
      transform: translateY(-2px);
  }
  
  .year-btn.active {
      background: #00aeff;
      color: #ffffff;
      border-color: #00aeff;
      box-shadow: 0 4px 12px rgba(0, 174, 255, 0.3);
  }
  
  .year-content {
      margin-top: 30px;
  }
  
  .year-panel {
      display: none;
      animation: fadeIn 0.3s ease-in-out;
  }
  
  .year-panel.active {
      display: block;
  }
  
  .gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 20px;
      margin: 20px 0;
  }
  
  .gallery-item {
      position: relative;
      border-radius: 15px;
      overflow: hidden;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  
  .gallery-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  }
  
  .gallery-item img {
      width: 100%;
      height: 250px;
      object-fit: cover;
      transition: transform 0.3s ease;
  }
  
  .gallery-item:hover img {
      transform: scale(1.05);
  }
  
  .gallery-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
      color: white;
      padding: 20px;
      transform: translateY(100%);
      transition: transform 0.3s ease;
  }
  
  /* ========================================
     PRICE CARD STYLES
     ======================================== */
  
  .package-card {
      margin: 20px 25px;
      display: flex;
      flex-direction: column;
      height: 100%;
  }
  
  /* Price Card Banner Header - Exact Curve Match */
  .card-banner {
      background: #00aeff;
      color: white;
      text-align: center;
      padding: 20px 25px;
      border-radius: 15px 15px 0 0;
      font-weight: 700;
      font-size: 20px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin: 0;
      line-height: 1.2;
      /* Override block-shadow padding to fill full width */
      margin-left: -20px;
      margin-right: -20px;
      margin-top: -20px;
  }

  .price {
    text-transform: none!important;
  }

  
  /* ribbon style */
  .popular-ribbon {
      position: absolute;
      top: -15px;
      right: -15px;
      background: #1962F2;
      color: white !important;
      padding: 8px 20px !important;
      font-size: 14px !important;
      font-weight: bold !important;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
      border-radius: 15px;
      z-index: 10;
  }

  .badge{
    text-align: left;
    margin-left: 0!important;
    margin-right: auto;
}

    .badge span{
      padding: 5px 15px;
    }


  
  /* Trust & Guarantee Section */
  .trust-section {
      margin-top: 60px;
      text-align: center;
  }
  
  .trust-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-top: 40px;
  }
  
  .trust-box {
      background: #1E73BE!important;
      padding: 15px 15px;
      border-radius: 15px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease;
      align-content: center;
  }
  
  .trust-box-large {
      grid-column: 1 / -1;
      margin-top: 20px;
      padding: 30px 20px;
  }
  
  .trust-text {
      font-size: 16px;
      font-weight: 500;
      color: #ffffff;
      line-height: 1.4;
      text-align: center;
  }
  
  /* Price Card Content */
  .card-content {
      border-radius: 0 0 15px 15px;
      box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.3);
      background-color: #ffffff;
      padding: 20px 30px;
      /* Override block-shadow padding to fill full width */
      margin-left: -20px;
      margin-right: -20px;
      margin-bottom: -20px;
      display: flex;
      flex-direction: column;
      flex: 1;
  }

  .card-content-round{
    border-radius: 15px!important;
  }

  .card-content-combo{
    border: 1px solid #BBBBBB!important; 
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2); 
  }
  
  /* Make the tick list flexible to fill available space */
  .card-content ul.tick-list {
      flex: 1;
  }


  /* Image Gallery Modal Styles */
  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #0e0909;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #f1f1f1;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    padding: 16px;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.image-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #f1f1f1;
    font-size: 16px;
    background-color: rgba(0,0,0,0.7);
    padding: 8px 16px;
    border-radius: 20px;
}


/* Clickable Image Styles - Desktop */
.clickable-image {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.overlay-text {
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

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

  
  /* ========================================
     LAYOUT UTILITY CLASSES
     ======================================== */
  
  /* Feature Blocks Equal Height - NiagaPlus */
  .col-3 > div , .col-2 > div {
      display: flex;
      flex-direction: column;
  }
  
  .col-3 .block , .col-2 .block {
      height: 100%;
      display: flex;
      flex-direction: column;
  }
  
  .col-3 .block > div:last-child , .col-2 .block > div:last-child {
      margin-top: auto;
  }
  
  /* Two Column Equal Height - NiagaPlus */
  .col-2 .block-shadow {
      height: 100%;
      display: flex;
      flex-direction: column;
  }
  
  .col-2 .block-shadow > div:last-child {
      margin-top: auto;
  }
  
  /* ========================================
     DESKTOP ORDER RESET
     ======================================== */
  
  /* Reset order on desktop to maintain natural HTML flow */
  .order-1-mobile,
  .order-2-mobile {
      order: 0 !important; /* Reset order on desktop - 0 is the default natural order */
  }
  
  /* Mobile tweaks */
  @media (max-width: 768px) {
    .number-list li { margin: 14px 0; gap: 12px; }
    .number-list li::before {
      width: 44px;
      height: 44px;
      font-size: 16px;
    }
    
    .step-list li { margin: 10px 0; }
    .step-list li::before {
      width: 28px;
      height: 28px;
      font-size: 12px;
    }
    
    /* Mobile column order changes */
    .col-2 {
      flex-direction: column;
    }
    
    /* Mobile e-invoice steps - stack vertically */
    .e-invoice-steps {
      grid-template-columns: 1fr;
      gap: 20px;
    }

    /* Modal  Mobile image gallery */
    .modal-content {
        width: 95%;
        height: 85vh;
    }

    .nav-arrow {
        font-size: 24px;
        padding: 12px;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }

    .close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }

    /* Mobile grid adjustments */
    .clickable-image {
        height: 200px;
        min-height: 200px;
        width: 100%;
    }

    .clickable-image {
        height: 180px;
        min-height: 180px;
    }
  }


/* Check list */
.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.check-list li {
    position: relative;
    margin: 8px 0;
    padding-left: 32px; /* space for cross image */
    line-height: 24px;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background: url('images/icon-check.svg') no-repeat center;
    background-size: contain; /* scale icon */
}

/* Text utility classes */
.text-disclaimer {
    font-size: 12px;
    color: #7d7d7d;
    font-weight: 300;
}

.text-justify {
    text-align: justify;
    font-size: 16px;
    line-height: 1.7rem;
        margin: 10px 0 0 0;
    padding-left: 1rem;

}

/* Nested Ordered Lists - Proper Hierarchy */
ol ol {
    padding-left: 2rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

ol ol ol {
    padding-left: 2rem;
}

/* Nested Unordered Lists - Show Bullets */
.nested-ul {
    list-style: disc;
    padding-left: 2rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.nested-ul li {
    margin-bottom: 0.5rem;
}

.price-note {
    font-size: 14px;
    color: #7d7d7d;
    font-weight: 300;
}

/* Column auto layout */
.col-auto {
    display: flex;
    gap: 2rem;
}

.col-auto > * {
    flex: 0 0 auto; /* don't grow, don't shrink, size = content */
}


/* Text Colors */
.text-blue {
    color: #00aeff;
}

.text-green {
    color: #44c962;
}

.text-red {
    color: #ff0000;
}

.text-orange {
    color: #f1a62b;
}


/* Background Colors */
.bg-white {
    background-color: #ffffff;
}

.bg-grey {
    background-color: #efefef;
}

.bg-blue {
    background-color: #00aeff;
    color: #ffffff;
}

.bg-blue .title,
.bg-blue .subtitle,
.bg-blue .headline,
.bg-blue .subheadline,
.bg-blue h1,
.bg-blue h2,
.bg-blue h3,
.bg-blue h4,
.bg-blue h5,
.bg-blue h6 {
    color: #ffffff;
}

.bg-orange {
    background-color: #f1a62b;
    color: #ffffff;
}

.bg-orange .title,
.bg-orange .subtitle,
.bg-orange .headline,
.bg-orange .subheadline,
.bg-orange h1,
.bg-orange h2,
.bg-orange h3,
.bg-orange h4,
.bg-orange h5,
.bg-orange h6 {
    color: #ffffff;
}

.bg-gradient-blue-white {
    background: linear-gradient(to bottom, #f2f8ff, #ffffff);
}

.bg-lightblue {
    background-color: #f2f8ff;
}

/* Button */
.btn-green {
    background-color: #44c962;
    color: #ffffff;
}

.btn-orange {
    background-color: #f1a62b;
    color: #ffffff;
}

.btn-blue {
    background-color: #00aeff;
    color: #ffffff;
}

.btn-round {
    border-radius: 20px;
}

.btn-shadow {
    box-shadow: 0 0 10px 0 redgba(0, 0, 0, 0.3);
}

.btn-whiteborder{
    border: 2px solid #ffffff;
}

.round-border{
    border-radius: 15px;
    border: 1px solid #bbbbbb;
    padding: 8px 20px;
    background-color: #ffffff!important;
}

/* Menu */
.menu {
    display: flex;
}

.menu nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

.menu nav ul li a {
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.menu nav ul li a:hover {
    background-color: #00aeff;
    color: #ffffff;
}

/* Desktop Header - Show desktop, hide mobile */
.header-desktop {
    display: flex;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px 20px;
    justify-content: space-between;
    align-items: center;
}

.header-mobile {
    display: none;
}

/* Image */
.img-home {
    width: 50%;
    height: auto;
}

.img-main {
    width: 70%;
    height: auto;
}

.img-block {
    width: 80%;
    height: auto;
}

.img-block-small {
    width: 50%;
    height: auto;
}

.img-rounded {
    border-radius: 50%;
    object-fit: cover;
    aspect-ratio: 1;
    width: 300px;
    height: 300px;
}

/* Higlight */
/* Brush-style oval highlight (auto-stretches with text) */
/* Brush-style oval highlight (thin, #F1A62B) */
.marker-orange{
    position: relative;
    display: inline-block;
    line-height: 1;
    padding: .12em .65em;
    z-index: 0;
  }
  
  .marker-orange::before{
    content: "";
    position: absolute;
    left: -.65em;
    right: -.65em;
    top: 50%;
    height: 1.30em;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40' preserveAspectRatio='none'%3E%3Cpath d='M5,20 C5,9 22,4 50,4 C78,4 95,9 95,20 C95,31 78,36 50,36 C22,36 5,31 5,20 Z' fill='none' stroke='%23F1A62B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8,9 Q 20,6 33,8' fill='none' stroke='%23F1A62B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    pointer-events: none;
    z-index: -1;
  }
  
  
.marker-red{
    position: relative;
    display: inline-block;
    z-index: 0;
}

  /* curved brush underline */
.marker-red::after{
    content:"";
    position:absolute;
    left:-.35em;
    right:-.35em;
    bottom:-.08em;
    height:.55em;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M3 15 C 35 9, 65 9, 97 12' fill='none' stroke='%23D63A1E' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M92 12 Q 96 13, 97 14' fill='none' stroke='%23D63A1E' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:center;
    background-size:100% 100%;
    pointer-events:none;
    z-index:-1;
}
    

/* Login */
.login {
    display: flex;
    align-items: center;
}

/* Copyright */
.copyright {
    text-align: center;
    padding: 20px;
    color: #ffffff;
    font-size: 12px;
    border-top: 1px solid #efefef;
    margin-top: 20px
}

/* Optin Form */
.optin {
    display: flex;
    gap: 15px;
    margin: 0 auto;
    justify-content: center;
}

.optin input[type="text"] {
    padding: 12px 15px;
    width: 250px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}


.optin button {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    border:2px solid #ffffff;
}

.faq{
    --primary:#00AEFF;
    --q-bg:#f3f6fb;
    --a-bg:#fff;
    --radius:12px;
  }
  .faq .question{
    position:relative;
    cursor:pointer;
    padding:16px 44px 16px 20px;
    margin-bottom: 5px;
    background:var(--q-bg);
    border-radius:var(--radius);
    font-weight:500;
    line-height:1.5;
    transition:background .2s ease;
  }
  .faq .question:hover{ background:#eaf1fb; }
  .faq .question::after{
    content:"▸";
    position:absolute;
    right:16px;
    top:50%;
    transform:translateY(-50%) rotate(0deg);
    font-size:20px;
    color:var(--primary);
    transition:transform .2s ease;
  }
  .faq .question.open::after{ transform:translateY(-50%) rotate(90deg); }
  .faq .answer{
    overflow:hidden;
    max-height:0;
    opacity:0;
    margin:0 8px;
    background:var(--a-bg);
    border-radius:0 0 var(--radius) var(--radius);
    transition:max-height .3s ease, opacity .2s ease, margin-top .2s ease;
    padding:0 16px;
  }
  .faq .answer.show{
    opacity:1;
    padding-top:14px;
    padding-bottom:16px;
    margin-top:6px;
  }
  .faq .space{ display:none; }

/** Form **/

.form .form-group{
    margin-bottom: 15px;
}


/** Cart **/
.cart table{
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}
.cart table th{
    background-color: #f0f0f0;
    padding: 10px 20px;
    text-align: left;
    border-bottom: 1px solid #ffffff;
}
.cart table td{
    padding: 10px 20px;
    text-align: left;
}

/* Mobile Responsive - Media Query for screens up to 768px */
@media (max-width: 768px) {
    /* Layout Components */
    .section {
        width: 100%;
        padding: 20px 0px;
    }

    .block {
        padding: 20px;
        margin: 0 0px;
    }

    .block-narrow{
        padding: 20px;
        margin: 0 0px;
    }
    
    .block-shadow {
        padding: 20px;
        margin: 0 15px;
        /* Ensure proper mobile box-shadow behavior */
        overflow: hidden;
        position: relative;
    }
    
    .space {
        height: 20px;
    }
    
    .space-2 {
        height: 20px!important;
    }


    /* Mobile - Hide desktop header, show mobile header */
    .header-desktop {
        display: none;
    }
    
    .header-mobile {
        display: flex;
        padding: 0px 20px;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    
    /* Mobile Header - Left Menu Icon */
    .header-mobile .left {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .header-mobile .left i {
        font-size: 18px;
        color: #333333;
        transition: color 0.3s ease;
    }
    
    .header-mobile .left:hover i {
        color: #00aeff;
    }
    
    /* Mobile Header - Center Logo */
    .header-mobile .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
    }
    
    .header-mobile .logo img {
        height: 35px;
    }
    
    /* Mobile Header - Right Login Icon */
    .header-mobile .right {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .header-mobile .right i {
        font-size: 18px;
        color: #333333;
        transition: color 0.3s ease;
    }
    
    .header-mobile .right:hover i {
        color: #00aeff;
    }
    
    /* Mobile Submenu Dropdown */
    .header-mobile .submenu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 10px 10px;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        z-index: 9;
    }
    
    .header-mobile .submenu.active {
        max-height: 400px;
    }
    
    .header-mobile .submenu nav ul {
        list-style: none;
        margin: 0;
        padding: 0 20px;
        display: flex;
        flex-direction: column;
    }
    
    .header-mobile .submenu nav ul li {
        border-bottom: 1px solid #f5f5f5;
    }
    
    .header-mobile .submenu nav ul li:last-child {
        border-bottom: none;
    }
    
    .header-mobile .submenu nav ul li a {
        padding: 10px;
        text-align: left;
        display: block;
        color: #333333;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .header-mobile .submenu nav ul li a:hover {
        background-color: #f8f9fa;
        color: #00aeff;
    }
    
    .footer {
        padding: 0px 40px;
        text-align: left;
    }
    
    /* Column Layouts - Stack on mobile */
    .col-2,
    .col-3,
    .col-4 {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    /* Typography */
    .headline {
        font-size: 28px;
        margin-bottom: 15px;
        padding: 0 0px;
    }
    
    .subheadline {
        font-size: 16px;
        margin-bottom: 30px;
        padding: 0 0px;
        font-weight: 500;
    }
    
    .title {
        font-size: 24px;
        margin-bottom: 15px;
        padding: 0 0px;
    }
    
    .subtitle {
        font-size: 16px;
        margin-bottom: 30px;
        padding: 0 0px;
    }
    
    .smalltitle {
        font-size: 18px;
        margin-bottom: 15px;
        padding: 0 0px;
    }

    .text-justify {
        font-size: 14px!important;
    
    }

    
    /* Images */
    .img-home {
        width: 100%;
    }

    .img-main {
        width: 80%;
    }
    
    .img-block {
        width: 80%;
    }
    
    
    /* Padding adjustments */
    .p-40 {
        padding: 20px;
    }
    
    .p-20 {
        padding: 15px;
    }
    
    /* Optin Form - Mobile */
    .optin {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .optin input[type="text"],
    .optin button {
        width: 100%;
        text-align: center;
    }

    /* ========================================
       CUSTOM AIN CSS - MOBILE STYLES
       ======================================== */
    
    p{
        font-size: 17px !important;
        font-weight: 500 !important;
        line-height: 1.7 !important;
    }

    .space-4 {
        height: 2rem;
    }
    
    /* ========================================
       MOBILE LAYOUT CHANGES
       ======================================== */
    
     /*Price package card - NiagaPos & NiagaPlus */
    .package-card {
        padding: 40px;
        height: fit-content;
        margin: 0px 0px !important;
        display: flex;
        flex-direction: column;
    }
       
    /* Mobile column order changes */
    .col-2 {
        flex-direction: column !important;
    }
    
    /* Ensure mobile ordering works */
    .col-2 .order-1-mobile {
        order: 1 !important;
    }
    
    .col-2 .order-2-mobile {
        order: 2 !important;
    }
    
    /* ========================================
       MOBILE TOGGLE BUTTONS HORIZONTAL
       ======================================== */
    
    .toggle-buttons {
        /* flex-direction: row !important; */
        gap: 10px !important;
    }
    
    .toggle-buttons .space {
        display: none !important; /* Hide the space div on mobile */
    }
    
    .toggle-btn {
        min-width: auto !important; /* Allow buttons to size naturally */
        flex: 1 !important; /* Make buttons equal width */
    }
    
    /* Mobile order classes */
    .order-1-mobile {
        order: 1 !important; /* This makes it appear FIRST on mobile */
    }
    
    .order-2-mobile {
        order: 2 !important; /* This makes it appear SECOND on mobile */
    }
    
    /* ========================================
       MOBILE NUMBER LIST STYLES
       ======================================== */
    
    .number-list li { 
        margin: 14px 0; 
        gap: 12px; 
    }
    
    .number-list li::before {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
    
    .step-list li { 
        margin: 10px 0; 
        font-size: 17px !important;
        font-weight: 500 !important;
        line-height: 1.7 !important;
    }
    
    .step-list li::before {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    /* ========================================
       MOBILE ICON OVERRIDES
       ======================================== */
    
    .with-icon {
        position: relative !important;
        padding-left: 28px !important;
        line-height: 1.7 !important;
    }

    .with-icon::before {
        content: "" !important;
        position: absolute !important;
        left: 0 !important;
        top: 2px !important;
        width: 20px !important;
        height: 20px !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
    }

    /* Mobile green tick variant */
    .with-tick-green::before {
        background-image: url('images/icon-tick.png') !important;
    }

    /* Mobile blue tick variant */
    .with-tick-blue::before {
        background-image: url('images/icon-tick-blue.svg') !important;
    }

     /* Mobile user icon variant */
     .with-icon-plus::before {
        background-image: url('images/icon-plus.svg') !important;
        width: 1.5em !important;  /* Scales with font size */
        height: 1.5em !important;
        top: 50% !important; /* Center vertically */
        transform: translateY(-50%) !important; /* Perfect vertical centering */
    }
     
     /* Mobile popular ribbon */
     .popular-ribbon {
         top: 20px !important;
         right: 10px !important;
         background: #1962F2 !important;
         color: white !important;
         padding: 6px 15px !important;
         font-size: 12px !important;
     }
    
    /* ========================================
       MOBILE TESTIMONIAL CARD STYLES
       ======================================== */
    
    .testimonial-card {
        text-align: center;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 20px !important;
    }
    
    .testimonial-card p,
    .testimonial-card .p-10,
    .testimonial-card .col-2 {
        text-align: center !important;
        width: 100% !important;
    }
    
    .testimonial-card .left {
        text-align: center !important;
    }
    
    /* Ensure testimonial container uses full width on mobile */
    .col-3 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* ========================================
       MOBILE PRICE CARD STYLES
       ======================================== */
    
    .card-banner {
        background: #00aeff;
        color: white;
        text-align: center;
        padding: 20px 20px;
        border-radius: 15px 15px 0 0;
        font-weight: 700;
        font-size: 16px;
        text-transform: uppercase;
        /* letter-spacing: 0.2px; */
        margin: 0;
        line-height: 1.2;
        /* Override block-shadow padding to fill full width */
        margin-left: -20px;
        margin-right: -20px;
        margin-top: -20px;
    }
    

    
    /* .col-2 .block-shadow {
        width: 90% !important;
        max-width: 90% !important;
        margin-left: auto;
        margin-right: auto;
    } */
    
    .col-2 > div {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* ========================================
       MOBILE HORIZONTAL TAB STYLES
       ======================================== */
    
    .tab-navigation {
        flex-direction: column !important;
        gap: 10px !important;
        padding: 15px !important;
    }
    
    .tab-btn {
        min-width: auto !important;
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 14px !important;
        margin: 0 !important;
    }
    
    .tab-content {
        border-radius: 0 0 15px 15px !important;
    }
    
    .tab-panel {
        padding: 20px !important;
    }
    
    /* ========================================
       MOBILE JOB DETAILS POPUP STYLES
       ======================================== */
    
    .job-modal-content {
        width: 95% !important;
        margin: 2% auto !important;
        max-height: 85vh !important;
    }
    
    .job-details {
        padding: 20px !important;
    }
    
    .job-title {
        font-size: 22px !important;
    }
    
    .job-section h3 {
        font-size: 18px !important;
    }
    
    .job-actions {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .btn-primary, .btn-secondary {
        width: 100% !important;
        padding: 15px 20px !important;
    }
    
    /* ========================================
       MOBILE SOCIAL CONNECT CARD STYLES
       ======================================== */
    
    .social-connect-card {
        padding: 20px !important;
        margin: 10px 0 !important;
    }
    
    .social-title {
        font-size: 24px !important;
        text-align: center !important;
    }
    
    .social-subtitle {
        font-size: 14px !important;
        text-align: center !important;
        margin-bottom: 20px !important;
    }
    
    .social-icons {
        justify-content: center !important;
        margin-bottom: 20px !important;
    }
    
    .social-icon {
        width: 45px !important;
        height: 45px !important;
        font-size: 18px !important;
    }
    
    /* ========================================
       MOBILE YEARLY ACTIVITIES STYLES
       ======================================== */
    
    .year-navigation {
        flex-direction: column !important;
        gap: 10px !important;
        margin: 20px 0 !important;
    }
    
    .year-btn {
        width: 100% !important;
        padding: 15px 20px !important;
        font-size: 14px !important;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .gallery-item img {
        height: 200px !important;
    }
    
    .gallery-overlay {
        padding: 15px !important;
    }
    
    .gallery-title {
        font-size: 16px !important;
    }
    
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.video-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(2px);
}

.video-modal-content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 30px;
    color: #ffffff;
    cursor: pointer;
    z-index: 10001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease;
}

.video-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.video-modal-body {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-modal-body iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
 
.video-modal[style*="display: block"]{
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 16px;
  }
  
  .video-modal[style*="display: block"] .video-modal-content{
    top: auto;
    left: auto;
    transform: none;
    width: calc(100% - 32px);
    max-width: 800px;
    max-height: 92vh;
    border-radius: 12px;
  }
  
  @media (max-width: 768px){
    .video-modal[style*="display: block"] .video-modal-body{
      padding-bottom: 0;
      height: calc(100vh - 96px);
      aspect-ratio: 9 / 16;
    }
    .video-modal[style*="display: block"] .video-modal-body iframe{
      position: static;
      width: 100%;
      height: 100%;
    }
    .video-modal[style*="display: block"] .video-modal-close{
      position: fixed;
      top: 12px;
      right: 12px;
      font-size: 22px;
      width: 36px;
      height: 36px;
      background-color: rgba(0,0,0,.55);
      z-index: 10002;
    }
  }
  
  @media (max-width: 568px) and (orientation: landscape){
    .video-modal[style*="display: block"] .video-modal-body{
      height: auto;
      aspect-ratio: 16 / 9;
      padding-bottom: 0;
    }
  }
  