@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}
.herosection{
    background-color: antiquewhite;
    background-image: url('../images/banners/BannerImgTwo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
    padding: 23px;
}

.marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.track {
  animation: scroll 25s linear infinite;
}
.track:hover {
  animation-play-state: paused;
}
/* Infinite scroll animation */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Container */
.carousel-container {
    position: relative;
    width: 100%;
    padding: 20px 0;
    overflow: hidden;
}

/* Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.8);
    border: 1px solid #ccc;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
}
.carousel-btn:hover {
    background: #f1f1f1;
}
.prev-btn { left: 10px; }
.next-btn { right: 10px; }

/* Cards row */
.cards-row {
    display: flex;
    gap: 20px;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Each card */
.card {
    min-width: 320px;
    max-width: 600px;
    background: url("assets/images/tdtech/media_card.svg");
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

/* Card internal layout */
.card-inner {
    display: flex;
    background: rgba(255,255,255,0.85);
    border-radius: 12px;
    overflow: hidden;
}

/* Image section */
.card-img {
    flex: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}
.card-img img {
    width: 100%;
    max-width: 130px;
}

/* Divider */
.divider {
    width: 3px;
    background: #d40000;
}

/* Content */
.card-content {
    flex: 65%;
    padding: 15px;
}
.card-content h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #333;
}
.card-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* Learn More Button */
.learn-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    border: 2px solid #ccc;
    border-radius: 25px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: 0.3s;
}
.learn-btn:hover {
    background: #f3f3f3;
}

/* Responsive */
@media (max-width: 768px) {
    .card {
        min-width: 280px;
    }
    .card-img img {
        max-width: 110px;
    }
    .card-content h2 {
        font-size: 18px;
    }
}


#thumb {
  transition: transform 0.3s ease;
}


/* Main box */
.about-box {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    padding: 16px;
    margin: auto;
}

/* Title */
.about-title {
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 600;
    color: #79A6FF;
    text-align: center;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .about-title {
        text-align: left;
    }
}

/* Paragraphs */
.about-text {
    font-size: clamp(14px, 2.2vw, 20px);
    font-weight: 500;
    text-align: justify;
    line-height: 1.6;
    margin: 12px 0;
}

/* Button container */
.about-btn-wrapper {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
    padding-right: 20px;
}

/* Button */
.about-btn {
    padding: 10px 22px;
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 600;
    border-radius: 30px;
    background: #fff;
    /* border: 2px solid #79A6FF; */
    color: #333;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: 0.3s ease;
}

.about-btn:hover {
    background: #f0f6ff;
}


/* Section */
.why-section {
  padding: 40px 20px;
}

.why-container {
  max-width: 1200px;
  margin: auto;
}

/* Title */
.why-title {
  text-align: center;
  font-size: clamp(1.4rem, 4vw, 2.5rem);
  color: #79A6FF;
  font-weight: 600;
  margin-bottom: 40px;
}

/* Grid */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 992px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* Column */
.why-col {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Card styling */
.why-card {
  background: white;
  border-radius: 16px;
  position: relative;
  line-height: 1.6;
  color: #000;
  padding: 22px 28px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  transition: background 0.4s ease, transform 0.3s ease;

}

/* Title */
.why-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Text */
.why-card p {
  font-size: 0.95rem;
  color: #444;
  text-align: left;
}

.why-card.left::after {
  content: "";
  position: absolute;
  right: 100%;
  top: 30px;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-right: 16px solid white;
  filter: drop-shadow(-2px 2px 2px rgba(0,0,0,0.1));
  transition: border-right-color 0.4s ease, filter 0.4s ease;
}

/* Hover effect */
.why-card.left:hover::after {
  border-right-color: #79A6FF; 
  filter: drop-shadow(-2px 2px 3px rgba(0,0,0,0.2));
}



.why-card.right::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 30px;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 16px solid white;
  filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.1));
  transition: border-left-color 0.4s ease, filter 0.4s ease;
}

/* Hover effect */
.why-card.right:hover::after {
  border-left-color: #79A6FF;    /* matches card hover bg */
  filter: drop-shadow(2px 2px 3px rgba(0,0,0,0.2));
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .why-card.left::after,
  .why-card.right::after {
    display: none; /* remove bubble tails on mobile for clean look */
  }
}

/* Hover effect */
.why-card:hover {
  background: #79A6FF;     /* blue background on hover */
  transform: translateY(-3px);
}

.why-card:hover h3,
.why-card:hover p {
  color: white;            /* text turns white */
}

.why-card:hover .line {
  background: white;       }

  /* Card content transition */
.why-card h3,
.why-card p {
  transition: color 0.5s ease;
}

/* Divider line transition */
.why-card .line {
  transition: background-color 0.4s ease;
}


/* Section wrapper */
.stats-section {
  width: 100%;
  background: #EDEDED;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}

/* Container */
.stats-container {
  max-width: 1280px;
  width: 100%;
}

/* Row */
.stats-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

@media (min-width: 768px) {
  .stats-row {
    flex-direction: row;
    justify-content: center;
    gap: 30px;
  }
}

/* Card */
.stats-card {
  background: white;
  width: 260px;
  height: 250px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.stats-card:hover {
  transform: scale(1.05);
}

/* Medium screens */
@media (min-width: 640px) {
  .stats-card {
    width: 330px;
    height: 300px;
  }
}

/* Large screens */
@media (min-width: 992px) {
  .stats-card {
    width: 380px;
    height: 300px;
  }
}

/* Image */
.stats-img {
  width: 90px;
  height: 90px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

@media (min-width: 640px) {
  .stats-img {
    width: 120px;
    height: 120px;
  }
}

/* Number box */
.stats-number-box {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.stats-number {
  font-size: clamp(32px, 6vw, 55px);
  font-weight: 800;
  color: #555;
  line-height: 1;
}

.stats-suffix {
  margin-left: 5px;
  font-size: clamp(16px, 3vw, 24px);
  font-weight: 700;
  color: #ff7b00;
  margin-top: 6px;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(to right, orange, red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Label */
.stats-label {
  margin-top: 15px;
  font-size: clamp(14px, 3vw, 20px);
  font-weight: 700;
}

.marquee-animation {
  display: flex;
  animation: scroll 25s linear infinite;
}
.marquee-animation:hover {
  animation-play-state: paused;
}
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.slanted-corner {
    width: 100%;      
    height: 2rem;     
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%);
    position: relative;
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .slanted-corner {
        height: 4rem;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 15% 100%);
    }
}

@media (min-width: 768px) {
    .slanted-corner {
        height: 3rem;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%);
    }
}

@media (min-width: 1024px) {
    .slanted-corner {
        height: 4rem;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 15% 100%);
    }
}

.responsive-text {
    font-weight: 600;    
    text-align: right;     
    margin-right: 0.75rem; 
    font-size: 0.55rem;  
}

@media (min-width: 640px) {
    .responsive-text {
        font-size: 0.8rem;  
    }
}

@media (min-width: 768px) {
    .responsive-text {
        font-size: 0.8rem;  
    }
}

@media (min-width: 1024px) {
    .responsive-text {
        font-size: 1rem;  
    }
}


.slanted-div {
    margin-top: 1rem;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    clip-path: polygon(0 0, 80% 0, 100% 100%, 100% 100%, 0 100%);
    height: 2.5rem; /* Mobile default */
    background-color: #9aff76;
}

/* Small screens ≥ 640px */
@media (min-width: 640px) {
    .slanted-div {
        height: 4rem; 
        padding: 0.75rem 3rem 0.75rem 1.25rem;
    }
}

/* Medium screens ≥ 768px */
@media (min-width: 768px) {
    .slanted-div {
        height: 3rem; 
        padding: 1rem 3.5rem 1rem 1.5rem;
    }
}

/* Large screens ≥ 1024px */
@media (min-width: 1024px) {
    .slanted-div {
        height: 4rem; 
        padding: 1.25rem 4rem 1.25rem 2rem;
    }
}

/* Inner circle */
.slanted-div .circle {
    width: 2rem;
    height: 2rem;
    background-color: #ffffff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* Main text */
.slanted-div .main-text {
    color: #000000;
    font-weight: 600;
    font-size: 1rem; 
}

/* Responsive text sizes */
@media (min-width: 640px) { .slanted-div .main-text { font-size: 1.125rem; } }
@media (min-width: 768px) { .slanted-div .main-text { font-size: 1.25rem; } }
@media (min-width: 1024px) { .slanted-div .main-text { font-size: 1.5rem; } }

/* Emoji / Image container */
.slanted-div .TextEmo img,
.slanted-div .emoji {
    margin-left: 0.5rem;
    height: 80%;  /* proportional to div height */
    width: auto;
}

/* Optional: slightly adjust image for small screens */
@media (min-width: 640px) { .slanted-div .TextEmo img, .slanted-div .emoji { height: 80%; } }
@media (min-width: 768px) { .slanted-div .TextEmo img, .slanted-div .emoji { height: 80%; } }
@media (min-width: 1024px) { .slanted-div .TextEmo img, .slanted-div .emoji { height: 80%; } }
 