/* ===== TEQED Website - styles.css ===== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --primary-dark: #1d4ed8;
  --primary-fg: #ffffff;
  --heading: #1a1f2e;
  --foreground: #1a1f2e;
  --muted: #64748b;
  --bg: #ffffff;
  --bg-secondary: #f0f5ff;
  --border: #e2e8f0;
  --gradient: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  --radius: 0.75rem;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1);
}

html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--foreground); background: var(--bg); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* Section */
.section { padding: 4rem 1rem; }
.section-alt { background: var(--bg-secondary); }

/* ===== NAVBAR ===== */
.navbar { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.navbar-logo img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: .875rem; font-weight: 600; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-cta { background: var(--gradient); color: var(--primary-fg); padding: .6rem 1.25rem; border-radius: var(--radius); font-size: .875rem; font-weight: 600; border: none; cursor: pointer; transition: opacity .2s; display: inline-block; }
.nav-cta:hover { opacity: .9; }
.hamburger { display: none; background: none; border: none; cursor: pointer; }
.hamburger svg { width: 28px; height: 28px; }
.mobile-menu { display: none; flex-direction: column; background: var(--bg); border-top: 1px solid var(--border); padding: 1rem 0; }
.mobile-menu a { display: block; padding: .75rem 1.5rem; font-size: .875rem; font-weight: 600; }
.mobile-menu a:hover { color: var(--primary); }
.mobile-menu .nav-cta { margin: .5rem 1.5rem; text-align: center; }

/* ===== HERO ===== */
.hero { position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: var(--gradient); opacity: .9; }
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero h1 { font-size: 2.5rem; font-weight: 800; color: var(--primary-fg); line-height: 1.2; margin-bottom: 1rem; }
.hero p { font-size: 1.125rem; color: rgba(255,255,255,.8); margin-bottom: 2rem; max-width: 600px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn-white { background: var(--primary-fg); color: var(--primary); padding: .75rem 2rem; border-radius: var(--radius); font-weight: 600; font-size: .875rem; transition: opacity .2s; }
.btn-outline-white { border: 2px solid var(--primary-fg); color: var(--primary-fg); padding: .7rem 2rem; border-radius: var(--radius); font-weight: 600; font-size: .875rem; background: transparent; transition: background .2s; }
.btn-outline-white:hover { background: rgba(255,255,255,.1); }
.btn-primary { background: var(--gradient); color: var(--primary-fg); padding: .75rem 2rem; border-radius: var(--radius); font-weight: 600; font-size: .875rem; border: none; cursor: pointer; transition: opacity .2s; display: inline-block; }
.btn-primary:hover { opacity: .9; }

/* Page Banner (smaller hero) */
.page-banner { position: relative; height: 320px; display: flex; align-items: center; overflow: hidden; }
.page-banner .hero-overlay { opacity: .88; }
.page-banner h1 { font-size: 2.5rem; font-weight: 800; color: var(--primary-fg); margin-bottom: .5rem; }
.page-banner p { color: rgba(255,255,255,.8); font-size: 1.05rem; max-width: 600px; }

/* ===== HEADINGS ===== */
h1,h2,h3,h4,h5,h6 { color: var(--heading); font-family: 'Plus Jakarta Sans', sans-serif; }
.section-title { font-size: 2rem; font-weight: 700; text-align: center; margin-bottom: 1rem; }
.section-subtitle { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 3rem; font-size: 1rem; }

/* ===== GRID UTILS ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.grid-2-col { display: grid; grid-template-columns: repeat(2,1fr); gap: 3rem; }

/* ===== CARDS ===== */
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; transition: box-shadow .3s, border-color .3s; }
.card:hover { border-color: rgba(37,99,235,.3); box-shadow: var(--shadow-md); }
.card-icon { width: 44px; height: 44px; color: var(--primary); margin-bottom: 1rem; }
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .875rem; }

/* Impact cards */
.impact-card { background: var(--bg); border-radius: var(--radius); padding: 1.5rem; text-align: center; box-shadow: var(--shadow-sm); transition: box-shadow .3s; }
.impact-card:hover { box-shadow: var(--shadow-md); }
.impact-card svg { width: 40px; height: 40px; color: var(--primary); margin: 0 auto 1rem; }
.impact-card p { font-weight: 600; font-size: .875rem; }

/* Pill / Tag */
.pill { display: inline-block; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: .65rem 1.5rem; font-size: .875rem; font-weight: 600; transition: border-color .2s; }
.pill:hover { border-color: rgba(37,99,235,.4); }
.pill-primary { border-color: rgba(37,99,235,.3); color: var(--primary); }

/* Gradient box */
.gradient-box { background: var(--gradient); border-radius: var(--radius); padding: 1.5rem; color: var(--primary-fg); }
.gradient-box-sm { font-size: .875rem; font-weight: 600; text-align: center; padding: 1.25rem; }

/* ===== CTA BANNER ===== */
.cta-banner { background: var(--gradient); padding: 4rem 1rem; text-align: center; }
.cta-banner h2 { color: var(--primary-fg); font-size: 2rem; font-weight: 700; margin-bottom: .75rem; }
.cta-banner p { color: rgba(255,255,255,.8); font-size: 1.05rem; margin-bottom: 2rem; }

/* ===== ABOUT PAGE ===== */
.purpose-card { background: var(--bg); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.purpose-card svg { width: 40px; height: 40px; color: var(--primary); margin-bottom: 1rem; }
.purpose-card h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: .75rem; }
.purpose-card p { color: var(--muted); line-height: 1.7; }

.value-card { background: var(--bg); border-radius: var(--radius); padding: 1.5rem; width: 140px; text-align: center; box-shadow: var(--shadow-sm); }
.value-card svg { width: 32px; height: 32px; color: var(--primary); margin: 0 auto .75rem; }
.value-card p { font-weight: 600; font-size: .875rem; }
.values-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }

/* ===== SERVICES PAGE ===== */
.service-block { display: flex; gap: 2rem; align-items: flex-start; }
.service-block.reverse { flex-direction: row-reverse; }
.service-sidebar { flex: 0 0 33%; }
.service-main { flex: 1; }
.service-items { display: grid; grid-template-columns: repeat(2,1fr); gap: .5rem 2rem; margin-bottom: 1.5rem; }
.service-item { display: flex; align-items: center; gap: .5rem; padding: .25rem 0; font-size: .875rem; }
.service-item svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }
.service-impact { background: var(--bg-secondary); border-radius: var(--radius); padding: 1rem; margin-bottom: 1rem; }
.service-impact-title { font-weight: 600; font-size: .875rem; margin-bottom: .5rem; }
.impact-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.impact-pill { background: var(--bg); border-radius: 999px; padding: .25rem .75rem; font-size: .75rem; font-weight: 500; }
.service-cta { display: inline-flex; align-items: center; gap: .5rem; color: var(--primary); font-weight: 600; font-size: .875rem; }
.service-cta:hover { text-decoration: underline; }

/* ===== CONTACT PAGE ===== */
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-icon { background: var(--gradient); border-radius: var(--radius); padding: .75rem; flex-shrink: 0; }
.contact-icon svg { width: 20px; height: 20px; color: var(--primary-fg); }
.contact-label { font-weight: 600; margin-bottom: .25rem; }
.contact-value { color: var(--muted); font-size: .875rem; }
.contact-value a:hover { color: var(--primary); }
.timezone-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.timezone-pill { background: var(--bg-secondary); border-radius: 999px; padding: .5rem 1rem; font-size: .75rem; font-weight: 600; }

/* Form */
.form-card { background: var(--bg-secondary); border-radius: 1rem; padding: 2rem; }
.form-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.25rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .875rem; font-weight: 500; margin-bottom: .35rem; }
.form-group input, .form-group textarea { width: 100%; padding: .65rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: .875rem; font-family: inherit; background: var(--bg); outline: none; transition: border-color .2s; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.form-group textarea { resize: none; }
.form-submit { width: 100%; background: var(--gradient); color: var(--primary-fg); padding: .75rem; border: none; border-radius: var(--radius); font-weight: 600; font-size: .875rem; cursor: pointer; font-family: inherit; transition: opacity .2s; }
.form-submit:hover { opacity: .9; }

/* ===== FOOTER ===== */
.footer { background: var(--heading); color: var(--primary-fg); padding: 4rem 1rem 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer-logo img { height: 40px; margin-bottom: 1rem; filter: brightness(2); }
.footer-desc { font-size: .875rem; opacity: .7; line-height: 1.7; }
.footer h4 { font-weight: 700; margin-bottom: 1rem; color: var(--primary-fg); }
.footer-links { display: flex; flex-direction: column; gap: .5rem; font-size: .875rem; opacity: .7; }
.footer-links a:hover { opacity: 1; }
.footer-contact-item { display: flex; align-items: flex-start; gap: .5rem; font-size: .875rem; opacity: .7; margin-bottom: .75rem; }
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 2.5rem; padding-top: 1.5rem; text-align: center; font-size: .8rem; opacity: .5; }

/* ===== SVG ICON inline helper ===== */
.icon { display: inline-block; vertical-align: middle; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .service-block, .service-block.reverse { flex-direction: column; }
  .service-sidebar { flex: none; width: 100%; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .mobile-menu.open { display: flex; }
  .hero h1 { font-size: 2rem; }
  .hero { min-height: 420px; }
  .page-banner { height: 260px; }
  .page-banner h1 { font-size: 2rem; }
  .section { padding: 3rem 1rem; }
  .section-title { font-size: 1.65rem; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-2-col { grid-template-columns: 1fr; }
  .service-items { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner h2 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.65rem; }
  .hero-buttons { flex-direction: column; }
  .value-card { width: 120px; }
}

/* Animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up { animation: fadeInUp .6s ease-out forwards; }
