/*
Theme Name: ASIC Design & Verification Training
Theme URI: https://asicguru.com
Author: Shelly Gupta
Author URI: https://asicguru.com
Description: A polished WordPress theme for ASIC Design and Verification training with SystemVerilog and UVM courses.
Version: 1.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-training, education, course, sysverilog, uvm, asic, verification
Text Domain: asic-design-uvm-training
*/

:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f172a;
  background: #eef6ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  line-height: 1.6;
  background: radial-gradient(circle at top, rgba(37, 99, 235, 0.12), transparent 32%), #eef6ff;
}

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover,
button:hover {
  opacity: 0.92;
}

.site-header,
.site-footer {
  background: rgba(15, 23, 42, 0.96);
  color: #f8fafc;
}

.site-header {
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

.main-navigation a {
  color: #f8fafc;
  font-size: 0.95rem;
  font-weight: 500;
}

.main-navigation a:hover {
  color: #dbeafe;
}

.site-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.hero {
  display: grid;
  gap: 2.5rem;
  padding: 4rem 0 2rem;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: #1e40af;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-copy h1 {
  margin: 1.25rem 0 1rem;
  font-size: clamp(2.6rem, 5vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero-copy p {
  max-width: 700px;
  margin: 0 0 2rem;
  font-size: 1.05rem;
  color: #334155;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.9rem;
  border-radius: 999px;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.button {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.22);
}

.button-secondary {
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

.hero-highlights {
  display: grid;
  gap: 1rem;
}

.highlight-card {
  display: inline-grid;
  gap: 0.45rem;
  padding: 1rem 1.15rem;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  width: min(100%, 320px);
}

.highlight-card strong {
  display: block;
  font-size: 1rem;
  color: #0f172a;
}

.highlight-card span {
  color: #64748b;
  font-size: 0.95rem;
}

.hero-panel {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border-radius: 32px;
  padding: 2.2rem;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.14);
}

.badge {
  display: inline-flex;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
  font-weight: 700;
  font-size: 0.85rem;
}

.hero-panel h2 {
  margin: 1.5rem 0 1rem;
  font-size: 2rem;
  line-height: 1.1;
}

.hero-panel p {
  color: #475569;
  margin: 0;
  line-height: 1.8;
}

.hero-stats {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.stat strong {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.stat span {
  display: block;
  color: #475569;
}

.section {
  padding: 3.25rem 0;
}

.section-heading {
  position: relative;
  font-size: clamp(1.95rem, 2.3vw, 2.45rem);
  margin-bottom: 1.75rem;
}

.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.75rem;
  width: 4rem;
  height: 0.35rem;
  border-radius: 999px;
  background: #2563eb;
}

.course-grid,
.feature-grid,
.contact-grid,
.grid-2,
.grid-3 {
  display: grid;
  gap: 1.75rem;
}

.course-grid {
  grid-template-columns: 1fr;
}

.course-card,
.card,
.feature-card,
.contact-card {
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.08);
  padding: 2rem;
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.course-card h3,
.feature-card h3,
.contact-card h3,
.card-accent h3 {
  margin-top: 0;
}

.course-card p,
.feature-card p,
.card p,
.contact-card p {
  color: #475569;
}

.course-card ul,
.feature-list {
  margin: 1.35rem 0 0;
  padding-left: 1.4rem;
  color: #334155;
}

.course-card ul li,
.feature-list li {
  margin-bottom: 0.85rem;
}

.hero-panel,
.course-card,
.feature-card,
.contact-card,
.card-accent {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-panel:hover,
.course-card:hover,
.feature-card:hover,
.contact-card:hover,
.card-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.12);
}

.section-light {
  background: #ffffff;
}

.section-dark {
  background: #0f172a;
  color: #f8fafc;
}

.section-dark .section-heading::after {
  background: #60a5fa;
}

.section-dark p,
.section-dark span,
.section-dark li {
  color: rgba(248, 250, 252, 0.88);
}

.section-dark a {
  color: #93c5fd;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  min-height: 240px;
}

.about-grid {
  align-items: start;
}

.feature-list {
  list-style: disc inside;
}

.card-accent {
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
}

.contact-section .contact-grid {
  grid-template-columns: minmax(0, 1fr);
}

.contact-card {
  display: grid;
  gap: 1.25rem;
}

.contact-card a.button {
  width: fit-content;
}

.site-footer {
  padding: 2rem 1.5rem;
}

.site-footer p {
  margin: 0.5rem 0 0;
  color: rgba(248, 250, 252, 0.75);
  font-size: 0.96rem;
}

@media (min-width: 840px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    grid-template-columns: minmax(0, 1.1fr) 0.9fr;
  }

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

  .contact-section .contact-grid {
    grid-template-columns: 1.3fr 0.9fr;
  }
}

@media (max-width: 760px) {
  .site-header,
  .site-footer,
  .site-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-copy h1 {
    font-size: 2.4rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-highlights,
  .hero-stats,
  .course-grid,
  .grid-2,
  .feature-grid,
  .contact-section .contact-grid {
    grid-template-columns: 1fr;
  }
}
