/* FULLSCREEN OVERLAY */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6); 
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); 

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* CENTER CONTENT */
.loader-content {
  text-align: center;
  color: white;
  font-family: sans-serif;
}

.loader-visual {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
}

/* SPINNER */
.spinner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 4px solid rgba(255,255,255,0.2);
  border-top: 4px solid #2277BB;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.loader-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.82);
  clip-path: inset(100% 0 0 0);
  transition: opacity 0.35s ease, transform 0.45s ease, clip-path 0.6s ease;
}

#preloader.is-complete .spinner {
  opacity: 0;
  transform: scale(1.08);
}

#preloader.is-complete .loader-logo {
  opacity: 1;
  transform: scale(1);
  clip-path: inset(0 0 0 0);
}

/* ANIMATION */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* HIDDEN STATE */
#preloader.hide {
  opacity: 0;
  visibility: hidden;
}


/* Main Image Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 998;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* Settings for Hero */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 58, 92, 0.4);
    z-index: 10;
    pointer-events: none;
}

.hero h1 {
    display: inline-block;
    width: auto;
}

.hero h1 span {
    color: #FFFFFF;
    transition: all 0.3s ease;
    display: inline-block;
}


@keyframes gradientShift {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 300% center;
    }
}

.hero {
    display: flex !important;
    justify-content: center !important;
}

.hero-content {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

.hero .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero .hero-content h1,
.hero .hero-content p,
.hero .hero-content .hero-buttons {
    width: 100%;
    text-align: center;
}

/* Hero */
.hero {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    margin-top: 80px;
    min-height: 750px;
    display: flex;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    width: 100%;
    padding: 80px 20px;
    position: relative;
    z-index: 15;
    text-align: center;
    margin: 0 auto;
    box-sizing: border-box;
}

.hero-content p {
    line-height: 1.6;
    margin-bottom: 35px;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    max-width: 700px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: #1A3A5C;
    color: #FFFFFF;
    border: 2px solid #2277BB;
    padding: 8px 20px;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 25px;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
    margin-top:0px;
    top:0px;
}

.hero h1 {
    font-size: 90px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.hero h1 span {
    color: #FFFFFF;
}

.hero p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 35px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 800;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.hero h2{
   display: inline-block;
    letter-spacing: 2px;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: #2277BB;
    color: #FFFFFF;
    padding: 14px 35px;
    text-decoration: none;
    font-weight: bolder;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: #30AAE3;
    transform: translateY(-2px);
}

.btn-outline {
    background: #2277BB;
    color: #FFFFFF;
    padding: 14px 35px;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    letter-spacing: 1px;
}

.btn-outline:hover {
    background: #30AAE3;
    transform: translateY(-2px);
}




/* Main Quote */

.mainquote {
    position: relative;
    overflow: hidden;
    padding: 52px 56px;
    text-align: center;
    background:
        radial-gradient(circle at top left, rgba(48, 170, 227, 0.1), transparent 30%),
        linear-gradient(180deg, #1f4f79 0%, #173754 52%, #102232 100%);
    margin-top: 70px;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.12);
}

.mainquote::before,
.mainquote::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.mainquote::before {
    display: none;
}

.mainquote::after {
    display: none;
}

.mainquote h2 {
    position: relative;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    font-size: 28px;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    line-height: 1.45;
    text-wrap: balance;
}

.mainquote h2:first-child {
    margin-bottom: 18px;
    color: #F6F9FF;
    letter-spacing: 0.01em;
}

.mainquote h2:last-child {
    font-size: 21px;
    font-weight: 600;
    color: rgba(255,255,255,0.86);
}

/* Partners Section */
.partners-section {
    padding: 60px 40px 30px;
    text-align: center;
    background: #ffffff;
}

.partners-section h2 {
    font-size: 32px;
    color: #1A3A5C;
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    margin-bottom: 24px;
}

.partners-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 138px;
    padding: 26px;
    border: 1px solid rgba(16, 38, 61, 0.12);
    background: #ffffff;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.partner-item:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 119, 187, 0.35);
}

.partner-item img {
    display: block;
    width: 100%;
    height: 82px;
    object-fit: contain;
    transition: filter 0.25s ease, transform 0.25s ease;
}

.partner-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.04);
}

.partners-grid .partner-item:last-child {
    grid-column: 2 / span 2;
    width: calc((100% - 22px) / 2);
    justify-self: center;
}


/* Three Images */
.image-section {
    width: min(100% - 64px, 1320px);
    margin: 30px auto;
    padding: 40px 32px;
    background: #FFFFFF;
}

.image-section h2 {
    text-align: center;
    font-size: 32px;
    color: #1A3A5C;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.image-section > p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: #000000;
    text-align: center;
    margin-bottom: 30px;
}

.three-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    justify-items: center;
    margin-top: 8px;
}




.image-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


.image-card {
    position: relative;
    background: #FFFFFF;
    box-shadow: none;
    transition: all 0.2s ease;
    width: 100%;
    max-width: 390px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #e4e8ef;
}

.image-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border: 1px solid #e4e8ef;
}

.image-card-content {
    position: absolute;
    bottom: 20px;  
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    background: transparent;
    padding: 0;
    margin: 0;
}

.image-card-content h3 {
    display: inline-block;
    background: rgba(26, 58, 92, 0.85);
    color: #FFFFFF;
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    padding: 6px 14px;
    margin: 0;
}

.image-card-content p {
    color: #000000;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

.image-card > div {
    padding: 14px 16px 16px;
}

.image-card > div h2 {
    margin: 0;
    text-align: center;
    font-size: 20px;
    line-height: 1.3;
    color: #1A3A5C;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

/* Carousel */
.carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: #FFFFFF;
    border: none;
    font-size: 20px;
    padding: 6px 12px;
    cursor: pointer;
    z-index: 20;
    border-radius: 0%;
    transition: background 0.2s ease;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    top: 50%;
    left: 22px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    z-index: 20;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.dot.active {
    width: 28px;
    height: 28px;
    background: transparent;
    border: 1.5px solid #FFFFFF;
}

.dot.active::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #30AAE3;
    transform: translate(-50%, -50%);
}




.stage-wrap {
  position: relative;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto 20px;
  padding: 0 48px 40px;
  border-radius: 0;
  overflow: hidden;
}

.stage {
  position: relative;
  width: 100%;
  aspect-ratio: 2029 / 1462;
  padding-bottom: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.bg-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
}

.part {
  position: absolute;
  cursor: pointer;
  transition: transform 0.22s ease, filter 0.2s ease;
  transform-origin: center center;
  z-index: 10;
}

.part img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
}

.part:hover {
  transform: translateY(-3px) scale(1.04);
  filter: drop-shadow(0 10px 22px rgba(22, 108, 207, 0.623));
  z-index: 20;
}

.part-tip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(19, 52, 92, 0.96);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 0;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.part-tip::after {
  content: none;
}

.part-tip--bottom {
  top: calc(100% + 8px);
  bottom: auto;
}

.part:hover .part-tip {
  opacity: 1;
  visibility: visible;
}

.hint {
  text-align: center;
  font-size: 12px;
  color: #778899;
  margin-top: 10px;
  letter-spacing: 0.03em;
}

@media (max-width: 1024px) {
  .stage-wrap {
    max-width: 1280px;
    padding: 0 32px 28px;
    border-radius: 0;
  }

  .part,
  .hint {
    display: none;
  }
}

@media (max-width: 768px) {
  .stage-wrap {
    padding: 0 16px 40px;
    border-radius: 0;
  }
}



@media (max-width: 1024px) {
    .carousel-dots {
        display: none;
    }

    .partners-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .partners-grid .partner-item:last-child {
        grid-column: auto;
        width: auto;
        justify-self: stretch;
    }
}

@media (max-width: 720px) {
    .partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .partner-item {
        min-height: 118px;
        padding: 20px;
    }

    .partner-item img {
        height: 68px;
    }

    .partners-grid .partner-item:last-child {
        grid-column: 1 / -1;
        width: calc((100% - 16px) / 2);
        justify-self: center;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid .partner-item:last-child {
        grid-column: auto;
        width: auto;
        justify-self: stretch;
    }
}

@media (min-width: 1920px) {
    .partners-grid {
        gap: 22px;
    }
}

/* Other Devices Adjustments */
/* a. Large Tablets - M,L */

@media (max-width: 1024px) {
    .content-intro-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .content-btn {
        align-self: center;
    }

    .content-intro {
        padding: 60px 30px;
    }

    .content-intro-wrapper {
        flex-direction: column;
    }
    
    .content-intro-image {
        width: 100%;
        overflow: hidden;
    }
    
    .content-intro-image img {
        width: 100% !important;
        height: auto !important;
        max-width: 100%;
    }

    .hero {
        margin-top: 80px;
        min-height: 450px;
    }
    
    .hero p {
        font-size: 17px;
    }

    .hero h1 {
        font-size: 32px;
        white-space: normal;
    }
    
    .section {
        padding: 40px 20px;
        margin: 0 auto 20px auto;
    }

    .image-section {
        padding: 40px 28px;
        margin: 20px auto;
    }

    .three-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .content-intro-text h2 {
        font-size: 34px;
    }

    .section-title {
        font-size: 34px;
    }

    .image-section h2 {
        font-size: 34px;
    }

    .image-card {
        width: 100%;
    }

    .image-card img {
        width: 100%;
        min-width: 0;
        height: 220px;
    }

    .image-card > div {
        padding: 12px 14px 14px;
    }

    .image-card > div h2 {
        font-size: 17px;
    }

    .hero h1 {
        font-size: 60px;
        font-weight: bold;
        margin-bottom: 20px;
        line-height: 1.2;
        font-family: 'Inter', sans-serif;
        white-space: nowrap;
    }

    .content-intro{
        text-align: center;
    }

    .content-features {
        align-items: center;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

}

/* b. Large mobiles to Tablets - S,M */

@media (max-width: 768px) {
    .stage-wrap {
        padding: 0 16px 20px;
    }

    .content-intro-wrapper {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 36px;
        white-space: normal;
    }

    .hero h1 {
        font-size: 50px;
        font-weight: bold;
        margin-bottom: 20px;
        line-height: 1.2;
        font-family: 'Inter', sans-serif;
        white-space: nowrap;
    }

    .hero p {
        font-size: 16px;
    }

    .three-columns {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .image-card img {
        width: 100%;
        min-width: 0;
        height: 220px;
    }

    .image-card > div {
        padding: 12px 14px 16px;
    }

    .image-card > div h2 {
        font-size: 16px;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
}

/* c. Mobile - XS */
@media (max-width: 480px) {
    .content-intro {
        padding: 40px 20px;
    }

    .hero {
        margin-top: 80px;
        min-height: 450px;
    }
    
    .hero p {
        font-size: 12px;
    }
    
    .hero-badge {
        font-size: 10px;
    }
    
    .btn-primary, .btn-outline {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .three-columns {
        gap: 14px;
    }

    .section {
        padding: 40px 20px;
        margin: 0 auto 20px auto;
    }

    .image-section {
        padding: 30px 20px;
        margin: 20px auto;
    }

    .image-card:hover {
        transform: none;
    }

    .image-card img {
        width: 100%;
        min-width: 0;
        height: 200px;
    }

    .image-card > div {
        padding: 10px 12px 14px;
    }

    .image-card > div h2 {
        font-size: 15px;
        line-height: 1.35;
    }

    .hero h1 {
        font-size: 37px;
        font-weight: bold;
        line-height: 1.2;
        font-family: 'Inter', sans-serif;
        white-space: nowrap;
    }

    .feature {
        max-width: 260px;
        gap: 10px;
    }
    
    .feature-icon {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 12px;
    }
    
    .feature-text {
        font-size: 18px;
    }
}

/* d. Carousel - Ipads */
@media (max-width: 1024px) {
    .carousel-arrow {
        font-size: 14px !important;
        padding: 4px 8px !important;
        width: 30px !important;
        height: 30px !important;
    }
}

/* e. Carousel - Mobile */
@media (max-width: 480px) {
    .carousel-arrow {
        font-size: 10px !important;
        padding: 2px 5px !important;
        width: 25px !important;
        height: 25px !important;
    }
}

/* Kill-switch for image saving, dragging and any other thing that requires right-clicking or long-pressing */
img,
[style*="background-image"],
[style*="background:url"],
[style*="background: url"] {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-select: none;
    -webkit-touch-callout: none;
}

img,
[style*="background-image"] {
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
}

/* This is specifically for the stats */
img,
.section,
[style*="background-image"],
[style*="background:url"],
[style*="background: url"] {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-select: none;
    -webkit-touch-callout: none;
}

