* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: #3f4ea3;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  color: white;
}

.top-left {
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  display:flex;
  flex-direction:column;
  align-items: center;
}

.logo {
  width: 150px;
  display: block;
}

#typing-text {
  font-size: 44px;
  letter-spacing: 3px;
  white-space: nowrap;
  font-weight: 700;
  color: #2f6bff;
  text-shadow: 0 0 25px rgba(47,107,255,0.9);
}

.center-center {
  position: absolute;
  width: 560px;
  text-align: center;
  transform: translate(-50%, 0);
  top: 55%;
  left: 50%;
}

.curve-text {
  width: 100%;
  height: 200px;
}

.glow {
  fill: rgba(255,255,255, 1);
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.8)) drop-shadow(0 0 12px rgba(255,255,255,0.6)) drop-shadow(0 0 16px rgba(255,255,255,0.4));
  font-size: 48px;
}

.about-section {
  background: #3f4ea3;
  padding: 120px 4rem;
  display: flex;
  align-items: center;
  max-width: 1536px;
  margin: 0 auto;
}

#scrollTopBtn{
  position: fixed;
  bottom: 5.5rem;
  right: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: #16a34a;
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.35s ease;

  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  z-index: 999;
}

@media (max-width: 639px) {
  #scrollTopBtn {
    right: 1rem;
    bottom: 5rem;
  }
}

#scrollTopBtn.show{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scrollTopBtn:hover{
  background:#15803d;
  transform: translateY(-3px);
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  width: 100%;
}

.about-text {
  max-width: 600px;
  color: white;
}

.about-title {
  font-family: 'Mont', sans-serif;
  font-size: 60px;
  font-weight: 800;
  color: #00e65c;
  margin-bottom: 30px;
  line-height: 1.1;
  letter-spacing: 2px;
  text-shadow: 0 6px 20px rgba(0,0,0,0.45);
}

.about-text p {
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 20px;
  text-align: justify;
}

.yellow-highlight {
  color: #ffeb3b;
}

.bright-text {
  font-size: 20px;
  text-shadow: 0 0 12px white;
}

.about-image-wrapper {
  position: relative; 
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-bg-element {
  position: absolute;
  width: 520px;        
  z-index: 1;
  opacity: 0.8;
}

.about-image {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;          
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.wave-divider {
  width: 100%;
  line-height: 0;
  overflow: hidden;
  background: #3f4ea3;
  margin: -10px 0 -10px 0;
}

.wave-divider img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.9;
      clip-path: inset(0 100% 0 0);
  transition: clip-path 500ms linear;
}

.wave-divider.flipped img {
  transform: rotate(180deg);
}

.company-update {
  background: #3f4ea3;
  padding:  8rem 4rem;
  display: flex;
  align-items: center;
  max-width: 1536px;
  margin: 0 auto;
}

.company-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 100px;
  width: 100%;
}

.company-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.company-title {
  font-family: 'Mont', sans-serif;
  font-size: 56px;          
  font-weight: 800;         
  color: #00e65c;
  margin-bottom: 30px;
  line-height: 1.1;
  letter-spacing: 2px;

  text-shadow: 
    0 4px 12px rgba(0,0,0,0.35);  
}


.company-image-box {
  width: 400px;
  height: 400px;
  overflow: hidden;

  border-top-right-radius: 100%;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  border-bottom-right-radius: 0;

  box-shadow: 0 25px 70px rgba(0,0,0,0.5);
}

.company-image-box {
  position: relative; 
}

.company-image-wrapper {
  position: relative;
  width: 400px;
  height: 400px;
}

.company-bg {
  position: absolute;
  width: 520px;
  top: -40px;
  left: -40px;
  z-index: 1;
  opacity: 0.8;
}

.company-image-box {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  border-top-right-radius: 100%;
  box-shadow: 0 25px 70px rgba(0,0,0,0.5);
}

.company-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-right {
  flex: 1;
  color: white;
}

.company-block {
  margin-bottom: 60px;
}

.company-block h3 {
  font-family: 'Jaturat', sans-serif;
  font-size: 26px;
  font-weight: 900;
  font-style: italic;
  transform: skewX(-10deg);
  color: #5ff0ff;
  letter-spacing: 2px;
  text-shadow: 
    1px 0 #5ff0ff,
    -1px 0 #5ff0ff;
}

.company-block p {
  font-size: 17px;
  line-height: 1.9;
  max-width: 520px;
  text-align: justify;
}

.certificates-container{
  width: 100%;
  padding: 100px 8%;
  background: #3f4ea3; 
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cert-title{
  font-size: 50px;
  color: #00e65c;
  font-weight: 700;
  margin-bottom: 60px;
  text-align: center;
}

.cert-grid-balanced{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  width: 100%;
  max-width: 1100px;
}

.cert-balanced-item{
  background: #ffffff;
  padding: 15px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  transition: all 0.4s ease;
}

.cert-balanced-item img{
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.cert-balanced-item:hover{
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}

@media (max-width: 1023px){
  .cert-grid-balanced{
    grid-template-columns: 1fr;
  }

  .cert-title{
    font-size: 36px;
  }
}

.cert-grid-vertical {
  margin-top: 80px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
  flex-wrap: wrap;
}

.cert-vertical-item {
  width: 280px;        
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  transition: 0.4s ease;
  background: white;
  padding: 10px;
}

.cert-vertical-item img {
  width: 100%;
  height: auto;        
  display: block;
  border-radius: 12px;
}

.cert-vertical-item:hover {
  transform: translateY(-12px) scale(1.04);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}

.cert-modal{
  display:none;
  position:fixed;
  z-index:2000;
  left:0;
  top:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.9);
  justify-content:center;
  align-items:center;
}

.cert-modal-content{
  max-width:80%;
  max-height:80%;
  border-radius:10px;
  box-shadow:0 0 40px rgba(0,0,0,0.8);
}

.cert-close{
  position:absolute;
  top:25px;
  right:40px;
  color:white;
  font-size:40px;
  cursor:pointer;
}

.cert-prev,
.cert-next{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:none;
  border:none;
  color:white;
  font-size:45px;
  cursor:pointer;
  padding:20px;
}

.cert-prev{
  left:40px;
}

.cert-next{
  right:40px;
}

.cert-prev:hover,
.cert-next:hover,
.cert-close:hover{
  color:#00e65c;
}

@media (max-width: 1535px){
  .hero{
  height:100vh;
  }

  #typing-text{
    font-size:32px;
  }

  .center-center{
    width:400px;
  }

  .about-container{
    flex-direction:column;
    text-align:center;
    gap:40px;
  }

  .about-image{
    width:280px;
    height:280px;
  }

  .company-wrapper{
    flex-direction:column;
    gap:60px;
  }

  .company-image-wrapper{
    width:300px;
    height:300px;
  }

  .company-image-box{
    width:300px;
    height:300px;
  }

}

@media (max-width:1023px){
  .hero{
    height:90vh;
  }

  .top-left {
    top: 50%;
    transform: translate(-50%, -85%);
  }

  #typing-text{
    font-size:26px;
  }

  .logo{
    width:100px;
  }

  .social-icons{
    margin-top:10px;
    gap:10px;
  }

  .center-center{
    top: 50%;
    left: 50%;
    transform: translate(-50%, 0%);
  }

  .about-container{
    flex-direction:column;
    text-align:center;
    gap:20px;
  }

  .about-title{
    font-size:36px;
  }

  .about-text p{
    font-size:15px;
  }

  .about-image{
    width:240px;
    height:240px;
  }

  .about-bg-element{
    width:320px;
  }

  .about-container{
    flex-direction:column;
    text-align:center;
    gap:40px;
  }

  .about-title{
    font-size:36px;
  }

  .about-text p{
    font-size:15px;
  }

  .about-image{
    width:240px;
    height:240px;
  }

  .about-bg-element{
    width:320px;
  }

  .cert-grid-balanced{
    grid-template-columns:1fr;
    gap:30px;
  }

  .cert-grid-vertical{
    gap:30px;
  }

  .cert-vertical-item{
    width:90%;
  }

  img{
  max-width:100%;
  height:auto;
  }

.wave-divider{
  margin: -20px 0 -20px 0;
}

.wave-divider img{
  width:100%;
  height:40px;
  object-fit:cover;
}

  .footer-dpi{
    padding:40px 20px 20px;
  }
@media (max-width: 767px) {
  .hero {
    height: 80vh;
  }

  .glow {
    font-size: 40px;
  }
}

@media (max-width: 639px) {
  .top-left {
    width: 100%;
  }
  #typing-text {
    font-size: 22px;
    text-align: center;
    white-space: normal;
  }
}

}