/* Additions for the static version (loaded after styles.css) */

html { overflow-x: hidden; }
body { font-size: 1.6rem; color: #333; overflow-x: hidden; }
.para, .task-list p, #experiences p { font-size: 1.6rem; line-height: 1.6; }
h4 { font-size: 2rem; }

/* Hero */
.section-1-heading { font-size: clamp(2.6rem, 4.5vw, 5.4rem); letter-spacing: 0.4rem; text-align: center; max-width: 92vw; }
.hero-actions { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.section-1-btn { transition: background-color .2s, color .2s; }
.section-1-btn:hover, .section-1-btn:focus { background-color: #e41c6f; color: #fff; text-decoration: none; }

/* Navbar: neutralise Bootstrap 3 .navbar defaults */
.navbar { min-height: 0; margin-bottom: 0; border: 0; border-radius: 0; left: 0; right: 0; flex-wrap: wrap; }
.navbar-link:focus { text-decoration: none; color: #fff; }

/* Skills bars */
.progress-bar { max-width: 90vw; float: none; }
.progress-text { white-space: nowrap; }

/* About tabs */
.info-tabs { margin-bottom: 4rem; }
.about-tabs a { font-size: 1.5rem; color: #333; }
.about-tabs a.tab-inactive { color: #fff; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.profile .para { word-break: break-word; }

.service h2 { max-width: 80vw; }

/* Experience */
#experiences { width: 90%; max-width: 1200px; }
.timeline-wrapper { width: 100%; }
#experiences .timeline .event .event-left h4 { font-size: 1.6rem; }
#experiences .timeline .event .event-right .content-wrapper { background: #fff; }
.job-title { font-style: italic; }

/* Core skills */
.core-skills { width: 90%; max-width: 1200px; margin: 6rem auto 8rem; }
.core-skills .section-heading { display: block; margin: 0 auto 5rem; width: max-content; max-width: 100%; }
.skill-card { background: #fff; box-shadow: 0.3rem 0.3rem 0.5rem #bbb; padding: 2rem 2.4rem; margin-bottom: 3rem; min-height: 18rem; border-top: 0.4rem solid #e41c6f; }
.skill-card h4 { font-weight: 700; margin-top: 0; }
.skill-card h4 i { color: #e41c6f; margin-right: .6rem; }
.skill-card p { font-size: 1.5rem; line-height: 1.6; margin: 0; }

/* Education */
.project-img { object-fit: cover; max-width: 100%; }
.education-school-caption a { color: #333; }

/* Blog */
#section-5 h3 { font-size: 2.6rem; font-weight: 600; margin: 2rem 0; }
.blog-body p { font-size: 1.6rem; line-height: 1.7; }

/* Contact */
.section-4 { height: auto; min-height: 90vh; padding: 8rem 0; }
.contact-form { max-width: 92vw; }

/* Toast (replaces ngx-toastr) */
.toast-msg { position: fixed; top: 2rem; right: 2rem; z-index: 1000; padding: 1.4rem 2rem; font-size: 1.5rem; color: #fff; border-radius: .4rem; box-shadow: 0 .4rem 1.2rem rgba(0,0,0,.3); opacity: 0; transform: translateY(-1rem); transition: opacity .3s, transform .3s; pointer-events: none; }
.toast-msg.show { opacity: 1; transform: none; }
.toast-msg.success { background: #51a351; }
.toast-msg.error { background: #bd362f; }

@media (max-width: 767px) {
  .core-skills, #experiences { width: 94%; }
  .skill-card { min-height: 0; }
}
@media (max-width: 600px) {
  .section-2 { padding: 10rem 1.6rem; }
  .navbar { height: auto; padding: .6rem 0; }
  .navbar-link { margin: .3rem 1.2rem; }
  .services .service h2 { width: 22rem; }
}

/* Hero: plain background (tag photo removed) */
.section-1 {
  background: radial-gradient(ellipse at 50% 35%, #4a4a55 0%, #2f2f36 55%, #1f1f24 100%);
}

/* Certificates */
.certificates-section { padding: 10rem 0; }
.certificates-section .section-heading { margin-bottom: 8rem; }
.cert-grid { width: 90%; max-width: 1200px; display: grid; grid-template-columns: repeat(auto-fit, minmax(32rem, 1fr)); gap: 4rem; }
.cert-card { background: #fff; box-shadow: 0.3rem 0.3rem 1rem #bbb; border-top: 0.4rem solid #e41c6f; display: flex; flex-direction: column; transition: box-shadow .3s; }
.cert-card:hover { box-shadow: 0.8rem 0.8rem 1.6rem #aaa; }
.cert-media { display: block; aspect-ratio: 4 / 3; background: #eef; overflow: hidden; position: relative; }
.cert-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cert-media-contain img { object-fit: contain; background: #1f3a6e; }
.cert-placeholder-text { display: none; }
.cert-placeholder { border: 0.3rem dashed #e41c6f; display: flex; align-items: center; justify-content: center; text-align: center; color: #777; font-size: 1.6rem; padding: 2rem; }
.cert-placeholder .cert-placeholder-text { display: block; }
.cert-placeholder i { display: block; font-size: 4rem; color: #e41c6f; margin-bottom: 1rem; }
.cert-body { padding: 2rem 2.4rem 2.6rem; }
.cert-issuer { font-size: 1.4rem; color: #e41c6f; text-transform: uppercase; letter-spacing: .2rem; font-weight: 600; margin: 0 0 .6rem; }
.cert-title { font-size: 2.2rem; font-weight: 700; margin: 0 0 1rem; line-height: 1.3; }
.cert-meta { font-size: 1.5rem; color: #666; margin: 0 0 .4rem; }
.cert-verify { display: inline-block; margin-top: 1.2rem; font-size: 1.5rem; font-weight: 600; color: #fff; background: #e41c6f; padding: .6rem 1.4rem; }
.cert-verify:hover, .cert-verify:focus { color: #fff; background: #b8155a; text-decoration: none; }
@media (max-width: 450px) { .cert-grid { grid-template-columns: 1fr; } }
