:root {
  --primary-color: #4226D9;
  --accent-color: #D9AF26;
  --success-color: #BDD926;
  --highlight-color: #26D99B;
  --text-color: #ffffff;
  --bg-dark: #0f0f0f;
  --bg-light: #ffffff;
}
/* -------------------------------------
   Unique Home Page Stylesheet
   Unique class names prefixed with "tw-" (TrioWeb)
------------------------------------- */

/* --- Reset some basics --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* --- Body base styles --- */
body {
  font-family: 'Poppins', Arial, sans-serif;
  background: linear-gradient(to bottom, #5B00EA, #CBA8FF, #FFFFFF);
  border-radius: 20px;
  color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Hero Banner --- */
.tw-hero-banner {
  padding: 80px 20px;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}


#typing-text, #services-text {
  border-right: 2px solid white;
  padding-right: 4px;
  animation: blink 0.8s step-end infinite;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  color: #BDD926; 
}

@keyframes blink {
  50% { border-color: transparent; }
}



/* Hero text container */
.tw-hero-text {
  max-width: 600px;
}

.tw-hero-text h1 {
  font-weight: 900;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  margin-bottom: 20px;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.tw-hero-text h1 span {
  color: #fff; /* TrioWeb Yellow */
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.tw-hero-text p {
  color: #bbb;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin-bottom: 30px;
}

/* Call to action button */
.tw-cta-btn {
  background-color: #fff;
  color: #000;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(250, 204, 21, 0.4);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.tw-cta-btn:hover,
.tw-cta-btn:focus {
  background-color: #eab308;
  box-shadow: 0 6px 18px rgba(234, 179, 8, 0.6);
  outline: none;
}

/* Hero image container */
.tw-hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.8);
  transition: transform 0.3s ease;
}

.tw-hero-image img:hover {
  transform: scale(1.05);
}

.tw-service-box {
  text-decoration: none;
  color: inherit;
}

/* Desktop layout */
@media (min-width: 768px) {
  .tw-hero-banner {
    flex-direction: row;
    text-align: left;
    align-items: center;
    justify-content: space-between;
  }

  .tw-hero-text {
    flex: 1;
  }

  .tw-hero-image {
    flex: 1;
    text-align: right;
  }
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .tw-hero-banner {
    padding: 60px 15px;
  }

  .tw-hero-text h1 {
    font-size: 1.8rem;
  }

  .tw-cta-btn {
    padding: 12px 24px;
  }
}

.tw-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.tw-service-section {
  background: #111;
  padding: 80px 20px;
  color: #f1f1f1;
  font-family: 'Poppins', sans-serif;
}

.tw-service-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.tw-service-heading {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #fff;
  font-weight: bold;
}

.tw-service-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(250, 204, 21, 0.2);
  border-radius: 16px;
  padding: 30px 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.tw-service-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(250, 204, 21, 0.3);
}

.tw-service-svg {
  margin-bottom: 20px;
}

.tw-service-svg svg {
  display: block;
  margin: auto;
}

.tw-service-box h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 10px;
}

@media (max-width: 992px) {
  .tw-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .tw-service-grid {
    grid-template-columns: 1fr;
  }
}

.shape-divider {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;
  line-height: 0;
}

.shape-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

.tw-why-choose-us {
  background-color: #121212;
  color: #eee;
  padding: 80px 20px;
  font-family: 'Poppins', sans-serif;
}

.tw-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.tw-section-title {
  font-size: 2.8rem;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 700;
}

.tw-subheading {
  font-size: 1.15rem;
  color: #ccc;
  margin-bottom: 50px;
  font-weight: 500;
}

.tw-reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

@media (max-width: 1024px) {
  .tw-reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .tw-reasons-grid {
    grid-template-columns: 1fr;
  }
}

.tw-reason-card {
background: linear-gradient(to bottom, #5B00EA, #CBA8FF, #FFFFFF);
  border-radius: 20px;
  padding: 35px 30px;
  box-shadow: 
    0 2px 6px rgba(0, 0, 0, 0.5),
    0 0 10px rgba(250, 204, 21, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  cursor: default;
}

.tw-reason-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.6),
    0 0 15px rgba(250, 204, 21, 0.3);
}

.tw-icon {
  margin-bottom: 22px;
}

.tw-icon svg {
  stroke: #fff;
  width: 48px;
  height: 48px;
}

.tw-reason-card h3 {
  font-size: 1.45rem;
  margin-bottom: 16px;
  color: #fff;
  font-weight: 700;
}

.tw-reason-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #bbb;
}








/* Portfolio Section */
.tw-portfolio-section {
  background: var(--dark);
  color: var(--text);
  padding: 80px 20px;
  text-align: center;
}

.tw-container {
  max-width: 1200px;
  margin: 0 auto;
}

.tw-portfolio-title {
  font-size: 2.8rem;
  color: var(--accent);
  margin-bottom: 10px;
  font-weight: 700;
}

.tw-portfolio-subtitle {
  font-size: 1.2rem;
  color: #bbb;
  margin-bottom: 50px;
  font-weight: 500;
}

.tw-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.tw-portfolio-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(38, 217, 155, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #1e1e1e;
}

.tw-portfolio-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tw-portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 40px rgba(38, 217, 155, 0.4);
}

.tw-portfolio-card:hover img {
  transform: scale(1.05);
}

.tw-portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 15px;
  background: rgba(66, 38, 217, 0.9);
  color: var(--accent);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

.tw-portfolio-card:hover .tw-portfolio-overlay {
  transform: translateY(0);
}

.tw-portfolio-overlay h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
  font-weight: 700;
}

.tw-portfolio-overlay p {
  margin: 0;
  font-size: 1rem;
  color: var(--lime);
  font-weight: 500;
}
