/* ==========================================================================
   Travel Computer Training (TCT) - Official Website Stylesheet
   Theme: Education & Community Empowerment
   Color Palette: Deep Navy (#061B44, #0B2C6A), Cyan (#0088CC), Gold (#FFC700)
   Typography: Inter & Noto Sans Myanmar (with Pyidaungsu & Padauk Fallbacks)
   ========================================================================== */

:root {
  --navy: #0B2C6A;
  --navy-dark: #061B44;
  --cyan: #0088CC;
  --gold: #FFC700;
  --green: #6AB023;
  --bg-light: #F4F7FB;
  --text-dark: #1E293B;
  --text-muted: #475569;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(11, 44, 106, 0.08);
  --hero-bg-image: url('../images/hero-bg.jpg');
}

/* --- Base & Reset --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Noto Sans Myanmar', 'Pyidaungsu', 'Myanmar Text', 'Padauk', sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================================================================
   1. Navigation Bar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 27, 68, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
}

.nav-logo-img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-en {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.brand-mm {
  font-size: 0.8rem;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s ease;
  padding: 0.35rem 0.2rem;
}

.nav-links a:hover {
  color: var(--gold);
}

.btn-nav-cta {
  background: var(--gold);
  color: var(--navy-dark) !important;
  padding: 0.45rem 1rem !important;
  border-radius: 6px;
  font-weight: 700 !important;
  transition: transform 0.15s ease, background-color 0.2s ease;
}

.btn-nav-cta:hover {
  background: #E5B200;
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 1.4rem;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  line-height: 1;
}

/* ==========================================================================
   2. Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: var(--navy-dark);
  background-image: 
    linear-gradient(120deg, rgba(6, 27, 68, 0.65) 0%, rgba(11, 44, 106, 0.55) 55%, rgba(0, 136, 204, 0.45) 100%),
    var(--hero-bg-image);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 5.2rem 0;
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-pill {
  display: inline-block;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.3rem 0.95rem;
  border-radius: 50px;
  font-size: clamp(0.85rem, 2vw, 1.15rem);
  font-weight: 600;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 4px 16px rgba(0, 0, 0, 0.85);
  background: rgba(6, 27, 68, 0.3);
}

.hero-title {
  font-size: 2.35rem;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  color: var(--gold);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 4px 16px rgba(0, 0, 0, 0.85);
}

.hero-subtitle {
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* Button Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-size: 0.92rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 4px 14px rgba(255, 199, 0, 0.3);
}

.btn-secondary-glass {
  background: rgba(0, 255, 0, 0.18);
  color: var(--white);
  border: 1.5px solid var(--gold);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  background: rgba(6, 27, 68, 0.6);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-card {
  display: flex;
  flex-direction: column;
}

.payback-spotlight {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-dark);
  padding: 1.85rem;
  border-radius: var(--radius);
  border-top: 5px solid var(--gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.badge-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.payback-spotlight h3 {
  color: var(--navy);
  margin: 0.6rem 0;
  font-size: 1.25rem;
}

.spotlight-list {
  list-style: none;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.spotlight-list li {
  margin-bottom: 0.4rem;
  color: var(--navy-dark);
  font-weight: 600;
}

/* ==========================================================================
   3. Impact Counter Bar
   ========================================================================== */
.impact-bar {
  background: var(--white);
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--border);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  text-align: center;
}

.stat-box {
  padding: 1.1rem;
  background: var(--bg-light);
  border-radius: var(--radius);
  border-bottom: 3px solid var(--cyan);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.stat-number {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--navy);
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   4. Sections Shared Styling
   ========================================================================== */
.section {
  padding: 4.5rem 0;
}

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

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.8rem;
}

.section-tag {
  color: var(--cyan);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1.2px;
}

.section-header h2 {
  color: var(--navy);
  font-size: 1.85rem;
  margin: 0.4rem 0 0.6rem;
}

.section-header p {
  color: var(--text-muted);
}

/* ==========================================================================
   5. About TCT & Team
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.about-card {
  background: var(--bg-light);
  padding: 1.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.pledge-card {
  background: var(--navy);
  color: var(--white);
}

.pledge-card h3 {
  color: var(--gold);
  margin-bottom: 1rem;
}

.pledge-list {
  list-style: none;
}

.pledge-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.values-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.values-tags span {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--cyan);
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.sub-heading {
  text-align: center;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.team-section {
  margin-top: 3.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--navy);
  padding: 1.4rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.team-card h4 {
  color: var(--navy);
  font-size: 1.1rem;
}

.team-role {
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 0.35rem;
}

/* ==========================================================================
   6. Courses Section & Filter Tabs
   ========================================================================== */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.filter-btn, .gallery-filter-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
  transition: all 0.2s ease;
}

.filter-btn:hover, .gallery-filter-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.filter-btn.active, .gallery-filter-btn.active {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.course-badge {
  display: inline-block;
  background: rgba(0, 136, 204, 0.12);
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.6rem;
}

.course-card h3 {
  color: var(--navy);
  font-size: 1.15rem;
}

.course-mm {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.8rem;
}

.course-skills {
  padding-left: 1.1rem;
  margin: 0.75rem 0;
  font-size: 0.88rem;
}

.course-skills li {
  margin-bottom: 0.25rem;
}

/* ==========================================================================
   7. Software & Download Center
   ========================================================================== */
.featured-software-box {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem;
  border-left: 6px solid var(--gold);
  box-shadow: var(--shadow);
}

.software-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
}

.software-title {
  font-size: 1.65rem;
  color: var(--gold);
  margin: 0.5rem 0;
}

.software-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: #CBD5E1;
}

.software-meta span {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.7rem;
  border-radius: 6px;
}

.software-feature-list {
  list-style: none;
  margin: 1rem 0;
}

.software-feature-list li {
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
}

.software-download-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.6rem;
  border-radius: var(--radius);
  text-align: center;
}

.typing-preview-icon {
  font-size: 2.6rem;
  margin-bottom: 0.5rem;
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.4rem;
}

.download-card {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.download-card h4 {
  color: var(--navy);
  font-size: 1.1rem;
}

/* ==========================================================================
   8. Journey, Testimonials, News & Gallery
   ========================================================================== */
.journey-grid, .testimonials-grid, .news-grid, .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.35rem;
}

.journey-card, .quote-card, .news-card, .gallery-card {
  background: var(--white);
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.journey-card h4 {
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.4rem;
  margin-bottom: 0.6rem;
}

.t2t-banner {
  background: var(--navy);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  border-left: 6px solid var(--gold);
}

.t2t-banner h3 {
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.gallery-card {
  padding: 0;
  overflow: hidden;
}

.gallery-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.gallery-body {
  padding: 1.15rem;
}

/* ==========================================================================
   9. Refund Table, Rules & Registration Form
   ========================================================================== */
.table-responsive {
  overflow-x: auto;
  margin-bottom: 2.5rem;
}

.refund-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.refund-table th, .refund-table td {
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  text-align: left;
}

.refund-table th {
  background: var(--navy);
  color: var(--gold);
  font-weight: 700;
}

.join-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
}

.rules-box, .form-box {
  background: var(--white);
  padding: 1.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.rules-box ul {
  padding-left: 1.2rem;
  margin: 1rem 0 1.5rem;
}

.rules-box li {
  margin-bottom: 0.5rem;
}

.faq-heading {
  color: var(--navy);
  margin-top: 1.8rem;
  margin-bottom: 0.85rem;
  font-size: 1.1rem;
}

.faq-item {
  background: var(--bg-light);
  padding: 0.9rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  border: 1px solid var(--border);
}

/* In-Page Form Feedback Banner */
.form-status {
  padding: 0.9rem 1.2rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
  display: none;
  line-height: 1.6;
}

.form-status.show {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

.form-status.success {
  display: block;
  background-color: #EBFBEE;
  color: #1E7E34;
  border: 1px solid #A3E9A4;
}

.form-status.error {
  display: block;
  background-color: #FDE8E8;
  color: #C81E1E;
  border: 1px solid #F8B4B4;
}

.form-status.info {
  display: block;
  background-color: #E8F4FD;
  color: #006699;
  border: 1px solid #B8E1FF;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.15);
}

.btn-full {
  width: 100%;
  text-align: center;
}

.form-privacy-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

.partners-callout {
  text-align: center;
  background: var(--bg-light);
  padding: 2.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* ==========================================================================
   10. Footer Section
   ========================================================================== */
.footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-mm {
  font-size: 0.88rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.footer a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  text-decoration: underline;
}

.contact-list, .footer-links {
  list-style: none;
  margin-top: 0.8rem;
}

.contact-list li, .footer-links li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: #94A3B8;
}

/* Keyframe Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   11. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 900px) {
  .hero-grid, .about-grid, .join-grid, .footer-grid, .software-grid {
    grid-template-columns: 1fr;
  }
  
  .impact-grid, .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    padding: 1.2rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-radius: 0 0 12px 12px;
  }
  
  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.6rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .btn-nav-cta {
    margin-top: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .impact-grid, .team-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section {
    padding: 3.2rem 0;
  }

  .rules-box, .form-box, .about-card, .featured-software-box {
    padding: 1.3rem;
  }
                              }
  
