/* IT World International - Design System */
:root {
  --bg: #ffffff;
  --surface: #f7f9fc;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --primary: #1e40af;
  --primary-glow: #3b82f6;
  --secondary: #f59e0b;
  --accent: #0f172a;
  --whatsapp: #25D366;
  --shadow-soft: 0 4px 14px rgba(15, 23, 42, .08);
  --shadow-hover: 0 18px 40px rgba(15, 23, 42, .18);
  --gradient: linear-gradient(135deg, var(--primary), var(--primary-glow));
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, 92%); margin: 0 auto; }

h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; font-weight: 700; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: .5rem; }
p { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.4rem; border-radius: 10px; font-weight: 600; font-size: .95rem; cursor: pointer; border: none; transition: all .25s ease; }
.btn-primary { background: var(--gradient); color: #fff; box-shadow: var(--shadow-soft); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-secondary:hover { filter: brightness(1.1); }

/* Top bar */
.topbar { background: var(--accent); color: #fff; font-size: .85rem; padding: .5rem 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.topbar a { opacity: .85; transition: opacity .2s; }
.topbar a:hover { opacity: 1; color: var(--secondary); }
.topbar .info { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.topbar .socials { display: flex; gap: 1rem; }
@media (max-width: 768px) { .topbar { display: none; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: .75rem; }
.brand-logo { width: 46px; height: 46px; background: var(--gradient); border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 800; font-family: 'Poppins'; box-shadow: var(--shadow-soft); }
.brand-text strong { display: block; font-family: 'Poppins'; font-weight: 700; }
.brand-text span { font-size: .75rem; color: var(--muted); }
.nav-links { display: flex; gap: .25rem; }
.nav-links a { padding: .55rem 1rem; border-radius: 8px; font-weight: 500; color: #475569; transition: all .2s; }
.nav-links a:hover, .nav-links a.active { background: rgba(30,64,175,.08); color: var(--primary); }
.nav-cta { display: flex; gap: .75rem; align-items: center; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.menu-toggle span { display: block; width: 26px; height: 3px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .3s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 980px) {
  .nav-links, .nav-cta .btn { display: none; }
  .menu-toggle { display: block; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; padding: 1rem; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-soft);
  }
}

/* Hero */
.hero { background: linear-gradient(135deg, #eff6ff 0%, #f7f9fc 100%); padding: 5rem 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.hero-eyebrow { display: inline-block; padding: .35rem .9rem; background: rgba(30,64,175,.1); color: var(--primary); border-radius: 999px; font-size: .8rem; font-weight: 600; margin-bottom: 1rem; letter-spacing: .04em; text-transform: uppercase; }
.hero h1 span { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.1rem; margin: 1.25rem 0 1.75rem; max-width: 540px; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-image { position: relative; }
.hero-image img { border-radius: 20px; box-shadow: var(--shadow-hover); }
.hero-image::before { content: ''; position: absolute; inset: -20px -20px auto auto; width: 140px; height: 140px; background: var(--gradient); border-radius: 30px; opacity: .15; z-index: -1; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }

/* Sections */
section { padding: 4.5rem 0; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.section-head .eyebrow { color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; }

/* Cards */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; transition: all .3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.card .icon { width: 56px; height: 56px; border-radius: 14px; background: var(--gradient); display: grid; place-items: center; color: #fff; font-size: 1.5rem; margin-bottom: 1rem; }
.card.has-image { padding: 0; overflow: hidden; }
.card.has-image img { height: 200px; object-fit: cover; width: 100%; }
.card.has-image .body { padding: 1.5rem; }

/* Stats */
.stats { background: var(--accent); color: #fff; }
.stats .grid-4 { gap: 2rem; }
.stat { text-align: center; }
.stat-num { font-family: 'Poppins'; font-size: 2.6rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: #cbd5e1; font-size: .95rem; }

/* CTA banner */
.cta-banner { background: var(--gradient); color: #fff; padding: 4rem 0; text-align: center; border-radius: 24px; margin: 3rem auto; width: min(1100px, 92%); }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,.9); margin-bottom: 1.5rem; }
.cta-banner .btn-primary { background: #fff; color: var(--primary); }

/* Footer */
.site-footer { background: var(--accent); color: #cbd5e1; padding: 4rem 0 1rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; margin-bottom: 1.25rem; font-size: 1.05rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: .6rem; }
.site-footer a:hover { color: var(--secondary); }
.footer-socials { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.08); transition: all .25s; }
.footer-socials a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; text-align: center; font-size: .9rem; }

/* WhatsApp widget */
.wa-widget { position: fixed; bottom: 24px; right: 24px; z-index: 200; }
.wa-btn { width: 60px; height: 60px; border-radius: 50%; background: var(--whatsapp); color: #fff; border: none; cursor: pointer; box-shadow: 0 8px 24px rgba(37, 211, 102, .5); display: grid; place-items: center; transition: transform .25s; animation: wa-pulse 2s infinite; }
.wa-btn:hover { transform: scale(1.08); }
.wa-btn svg { width: 30px; height: 30px; }
@keyframes wa-pulse { 0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,.5); } 50% { box-shadow: 0 8px 24px rgba(37,211,102,.9), 0 0 0 12px rgba(37,211,102,.15); } }
.wa-panel { position: absolute; bottom: 76px; right: 0; width: 320px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-hover); overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; }
.wa-panel.open { opacity: 1; visibility: visible; transform: translateY(0); }
.wa-head { background: var(--whatsapp); color: #fff; padding: 1rem; display: flex; gap: .75rem; align-items: center; }
.wa-head strong { display: block; }
.wa-head small { opacity: .85; }
.wa-body { padding: 1.25rem; background: #f7f9fc; }
.wa-bubble { background: #fff; padding: .85rem; border-radius: 12px; box-shadow: 0 2px 6px rgba(0,0,0,.05); font-size: .9rem; }
.wa-foot { padding: 1rem; }
.wa-foot a { display: flex; align-items: center; justify-content: center; gap: .5rem; background: var(--whatsapp); color: #fff; padding: .75rem; border-radius: 10px; font-weight: 600; }
.wa-foot a:hover { filter: brightness(1.05); }

/* Page hero */
.page-hero { background: var(--gradient); color: #fff; padding: 4.5rem 0 4rem; text-align: center; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.9); max-width: 640px; margin: 1rem auto 0; }
.breadcrumbs { font-size: .9rem; opacity: .85; margin-bottom: .75rem; }
.breadcrumbs a:hover { color: var(--secondary); }

/* Forms */
.form-grid { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
input, textarea, select { width: 100%; padding: .85rem 1rem; border: 1px solid var(--border); border-radius: 10px; font-family: inherit; font-size: .95rem; transition: border-color .2s; background: #fff; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30,64,175,.15); }
label { display: block; font-weight: 500; margin-bottom: .35rem; font-size: .9rem; }

/* Animations */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.float { animation: floaty 4s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Blog */
.blog-meta { font-size: .85rem; color: var(--muted); margin-bottom: .5rem; }
.tag { display: inline-block; padding: .2rem .65rem; background: rgba(30,64,175,.1); color: var(--primary); border-radius: 999px; font-size: .75rem; font-weight: 600; }

/* Job cards */
.job { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.5rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1rem; transition: .25s; }
.job:hover { border-color: var(--primary); box-shadow: var(--shadow-soft); }
.job .meta { color: var(--muted); font-size: .9rem; margin-top: .25rem; }
@media (max-width: 600px) { .job { flex-direction: column; align-items: flex-start; } }

/* Contact info cards */
.contact-info { display: grid; gap: 1rem; }
.contact-info .item { display: flex; gap: 1rem; padding: 1.25rem; background: var(--surface); border-radius: 12px; }
.contact-info .icon-sm { width: 44px; height: 44px; border-radius: 10px; background: var(--gradient); display: grid; place-items: center; color: #fff; flex-shrink: 0; }

