/* ========================================
   Minimal Theme for MikelCantero.dev
   Colors:
     --brand: #ff7d00
     --secondary: #896BA7
     --accent: #FFDC60
     --bg: #ffffff
   ======================================== */

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

:root {
  --brand: #ff7d00;
  --brand-hover: #e06e00;
  --brand-light: rgba(255, 125, 0, 0.08);
  --secondary: #896BA7;
  --secondary-hover: #73588f;
  --secondary-light: rgba(137, 107, 167, 0.08);
  --accent: #FFDC60;
  --bg: #ffffff;
  --bg-alt: #f8f9fb;
  --bg-dark: #1a1a2e;
  --text: #2d2d3a;
  --text-secondary: #6b6b80;
  --text-light: #9e9eb0;
  --border: #e8e8ef;
  --border-light: #f0f0f5;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --radius: 12px;
  --radius-lg: 16px;
  --transition: 0.2s ease;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ---- Base ---- */
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brand);
  transition: color var(--transition);
}
a:hover {
  color: var(--brand-hover);
}

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

.section-subtitle {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 12px;
}

.section-title {
  font-size: 32px;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ---- Layout ---- */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

/* ---- Buttons ---- */
.btn {
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  transition: all var(--transition);
  text-decoration: none;
  display: inline-block;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.4;
}

.btn-brand {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}
.btn-brand:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  color: var(--white);
}

.btn-outline-brand {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn-outline-brand:hover {
  background: var(--brand);
  color: var(--white);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}
.btn-secondary:hover {
  background: var(--secondary-hover);
  border-color: var(--secondary-hover);
  color: var(--white);
}

.btn-outline-secondary {
  background: transparent;
  color: var(--secondary);
  border-color: var(--secondary);
}
.btn-outline-secondary:hover {
  background: var(--secondary);
  color: var(--white);
}

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

.btn-accent-hover:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text) !important;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 14px 36px;
  font-size: 16px;
}

/* ---- Cards ---- */
.card-custom {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card-custom:hover {
  box-shadow: var(--shadow-md);
}

.card-custom .card-thumb img {
  width: 100%;
  display: block;
}

.card-custom .card-body {
  padding: 20px 24px 24px;
}

.card-custom .card-body .card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0;
}

.card-custom .card-body .card-title a {
  color: var(--text);
  text-decoration: none;
}
.card-custom .card-body .card-title a:hover {
  color: var(--brand);
}

/* ---- Navbar ---- */
.navbar-minimal {
  padding: 16px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}

.navbar-minimal .navbar-brand img {
  height: 36px;
  display: block;
}

.navbar-minimal .nav-link {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 16px !important;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.navbar-minimal .nav-link:hover,
.navbar-minimal .nav-link.active {
  background: var(--brand-light);
  color: var(--brand);
}

.navbar-minimal .navbar-toggler {
  border: none;
  padding: 8px;
  color: var(--text);
  font-size: 24px;
}
.navbar-minimal .navbar-toggler:focus {
  box-shadow: none;
}

/* ---- Footer ---- */
.footer-minimal {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 0;
}

.footer-minimal h5 {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-minimal a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-minimal a:hover {
  color: var(--brand);
}

.footer-minimal .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.6);
  font-size: 18px;
  transition: all var(--transition);
  margin-right: 8px;
  margin-bottom: 8px;
}
.footer-minimal .social-link:hover {
  background: var(--brand);
  color: var(--white);
}

.footer-minimal .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  margin-top: 32px;
  font-size: 14px;
}

/* ---- Hero ---- */
.hero-section {
  padding: 100px 0 80px;
  background: var(--bg-alt);
}

.hero-subtitle {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.hero-desc strong {
  color: var(--text);
}

.hero-img img {
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius-lg);
}

.hero-img-col {
  padding-right: 6rem;
}

@media (max-width: 991px) {
  .hero-img-col {
    padding-right: 0;
    margin-top: 2rem;
  }
}

/* ---- Breadcrumb ---- */
.breadcrumb-minimal {
  background: transparent;
  padding: 24px 0 8px;
  margin: 0;
  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.breadcrumb-minimal .breadcrumb-item {
  font-size: 14px;
}
.breadcrumb-minimal .breadcrumb-item a {
  color: var(--secondary);
  text-decoration: none;
}
.breadcrumb-minimal .breadcrumb-item a:hover {
  color: var(--brand);
}
.breadcrumb-minimal .breadcrumb-item.active {
  color: var(--text-secondary);
}
.breadcrumb-minimal .breadcrumb-item::after {
  display: none;
}
.breadcrumb-minimal .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--text-light);
}

/* ---- Page Header ---- */
.page-header {
  padding: 32px 0 48px;
}
.page-header h1 {
  font-size: 36px;
  margin-bottom: 8px;
}
.page-header p {
  color: var(--text-secondary);
  font-size: 16px;
}

/* ---- Cards Grid ---- */
.card-grid {
  display: grid;
  gap: 24px;
}

/* ---- Pagination ---- */
.pagination-minimal {
  margin-top: 48px;
}
.pagination-minimal .page-link {
  border: none;
  padding: 10px 18px;
  margin: 0 4px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  background: transparent;
  transition: all var(--transition);
}
.pagination-minimal .page-link:hover {
  background: var(--brand-light);
  color: var(--brand);
}
.pagination-minimal .page-item.active .page-link {
  background: var(--brand);
  color: var(--white);
}
.pagination-minimal .page-item.disabled .page-link {
  color: var(--text-light);
}

/* ---- About List ---- */
.about-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}
.about-list li {
  padding: 10px 0 10px 24px;
  position: relative;
  line-height: 1.6;
}
.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
}

/* ---- Contact Card ---- */
.contact-card {
  background: var(--bg-alt);
  padding: 36px;
  border-radius: var(--radius-lg);
}
.contact-card h3 {
  font-size: 20px;
  margin-bottom: 24px;
}
.contact-item {
  margin-bottom: 20px;
}
.contact-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.contact-item a:not(.btn) {
  color: var(--secondary);
  font-weight: 500;
  text-decoration: none;
}
.contact-item a:not(.btn):hover {
  color: var(--brand);
}
.contact-divider {
  margin: 24px 0;
  border: none;
  border-top: 1px solid var(--border);
}

/* ---- Sidebar ---- */
.sidebar-card {
  background: var(--bg-alt);
  padding: 24px;
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.sidebar-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--brand);
}
.sidebar-card .sidebar-post {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.sidebar-card .sidebar-post:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.sidebar-card .sidebar-post img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.sidebar-card .sidebar-post .post-info {
  flex: 1;
}
.sidebar-card .sidebar-post .post-info a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  display: block;
  line-height: 1.3;
}
.sidebar-card .sidebar-post .post-info a:hover {
  color: var(--brand);
}
.sidebar-card .sidebar-post .post-info .date {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
}

/* ---- Testimonial Card ---- */
.testimonial-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.testimonial-card .company-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
}
.testimonial-card .testimonial-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 20px;
}
.testimonial-card .author-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.testimonial-card .author-info img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-card .author-info .name {
  font-weight: 600;
  font-size: 15px;
  display: block;
}
.testimonial-card .author-info .role {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ---- Blog Post Content ---- */
.post-content h2 {
  font-size: 28px;
  margin-top: 40px;
  margin-bottom: 16px;
}
.post-content h3 {
  font-size: 22px;
  margin-top: 32px;
  margin-bottom: 12px;
}
.post-content p {
  margin-bottom: 20px;
  line-height: 1.7;
}
.post-content ul, .post-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}
.post-content li {
  margin-bottom: 8px;
}
blockquote,
.note {
  border-left: 4px solid var(--brand);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--brand-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
}
blockquote .btn,
blockquote a.btn {
  color: #fff;
}
.post-content img {
  border-radius: var(--radius);
  margin: 24px 0;
}
.post-content pre {
  background: var(--bg-dark);
  color: #e4e4e4;
  padding: 20px;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 14px;
  margin: 24px 0;
}
.post-content code {
  font-size: 14px;
}
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.post-content th, .post-content td {
  padding: 12px;
  border: 1px solid var(--border);
  text-align: left;
}
.post-content th {
  background: var(--bg-alt);
  font-weight: 600;
}

/* ---- Brand Grid ---- */
.brand-item {
  padding: 12px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-item img {
  opacity: 0.7;
  transition: opacity var(--transition), filter var(--transition);
  filter: grayscale(1) brightness(1.3);
}
.brand-item img:hover {
  opacity: 1;
  filter: grayscale(0) brightness(1);
}

/* ---- CTA Section ---- */
.cta-section {
  padding: 80px 0;
  background: var(--bg-dark);
  text-align: center;
}
.cta-section h2 {
  font-size: 32px;
  color: var(--white);
  margin-bottom: 32px;
}

/* ---- Page Content (privacy, terms, etc.) ---- */
.page-content {
  padding-bottom: 60px;
}
.page-content h2 {
  font-size: 26px;
  margin-top: 40px;
  margin-bottom: 16px;
}
.page-content h3 {
  font-size: 20px;
  margin-top: 28px;
  margin-bottom: 12px;
}
.page-content p {
  margin-bottom: 16px;
  line-height: 1.7;
}
.page-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

/* ---- Stats Section ---- */
.stat-item {
  text-align: center;
  padding: 24px;
}
.stat-item .stat-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}
.stat-item .stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-item .stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* ---- Services / Learning Path ---- */
.learning-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: box-shadow var(--transition);
}
.learning-card:hover {
  box-shadow: var(--shadow-md);
}
.learning-card .card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: var(--brand);
}
.learning-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}
.learning-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

/* ---- Post Meta ---- */
.post-meta {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.post-meta span {
  margin-right: 16px;
}
.post-meta i {
  margin-right: 6px;
}

/* ---- Tags ---- */
.tag-pill {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  background: var(--brand-light);
  color: var(--brand);
  text-decoration: none;
  transition: all var(--transition);
  margin-right: 6px;
  margin-bottom: 6px;
}
.tag-pill:hover {
  background: var(--brand);
  color: var(--white);
}

/* ---- Filter Buttons ---- */
.filter-btn {
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  border: 2px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  margin-right: 8px;
  margin-bottom: 8px;
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--brand);
  background: var(--brand-light);
  color: var(--brand);
}

/* ---- Accordion / Learning Path Detail ---- */
.link-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 12px;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.link-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}
.link-card .link-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.link-card .link-info {
  flex: 1;
}
.link-card .link-info h4 {
  font-size: 16px;
  margin-bottom: 4px;
}
.link-card .link-info h4 a {
  color: var(--text);
  text-decoration: none;
}
.link-card .link-info h4 a:hover {
  color: var(--brand);
}
.link-card .link-info p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}
.link-card .link-icon {
  color: var(--text-light);
  font-size: 18px;
  flex-shrink: 0;
}

/* ---- Read More Button ---- */
.read-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  transition: color var(--transition);
}
.read-more:hover {
  color: var(--brand-hover);
}
.read-more i {
  margin-left: 4px;
  transition: transform var(--transition);
}
.read-more:hover i {
  transform: translateX(4px);
}

/* ---- Search ---- */
.search-form {
  position: relative;
}
.search-form input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  outline: none;
  transition: border-color var(--transition);
  background: var(--white);
}
.search-form input:focus {
  border-color: var(--brand);
}
.search-form button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 18px;
  cursor: pointer;
}
.search-form button:hover {
  color: var(--brand);
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .section { padding: 60px 0; }
  .section-title { font-size: 26px; }
  .hero-title { font-size: 32px; }
  .hero-section { padding: 60px 0 40px; }
  .hero-img { text-align: center; margin-top: 40px; }
  .hero-img img { max-width: 260px; }
  .page-header h1 { font-size: 28px; }
}

@media (max-width: 575px) {
  .section { padding: 48px 0; }
  .section-header { margin-bottom: 32px; }
  .hero-title { font-size: 26px; }
  .stat-item .stat-number { font-size: 28px; }
  .contact-card { padding: 24px; }
}
