/* ═══════════════════════════════════════
   TecSolutions — Modern Startup Theme
   ═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary: #0a192f;
  --primary-light: #112240;
  --secondary: #1e3a5f;
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --accent-glow: rgba(37, 99, 235, 0.15);
  --success: #10b981;
  --gradient-1: linear-gradient(135deg, #0a192f 0%, #1e3a5f 50%, #2563eb 100%);
  --gradient-2: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --gradient-3: linear-gradient(135deg, #10b981 0%, #2563eb 100%);
  --dark: #0f172a;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }

p { color: var(--gray-500); margin-bottom: 1rem; font-size: 1.05rem; }

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-light); }

img { max-width: 100%; height: auto; }

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

/* ─── Navbar ─── */
.navbar {
  padding: 0.75rem 0;
  background: rgba(10, 25, 47, 0.85) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--white) !important;
}

.navbar-brand span { color: var(--accent-light); }

.nav-link {
  color: rgba(255,255,255,0.75) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1rem !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: var(--transition);
}

.nav-link:hover { color: var(--white) !important; background: rgba(255,255,255,0.05); }
.nav-link:hover::after { transform: scaleX(1); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-2);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
  color: var(--white);
}

.btn-success {
  background: var(--gradient-3);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

/* ─── Hero ─── */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--gradient-1);
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 0% 20%, rgba(37,99,235,0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 100% 80%, rgba(124,58,237,0.12) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(16,185,129,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(transparent, var(--white));
}

.hero .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
}

.hero-badge i { color: var(--success); }

.hero h1 {
  color: var(--white);
  max-width: 800px;
  margin-bottom: 1.25rem;
}

.hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

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

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 0.2rem;
}

.hero-stat p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* ─── Section Styles ─── */
.section { padding: 100px 0; }
.section-alt { background: var(--gray-50); }
.section-dark { background: var(--dark); color: var(--white); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.8rem;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-title {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem;
}

.section-title h2 { margin-bottom: 1rem; }

.section-title p {
  font-size: 1.1rem;
  color: var(--gray-400);
}

/* ─── Service Cards ─── */
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.service-card:hover .service-card-icon {
  background: var(--gradient-2);
  color: var(--white);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--gray-400);
  margin-bottom: 0;
}

/* ─── Why Items ─── */
.why-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  height: 100%;
}

.why-item:hover { background: var(--white); box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.why-item-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
  transition: var(--transition);
}

.why-item:nth-child(1) .why-item-icon { background: rgba(37,99,235,0.1); color: var(--accent); }
.why-item:nth-child(2) .why-item-icon { background: rgba(16,185,129,0.1); color: var(--success); }
.why-item:nth-child(3) .why-item-icon { background: rgba(124,58,237,0.1); color: #7c3aed; }
.why-item:nth-child(4) .why-item-icon { background: rgba(245,158,11,0.1); color: #f59e0b; }
.why-item:nth-child(5) .why-item-icon { background: rgba(239,68,68,0.1); color: #ef4444; }
.why-item:nth-child(6) .why-item-icon { background: rgba(6,182,212,0.1); color: #06b6d4; }

.why-item h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.why-item p { font-size: 0.92rem; color: var(--gray-400); margin-bottom: 0; }

/* ─── Audit Section ─── */
.audit-section {
  background: var(--gradient-1);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.audit-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(37,99,235,0.2) 0%, transparent 50%);
}

.audit-section .container { position: relative; z-index: 1; }
.audit-section h2 { color: var(--white); }
.audit-section p { color: rgba(255,255,255,0.7); font-size: 1.1rem; }

/* ─── Course Card ─── */
.course-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  transition: var(--transition);
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.course-card h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.course-card p { font-size: 0.92rem; color: var(--gray-500); }

.course-card ul { list-style: none; padding: 0; }
.course-card ul li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--gray-600);
  position: relative;
  padding-left: 1.5rem;
}

.course-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ─── CTA Section ─── */
.cta-section {
  background: var(--gray-50);
  padding: 80px 0;
}

/* ─── Footer ─── */
footer {
  background: var(--dark) !important;
  padding: 60px 0 30px !important;
}

footer h5 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

footer p, footer li { color: var(--gray-400); font-size: 0.9rem; }

footer a {
  color: var(--gray-400) !important;
  transition: var(--transition);
}

footer a:hover { color: var(--white) !important; }

footer .social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 1.1rem;
  transition: var(--transition);
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

footer .social-icons a:hover {
  background: var(--accent);
  color: var(--white) !important;
  transform: translateY(-2px);
}

/* ─── WhatsApp Float ─── */
.whatsapp-float {
  position: fixed;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}

.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5); }

.whatsapp-float a { color: var(--white); font-size: 1.5rem; }
.whatsapp-float a:hover { color: var(--white); }

/* ─── Form ─── */
.course-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.form-label { font-weight: 600; font-size: 0.9rem; color: var(--gray-700); margin-bottom: 0.4rem; }

.form-control {
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  border: 1px solid var(--gray-200);
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--gray-50);
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--white);
}

select.form-control { cursor: pointer; }

input.error, select.error { border-color: #ef4444; }
.error-message { color: #ef4444; font-size: 0.8rem; margin-top: 0.25rem; }

.honeypot { display: none !important; }

/* ─── Responsive ─── */
@media (max-width: 992px) {
  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero-stats { gap: 2rem; }
  .section { padding: 60px 0; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .navbar-brand { font-size: 1.25rem; }
  .whatsapp-float { width: 48px; height: 48px; bottom: 16px; right: 16px; }
  .whatsapp-float a { font-size: 1.25rem; }
}

@media (max-width: 576px) {
  .section-title h2 { font-size: 1.5rem; }
  .service-card { padding: 1.5rem; }
  .course-form { padding: 1.5rem; }
}

/* ─── Animations ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate { animation: fadeUp 0.6s ease-out forwards; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* ─── Utility ─── */
.text-gradient { background: var(--gradient-2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-center { text-align: center; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.me-2 { margin-right: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }
