 /* About Section */
.company-about {
  position: relative;
  background: url("../images/about_us_main.png") no-repeat center center;
  background-size: 100% 100%;      /* only scale horizontally */
  background-position-x: 50%;       /* horizontal animation start */
  background-position-y: 50%;      /* fixed vertical center */
  height: 450px;
  margin: 32px 0;
  font-size: 60px !important;
  transition: none;                
}
.company-about .company-about-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  text-align: center;
  font-size: 30px;
}
.company-about .company-about-img {
  width: 700px;
  height: auto;
  max-width: 100%;
  transition: width 0.3s ease;
}
 /* About Section */

 /* About Us Section */
 .about-section{
  padding:50px 10%;
}
.about-container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:60px;
  flex-wrap:wrap;
}
.about-left{
  flex:1;
}
.about-left h2 {
  font-size: 48px;
  font-weight: 600;
  color: #7b00ff;
}
.about-left h2 span {
  color: #c68a44; 
  border-bottom: 3px solid #c68a44;
  padding-bottom: 4px;
}
@keyframes shine {
  100% {
    left: 120%;
  }
}
.about-left .underline {
  width: 70px;
  height: 4px;
  background: #c68a44;
  margin: 15px 0 40px;
  border-radius: 2px;
  animation: underlinePulse 3s infinite ease-in-out;
}
@keyframes underlinePulse {
  0% {
    width: 40px;
  }
  50% {
    width: 70px;
  }
  100% {
    width: 40px;
  }
}
.about-right{
  flex:2;
  font-size:18px;
  line-height:1.7;
}
.slide-left{
  opacity:0;
  transform:translateX(-100px);
  transition: all 1s ease;
}
.slide-right{
  opacity:0;
  transform:translateX(100px);
  transition: all 1s ease;
}
.show{
  opacity:1;
  transform:translateX(0);
}
/* About Us Section */

/* mission and vision */
.mission-vision-section {
  padding: 60px;
  background: #fff;
  display: flex;
  justify-content: center;
}
.cards-container {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  max-width: 1000px;
  width: 100%;
  justify-content: center;
}
.mv-features{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  position:relative;
}
.mv-feature{
  opacity:0;
  transform:translateY(50px) translateX(0);
  transition: all 0.7s ease;
}
/* Zig-zag motion */
.mv-feature:nth-child(odd){
  transform:translateX(-50px) translateY(50px);
}
.mv-feature:nth-child(even){
  transform:translateX(50px) translateY(50px);
}
.mv-feature.show{
  opacity:1;
  transform:translateX(0) translateY(0);
}
.mv-icon{
  font-size:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  transform:scale(0);
  transition: transform 1.5s cubic-bezier(0.68,-0.55,0.265,1.55);
}
.mv-feature.show .mv-icon{
  animation: bounce-pop 1.5s forwards;
}
@keyframes bounce-pop{
  0% { transform:scale(0); }
  60% { transform:scale(1.3); }
  100% { transform:scale(1); }
}
.mv-feature p{
  opacity:0;
  transform:translateY(20px);
  transition:all 0.6s ease;
}
.mv-feature.show p{
  opacity:1;
  transform:translateY(0);
}
.mv-feature:nth-child(1) p{ transition-delay:1s; }
.mv-feature:nth-child(2) p{ transition-delay:2s; }
.mv-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px 48px 24px;
  flex: 1 1 450px; 
  max-width: 1000px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}
.mv-icon {
  font-size: 48px;
  color: #7210db;
  margin-top: 24px;
  margin-bottom: 18px;
}
.mv-card h3 {
  margin-bottom: 18px;
  font-size: 24px;
  color: #333;
}
.mv-card p {
  color: #555;
  font-size: 18px;
  line-height: 1.6;
}
.mv-tab {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform: none;
  font-weight: bold;
  padding: 14px 0;
  border-radius: 12px 12px 0 0;
  color: #fff;
  font-size: 1.18px;
  text-align: center; 
  box-sizing: border-box;
}
.mv-feature .mv-tab {
  background: var(--background-gold-shimmer); 
}
.mv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(246, 204, 1, 0.4);
  transition: all 0.3s ease;
}
/* mission and vision */

/* values */
.value-section {
  background: #fafafa;
  padding: 40px 10px;
}
.values-title {
  text-align: center;
  margin-bottom: 10px;
  color: var(--primary-accent);
}
.values-title h2 {
  font-size:40px;
  font-weight: 700;
  border-right:3px solid white;
  padding-right:5px;
  animation: blink 5s infinite;
}
@keyframes blink{
  50%{
    border-color: transparent;
  }
}
.values-title p {
  text-align: center;
  font-size: 16px;
  margin-bottom: 20px;
}
.value-container{
  width: 100%;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  padding:150px;
  position:relative;
  background:var(--background-purple-color);
}
.line-container{
  position:absolute;
  top:0; left:0; right:0; bottom:0;
  pointer-events:none;
}
.line{
  position:absolute;
  width:2px;
  background:rgba(255,255,255,0.3);
  opacity:0;
  transition:opacity 0.5s;
}
.value-feature{
  display:flex;
  gap:20px;
  align-items:center;
  opacity:0;
  transform:translateY(50px) translateX(0);
  transition: all 0.7s ease;
  position:relative;
  color: #ccc;
}
.value-feature:nth-child(odd){
  transform: translateX(-80px) translateY(50px);
}
.value-feature:nth-child(even){
  transform: translateX(80px) translateY(50px);
}
.value-feature.show{
  opacity:1;
  transform: translateX(0) translateY(0);
}
.value-icon{
  font-size: 32px;
  color: #d4af37; 
  background: rgba(255, 255, 255, 0.08);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.5s cubic-bezier(0.68,-0.55,0.265,1.55);
}
.value-feature:hover .value-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, #d4af37, #6a0dad);
  color: #fff;
}
.value-feature.show .value-icon{
  animation: bounce-pop 1.5s forwards;
}
.value-icon:hover{
  transform: scale(1.2) translateY(-5px) rotate(-5deg);
}
@keyframes bounce-pop{
  0% { transform: scale(0); }
  60% { transform: scale(1.3); }
  100% { transform: scale(1); }
}
.value-feature p{
  opacity:0;
  transform:translateY(20px);
  transition: all 0.6s ease;
}
.value-feature.show p{
  opacity:1;
  transform:translateY(0);
}
.value-feature:nth-child(1) p{ transition-delay:0.2s; }
.value-feature:nth-child(2) p{ transition-delay:0.4s; }
.value-feature:nth-child(3) p{ transition-delay:0.6s; }
.value-feature:nth-child(4) p{ transition-delay:0.8s; }
/* values */

/* we offer */
.offer-section {
  width: 100%;
  padding: 60px 10%;
  text-align: center;
  font-size: larger;
}
.offer-title {
  font-size:40px;
  font-weight: 700;
  position:relative;
  animation: move 8s infinite alternate;
}
@keyframes move{
  from{
    left:-80px;
  }
  to{
    left:80px;
  }
}
.offer-sub {
  font-size: 14px;
  font-weight: 400; 
  color: var(--text-main);
}
.offer-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 250px;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
}
.offer-card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}
.offer-card-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 15px;
  background: rgba(0,0,0,0.5);
  color: #fff;
}
.offer-card-text {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}
.mobile-redirect-btn {
  display: none;
  margin-top: 10px;
  background: transparent;
  color: white;
  border: 2px solid var(--text-dim);
  padding: 10px 28px;
  font-size: 18px;
  border-radius: 30px;
  cursor: pointer;
  margin-left: 18px;
  transition: 0.3s;
  text-align: center;
  transition: background 0.3s ease;
}
.mobile-redirect-btn:focus,
.mobile-redirect-btn:active {
  border-color: var(--primary-accent);
  color: var(--primary-accent);
}
.offer-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-accent);
  color: var(--primary-accent);
}
.offer-card-body:hover {
  transition: transform 0.3s, box-shadow 0.3s;
  border-color: var(--primary-accent);
  color: #D580FF;
  text-shadow: 0 0 8px #B84DFF;
}
@media (hover: hover) {
  .offer-card:hover .offer-card-img-top {
    filter: blur(4px) brightness(0.6);
    transform: scale(1.05);
  }
  .offer-card:hover .offer-card-text {
    max-height: 500px; 
    opacity: 1;
  }
}
/* we offer */

@media screen and (max-width: 768px) {

    /* About Section */
    .company-about {
        height: 180px;
        margin: 16px 0;
        font-size: 60px !important;
    }
    .company-about .company-about-title {
        font-size: 20px;
    }
    .company-about-img {
        width: 400px; /* smaller size on tablet/mobile */
    }

    /* About Us Section */
    .about-container{
        flex-direction:column;
        align-items:center;
        justify-content:space-between;
    }
    .about-left h2{
        font-size:36px;
    }

    /* mission and vision */
    .mv-features{
        grid-template-columns:1fr;
    }

    /* values */
    .values-title h2 {
        font-size:30px;
        font-weight: 700;
    }
    .values-title p {
        text-align: center;
        font-size: 14px;
        margin-bottom: 20px;
    }
    @keyframes move{
        from{
            left:-60px;
        }
        to{
            left:60px;
        }
    }
    .value-container{
        grid-template-columns:1fr;
        padding:50px;
    }
    .value-icon{
        font-size: 32px;
        color: #d4af37; 
        background: rgba(255, 255, 255, 0.08);
        width: 65px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        transition: transform 0.5s cubic-bezier(0.68,-0.55,0.265,1.55);
    }

    /* we offer */
    .offer-card.active .offer-card-img-top {
        filter: blur(4px) brightness(0.6);
        transform: scale(1.05);
    }
    .offer-card.active .offer-card-text {
        max-height: 500px;
        opacity: 1;
    }
    .offer-card.active .mobile-redirect-btn {
        display: inline-block; /* show button after text revealed */
    }
    .offer-title {
        font-size:30px;
    }
}

@media screen and (max-width: 420px) {
    .company-about .company-about-img {
        width: 300px; 
    }
}