:root {
  --nav-color: #ffffff;
  --nav-hover-color: #47b2e4;
  --nav-mobile-background-color: #00111e;
  --nav-dropdown-background-color: #00111e;
  --nav-dropdown-color: #ffffff;
  --nav-dropdown-hover-color: #47b2e4;
  --background-color: #ffffff;
  --default-color: #ffffff;
  --background-blue-color: radial-gradient(ellipse at left, #0a1e4d 60%, #0a2a9c 100%);
  --surface-color: #4668a2;
  --contrast-color: #ffffff;
  --button-color: #ffb300;
  --button-hover-color: #ffcb00;
}

/* ================= Hero Section ================= */
.hero-wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: url("../img/tech_bg.avif") no-repeat center center/cover;
  padding-top: 120px; /* increased space for desktop */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;       
  justify-content: flex-start;
  padding-left: 10%;
  padding-bottom: 5%;
}

.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0;
  padding: 2rem;
  z-index: 2;
}

.hero-text {
  max-width: 1000px;
}

.hero-text h1 {
  font-size: 3.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.hero-text .highlight {
  color: var(--button-color);
}

.hero-text p {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1.8rem;
  color: #ddd;
  line-height: 1.8;
}

.cta-btn {
  background: var(--button-color);
  color: #fff;
  padding: 0.8rem 1.8rem;
  border-radius: 25px;
  border: none;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: var(--button-hover-color);
  transform: translateY(-2px);
}

/* ================= Industry Overview ================= */
.industry-overview-alt {
  background: #fff;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  max-width: 1460px;
  margin: auto;
}

.overview-header {
  max-width: 900px;
  margin: 20px auto 60px auto;
}

.overview-header .subtitle {
  color: var(--button-color);
  font-weight: 600;
  font-size: 2.9rem;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.overview-header .title {
  font-size: 2.1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.overview-header .description {
  color: #424040;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.9px;
  font-family: Arial, sans-serif, 'poppins';
}

.tech-container {
  max-width: 1400px;
  margin: auto;
}

/* Tabs */
.tech-tabs {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 30px;
  flex-wrap: wrap;   
}

.tab-btn {
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 12px 22px;
  width: 180px;
  height: 48px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  color: #000000;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  background: var(--background-blue-color);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tab-btn.active {
  background: var(--background-blue-color);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Content */
.tech-content .tab-content {
  display: none; /* hide by default */
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  justify-items: stretch;
}

.tech-content .tab-content.active {
  display: grid; /* show as grid when active */
}

/* ===== Tech Card Styling ===== */
.tech-card {
  background: rgb(255, 254, 251);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  letter-spacing: 0.7px;
  font-family: Arial, 'Poppins', sans-serif;
}

.tech-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* ===== Card Header (icon + title) ===== */
.tech-card h3 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ===== Card Text ===== */
.tech-card p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.6;
  flex-grow: 1;
}

/* ===== Button ===== */
.tech-card .btn {
  /* background: #fcbd2b; */
  color: var(--button-color);
  text-decoration: underline !important;
  width: fit-content;
  display: flex;
  justify-content: center;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  display: inline-block;
  transition: background 0.3s ease;
}

.tech-card .btn:hover {
  background: var(--button-hover-color);
}


/* Our Expertise Section */
.our-expertise {
  background-color: #fff7ec;
  padding: 60px 20px;
  font-family: 'Arial', sans-serif;
  text-align: center;
}

.our-expertise .container {
  max-width: 1400px;
  margin: 0 auto;
}

.our-expertise h2 {
  font-size: 3rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.our-expertise p {
  font-size: 1.3rem;
  color: #555;
  margin-bottom: 40px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  justify-items: center;
  grid-template-areas:
    "card1 card2"
    "card3 card4"
    "card5 card5";
}

.expertise-grid .expertise-card:nth-child(1) {
  grid-area: card1;
}

.expertise-grid .expertise-card:nth-child(2) {
  grid-area: card2;
}

.expertise-grid .expertise-card:nth-child(3) {
  grid-area: card3;
}

.expertise-grid .expertise-card:nth-child(4) {
  grid-area: card4;
}

.expertise-grid .expertise-card:nth-child(5) {
  grid-area: card5;
}


.expertise-card {
  background: #fffcf8;
  padding: 25px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: left;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.expertise-card .number {
  font-size: 2.3rem;
  font-weight: bold;
  color: var(--button-color);
  margin-right: 10px;
}

.expertise-card h3 {
  font-size: 1.6rem;
  margin: 10px 0;
  color: #555;
  font-weight: 600;
}

.expertise-card p {
  font-size: 1.1rem;
  color: #4a4a4a;
  letter-spacing: 0.5px;
  line-height: 1.5;
  margin-left: 44px;
}

.expertise-card.full-width {
  max-width: 680px;
  grid-column: 1 / -1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .our-expertise h2 {
    font-size: 2.8rem;
  }

  .our-expertise p {
    font-size: 1.3rem;
  }

  .expertise-card {
    padding: 20px 15px;
  }

  .expertise-card h3 {
    font-size: 1.3rem;
  }

  .expertise-card p {
    font-size: 1rem;
  }

  .expertise-grid {
    grid-template-columns: 1fr; /* Single column */
    grid-template-areas:
      "card1"
      "card2"
      "card3"
      "card4"
      "card5";
  }
}

@media (max-width: 480px) {
  .our-expertise {
    padding: 40px 15px;
  }

  .our-expertise h2 {
    font-size: 1.4rem;
  }

  .expertise-card {
    padding: 15px 10px;
  }

  .expertise-grid {
    grid-template-columns: 1fr; /* Single column */
    grid-template-areas:
      "card1"
      "card2"
      "card3"
      "card4"
      "card5";
  }
}


/* ----------------------------------------------------------- */
/* Freequently Asked Questions Section */
/* ----------------------------------------------------------- */

.faq-section {
  max-width: 1100px;
  margin: auto;
  padding: 50px 20px;
  font-family: Arial, sans-serif;
  background: #fff;
}

.faq-section h2 {
  text-align: center;
  font-size: 3.2rem;
  font-weight: bold;
  margin-bottom: 24px;
}

.faq-subtitle {
  text-align: center;
  color: #383838;
  margin-bottom: 60px;
  letter-spacing: 0.8px;
  font-size: 1.3rem;
  font-family: Arial, sans-serif;
}

.faq-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  background: white;
  transition: all 0.3s ease;
  color: #000;
  font-size: 1.3rem;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-weight: 600;
  cursor: pointer;
}

.faq-question span {
  flex: 1;
}

.faq-toggle {
  background: none;
  border: none;
  font-size: 1.7rem;
  font-weight: 600;
  color: rgb(255, 166, 0);
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 15px 20px;
  border-top: 1px solid #eee;
  background: #fffdfb;
  font-size: 18px;
  letter-spacing: 0.6px;
  font-family: Arial, sans-serif;
  color: #555151;
}

.faq-answer ul {
  padding-left: 20px;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-toggle {
  content: "-";
  color: orange;
}

/* ================= Responsive ================= */
@media (max-width: 1200px) {
  .hero-text h1 {
    font-size: 3rem;
  }
  .hero-text p {
    font-size: 1.1rem;
  }
  .cta-btn {
    font-size: 1.3rem;
    padding: 0.7rem 1.5rem;
  }
}

@media (max-width: 992px) {
  .features-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-wrapper {
    padding-top: 100px;
  }
  .hero-text h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-wrapper {
    padding-top: 90px;
  }
  .hero-overlay {
    padding-left: 5%;
    padding-bottom: 3%;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-text p {
    font-size: 1rem;
  }
  .cta-btn {
    font-size: 1.2rem;
    padding: 0.6rem 1.2rem;
  }
}

@media (max-width: 600px) {
  .features-row {
    grid-template-columns: 1fr;
  }
  .hero-wrapper {
    padding-top: 560px;
    min-height: 80vh;
  }
  .hero-overlay {
    padding-left: 4%;
    padding-bottom: 2%;
  }
  .hero-text h1 {
    font-size: 1.6rem;
  }
  .hero-text p {
    font-size: 0.95rem;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
  .industry-overview-alt {
    padding: 40px 5% 30px 5%;
  }
  .overview-header .subtitle {
    font-size: 2rem;
  }
  .overview-header .title {
    font-size: 1.8rem;
  }
  .overview-header .description {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-wrapper {
    padding-top: 700px;
  }
  .hero-text h1 {
    font-size: 1.4rem;
  }
  .hero-text p {
    font-size: 0.9rem;
  }
  .cta-btn {
    font-size: 0.9rem;
    padding: 0.4rem 0.9rem;
  }
  .overview-header .subtitle {
    font-size: 1.7rem;
  }
  .overview-header .title {
    font-size: 1.5rem;
  }
  .overview-header .description {
    font-size: 0.95rem;
  }
}
