/* General Reset */



.hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero-text .highlight {
  background: linear-gradient(90deg, #ff6a00, #ffcc70);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-text .subtitle {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 10px;
}
.buttons {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

.btn {
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn.primary { background: #ff6a00; color: white; }
.btn.secondary { background: white; color: #ff6a00; }
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Right side box */
.hero-visual .visual-box {
  position: relative;
  width: 100%;
  height: 450px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.hero-visual canvas {
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
}
/* Floating animation */
@keyframes drift {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(6px, -8px) rotate(2deg);
  }
  50% {
    transform: translate(-5px, 6px) rotate(-2deg);
  }
  75% {
    transform: translate(4px, 8px) rotate(1deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

.code-snippet {
  position: absolute;
  padding: 8px 12px;
  font-family: monospace;
  font-size: 0.8rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  backdrop-filter: blur(8px);
  color: #ffffffcc;
  letter-spacing: 0.5px;
  
}

/* Individual snippet positions & unique timing for variation */
.code-snippet.top-right {
  top: 20px;
  right: 20px;
  animation-delay: 0s;
}

.code-snippet.mid-left {
  top: 40%;
  left: 20px;
  animation-delay: 1.5s;
}

.code-snippet.bottom-left {
  bottom: 40px;
  left: 20px;
  animation-delay: 3s;
}










/* Device Frames */
.device {
  position: absolute;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(100,150,255,0.2);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}


@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}


.device {
  position: absolute;
  animation: floatUpDown 4s ease-in-out infinite;
}

/* Monitor size */
.device.monitor {
  top: 20%;
  left: 10%;
  width: 320px;
  height: 220px;
  animation-delay: 0s;
}

/* Tablet size */
.device.tablet {
  bottom: 20%;
  right: 15%;
  width: 180px;
  height: 120px;
  animation-delay: 1s;
}

/* Mobile size */
.device.mobile {
  top: 45%;
  right: 5%;
  width: 90px;
  height: 160px;
  border-radius: 14px;
  animation-delay: 2s;
}

/* Inside frames (basic website layout) */
.frame-header {
  height: 15%;
  background: rgba(100,150,255,0.25);
}
.frame-body {
  height: 70%;
  background: rgba(255,255,255,0.08);
}
.frame-footer {
  height: 15%;
  background: rgba(100,150,255,0.15);
}



body {
  color: var(--color-text);
  background: var(--color-light);
  line-height: 1.6;
}

.hero-grid {
  background-color: #fff;
  color: var(--color-light);
  padding: 150px 0;
  padding-top: 200px;
}

.hero-text .highlight {
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn.primary { background: var(--color-primary); color: var(--color-light); }
.btn.secondary { background: var(--color-light); color: var(--color-primary); }

.hero-visual .visual-box {
 background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.code-snippet {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--color-muted);
}

/* Device Frames */
.device {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(37,99,235,0.2); /* primary blue with opacity */
}

.frame-header {
  background: rgba(37,99,235,0.25);
}
.frame-body {
  background: rgba(255,255,255,0.08);
}
.frame-footer {
  background: rgba(37,99,235,0.15);
}








.hero-grid .container{
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero-text {
  max-width: 550px; /* limit text width for readability */
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
  color: #444
}

.hero-text .highlight {
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text .subtitle {
  font-size: 1.15rem;
  color: #444;
  margin-bottom: 10px;
  line-height: 1.6;
}

.buttons {
  margin-top: 25px;
  display: flex;
  gap: 15px;
}

.btn {
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn.primary {
  background: var(--color-primary);
  color: var(--color-light);
}

.btn.secondary {
  background: var(--color-light);
  color: var(--color-primary);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

.btn.primary:hover {
  background: var(--color-btn-hover);
}



/* Responsive Hero Section */
@media (max-width: 1024px) {
  .hero-grid .container{
    grid-template-columns: 1fr; /* এক কলামে নামবে */
    text-align: center;
    padding: 80px 20px;
  }
  .hero-text {
    order: 1;
    width: 100%;
    max-width: 100%;
    margin-top: 50px
  }
  .hero-visual {
    order: 2;
    /* margin-top: 40px; */
  }
    .hero-text .buttons{
      justify-content: center;
      max-width: 174px;
      margin: 0 auto;
      margin-top: 20px;
    }
  .hero-text p{
    max-width: 450px;
    margin-left: auto;
    margin-right: auto
  }
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-text .subtitle {
    font-size: 1rem;
  }
  .buttons {
    flex-direction: column;
    gap: 12px;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
  .hero-visual .visual-box {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.6rem;
    line-height: 1.4;
  }
  .hero-text .subtitle {
    font-size: 0.9rem;
  }
  .hero-visual .visual-box {
    height: 220px;
  }
}




.highlights-section {
  padding: 80px 0px;
  background: var(--color-light);
  color: var(--color-dark);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.section-header h2 span {
  color: var(--color-primary);
}
.section-header p {
  font-size: 1.1rem;
  color: var(--color-dark);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.highlight-card {
  background: rgba(255,255,255,0.95);
  border-radius: 16px;
  padding: 30px 25px;
  text-align: center;
  border: 1px solid rgba(37,99,235,0.1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-10px);
  border: 1px solid var(--color-primary);
  box-shadow: 0 15px 35px rgba(37,99,235,0.2);
}

.highlight-card .icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--color-primary);
}

.highlight-card h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-dark);
}

.highlight-card p {
  color: var(--color-dark);
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .highlights-grid {
    grid-template-columns: 1fr;
  }
}


.services-section {
  padding: 80px 0px;
  background: #fff;
  color: var(--color-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  max-width: 1200px;
  margin: auto;
}

.services-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.services-text h2 span {
  color: var(--color-primary);
}
.services-text p {
  font-size: 1.1rem;
  color: var(--color-dark);
  margin-bottom: 30px;
}

.services-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.services-list li {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  align-items: flex-start;
}
.services-list i {
  font-size: 1.8rem;
  color: var(--color-primary);
  flex-shrink: 0;
}
.services-list h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--color-dark);
}
.services-list p {
  font-size: 1rem;
  color: var(--color-dark);
  line-height: 1.6;
}

.services-visual img {
  width: 100%;
  max-width: 450px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}









@media(max-width: 1024px){
  .hero-grid{
    padding: 0px 0;
    padding-top: 0px;
  }

  .highlights-grid{
        grid-template-columns: repeat(2, 1fr);
  }
}



@media(max-width: 767px){
 
  .highlights-grid{
        grid-template-columns: repeat(1, 1fr);
  }
  .section-header h2,
  .services-text h2{
    font-size: 1.6rem
  }

   .services-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .services-list li {
    /* justify-content: center; */
    text-align: left;
  }
  .services-visual {
    margin-top: 40px;
    width: 100%;
  }
    .services-list{
      max-width: 340px;
      margin: 0 auto
    }
  .services-visual img{
    width: 100%!important;
    max-width: 100%
  }
  .code-snippet{
    opacity: .1;
  }
}