
/* Source: resume\templates\about.html */
/* Elegant About Page Styles */
  :root {
    --primary-gradient: linear-gradient(135deg, #2c3e50, #4ca1af);
    --text-primary: #2c3e50;
    --text-secondary: #5a6b7c;
    --bg-soft: #f8f9fa;
    --card-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
    --accent-color: #3498db;
  }

  .about-section {
    background:
      radial-gradient(circle at 12% 8%, rgba(76, 161, 175, 0.14), transparent 30%),
      linear-gradient(180deg, #f8fbfd 0%, #eef5f8 100%);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    padding-block: var(--about-page-padding-y, 2rem);
  }

  .profile-sidebar {
    position: relative;
  }

  .profile-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
    position: sticky;
    top: 100px;
    border: 1px solid rgba(76, 161, 175, 0.12);
  }

  .profile-header {
    background:
      radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.2), transparent 45%),
      var(--primary-gradient);
    padding: 3rem 1rem 0;
    text-align: center;
    color: white;
    position: relative;
  }

  .profile-img-wrapper {
    width: 160px;
    height: 160px;
    margin: 0 auto -80px;
    position: relative;
    z-index: 2;
    padding: 5px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    backdrop-filter: blur(5px);
  }

  .profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }

  .profile-body {
    padding: 90px 2rem 2rem;
    text-align: center;
  }

  .profile-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
  }

  .profile-title {
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-bottom: 2rem;
    display: block;
  }

  .contact-list-modern {
    text-align: left;
    margin-top: 1.5rem;
  }

  .contact-item-modern {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.2s ease;
  }

  .contact-item-modern:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateX(5px);
  }

  .icon-box {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: rgba(52, 152, 219, 0.1);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.1rem;
  }

  .contact-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    word-break: break-all;
  }

  /* Right Content Styling */
  .content-card {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 20px;
    padding: var(--about-card-padding, 1.5rem);
    margin-bottom: var(--about-card-gap, 1.25rem);
    box-shadow: 0 16px 42px rgba(44, 62, 80, 0.06);
    border: 1px solid rgba(76, 161, 175, 0.13);
    backdrop-filter: blur(10px);
  }

  .section-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
  }

  .section-icon {
    font-size: 1.5rem;
    color: white;
    background: var(--primary-gradient);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    box-shadow: 0 8px 16px rgba(44, 62, 80, 0.2);
  }

  .section-title h4 {
    margin: 0;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    font-size: var(--about-heading-font-size, 1.25rem);
  }

  .about-text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: var(--about-body-font-size, 1rem);
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    word-spacing: 0.02em;
  }

  .about-project-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.35rem;
    padding: 1rem;
    border: 1px solid rgba(52, 152, 219, 0.16);
    border-radius: 16px;
    background:
      linear-gradient(135deg, rgba(52, 152, 219, 0.08), rgba(76, 161, 175, 0.08)),
      #ffffff;
  }

  .about-project-kicker {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--accent-color);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .about-project-cta strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.94rem;
    line-height: 1.45;
  }

  .about-project-link {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 0.5rem;
    min-height: 42px;
    padding: 0.65rem 0.9rem;
    border-radius: 10px;
    background: var(--primary-gradient);
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(52, 152, 219, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .about-project-link:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(52, 152, 219, 0.28);
  }

  /* Skills Grid */
  .skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .skill-pill {
    padding: 8px 20px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
  }

  .skill-pill i {
    margin-right: 8px;
    color: var(--accent-color);
  }

  .skill-pill:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
  }

  .skill-pill:hover i {
    color: white;
  }

  /* Timeline Styles for Education & Experience */
  .timeline {
    position: relative;
    padding-left: var(--about-timeline-left-padding, 1.25rem);
  }

  .timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
  }

  .timeline-item {
    position: relative;
    margin-bottom: var(--about-timeline-item-gap, 1rem);
  }

  .timeline-item:last-child {
    margin-bottom: 0;
  }

  .timeline-dot {
    position: absolute;
    left: calc(-1 * var(--about-timeline-left-padding, 1.25rem) - 0.35rem);
    /* Adjust based on padding */
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
  }

  .timeline-content h5 {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: var(--about-timeline-title-font-size, 1rem);
  }

  .timeline-meta {
    font-size: var(--about-timeline-meta-font-size, 0.78rem);
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    display: inline-block;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
  }

  .timeline-desc {
    color: var(--text-secondary);
    font-size: var(--about-timeline-desc-font-size, 0.9rem);
    margin-top: 0.35rem;
  }

  @media (max-width: 991px) {
    .profile-card-modern {
      position: relative;
      top: 0;
      margin-bottom: 3rem;
    }
  }

  @media (max-width: 575.98px) {
    .about-project-cta {
      align-items: flex-start;
      flex-direction: column;
    }

    .about-project-link {
      width: 100%;
      justify-content: center;
    }
  }


/* Source: resume\templates\404.html */
.error-page {
    align-items: center;
    background: #f8fafc;
    display: flex;
    min-height: calc(100vh - 76px);
    padding: clamp(3rem, 7vw, 5rem) 0;
  }

  .error-wrap {
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
    margin: 0 auto;
    max-width: 1080px;
  }

  .error-visual {
    align-items: center;
    background: #0f172a;
    border-radius: 8px;
    color: #fff;
    display: flex;
    justify-content: center;
    min-height: 360px;
    overflow: hidden;
    position: relative;
  }

  .error-visual::before {
    background:
      linear-gradient(90deg, rgba(56, 189, 248, 0.16) 1px, transparent 1px),
      linear-gradient(rgba(56, 189, 248, 0.16) 1px, transparent 1px);
    background-size: 34px 34px;
    content: '';
    inset: 0;
    opacity: 0.55;
    position: absolute;
  }

  .error-visual::after {
    background: #38bdf8;
    border-radius: 999px;
    content: '';
    height: 150px;
    opacity: 0.18;
    position: absolute;
    right: -42px;
    top: -42px;
    width: 150px;
  }

  .error-code {
    font-size: clamp(5rem, 14vw, 9rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
    position: relative;
    z-index: 1;
  }

  .error-copy {
    align-self: center;
  }

  .error-label {
    color: #0284c7;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.6px;
    margin-bottom: 1rem;
    text-transform: uppercase;
  }

  .error-copy h1 {
    color: #0f172a;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 1rem;
  }

  .error-copy p {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 590px;
  }

  .error-path {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #64748b;
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
    overflow-wrap: anywhere;
    padding: 0.9rem 1rem;
  }

  .error-path strong {
    color: #0f172a;
    display: block;
    font-size: 0.78rem;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
  }

  .error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.6rem;
  }

  @media (max-width: 900px) {
    .error-wrap {
      grid-template-columns: 1fr;
    }

    .error-visual {
      min-height: 240px;
    }
  }


/* Source: resume\templates\editor.html */
.editor-shell {
    background: #f8fafc;
    min-height: 100vh;
    padding: 2rem 0 4rem;
  }

  .editor-header {
    background: #0f172a;
    color: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
  }

  .editor-header h1 {
    color: #fff;
    font-weight: 800;
    margin: 0;
  }

  .editor-header p {
    color: #cbd5e1;
    max-width: 720px;
    margin: 0.65rem 0 0;
  }

  .editor-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 1.25rem;
  }

  .editor-sidebar,
  .editor-panel {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  }

  .editor-sidebar {
    position: sticky;
    top: 1rem;
    align-self: start;
    padding: 1rem;
  }

  .editor-sidebar a {
    display: block;
    color: #334155;
    text-decoration: none;
    padding: 0.7rem 0.85rem;
    border-radius: 6px;
    font-weight: 600;
  }

  .editor-sidebar a:hover {
    background: #e0f2fe;
    color: #0369a1;
  }

  .editor-sidebar a.active {
    background: #0ea5e9;
    color: #fff;
  }

  .editor-panel {
    margin-bottom: 1rem;
    overflow: hidden;
  }

  .editor-panel-header {
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 1.25rem;
  }

  .editor-panel-header h2 {
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0;
  }

  .editor-fields {
    padding: 1.25rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .editor-field.full {
    grid-column: 1 / -1;
  }

  .editor-field label {
    color: #334155;
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
  }

  .editor-field-top {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    margin-bottom: 0.4rem;
  }

  .editor-field-top label {
    margin-bottom: 0;
  }

  .editor-style-field {
    background: #f8fafc;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    padding: 0.85rem;
  }

  .editor-field-badge {
    background: #dbeafe;
    border-radius: 999px;
    color: #1d4ed8;
    display: inline-flex;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0;
    margin-left: 0.45rem;
    padding: 0.18rem 0.45rem;
    text-transform: uppercase;
    vertical-align: middle;
  }

  .restore-default-btn {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #475569;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 700;
    gap: 0.3rem;
    padding: 0.32rem 0.5rem;
  }

  .restore-default-btn:hover {
    background: #e0f2fe;
    border-color: #7dd3fc;
    color: #0369a1;
  }

  .editor-field input,
  .editor-field textarea,
  .editor-field select {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #0f172a;
    font: inherit;
    padding: 0.75rem 0.85rem;
    width: 100%;
  }

  .editor-field input[type="color"] {
    cursor: pointer;
    height: 48px;
    padding: 0.3rem;
  }

  .editor-field textarea {
    min-height: 120px;
    resize: vertical;
  }

  .richtext-quill {
    min-height: 220px;
    background: #ffffff;
  }

  .richtext-quill .ql-editor {
    min-height: 180px;
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .editor-help {
    color: #64748b;
    font-size: 0.78rem;
    margin-top: 0.35rem;
  }

  .slider-manager {
    border-bottom: 1px solid #e2e8f0;
    padding: 1.25rem;
  }

  .slider-manager-title {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .slider-manager-title h3 {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
  }

  .slide-editor {
    background: #f8fafc;
    border: 1px solid #dbe4ee;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
  }

  .slide-editor.dragging {
    opacity: 0.55;
  }

  .slide-editor-top {
    align-items: center;
    background: #fff;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
    padding: 0.85rem 1rem;
  }

  .slide-editor.is-open .slide-editor-top {
    border-bottom: 1px solid #e2e8f0;
  }

  .slide-drag {
    align-items: center;
    background: #e0f2fe;
    border: 0;
    border-radius: 6px;
    color: #0369a1;
    cursor: grab;
    display: inline-flex;
    height: 36px;
    justify-content: center;
    width: 36px;
  }

  .slide-title-preview {
    color: #0f172a;
    flex: 1;
    font-weight: 800;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .slide-summary-meta {
    color: #64748b;
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: 0.1rem;
  }

  .slide-toggle {
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #0f172a;
    display: inline-flex;
    font-weight: 700;
    gap: 0.35rem;
    padding: 0.45rem 0.7rem;
  }

  .slide-toggle i {
    transition: transform 0.2s ease;
  }

  .slide-editor.is-open .slide-toggle i {
    transform: rotate(180deg);
  }

  .slide-delete {
    color: #b91c1c;
    font-weight: 700;
    white-space: nowrap;
  }

  .slide-editor-body {
    display: none;
    gap: 1rem;
    grid-template-columns: 180px minmax(0, 1fr);
    padding: 1rem;
  }

  .slide-editor.is-open .slide-editor-body {
    display: grid;
  }

  .slide-preview {
    aspect-ratio: 4 / 3;
    background: #0f172a;
    border-radius: 8px;
    overflow: hidden;
  }

  .slide-preview img {
    height: 100%;
    object-fit: cover;
    width: 100%;
  }

  .slide-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .slide-grid .wide {
    grid-column: 1 / -1;
  }

  .new-slide-box {
    background: #fff;
    border: 1px dashed #94a3b8;
    border-radius: 8px;
    margin-top: 1rem;
    padding: 1rem;
  }

  .new-slide-box h3 {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1rem;
  }

  .editor-actions {
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    bottom: 1rem;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.12);
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding: 0.85rem;
    position: sticky;
    z-index: 5;
  }

  @media (max-width: 900px) {
    .editor-layout {
      grid-template-columns: 1fr;
    }

    .editor-sidebar {
      position: static;
    }

    .editor-fields {
      grid-template-columns: 1fr;
    }

    .slide-editor-body,
    .slide-grid {
      grid-template-columns: 1fr;
    }
  }


/* Source: resume\templates\editor_login.html */
.editor-login-shell {
    align-items: center;
    background: linear-gradient(135deg, #f8fafc, #e0f2fe);
    display: flex;
    min-height: calc(100vh - 76px);
    padding: 3rem 1rem;
  }

  .editor-login-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    margin: 0 auto;
    max-width: 440px;
    padding: 2rem;
    width: 100%;
  }

  .editor-login-card h1 {
    color: #0f172a;
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
  }

  .editor-login-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
  }

  .editor-login-card label {
    color: #334155;
    font-weight: 700;
    margin-bottom: 0.4rem;
  }

  .editor-login-card .form-control {
    border-color: #cbd5e1;
    border-radius: 6px;
    padding: 0.8rem 0.9rem;
  }


/* Source: resume\templates\project.html */
/* ===== Hero ===== */
  .proj-hero {
    background: linear-gradient(135deg, #0a192f 0%, #112240 60%, #1d3461 100%);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 6rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .proj-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(100,255,218,0.08) 0%, transparent 70%);
    pointer-events: none;
  }

  .proj-hero-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #64ffda;
    background: rgba(100,255,218,0.08);
    border: 1px solid rgba(100,255,218,0.2);
    border-radius: 50px;
    padding: 0.35rem 1.1rem;
    margin-bottom: 1.2rem;
  }

  .proj-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: #e6f1ff;
    letter-spacing: -1px;
    margin-bottom: 1rem;
  }

  .proj-hero h1 span { color: #64ffda; }

  .proj-hero p {
    font-size: 1.1rem;
    color: #8892b0;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
  }

  .hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
  }

  .hero-stat {
    text-align: center;
  }

  .hero-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #64ffda;
    line-height: 1;
  }

  .hero-stat-label {
    font-size: 0.78rem;
    color: #8892b0;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 0.3rem;
  }

  /* ===== Section headers ===== */
  .section-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #007bff;
    margin-bottom: 0.5rem;
  }

  .section-heading {
    font-size: 1.9rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 0.6rem;
  }

  .section-divider {
    width: 50px;
    height: 4px;
    background: linear-gradient(to right, #007bff, #64ffda);
    border-radius: 4px;
    margin: 0 auto 1.5rem;
  }

  /* ===== Project cards ===== */
  .proj-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .proj-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  }

  .proj-img-wrap {
    position: relative;
    overflow: hidden;
    height: 210px;
  }

  .proj-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .proj-card:hover .proj-img-wrap img { transform: scale(1.08); }

  .proj-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
  }

  .badge-live {
    background: #10b981;
    color: #fff;
  }

  .badge-prototype {
    background: #f59e0b;
    color: #fff;
  }

  .proj-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .proj-body h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.6rem;
  }

  .proj-body p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.65;
    flex-grow: 1;
    margin-bottom: 1.2rem;
  }

  .proj-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
  }

  .proj-tag {
    font-size: 0.72rem;
    font-weight: 600;
    color: #3b82f6;
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.15);
    border-radius: 50px;
    padding: 0.2rem 0.65rem;
  }

  .proj-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #007bff;
    text-decoration: none;
    transition: gap 0.2s ease;
  }

  .proj-link:hover { gap: 0.7rem; color: #0056b3; }

  /* ===== Infrastructure section ===== */
  .infra-section {
    background: linear-gradient(135deg, #0a192f, #112240);
    color: #e6f1ff;
    padding: 5rem 0;
  }

  .infra-section .section-eyebrow { color: #64ffda; }
  .infra-section .section-heading { color: #e6f1ff; }

  .infra-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 2rem;
  }

  .infra-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e6f1ff;
    margin-bottom: 0.75rem;
  }

  .infra-card p {
    color: #8892b0;
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
  }

  .infra-img-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .infra-img-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .infra-img-grid img:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  }

  @media (max-width: 576px) {
    .infra-img-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 2rem; }
  }


/* Source: resume\templates\tech_news.html */
.news-hero {
    background:
      linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.78)),
      url('/static/images/tech-news-hero.png') center/cover no-repeat;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
  }

  .news-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5px;
    background: linear-gradient(90deg, #0ea5e9, #8b5cf6, #10b981);
  }

  .news-hero-inner {
    max-width: 760px;
    position: relative;
    z-index: 1;
  }

  .news-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #38bdf8;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1.25rem;
    padding: 0.48rem 0.9rem;
    text-transform: uppercase;
  }

  .news-title {
    color: #fff;
    font-size: clamp(2.7rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
  }

  .news-subtitle {
    color: #cbd5e1;
    font-size: 1.08rem;
    line-height: 1.8;
    max-width: 650px;
  }

  .news-section {
    background: #f8fafc;
    padding: 4.5rem 0;
  }

  .news-search {
    align-items: stretch;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr) auto auto;
    margin: 0 auto 2rem;
    max-width: 820px;
  }

  .news-search-field {
    position: relative;
  }

  .news-search-field i {
    color: #64748b;
    left: 1rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .news-search input {
    background: #fff;
    border: 1px solid #dbe5ef;
    border-radius: 8px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
    color: #0f172a;
    height: 48px;
    outline: none;
    padding: 0 1rem 0 2.75rem;
    width: 100%;
  }

  .news-search input:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.13);
  }

  .news-search button,
  .news-search-clear {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    font-weight: 800;
    height: 48px;
    justify-content: center;
    padding: 0 1.1rem;
    text-decoration: none;
  }

  .news-search button {
    background: #0284c7;
    border: 1px solid #0284c7;
    color: #fff;
  }

  .news-search-clear {
    background: #fff;
    border: 1px solid #dbe5ef;
    color: #475569;
  }

  .news-results-label {
    color: #64748b;
    font-size: 0.92rem;
    font-weight: 600;
    margin: -0.65rem 0 1.5rem;
    text-align: center;
  }

  .news-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.12);
  }

  .news-card-top {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    min-height: 9px;
  }

  .news-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.5rem;
  }

  .news-category {
    color: #0284c7;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.8px;
    margin-bottom: 0.7rem;
    text-transform: uppercase;
  }

  .news-card h3 {
    color: #0f172a;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 0.7rem;
  }

  .news-date {
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }

  .news-rating {
    align-items: center;
    display: inline-flex;
    gap: 0.12rem;
    margin-bottom: 0.75rem;
  }

  .news-rating button {
    background: transparent;
    border: 0;
    color: #cbd5e1;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0 0.04rem;
    transition: color 0.16s ease, transform 0.16s ease;
  }

  .news-rating button:hover,
  .news-rating .is-filled {
    color: #f59e0b;
  }

  .news-rating button:hover {
    transform: translateY(-1px);
  }

  .news-rating small {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 800;
    margin-left: 0.35rem;
  }

  .news-summary {
    color: #64748b;
    flex: 1;
    line-height: 1.75;
  }

  .news-link {
    align-items: center;
    color: #0284c7;
    display: inline-flex;
    font-weight: 800;
    gap: 0.45rem;
    margin-top: 1.25rem;
    text-decoration: none;
  }

  .news-pagination {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: center;
    margin-top: 2.5rem;
  }

  .news-pagination a,
  .news-pagination span {
    align-items: center;
    background: #fff;
    border: 1px solid #dbe5ef;
    border-radius: 8px;
    color: #0f172a;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 800;
    height: 40px;
    justify-content: center;
    min-width: 40px;
    padding: 0 0.85rem;
    text-decoration: none;
  }

  .news-pagination a:hover,
  .news-pagination .active {
    background: #0284c7;
    border-color: #0284c7;
    color: #fff;
  }

  .news-pagination .disabled {
    color: #94a3b8;
    cursor: not-allowed;
  }

  @media (max-width: 640px) {
    .news-search {
      grid-template-columns: 1fr;
    }

    .news-search button,
    .news-search-clear {
      width: 100%;
    }
  }


/* Source: resume\templates\tech_news_detail.html */
.news-detail-hero {
    background:
      linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.82)),
      url('/static/images/tech-news-hero.png') center/cover no-repeat;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    padding: 5rem 0 4rem;
  }

  .news-detail-inner {
    max-width: 820px;
  }

  .news-detail-category {
    color: #38bdf8;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.8px;
    margin-bottom: 1rem;
    text-transform: uppercase;
  }

  .news-detail-title {
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1rem;
  }

  .news-detail-date {
    color: #cbd5e1;
    font-weight: 700;
  }

  .news-detail-rating {
    margin: 0 0 1rem;
  }

  .news-detail-rating span {
    font-size: 1.18rem;
  }

  .news-detail-rating button {
    font-size: 1.18rem;
  }

  .news-detail-rating small {
    color: #e2e8f0;
  }

  .news-detail-section {
    background: #f8fafc;
    padding: 4rem 0;
  }

  .news-detail-article {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
    margin: 0 auto;
    max-width: 860px;
    padding: clamp(1.35rem, 4vw, 2.5rem);
  }

  .news-detail-body {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.9;
    white-space: pre-line;
  }

  .news-detail-actions {
    align-items: center;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.25rem;
  }


/* Source: resume\templates\navbar.html */
.top-contact-bar {
    background: var(--topbar-bg-color, #020617);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    color: var(--topbar-text-color, #cbd5e1);
    font-family: var(--topbar-font-family, inherit);
    font-size: var(--topbar-font-size, 0.78rem);
  }

  .top-contact-inner {
    align-items: center;
    display: flex;
    gap: 0.8rem;
    justify-content: space-between;
    min-height: 30px;
    padding: var(--topbar-padding-y, 0.18rem) 0;
  }

  .top-contact-list {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.95rem;
  }

  .top-contact-link {
    align-items: center;
    color: var(--topbar-text-color, #cbd5e1);
    display: inline-flex;
    gap: 0.32rem;
    line-height: 1.2;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .top-contact-link i {
    color: var(--topbar-icon-color, #38bdf8);
    font-size: 0.82rem;
  }

  .top-contact-link:hover {
    color: #fff;
  }

  .top-social-links {
    align-items: center;
    display: flex;
    gap: 0.35rem;
  }

  .top-social-link {
    align-items: center;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.24);
    border-radius: 50%;
    color: #7dd3fc;
    display: inline-flex;
    font-size: 0.78rem;
    height: var(--topbar-social-size, 24px);
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    width: var(--topbar-social-size, 24px);
  }

  .top-social-link:hover {
    background: #0ea5e9;
    color: #fff;
    transform: translateY(-2px);
  }

  /* Language button */
  .lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38bdf8 !important;
    font-size: 1.1rem;
    padding: 0 !important;
    margin: 0 !important;
    transition: all 0.3s ease;
  }

  .lang-btn:hover, .lang-btn.show {
    background: rgba(56, 189, 248, 0.25);
    border-color: #38bdf8;
    color: #fff !important;
    transform: scale(1.08);
  }

  .lang-btn::after { display: none; }

  .lang-dropdown {
    background: #1e293b;
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 12px;
    padding: 0.5rem 0;
    min-width: 175px;
    max-height: 380px;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  }

  .lang-dropdown::-webkit-scrollbar { width: 4px; }
  .lang-dropdown::-webkit-scrollbar-track { background: transparent; }
  .lang-dropdown::-webkit-scrollbar-thumb { background: rgba(56,189,248,0.3); border-radius: 4px; }

  .lang-dropdown-header {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #38bdf8;
    padding: 0.4rem 1rem 0.6rem;
    border-bottom: 1px solid rgba(56,189,248,0.15);
    margin-bottom: 0.25rem;
    list-style: none;
  }

  .lang-item {
    display: flex !important;
    align-items: center;
    gap: 0.6rem;
    color: #cbd5e1 !important;
    padding: 0.45rem 1rem !important;
    font-size: 0.88rem;
    transition: all 0.2s ease;
  }

  .lang-item:hover {
    background: rgba(56,189,248,0.1) !important;
    color: #fff !important;
    padding-left: 1.3rem !important;
  }

  .lang-flag { font-size: 1.1rem; line-height: 1; flex-shrink: 0; }

  /* ---- Sidebar overlay ---- */
  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1055;
  }
  .sidebar-overlay.active { display: block; }

  /* ---- Mobile sidebar — outside <nav> so no stacking context issue ---- */
  #mobileSidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 260px;
    height: 100vh;
    background-color: #1e293b;
    z-index: 1060;
    overflow-y: auto;
    transition: left 0.3s ease;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
  }

  #mobileSidebar.sidebar-open { left: 0; }

  .sidebar-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .sidebar-close-btn {
    background: none;
    border: none;
    color: #cbd5e1;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
  }

  .sidebar-close-btn:hover { color: #fff; }

  .sidebar-nav-link {
    display: flex;
    align-items: center;
    color: #cbd5e1;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    margin: 0.2rem 0;
    transition: all 0.3s ease;
  }

  .sidebar-nav-link:hover, .sidebar-nav-link.active {
    color: #fff;
    background-color: rgba(255,255,255,0.1);
  }

  @media (max-width: 767.98px) {
    .top-contact-inner {
      align-items: flex-start;
      flex-direction: column;
      gap: 0.4rem;
      padding: 0.45rem 0;
    }

    .top-contact-list {
      align-items: flex-start;
      flex-direction: column;
      gap: 0.45rem;
    }
  }

/* Global template utilities */
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
}

body {
  top: 0 !important;
}

.goog-logo-link,
.goog-te-gadget span {
  display: none !important;
}

.goog-te-gadget {
  font-size: 0 !important;
}

#google_translate_element {
  display: none;
}

.positioned-content {
  position: relative;
  z-index: 1;
}

.project-section-subtitle {
  max-width: 520px;
  margin: 0 auto;
}

.editor-wide-grid {
  grid-column: 1 / -1;
}

.editor-image-preview {
  background: #0f172a;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  max-width: 260px;
  overflow: hidden;
}

.editor-image-preview img {
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  width: 100%;
}

.footer-muted-text {
  color: #cbd5e1;
}

.account-shell {
  background: #f8fafc;
  min-height: 70vh;
}

.account-card-login {
  max-width: 460px;
}

.account-card-register {
  max-width: 520px;
}

.account-card-profile {
  max-width: 680px;
}

/* Mobile public header refinements */
@media (max-width: 767.98px) {
  .top-contact-bar .container,
  .navbar-custom .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .top-contact-inner {
    align-items: center;
    flex-direction: row;
    gap: 0.6rem;
    justify-content: space-between;
    min-height: 36px;
    padding: 0.35rem 0;
  }

  .top-contact-list {
    align-items: center;
    flex: 1 1 auto;
    flex-direction: row;
    gap: 0.4rem 0.7rem;
    min-width: 0;
    overflow: hidden;
  }

  .top-contact-link {
    font-size: 0.72rem;
    min-width: 0;
    white-space: nowrap;
  }

  .top-contact-link span {
    display: inline-block;
    max-width: 42vw;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
  }

  .top-social-links {
    flex: 0 0 auto;
    gap: 0.28rem;
  }

  .top-social-link {
    height: 26px;
    width: 26px;
  }

  .navbar-custom {
    padding: 0.55rem 0;
  }

  .navbar-custom .container {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    min-width: 0;
  }

  .navbar-brand-custom {
    align-items: center;
    display: inline-flex;
    flex: 1 1 auto;
    font-size: 1rem;
    letter-spacing: 0;
    line-height: 1.15;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .navbar-brand-custom i {
    flex: 0 0 auto;
    margin-right: 0.35rem !important;
  }

  .navbar-custom .dropdown.d-lg-none,
  .navbar-toggler {
    flex: 0 0 auto;
  }

  .navbar-custom .dropdown.d-lg-none {
    margin-left: auto !important;
    margin-right: 0 !important;
  }

  .lang-btn,
  .navbar-toggler {
    height: 38px;
    width: 38px;
  }

  .navbar-toggler {
    align-items: center;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    padding: 0;
  }

  .navbar-toggler-icon {
    height: 1.1em;
    width: 1.1em;
  }
}

@media (max-width: 420px) {
  .top-contact-link:first-child span {
    max-width: 34vw;
  }

  .top-contact-link:nth-child(2) span {
    max-width: 30vw;
  }

.navbar-brand-custom {
    font-size: 0.92rem;
  }
}

/* YCoders Initiative */
.ycoders-page {
  background:
    radial-gradient(circle at 8% 6%, rgba(56, 189, 248, 0.14), transparent 28%),
    radial-gradient(circle at 92% 42%, rgba(16, 185, 129, 0.1), transparent 24%),
    linear-gradient(180deg, #f7fbff 0%, #eef7fb 100%);
  color: #102033;
}

.ycoders-hero {
  position: relative;
  overflow: hidden;
  padding: 7.2rem 0 6rem;
  background:
    linear-gradient(110deg, rgba(2, 12, 27, 0.98), rgba(3, 43, 62, 0.93) 46%, rgba(6, 78, 59, 0.82)),
    url('/static/images/tech-news-hero.png') center/cover no-repeat;
  color: #ffffff;
  isolation: isolate;
}

.ycoders-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(56, 189, 248, 0.32), transparent 28%),
    radial-gradient(circle at 78% 16%, rgba(16, 185, 129, 0.28), transparent 24%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 54px 54px, 54px 54px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.72) 64%, transparent 100%);
  pointer-events: none;
  z-index: -1;
}

.ycoders-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, #f7fbff);
  pointer-events: none;
}

.ycoders-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  min-height: 430px;
}

.ycoders-hero-copy {
  max-width: 820px;
  padding-top: 0.35rem;
  padding-left: clamp(0.75rem, 2vw, 1.6rem);
}

.ycoders-hero .section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.92rem;
  border: 1px solid rgba(125, 211, 252, 0.36);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #a7f3d0;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.ycoders-hero h1 {
  max-width: 700px;
  margin: 1.15rem 0 1rem;
  font-size: clamp(3rem, 6.4vw, 5.35rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.98;
  text-shadow: 0 24px 74px rgba(0, 0, 0, 0.38);
}

.ycoders-hero p {
  max-width: 640px;
  margin: 0;
  color: #d9edf5;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.72;
}

.ycoders-support-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.9rem;
  min-height: 50px;
  padding: 0.86rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #a7f3d0, #38bdf8);
  color: #052437;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 20px 50px rgba(56, 189, 248, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ycoders-support-btn:hover {
  color: #052437;
  transform: translateY(-2px);
  box-shadow: 0 25px 58px rgba(16, 185, 129, 0.32);
}

.ycoders-impact-panel {
  position: relative;
  display: grid;
  gap: 1.15rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  background: rgba(5, 20, 34, 0.54);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.ycoders-impact-panel::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(125, 211, 252, 0.55), rgba(16, 185, 129, 0.36), transparent);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.ycoders-code-card {
  overflow: hidden;
  border-radius: 20px;
  background: #06111f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ycoders-code-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.ycoders-code-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.ycoders-code-bar span:nth-child(1) { background: #fb7185; }
.ycoders-code-bar span:nth-child(2) { background: #fbbf24; }
.ycoders-code-bar span:nth-child(3) { background: #34d399; }

.ycoders-code-bar strong {
  margin-left: auto;
  color: #8fb6c8;
  font-size: 0.75rem;
  font-weight: 800;
}

.ycoders-code-lines {
  display: grid;
  gap: 0.65rem;
  padding: 1.1rem;
}

.ycoders-code-lines code {
  display: block;
  color: #c7e7f4;
  font-size: 0.87rem;
  white-space: pre-wrap;
}

.ycoders-code-lines span {
  color: #67e8f9;
}

.ycoders-code-lines em {
  color: #a7f3d0;
  font-style: normal;
}

.ycoders-panel-kicker {
  display: inline-flex;
  width: fit-content;
  color: #67e8f9;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ycoders-impact-panel h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1.65rem;
  font-weight: 950;
}

.ycoders-impact-panel p {
  margin: 0;
  color: #b9d5e6;
  line-height: 1.6;
}

.ycoders-impact-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.72rem;
}

.ycoders-impact-list div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.78rem;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.08);
  color: #e6f6ff;
  font-weight: 800;
}

.ycoders-impact-list div:hover {
  background: rgba(255, 255, 255, 0.12);
}

.ycoders-impact-list i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.16);
  color: #67e8f9;
}

.ycoders-content-section {
  padding: 4.2rem 0 5.4rem;
}

.ycoders-stats-band {
  position: relative;
  z-index: 2;
  margin-top: -2rem;
}

.ycoders-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 0.85rem;
  border: 1px solid #d5e8f0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 60px rgba(16, 32, 51, 0.12);
  backdrop-filter: blur(10px);
}

.ycoders-stats-grid div {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 72px;
  padding: 0.85rem 1rem;
  border-radius: 13px;
  background: linear-gradient(135deg, #f8fcff, #eef9fb);
}

.ycoders-stats-grid strong {
  color: #087ea4;
  font-size: 1.4rem;
  font-weight: 950;
  line-height: 1;
}

.ycoders-stats-grid span {
  color: #43576a;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.35;
}

.ycoders-intro-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.36fr);
  gap: 1rem;
  align-items: stretch;
  margin-bottom: 1.35rem;
}

.ycoders-intro,
.ycoders-support-card,
.ycoders-focus-card {
  border: 1px solid #d8e9f1;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 56px rgba(16, 32, 51, 0.08);
}

.ycoders-intro {
  padding: clamp(1.25rem, 4vw, 2rem);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.ycoders-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #38bdf8, #10b981);
}

.ycoders-intro h2 {
  max-width: 760px;
  margin: 0.55rem 0 0.9rem;
  color: #102033;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 950;
  line-height: 1.08;
}

.ycoders-intro p,
.ycoders-intro-text {
  color: #5d7082;
  line-height: 1.82;
}

.ycoders-intro-text {
  max-width: 860px;
}

.ycoders-intro-text p:last-child {
  margin-bottom: 0;
}

.ycoders-intro-text .ql-align-left { text-align: left; }
.ycoders-intro-text .ql-align-center { text-align: center; }
.ycoders-intro-text .ql-align-right { text-align: right; }
.ycoders-intro-text .ql-align-justify {
  text-align: justify;
  text-justify: inter-word;
}

.ycoders-support-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(16, 185, 129, 0.09)),
    #ffffff;
}

.ycoders-support-card > i {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: #e0f7ff;
  color: #087ea4;
  font-size: 1.45rem;
  box-shadow: 0 12px 26px rgba(8, 126, 164, 0.16);
}

.ycoders-support-card strong {
  color: #102033;
  font-size: 1rem;
  line-height: 1.45;
}

.ycoders-inline-support {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.64rem 0.9rem;
  border: 1px solid #b8e7f6;
  border-radius: 9px;
  background: #087ea4;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
}

.ycoders-inline-support:hover {
  color: #ffffff;
  background: #065f7c;
}

.ycoders-focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ycoders-focus-card {
  position: relative;
  overflow: hidden;
  padding: 1.35rem;
  border-radius: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ycoders-focus-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #38bdf8, #10b981);
}

.ycoders-focus-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 66px rgba(16, 32, 51, 0.13);
}

.ycoders-focus-card:hover .ycoders-focus-icon {
  background: #087ea4;
  color: #ffffff;
}

.ycoders-focus-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: #e0f7ff;
  color: #087ea4;
  font-size: 1.35rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ycoders-focus-card span {
  display: block;
  margin-bottom: 0.35rem;
  color: #0f766e;
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ycoders-focus-card h3 {
  margin-bottom: 0.55rem;
  color: #102033;
  font-size: 1.08rem;
  font-weight: 950;
}

.ycoders-focus-card p {
  margin: 0;
  color: #657789;
  line-height: 1.68;
}

@media (max-width: 991.98px) {
  .ycoders-hero-grid,
  .ycoders-intro-card {
    grid-template-columns: 1fr;
  }

  .ycoders-hero-grid {
    min-height: 0;
  }

  .ycoders-impact-panel {
    max-width: 620px;
  }

  .ycoders-focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ycoders-stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .ycoders-hero {
    padding: 4.5rem 0 4rem;
  }

  .ycoders-hero-copy {
    padding-left: 0;
  }

  .ycoders-hero h1 {
    max-width: 100%;
    margin-top: 1rem;
  }

  .ycoders-hero p {
    max-width: 100%;
    line-height: 1.65;
  }

  .ycoders-focus-grid {
    grid-template-columns: 1fr;
  }
}

