/* ===== NXTGENINTERN — GLOBAL STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --blue: #1a8fe3;
  --blue-dark: #0d6fc4;
  --blue-light: #e8f4fd;
  --accent: #00d4ff;
  --heading: #0a1628;
  --text: #1e2d3d;
  --text-2: #5a7080;
  --bg: #f7fafd;
  --white: #ffffff;
  --border: #dde8f0;
  --card-bg: #ffffff;
  --shadow: 0 4px 24px rgba(26,143,227,.10);
  --shadow-lg: 0 12px 48px rgba(26,143,227,.16);
  --radius: 16px;
  --radius-sm: 10px;
  --nav-h: 70px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Syne', sans-serif;
  color: var(--heading);
  line-height: 1.2;
}

a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-dark); }

img { max-width: 100%; display: block; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  width: 100%;
  display: flex; align-items: center; gap: 2rem;
}
.nav-logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.nav-logo img { height: 36px; }
.nav-logo-text { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--heading); }
.nav-links { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav-links a {
  font-weight: 500; font-size: .92rem; color: var(--text-2);
  padding: .45rem .85rem; border-radius: 8px;
  transition: all .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: var(--blue-light); }
.nav-cta {
  background: var(--blue); color: #fff !important;
  padding: .45rem 1.1rem !important; border-radius: 8px !important;
}
.nav-cta:hover { background: var(--blue-dark) !important; color: #fff !important; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: .4rem; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--heading); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ===== PAGE WRAPPER ===== */
.page { padding-top: var(--nav-h); min-height: 100vh; }

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, #0a1628 0%, #0d4a8a 60%, #1a8fe3 100%);
  color: white; padding: 5rem 2rem 4rem;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-header-inner {
  max-width: 780px; margin: 0 auto; position: relative; text-align: center;
}
.page-header h1 { font-size: clamp(2rem, 5vw, 3.2rem); color: white; margin-bottom: .75rem; }
.page-header p { font-size: 1.1rem; color: rgba(255,255,255,.75); max-width: 560px; margin: 0 auto; }
.breadcrumb { font-size: .8rem; color: rgba(255,255,255,.5); margin-bottom: 1rem; display: flex; align-items: center; justify-content: center; gap: .4rem; }
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb span:last-child { color: white; }
.section-eyebrow {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent); margin-bottom: .6rem;
}
.page-header .section-eyebrow { color: rgba(0,212,255,.8); }

/* ===== SECTIONS ===== */
.section { padding: 5rem 2rem; }
.section-inner { max-width: 1160px; margin: 0 auto; }
.section-title { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 1rem; }
.text-center { text-align: center; }
.divider { border: none; border-top: 1px solid var(--border); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: .92rem;
  padding: .7rem 1.5rem; border-radius: 10px; cursor: pointer;
  border: none; transition: all .22s; text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: var(--blue-dark); color: white; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,143,227,.35); }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: white; }
.btn-white { background: white; color: var(--blue); }
.btn-white:hover { background: var(--blue-light); color: var(--blue-dark); }
.btn-lg { padding: .9rem 2rem; font-size: 1rem; }
.mt-3 { margin-top: 1.5rem; }

/* ===== CARDS ===== */
.card {
  background: var(--card-bg); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 2rem;
  box-shadow: var(--shadow); transition: all .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ===== HERO (index) ===== */
.hero {
  min-height: 92vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #071020 0%, #0a2040 40%, #0d5a9e 100%);
  position: relative; overflow: hidden; padding: 6rem 2rem 4rem;
}
.hero::before {
  content: '';
  position: absolute; top: -50%; right: -20%; width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(26,143,227,.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -30%; left: -10%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1160px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(0,212,255,.12); border: 1px solid rgba(0,212,255,.3);
  color: var(--accent); font-size: .78rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: .4rem 1rem; border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero-badge::before { content: '●'; font-size: .5rem; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); color: white; margin-bottom: 1.25rem; line-height: 1.1; }
.hero h1 span { color: var(--accent); }
.hero p { color: rgba(255,255,255,.7); font-size: 1.1rem; line-height: 1.7; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2rem; margin-top: 2.5rem; }
.stat { }
.stat-num { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800; color: white; }
.stat-label { font-size: .8rem; color: rgba(255,255,255,.5); font-weight: 500; }
.hero-visual { position: relative; }
.hero-card-float {
  background: rgba(255,255,255,.06); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.12); border-radius: 20px;
  padding: 2rem; color: white;
}
.track-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(26,143,227,.2); border: 1px solid rgba(26,143,227,.4);
  color: #7cc8f5; font-size: .78rem; font-weight: 600; padding: .3rem .8rem;
  border-radius: 100px; margin: .3rem .3rem 0 0;
}

/* ===== TRACK CARDS ===== */
.tracks-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem;
  margin-top: 3rem;
}
.track-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; transition: all .25s; position: relative; overflow: hidden;
}
.track-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
}
.track-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.track-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.track-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.track-card p { font-size: .9rem; color: var(--text-2); line-height: 1.6; margin-bottom: 1.2rem; }
.track-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag {
  font-size: .72rem; font-weight: 600; padding: .25rem .65rem;
  border-radius: 6px; background: var(--blue-light); color: var(--blue);
}

/* ===== FEATURE GRID ===== */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.feature-item {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.5rem;
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.feature-icon { font-size: 1.6rem; flex-shrink: 0; }
.feature-item h4 { font-size: 1rem; margin-bottom: .3rem; }
.feature-item p { font-size: .88rem; color: var(--text-2); line-height: 1.6; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, #0a1628 0%, #0d4a8a 60%, #1a8fe3 100%);
  border-radius: 20px; padding: 4rem 3rem; text-align: center; color: white;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(0,212,255,.15) 0%, transparent 60%);
}
.cta-banner h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: white; margin-bottom: .75rem; position: relative; }
.cta-banner p { color: rgba(255,255,255,.7); font-size: 1.05rem; margin-bottom: 2rem; position: relative; }

/* ===== CERT PREVIEW ===== */
.cert-preview {
  text-align: center; padding: 3rem 2rem; background: var(--card-bg);
  border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow);
}
.cert-preview img { max-width: 700px; width: 100%; border-radius: 12px; box-shadow: 0 8px 40px rgba(0,0,0,.12); margin: 0 auto 1.5rem; }

/* ===== STEPS GRID ===== */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.step-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.75rem; text-align: center; }
.step-num { width: 44px; height: 44px; background: var(--blue); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.1rem; margin: 0 auto 1rem; }
.step-card h4 { font-size: 1rem; margin-bottom: .4rem; }
.step-card p { font-size: .88rem; color: var(--text-2); }

/* ===== CONTACT ===== */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 3rem; }
.contact-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.contact-row { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: .1rem; }
.contact-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-2); margin-bottom: .2rem; }
.contact-val { font-weight: 500; color: var(--heading); }
.contact-val a { color: var(--blue); font-weight: 600; }

/* ===== FORM ===== */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .85rem; font-weight: 600; color: var(--heading); margin-bottom: .4rem; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: .75rem 1rem; border: 1px solid var(--border);
  border-radius: 10px; font-family: 'Outfit', sans-serif; font-size: .95rem;
  color: var(--text); background: var(--white); transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,143,227,.12);
}
.form-textarea { min-height: 100px; resize: vertical; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ===== PROJECT CARDS ===== */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; margin-top: 3rem; }
.project-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all .25s; }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project-card-img { height: 180px; background: linear-gradient(135deg, var(--blue-light), #cce7fa); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.project-card-body { padding: 1.5rem; }
.project-card-body h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.project-card-body p { font-size: .88rem; color: var(--text-2); margin-bottom: 1rem; line-height: 1.6; }
.project-price { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--blue); }
.project-price span { font-size: .8rem; font-weight: 400; color: var(--text-2); }
.project-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; }

/* ===== FOOTER ===== */
footer {
  background: #071020; color: rgba(255,255,255,.6);
  padding: 4rem 2rem 2rem;
}
.footer-inner { max-width: 1160px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand { }
.footer-logo { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.footer-logo img { height: 32px; filter: brightness(0) invert(1); }
.footer-logo-text { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1rem; color: white; }
.footer-desc { font-size: .88rem; line-height: 1.7; max-width: 280px; }
.footer-col h5 { font-family: 'Syne', sans-serif; color: white; font-size: .9rem; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a { color: rgba(255,255,255,.55); font-size: .88rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; font-size: .82rem; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,.4); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9999;
  background: var(--heading); color: white; padding: 1rem 1.5rem;
  border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,.25);
  font-weight: 500; transform: translateY(100px); opacity: 0;
  transition: all .35s cubic-bezier(.34,1.56,.64,1);
  display: flex; align-items: center; gap: .75rem; max-width: 360px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: #12875a; }
.toast.error { background: #c0392b; }

/* ===== ANIMATIONS ===== */
.animate-fade-up { opacity: 0; transform: translateY(28px); transition: opacity .55s ease, transform .55s ease; }
.animate-fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== MOBILE NAV ===== */
.nav-mobile { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; background: white; z-index: 99; flex-direction: column; padding: 2rem; gap: .5rem; }
.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: 1.1rem; font-weight: 600; color: var(--heading); padding: .75rem 1rem; border-radius: 10px; }
.nav-mobile a:hover, .nav-mobile a.active { background: var(--blue-light); color: var(--blue); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; margin-left: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.2rem; }
}
