
.feature-section{
  position: relative;
}

.feature-section .inner-container{
  position: relative;
  display: block;
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 171, 0, 0.12), transparent 26%),
    radial-gradient(circle at 85% 18%, rgba(0, 91, 172, 0.13), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 249, 255, 0.95) 100%);
  box-shadow: 0 34px 90px rgba(8, 38, 86, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 26px;
  overflow: hidden;
  padding: 78px 90px 74px 90px;
  overflow: hidden;
  margin-bottom: 0;
  z-index: 1;
  backdrop-filter: blur(18px);
}

.feature-section .inner-container::before{
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,0.7), rgba(255,255,255,0.12) 38%, rgba(255,171,0,0.14));
  opacity: 0.85;
  z-index: -1;
}

.feature-section .row{
  display: flex;
  align-items: stretch;
  perspective: 1200px;
}

.feature-section .feature-block,
.feature-block-one{
  display: flex;
}

.feature-block-one{
  width: 100%;
}

.feature-block-one .inner-box{
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 412px;
  padding: 38px 26px 34px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.78)),
    radial-gradient(circle at 50% 0%, rgba(255, 171, 0, 0.12), transparent 42%);
  border: 1px solid rgba(6, 38, 90, 0.08);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 650ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 650ms ease, border-color 650ms ease, background 650ms ease;
  box-shadow: 0 18px 42px rgba(8, 38, 86, 0.08);
  z-index: 1;
}

.feature-block-one .inner-box::before{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 8%, rgba(255,255,255,0.74) 22%, transparent 38%);
  transform: translateX(-120%);
  transition: transform 850ms ease;
  pointer-events: none;
}

.feature-block-one .inner-box::after{
  content: '';
  position: absolute;
  right: -46px;
  bottom: -46px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,171,0,0.18), rgba(255,171,0,0) 68%);
  pointer-events: none;
}

/* Card Hover Pop Polish */
.feature-block-one .inner-box:hover{
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.9)),
    radial-gradient(circle at 50% 0%, rgba(255, 171, 0, 0.2), transparent 46%);
  transform: translateY(-18px) rotateX(7deg) rotateY(-5deg) scale(1.025);
  border-color: rgba(255, 171, 0, 0.34);
  box-shadow: 0 34px 70px rgba(8, 38, 86, 0.18);
  z-index: 2;
}

.feature-block-one .inner-box:hover::before{
  transform: translateX(125%);
}

/* 3D Icon Wrapper (align left, add dynamic shadow) */
.feature-block-one .inner-box .icon-3d-wrapper{
  position: relative;
  display: inline-block;
  margin-bottom: 25px;
  text-align: left;
}

.feature-block-one .inner-box .service-photo-wrapper{
  position: relative;
  display: inline-flex;
  width: 138px;
  height: 138px;
  margin-bottom: 34px;
  border-radius: 28px;
  padding: 7px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(145deg, rgba(255,255,255,0.95), rgba(255,171,0,0.8), rgba(0,48,109,0.72)) border-box;
  border: 2px solid transparent;
  box-shadow:
    0 26px 52px rgba(8, 38, 86, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.9);
  overflow: hidden;
  transform: translateZ(42px);
  animation: premiumPhotoFloat 5.5s ease-in-out infinite;
  transition: transform 650ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 650ms ease;
}

.feature-block-one .inner-box .service-photo-wrapper::before{
  content: '';
  position: absolute;
  inset: -28%;
  background: conic-gradient(from 160deg, transparent 0 18%, rgba(255,171,0,0.5) 28%, transparent 42% 100%);
  animation: premiumRingSpin 7s linear infinite;
}

.feature-block-one .inner-box .service-photo-wrapper::after{
  content: '';
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: -18px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(8, 38, 86, 0.28), transparent 70%);
  filter: blur(8px);
  z-index: -1;
}

.feature-block-one .inner-box .service-photo-icon{
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
  transition: transform 650ms cubic-bezier(0.16, 1, 0.3, 1), filter 650ms ease;
}

.feature-block-one .inner-box .service-photo-icon--visa{
  object-position: 16% 62%;
}

.feature-block-one .inner-box .service-photo-icon--coaching{
  object-position: 50% 30%;
}

.feature-block-one .inner-box .service-photo-icon--pr{
  object-position: 50% 52%;
}

.feature-block-one .inner-box .service-photo-icon--documentation{
  object-position: 50% 50%;
}

.feature-block-one .inner-box:hover .service-photo-wrapper{
  animation: none;
  transform: translateY(-10px) translateZ(64px) rotateZ(-2deg);
  box-shadow:
    0 34px 68px rgba(8, 38, 86, 0.24),
    0 0 34px rgba(255, 171, 0, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.95);
}

.feature-block-one .inner-box:hover .service-photo-icon{
  transform: scale(1.12);
  filter: saturate(1.16) contrast(1.08);
}

/* Dynamic Shadow under the icon */
.feature-block-one .inner-box .icon-3d-wrapper::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 10px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  animation: floatShadow 3s ease-in-out infinite;
}

/* The actual 3D icon */
.feature-block-one .inner-box .icon-3d{
  width: 80px; /* smaller normal size as requested */
  height: auto;
  position: relative;
  display: block;
  animation: floatIcon 3.5s ease-in-out infinite;
  transform-origin: center bottom;
  transition: all 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Hover effect on icon (scale and tilt) */
.feature-block-one .inner-box:hover .icon-3d{
  transform: scale(1.15) rotate(5deg);
}

/* Floating Animations */
@keyframes floatIcon {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes floatShadow {
  0% { transform: translateX(-50%) scale(1); opacity: 0.8; filter: blur(2px); }
  50% { transform: translateX(-50%) scale(0.65); opacity: 0.25; filter: blur(5px); }
  100% { transform: translateX(-50%) scale(1); opacity: 0.8; filter: blur(2px); }
}

@keyframes premiumPhotoFloat {
  0%, 100% { transform: translateY(0) translateZ(42px) rotateX(0deg) rotateZ(0deg); }
  50% { transform: translateY(-12px) translateZ(48px) rotateX(5deg) rotateZ(1.5deg); }
}

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

/* Staggered delays for floating so they don't move all together */
.feature-block-one .inner-box .icon-3d-wrapper.delay-1::after,
.feature-block-one .inner-box .icon-3d-wrapper.delay-1 .icon-3d { animation-delay: 0s; }
.feature-block-one .inner-box .icon-3d-wrapper.delay-2::after,
.feature-block-one .inner-box .icon-3d-wrapper.delay-2 .icon-3d { animation-delay: 0.4s; }
.feature-block-one .inner-box .icon-3d-wrapper.delay-3::after,
.feature-block-one .inner-box .icon-3d-wrapper.delay-3 .icon-3d { animation-delay: 0.8s; }
.feature-block-one .inner-box .icon-3d-wrapper.delay-4::after,
.feature-block-one .inner-box .icon-3d-wrapper.delay-4 .icon-3d { animation-delay: 1.2s; }

.feature-block:nth-child(2) .service-photo-wrapper{ animation-delay: 0.35s; }
.feature-block:nth-child(3) .service-photo-wrapper{ animation-delay: 0.7s; }
.feature-block:nth-child(4) .service-photo-wrapper{ animation-delay: 1.05s; }

.feature-block-one .inner-box h3{
  display: block;
  font-size: 25px;
  line-height: 32px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 16px;
  transform: translateZ(30px);
}

.feature-block-one .inner-box h3 a{
  display: inline-block;
  color: var(--main-color);
  transition: all 300ms ease;
}

.feature-block-one .inner-box h3 a:hover{
  color: var(--secondary-color);
}

.feature-block-one .inner-box p{
  position: relative;
  color: #6e7580;
  font-size: 16px;
  line-height: 1.85;
  font-weight: 500;
  margin-bottom: 0;
  transform: translateZ(22px);
}

.feature-section .inner-container .shape{
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.feature-section.alternat-2 .inner-container{
  margin-bottom: 0px;
  margin-top: -200px;
}

.feature-section.alternat-3 .inner-container{
  background: #032761;
  margin-bottom: 0px;
  margin-top: -215px;
}

.feature-section.alternat-3 .feature-block-one .inner-box .icon-box{
  color: var(--white-color);
}

.feature-section.alternat-3 .feature-block-one .inner-box h3 a,
.feature-section.alternat-3 .feature-block-one .inner-box p{
  color: var(--white-color);
}

.feature-section.alternat-3 .feature-block-one .inner-box h3 a:hover{
  text-decoration: underline;
}

.feature-section .shape-2{
  position: absolute;
  left: 0px;
  top: 0px;
  width: 271px;
  height: 196px;
  background-repeat: no-repeat;
}


/** feature-style-two **/

.feature-style-two{
  position: relative;
}

.feature-block-two{
  margin-top: 41px;
}

.feature-block-two .inner-box{
  position: relative;
  display: block;
  background: #FFFFFF;
  box-shadow: 0px 4px 50px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  padding: 0px 30px 40px 30px;
  z-index: 1;
}

.feature-block-two .inner-box:before{
  position: absolute;
  content: '';
  background: var(--main-color);
  width: 100%;
  height: 0%;
  left: 0px;
  top: 0px;
  z-index: -1;
  border-radius: 20px;
  transition: all 500ms ease;
}

.feature-block-two .inner-box:hover:before{
  height: 100%;
}

.feature-block-two .inner-box .icon-box{
  position: relative;
  display: inline-block;
  width: 100px;
  height: 100px;
  line-height: 100px;
  text-align: center;
  font-size: 60px;
  color: var(--main-color);
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(180, 196, 217, 0.4);
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 1;
  margin-top: -41px;
  margin-bottom: 40px;
}

.feature-block-two .inner-box .icon-box:before{
  position: absolute;
  content: '';
  background: rgba(180, 196, 217, 0.4);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  left: 0px;
  top: 0px;
  transform: scale(0,0);
  z-index: -1;
  transition: all 500ms ease;
}

.feature-block-two .inner-box:hover .icon-box:before{
  transform: scale(1,1);
}

.feature-block-two .inner-box h3{
  display: block;
  font-size: 24px;
  line-height: 34px;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-block-two .inner-box h3 a{
  display: inline-block;
  color: var(--main-color);
}

.feature-block-two .inner-box h3 a:hover{
  text-decoration: underline;
}

.feature-block-two .inner-box:hover h3 a,
.feature-block-two .inner-box:hover p{
  color: var(--white-color);
}

.feature-block-two .inner-box p{
  transition: all 500ms ease;
}

.feature-style-two .pattern-layer{
  position: absolute;
  top: -90px;
  right: 0px;
  width: 930px;
  height: 881px;
  background-repeat: no-repeat;
  z-index: -1;
}

.feature-section.about-page .inner-container{
  margin: 0px;
}

@media (max-width: 1199px){
  .feature-section .inner-container{
    padding: 64px 48px 44px;
  }

  .feature-block-one .inner-box{
    min-height: 412px;
  }
}

@media (max-width: 767px){
  .feature-section .inner-container{
    padding: 44px 22px 18px;
    border-radius: 18px;
  }

  .feature-block-one .inner-box{
    min-height: auto;
    height: auto;
    padding: 32px 24px;
    margin-bottom: 24px;
  }

  .feature-block-one .inner-box .service-photo-wrapper{
    width: 118px;
    height: 118px;
    border-radius: 24px;
    margin-bottom: 26px;
  }

  .feature-block-one .inner-box .service-photo-icon{
    border-radius: 18px;
  }

  .feature-block-one .inner-box h3{
    font-size: 23px;
    line-height: 30px;
  }
}

@media (prefers-reduced-motion: reduce){
  .feature-block-one .inner-box,
  .feature-block-one .inner-box::before,
  .feature-block-one .inner-box .service-photo-wrapper,
  .feature-block-one .inner-box .service-photo-wrapper::before,
  .feature-block-one .inner-box .service-photo-icon{
    animation: none;
    transition: none;
  }
}

/* Performance pass: keep the premium look but remove continuous repaint-heavy motion while scrolling. */
.home_one .feature-section .inner-container{
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 24px 58px rgba(8, 38, 86, 0.11);
  margin-top: clamp(24px, 4vw, 58px);
  margin-bottom: clamp(34px, 5vw, 72px);
  padding: clamp(42px, 4.4vw, 58px) clamp(38px, 4.6vw, 64px);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.home_one .feature-section .row{
  perspective: none;
  row-gap: 24px;
  margin-left: -12px;
  margin-right: -12px;
}

.home_one .feature-section .feature-block{
  padding-left: 12px;
  padding-right: 12px;
}

.home_one .feature-block-one .inner-box{
  min-height: 370px;
  padding: 32px 22px 30px;
  transform-style: flat;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
  box-shadow: 0 16px 34px rgba(8, 38, 86, 0.08);
}

.home_one .feature-block-one .inner-box::before{
  display: none;
}

.home_one .feature-block-one .inner-box:hover{
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(8, 38, 86, 0.14);
}

.home_one .feature-block-one .inner-box .service-photo-wrapper{
  animation: none !important;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: auto;
  box-shadow: 0 18px 34px rgba(8, 38, 86, 0.13), inset 0 1px 0 rgba(255,255,255,0.9);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.home_one .feature-block-one .inner-box h3{
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}

.home_one .feature-block-one .inner-box p{
  line-height: 1.7;
}

.home_one .feature-block-one .inner-box .service-photo-wrapper::before{
  background: conic-gradient(from 160deg, transparent 0 18%, rgba(255,171,0,0.56) 28%, rgba(0,48,109,0.42) 36%, transparent 48% 100%);
  animation: premiumRingSpin 7s linear infinite !important;
  will-change: transform;
}

.home_one .feature-block:nth-child(2) .service-photo-wrapper::before{ animation-delay: -1.2s !important; }
.home_one .feature-block:nth-child(3) .service-photo-wrapper::before{ animation-delay: -2.4s !important; }
.home_one .feature-block:nth-child(4) .service-photo-wrapper::before{ animation-delay: -3.6s !important; }

.home_one .feature-block-one .inner-box .service-photo-wrapper::after{
  display: none;
}

.home_one .feature-block-one .inner-box .service-photo-icon{
  filter: none;
  transform: translateZ(0);
  backface-visibility: hidden;
  transition: transform 260ms ease;
}

.home_one .feature-block-one .inner-box:hover .service-photo-wrapper{
  transform: translateY(-4px);
  box-shadow: 0 24px 42px rgba(8, 38, 86, 0.16);
}

.home_one .feature-block-one .inner-box:hover .service-photo-icon{
  transform: scale(1.05);
  filter: none;
}

@media only screen and (max-width: 1199px) {
  .home_one .feature-section .auto-container{
    padding-left: 18px;
    padding-right: 18px;
  }

  .home_one .feature-section .inner-container{
    padding: 28px 30px;
    border-radius: 18px;
  }

  .home_one .feature-section .row{
    row-gap: 18px;
    margin-left: -9px;
    margin-right: -9px;
  }

  .home_one .feature-section .feature-block{
    padding-left: 9px;
    padding-right: 9px;
  }

  .home_one .feature-block-one .inner-box{
    min-height: 340px;
    padding: 26px 18px 24px;
    border-radius: 18px;
  }

  .home_one .feature-block-one .inner-box .service-photo-wrapper{
    width: 118px;
    height: 118px;
    margin-bottom: 22px;
    border-radius: 24px;
  }

  .home_one .feature-block-one .inner-box .service-photo-icon{
    border-radius: 18px;
  }

  .home_one .feature-block-one .inner-box h3{
    font-size: 23px;
    line-height: 29px;
    margin-bottom: 10px;
  }

  .home_one .feature-block-one .inner-box p{
    font-size: 15px;
    line-height: 1.62;
  }
}

@media (hover: none), (pointer: coarse) {
  .home_one .feature-block-one .inner-box,
  .home_one .feature-block-one .inner-box:hover,
  .home_one .feature-block-one .inner-box .service-photo-wrapper,
  .home_one .feature-block-one .inner-box:hover .service-photo-wrapper,
  .home_one .feature-block-one .inner-box .service-photo-icon,
  .home_one .feature-block-one .inner-box:hover .service-photo-icon {
    transform: translateZ(0) !important;
    transition: none !important;
    filter: none !important;
  }

  .home_one .feature-block-one .inner-box {
    will-change: auto;
  }
}


