/**
 * NeoNXT Theme - Whitepaper Styles
 * Extracted from original HTML CSS
 */

/*-------Banner--------*/
.banner {
  position: relative;
  overflow: hidden;
  height: calc(100vh - 65px);
}

.banner.whitepaper-banner {
  height: calc(300px - 65px);
}

.banner img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.bannerTxt {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  max-width: 85%;
  z-index: 1;
  padding-top: 5rem;
  color: #fff;
}

.bannerTxt h2 {
  font-size: 2.9rem;
  font-weight: 400;
  line-height: 1.1;
  padding-bottom: 25px;
  margin: 0;
}

.bannerTxt p {
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 300;
  padding-bottom: 50px;
}

/*-------Final CLoud What We Do--------*/
.cloud-what-we-do {
  padding: 87px 0;
  scroll-margin-top: 100px;
}

.cloud-what-we-do img {
  width: 100%;
}

.subhead {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1;
  color: #000000;
  padding-bottom: 10px;
  margin: 0 0 22px;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.subhead::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(
    90deg,
    #7100b5 0%,
    #cd0063 39.42%,
    #f20f07 71.15%,
    #ff4000 100%
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s ease-out;
}

.subhead.in-view::after {
  transform: scaleX(1);
}

h2.mainhead {
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1.2;
  color: #000000;
  padding-bottom: 35px;
  margin: 0;
}

.cloud-what-we-do p {
  max-width: 100%;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 300;
  padding: 0;
  color: #3b3b3b;
}

/* Button Styles */
.btn-whitebg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background-color: white;
  text-decoration: none;
  border: 1px solid #ccc;
  border-radius: 50px;
  cursor: pointer;
  margin-top: 20px;
}

/* Campaign Modal Styles */
.modal-xl {
    max-width: 900px !important;
    width: 90% !important;
    margin: 1.75rem auto !important;
}

.modal-dialog {
    margin: 20px auto !important;
}

.modal-content {
    border-radius: 16px !important;
    overflow: hidden !important;
}

.modal-header {
    padding: 0 !important;
    border: 0 !important;
    position: absolute !important;
    right: 15px !important;
    top: 15px !important;
    z-index: 10 !important;
}

.modal-header .btn-close {
    background: #fff !important;
    border-radius: 50% !important;
    width: 24px !important;
    height: 24px !important;
    padding: 0 !important;
    opacity: 1 !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

.modal-header .btn-close::before {
    content: '×' !important;
    position: absolute !important;
    top: 45% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    font-size: 20px !important;
    line-height: 1 !important;
    color: #666 !important;
}

.modal-header .btn-close:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
}

.compaign_modal {
    position: relative !important;
    padding: 25px 30px !important;
}

.popoup-style1__left {
    text-align: left !important;
    padding: 25px !important;
}

.popoup-style1__left .whitepaper-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-bottom: 15px !important;
    background: linear-gradient(90deg, #1310a4 0%, #5e0792 18.27%, #cd0063 51.44%, #f20f07 80.77%, #ff4000 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-fill-color: transparent !important;
    letter-spacing: -0.5px !important;
}

.popoup-style1__left .whitepaper-subtitle {
    font-size: 1.2rem !important;
    color: #333 !important;
    margin-bottom: 35px !important;
    font-weight: 500 !important;
    opacity: 0.9 !important;
}

.popoup-style1__left ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.popoup-style1__left ul li {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 25px !important;
    position: relative !important;
    font-size: 1rem !important;
    color: #333 !important;
}

.popoup-style1__left ul li:after {
    content: '' !important;
    position: absolute !important;
    height: 2px !important;
    width: 210px !important;
    left: 0 !important;
    bottom: -12px !important;
    background: linear-gradient(90deg, #1310a4, #5e0792, #cd0063, #f20f07, #ff4000) !important;
}

.popoup-style1__left ul li:last-child:after {
    display: none !important;
}

.popoup-style1__left ul li img {
    width: 25px !important;
    height: 25px !important;
    margin-right: 15px !important;
    margin-bottom: 0 !important;
}

.popoup-style1__right {
    padding-left: 30px !important;
}

.popoup-style1__right .campaignbanner_form {
    background: #f8f9fa !important;
    padding: 20px !important;
    border-radius: 10px !important;
    border: 1px solid #e9ecef !important;
}

.popoup-style1__right .campaignbanner_form input,
.popoup-style1__right .campaignbanner_form textarea {
    width: 100% !important;
    padding: 10px 12px !important;
    border: 1px solid #e9ecef !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    transition: all 0.2s ease !important;
    background-color: #fff !important;
    margin-bottom: 10px !important;
    color: #333 !important;
}

.popoup-style1__right .campaignbanner_form input::placeholder,
.popoup-style1__right .campaignbanner_form textarea::placeholder {
    color: #999 !important;
    font-size: 13px !important;
}

.popoup-style1__right .campaignbanner_form input:focus,
.popoup-style1__right .campaignbanner_form textarea:focus {
    outline: none !important;
    border-color: #1310a4 !important;
    box-shadow: 0 0 0 2px rgba(19, 16, 164, 0.1) !important;
    background-color: #fff !important;
}

.popoup-style1__right .campaignbanner_form textarea {
    min-height: 80px !important;
    resize: none !important;
}

.popoup-style1__right .campaignbanner_form .btn-primary {
    width: 100% !important;
    padding: 12px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    margin-top: 5px !important;
    background: linear-gradient(90deg, #1310a4 0%, #5e0792 18.27%, #cd0063 51.44%, #f20f07 80.77%, #ff4000 100%) !important;
    border: none !important;
    border-radius: 6px !important;
    color: white !important;
    transition: all 0.2s ease !important;
    letter-spacing: 0.3px !important;
}

.popoup-style1__right .campaignbanner_form .btn-primary:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(19, 16, 164, 0.2) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .compaign_modal {
        padding: 25px 30px !important;
    }
    
    .popoup-style1__left,
    .popoup-style1__right {
        padding: 30px !important;
    }
    
    .popoup-style1__right {
        padding-left: 0 !important;
        padding-top: 30px !important;
    }
    
    .popoup-style1__right .campaignbanner_form {
        padding: 20px !important;
    }
    
    .popoup-style1__left .whitepaper-title {
        font-size: 26px !important;
        margin-bottom: 12px !important;
    }
    
    .popoup-style1__left .whitepaper-subtitle {
        font-size: 16px !important;
        margin-bottom: 25px !important;
    }
    
    .popoup-style1__left ul li {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .compaign_modal {
        padding: 20px 25px !important;
    }
    
    .popoup-style1__left img {
        width: 200px !important;
    }
    
    .popoup-style1__right .campaignbanner_form {
        padding: 15px !important;
    }
    
    .popoup-style1__right .campaignbanner_form h2 {
        font-size: 18px !important;
    }
}

/* Pagination Styles */
.pagination {
    width: 100%;
    float: left;
    padding: 15px;
    text-align: center;
    display: flex;
    justify-content: center;
}

.pagination div {
    display: inline-block;
    margin: 0 10px;
}

.pagination .page {
    color: gray;
    display: flex;
    align-items: center;
}

.pagination .prev,
.pagination .next {
    color: #000;
    border: none;
    font-size: 15px;
    padding: 7px 15px;
    cursor: pointer;
}

.pagination .prev.disabled,
.pagination .next.disabled {
    border-color: gray;
    color: gray;
    pointer-events: none;
    opacity: .5;
}

/* Loading State */
.paging-items.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* SweetAlert2 Theme Styling */
.swal-theme-popup {
  border-radius: 16px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.swal-theme-title {
  font-weight: 600 !important;
  font-size: 16px !important;
  color: #1f2937 !important;
  margin-bottom: 8px !important;
}

.swal-theme-content {
  font-size: 14px !important;
  color: #6b7280 !important;
  line-height: 1.5 !important;
}

.swal-theme-timer {
  background: linear-gradient(90deg, #1310a4 0%, #5e0792 18.27%, #cd0063 51.44%, #f20f07 80.77%, #ff4000 100%) !important;
  height: 3px !important;
  border-radius: 2px !important;
}

/* Success Toast */
.swal-theme-popup.swal2-toast.swal2-show {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: white !important;
}

.swal-theme-popup.swal2-toast.swal2-show .swal2-title {
  color: white !important;
  font-weight: 600 !important;
}

.swal-theme-popup.swal2-toast.swal2-show .swal2-content {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Error Toast */
.swal-theme-popup.swal-error.swal2-toast.swal2-show {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  color: white !important;
}

.swal-theme-popup.swal-error.swal2-toast.swal2-show .swal2-title {
  color: white !important;
  font-weight: 600 !important;
}

.swal-theme-popup.swal-error.swal2-toast.swal2-show .swal2-content {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Info Toast */
.swal-theme-popup.swal-info.swal2-toast.swal2-show {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
  color: white !important;
}

.swal-theme-popup.swal-info.swal2-toast.swal2-show .swal2-title {
  color: white !important;
  font-weight: 600 !important;
}

.swal-theme-popup.swal-info.swal2-toast.swal2-show .swal2-content {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Loading Alert */
.swal-theme-popup.swal-loading {
  background: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid rgba(19, 16, 164, 0.1) !important;
}

.swal-theme-popup.swal-loading .swal2-title {
  color: #1f2937 !important;
  font-weight: 600 !important;
}

.swal-theme-popup.swal-loading .swal2-content {
  color: #6b7280 !important;
}

/* Loading Spinner */
.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: 0.1em;
}

/* Toast Positioning */
.swal2-toast {
  margin: 0 0 16px 0 !important;
  min-width: 320px !important;
  max-width: 400px !important;
}

/* Responsive Design */
@media (max-width: 576px) {
  .swal2-toast {
    min-width: 280px !important;
    max-width: calc(100vw - 32px) !important;
    margin: 0 16px 16px 0 !important;
  }
}

/* Custom animations */
@keyframes swal2-show {
  0% {
    transform: translateX(100%) scale(0.8);
    opacity: 0;
  }
  100% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

@keyframes swal2-hide {
  0% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateX(100%) scale(0.8);
    opacity: 0;
  }
}

.btn-whitebg .gradient-text {
  font-weight: 400;
  font-size: 1.1rem;
  background: linear-gradient(90deg, #1310a4 0%, #5e0792 18.27%, #cd0063 51.44%, #f20f07 80.77%, #ff4000 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.btn-whitebg img {
  width: 12px;
  height: 17px;
}

/* Border Bottom */
.borderbtm {
  margin: 20px 0;
  border-bottom: 1px solid #D1D1D1;
}

/* Whitepaper specific styles */
.whitepage {
  background: #fff;
}

.paging-items {
  margin-bottom: 0;
}

.paging-items .item {
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin-bottom: 0;
  box-shadow: none;
  transition: none;
  border: none;
}

.paging-items .item .row {
  align-items: center;
}

.paging-items .item img {
  max-width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
}

.paging-items .item .cloud-what-we-doDtl.paper {
  padding-left: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .banner {
    height: 400px;
  }
  
  .bannerTxt h2 {
    font-size: 2.4rem;
  }
  
  .paging-items .item .cloud-what-we-doDtl.paper {
    padding-left: 0;
    padding-top: 30px;
  }
  
  .cloud-what-we-do {
    padding: 60px 0;
  }
}