* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}

/* Icons are an inline SVG sprite (see scripts/build-icon-sprite.js), not a
   webfont. Sizing still comes from font-size on the parent rules, because
   the sprite scales to 1em and inherits colour via currentColor. */
.icon-sprite {
  display: none;
}

.svg-icon {
  display: inline-block;
  height: 1em;
  width: auto;
  fill: currentColor;
  flex-shrink: 0;
  vertical-align: baseline;
}

:root {
  --color-primary: #191d2b;
  --color-secondary: #558ae6;
  --color-white: #FFFFFF;
  --color-black: #000;
  --color-grey0: #f8f8f8;
  --color-grey-1: #dbe1e8;
  --color-grey-2: #b2becd;
  --color-grey-3: #6b7882;
  --color-grey-4: #454e56;
  --color-grey-5: #2a2e35;
  --color-grey-6: #12181b;
  --br-sm-2: 14px;
  --box-shadow-1: 0 3px 15px rgba(0,0,0,.3);
}

/* Applied to <html> by the pre-paint script in index.html, so the custom
   properties below cascade into <body> before the first paint. */
.light-mode {
  --color-primary: #FFFFFF;
  --color-secondary: #09809b;
  --color-white: #454e56;
  --color-black: #000;
  --color-grey0: #f8f8f8;
  --color-grey-1: #6b7882;
  --color-grey-2: #6b7882;
  --color-grey-3: #6b7882;
  --color-grey-4: #454e56;
  --color-grey-5: #f8f8f8;
  --color-grey-6: #12181b;
}

body {
  background-color: var(--color-primary);
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  color: var(--color-white);
  transition: all 0.4s ease-in-out;
}

a {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  font-family: inherit;
}

header {
  min-height: 100vh;
  color: var(--color-white);
  overflow: hidden;
  padding: 0 !important;
}

section {
  min-height: 100vh;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  padding: 3rem 18rem;
}

.container {
  display: none;
  transform: translateY(-100%) scale(0);
  transition: all 0.4s ease-in-out;
  background-color: var(--color-primary);
}

.active {
  display: block;
  animation: appear 1s ease-in-out;
  transform: translateY(0) scaleY(1);
}
@keyframes appear {
  0% {
    transform: translateY(-100%) scaleY(0);
  }
  100% {
    transform: translateY(0) scaleY(1);
  }
}

.controls {
  position: fixed;
  z-index: 10;
  top: 50%;
  right: 3%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
}
.controls .control {
  padding: 1rem;
  cursor: pointer;
  background-color: var(--color-grey-4);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.7rem 0;
  box-shadow: var(--box-shadow-1);
}
.controls .control .svg-icon {
  font-size: 1.2rem;
  color: var(--color-grey-2);
  pointer-events: none;
}
.controls .active-btn {
  background-color: var(--color-secondary);
  transition: all 0.4s ease-in-out;
}
.controls .active-btn .svg-icon {
  color: var(--color-white);
}

.theme-btn {
  top: 5%;
  right: 3%;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--color-grey-4);
  cursor: pointer;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.1s ease-in-out;
}
.theme-btn:active {
  transform: translateY(-3px);
}
.theme-btn .svg-icon {
  font-size: 1.4rem;
  color: var(--color-grey-2);
  pointer-events: none;
}

/* The tab controls and the theme toggle are real <button>s so they are
   keyboard operable. These resets keep them looking exactly as they did
   when they were <div>s. */
.controls .control,
.theme-btn {
  border: none;
  font: inherit;
  color: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.controls .control:focus-visible,
.theme-btn:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 3px;
}

/* Panels are focusable so keyboard users can scroll them, but they should
   not show a focus ring when revealed by a click. */
.container:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: -3px;
}

.container:focus:not(:focus-visible) {
  outline: none;
}

/*Header animations*/
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}
@keyframes floatReverse {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(20px) rotate(-5deg); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

/*Header-content*/
.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}
.header-content .right-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 700px;
  padding: 2rem;
  position: relative;
  z-index: 1;
}
.header-content .right-header .name {
  font-size: 3rem;
  animation: fadeInUp 0.8s ease-out both;
}
.header-content .right-header .name span {
  color: var(--color-secondary);
}
.header-content .right-header p {
  margin: 1.5rem 0;
  line-height: 2rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}
.header-content .right-header .btn-con {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

/*Floating background shapes*/
.header-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.header-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: var(--color-secondary);
}
.header-shapes .shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: -5%;
  opacity: 0.07;
  animation: float 8s ease-in-out infinite;
}
.header-shapes .shape-2 {
  width: 200px;
  height: 200px;
  bottom: 15%;
  right: 5%;
  opacity: 0.05;
  animation: floatReverse 10s ease-in-out infinite;
}
.header-shapes .shape-3 {
  width: 120px;
  height: 120px;
  top: 20%;
  right: 15%;
  opacity: 0.06;
  animation: float 12s ease-in-out infinite;
  border-radius: 30%;
}
.header-shapes .shape-4 {
  width: 80px;
  height: 80px;
  bottom: 30%;
  left: 15%;
  opacity: 0.08;
  animation: pulse 6s ease-in-out infinite;
}
.header-shapes .shape-5 {
  width: 160px;
  height: 160px;
  top: 55%;
  left: 40%;
  opacity: 0.04;
  animation: floatReverse 9s ease-in-out infinite;
  border-radius: 40%;
}

/*About*/
.about-container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  padding-top: 3.5rem;
  padding-bottom: 3rem;
}
.about-container .right-about {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1.2rem;
  margin: 2rem auto 0;
  max-width: 800px;
  text-align: center;
}
.about-container .right-about .about-item {
  border: 1px solid var(--color-grey-5);
  border-radius: 5px;
  transition: all 0.4s ease-in-out;
  box-shadow: 1px 2px 15px rgba(0, 0, 0, 0.1);
}
.about-container .right-about .about-item:hover {
  cursor: default;
  transform: translateY(-5px);
  border: 1px solid var(--color-secondary);
  box-shadow: 1px 4px 15px rgba(0, 0, 0, 0.32);
}
.about-container .right-about .about-item .abt-text {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.about-container .right-about .about-item .abt-text .large-text {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-secondary);
}
.about-container .right-about .about-item .abt-text .small-text {
  padding-left: 3rem;
  position: relative;
  text-transform: uppercase;
  font-size: 1.2rem;
  color: var(--color-grey-1);
  letter-spacing: 2px;
}
.about-container .right-about .about-item .abt-text .small-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 2rem;
  height: 2px;
  background-color: var(--color-grey-5);
}
.about-container .left-about {
  padding-right: 1rem;
}
.about-container .left-about p {
  line-height: 2rem;
  padding: 1rem;
  color: var(--color-grey-1);
}
.about-container .left-about h3 {
  font-size: 2rem;
  text-transform: uppercase;
}

.about-stats {
  padding-bottom: 4rem;
}
.about-stats .skills-matrix-legend {
  margin: 0 auto 2rem;
  max-width: 720px;
  text-align: center;
  color: var(--color-grey-2);
  font-size: 0.85rem;
  line-height: 1.8;
  letter-spacing: 0.02em;
}
.about-stats .skills-matrix-legend strong {
  color: var(--color-white);
  font-weight: 600;
}
.about-stats .skills-matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  align-items: start;
}
.about-stats .skills-matrix-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
}
.about-stats .skills-matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.about-stats .skills-matrix-table th,
.about-stats .skills-matrix-table td {
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0.5rem 0.6rem;
}
.about-stats .skills-matrix-table thead th {
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--color-grey-2);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.7rem 0.6rem;
}
.about-stats .skills-matrix-table thead th:first-child {
  text-align: left;
}
.about-stats .skills-matrix-table thead th:not(:first-child) {
  text-align: center;
  width: 32px;
}
.about-stats .skills-matrix-table tbody td:first-child {
  text-align: left;
  color: var(--color-grey-1);
  font-weight: 400;
}
.about-stats .skills-matrix-table tbody td:not(:first-child) {
  text-align: center;
  width: 32px;
}
.about-stats .skills-matrix-table tbody tr:hover:not(.matrix-section-row) {
  background-color: rgba(255, 255, 255, 0.04);
}
.about-stats .skills-matrix-table .matrix-section-row th {
  background: none;
  border-bottom: 2px solid var(--color-secondary);
  color: var(--color-secondary);
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1rem 0.6rem 0.4rem;
}
.about-stats .skills-matrix-table .matrix-check {
  color: var(--color-secondary);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.info-stats {
  display: block;
  max-width: 720px;
  margin: 1.5rem auto 0;
  padding: 0.9rem 1.4rem;
  border-left: 3px solid var(--color-secondary);
  border-radius: 0 8px 8px 0;
  background: rgba(255, 255, 255, 0.03);
  font-family: "Poppins", sans-serif;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--color-grey-2);
  font-style: italic;
}

/*Certifications*/
.certs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  padding-bottom: 3rem;
}
.cert-card {
  display: flex;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 1.3rem 1.2rem;
  transition: border-color 0.25s, transform 0.25s;
}
.cert-card:hover {
  border-color: var(--color-secondary);
  transform: translateY(-3px);
}
.cert-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(69, 127, 228, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  font-size: 1.1rem;
}
.cert-body h3 {
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.35;
  margin-bottom: 0.3rem;
  color: var(--color-white);
}
.cert-issuer {
  font-size: 0.76rem;
  color: var(--color-secondary);
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.cert-meta {
  font-size: 0.72rem;
  color: var(--color-grey-2);
  margin-bottom: 0.15rem;
}
.cert-meta .svg-icon {
  margin-right: 0.35rem;
  font-size: 0.65rem;
  opacity: 0.6;
}
.cert-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.55rem;
}
.cert-skills span {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 10px;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-grey-2);
}

/* Right to Work Badge */
.uk-work-badge {
  display: inline-block;
  margin: 2rem auto 0;
  padding: 0.6rem 1.8rem;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-secondary), #2563eb);
  border-radius: 6px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}
.uk-work-badge .svg-icon {
  margin-right: 0.5rem;
  font-size: 1.15rem;
}

/* Core Capabilities */
.core-capabilities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem 1.2rem;
  padding: 0.5rem 0 1.5rem;
}
.cap-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.65rem 0.9rem;
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
  border-left: 3px solid var(--color-secondary);
  transition: background 0.2s ease, transform 0.2s ease;
  font-size: 0.95rem;
  color: var(--color-grey-2);
  line-height: 1.45;
}
.cap-item:hover {
  background: rgba(255,255,255,0.08);
  transform: translateX(3px);
}
.cap-item .svg-icon {
  color: var(--color-secondary);
  font-size: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.stat-title {
  text-transform: uppercase;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 3rem 0 1.8rem;
  position: relative;
  color: var(--color-white);
}
.stat-title::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.8rem;
  width: 60px;
  height: 2px;
  background-color: var(--color-secondary);
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Vertical Grouped Timeline */
.vtl {
  position: relative;
  padding: 1.5rem 0 1rem 44px;
}
.vtl::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--color-secondary) 6%, var(--color-secondary) 94%, transparent);
}
.vtl-group {
  position: relative;
  margin-bottom: 2.5rem;
}
.vtl-group:last-child {
  margin-bottom: 0;
}
.vtl-period {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 1rem;
  position: relative;
}
.vtl-period .svg-icon {
  position: absolute;
  left: -38px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--color-secondary);
  filter: drop-shadow(0 0 4px var(--color-secondary));
}
.vtl-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.vtl-card {
  flex: 1 1 220px;
  max-width: 320px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 1rem 1rem 0.8rem;
  transition: border-color 0.25s, transform 0.25s;
  position: relative;
}
.vtl-card:hover {
  border-color: var(--color-secondary);
  transform: translateY(-3px);
}
.vtl-card.vtl-work {
  border-left: 3px solid rgba(69, 127, 228, 0.5);
}
.vtl-card.vtl-edu {
  border-left: 3px solid rgba(46, 204, 113, 0.5);
}
.vtl-card.vtl-cert {
  border-left: 3px solid rgba(241, 196, 15, 0.5);
}
.vtl-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
}
.vtl-b-work {
  background: rgba(69, 127, 228, 0.2);
  color: #7bb3ff;
}
.vtl-b-edu {
  background: rgba(46, 204, 113, 0.2);
  color: #6ee7a0;
}
.vtl-b-cert {
  background: rgba(241, 196, 15, 0.2);
  color: #f5d76e;
}
.vtl-card h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.35;
  margin-bottom: 0.2rem;
  color: var(--color-white);
}
.vtl-card .vtl-place {
  font-size: 0.72rem;
  color: var(--color-secondary);
  font-weight: 500;
  margin-bottom: 0.15rem;
}
.vtl-card .vtl-date {
  font-size: 0.65rem;
  color: var(--color-grey-3);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}
.vtl-card p {
  font-size: 0.72rem;
  color: var(--color-grey-2);
  line-height: 1.55;
}

/* .blogs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 2rem;
  margin-top: 3rem;
}
.blogs .blog {
  position: relative;
  background-color: var(--color-grey-5);
  border-radius: 5px;
  box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease-in-out;
}
.blogs .blog:hover {
  box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-5px);
  transition: all 0.4s ease-in-out;
}
.blogs .blog:hover img {
  filter: grayscale(0);
  transform: scale(1.1);
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.8);
}
.blogs .blog img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  filter: grayscale(100%);
  transition: all 0.4s ease-in-out;
}
.blogs .blog .blog-text {
  margin-top: -7px;
  padding: 1.1rem;
  border-top: 8px solid var(--color-secondary);
}
.blogs .blog .blog-text h4 {
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
  transition: all 0.4s ease-in-out;
  cursor: pointer;
}
.blogs .blog .blog-text h4:hover {
  color: var(--color-secondary);
}
.blogs .blog .blog-text p {
  color: var(--color-grey-2);
  line-height: 2rem;
  padding-bottom: 1rem;
} */

.contact-content-con {
  display: flex;
  padding-top: 3.5rem;
}
.contact-content-con .left-contact {
  flex: 2;
}
.contact-content-con .left-contact h4 {
  margin-top: 1rem;
  font-size: 2rem;
  text-transform: uppercase;
}
.contact-content-con .left-contact p {
  margin: 1rem 0;
  line-height: 2rem;
}
.contact-content-con .left-contact .contact-info .contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.contact-content-con .left-contact .contact-info .contact-item p {
  margin: 0.3rem 0 !important;
  padding: 0 !important;
}
.contact-content-con .left-contact .contact-info .contact-item .icon {
  display: grid;
  grid-template-columns: 40px 1fr;
}
.contact-content-con .left-contact .contact-info .contact-item .icon .svg-icon {
  display: flex;
  align-items: center;
  font-size: 1.3rem;
}
.contact-content-con .left-contact .contact-icon {
  display: flex;
  margin-top: 2rem;
}
.contact-content-con .left-contact .contact-icon a {
  display: flex;
  align-items: center;
  color: var(--color-white);
  background-color: var(--color-grey-5);
  cursor: pointer;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 0 0.4rem;
  transition: all 0.4s ease-in-out;
}
.contact-content-con .left-contact .contact-icon a:hover {
  background-color: var(--color-secondary);
}
.contact-content-con .left-contact .contact-icon a:hover .svg-icon {
  color: var(--color-primary);
}
.contact-content-con .left-contact .contact-icon a .svg-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.contact-content-con .right-contact {
  flex: 2;
  margin-left: 3rem;
}
.contact-content-con .right-contact .input-control {
  margin: 1.5rem 0;
}
.contact-content-con .right-contact .input-control input, .contact-content-con .right-contact .input-control textarea {
  border-radius: 30px;
  font-weight: inherit;
  font-size: inherit;
  font-family: inherit;
  padding: 0.8rem 1.1rem;
  outline: none;
  border: none;
  background-color: var(--color-grey-5);
  width: 100%;
  color: var(--color-white);
  resize: none;
}
.contact-content-con .right-contact .i-c-2 {
  display: flex;
}
.contact-content-con .right-contact .i-c-2 > :last-child {
  margin-left: 1.5rem;
}
.contact-content-con .right-contact .submit-btn {
  display: flex;
  justify-content: flex-start;
}

/*Independed components*/
.btn-con {
  display: flex;
  align-self: flex-start;
}

.main-btn {
  border-radius: 30px;
  color: inherit;
  font-weight: 600;
  position: relative;
  border: 1px solid var(--color-secondary);
  display: flex;
  align-self: flex-start;
  align-items: center;
  overflow: hidden;
}
.main-btn .btn-text {
  padding: 0 2rem;
}
.main-btn .btn-icon {
  background-color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 1rem;
}
.main-btn::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  transform: translateX(-100%);
  transition: all 0.4s ease-out;
  z-index: -1;
}
.main-btn:hover {
  transition: all 0.4s ease-out;
}
.main-btn:hover::before {
  width: 100%;
  height: 100%;
  background-color: var(--color-secondary);
  transform: translateX(0);
  transition: all 0.4s ease-out;
}

.submit-button {
  background-color: #3171e1; /* AA with white text (4.59:1) */
  border: none; /* Remove button border */
  color: white; /* Set button text color */
  padding: 12px 24px; /* Set padding */
  text-align: center; /* Center button text */
  text-decoration: none; /* Remove underline */
  display: inline-block; /* Display as inline block */
  font-size: 16px; /* Set font size */
  margin-top: 10px; /* Add some space above the button */
  border-radius: 4px; /* Add rounded corners */
}
.submit-button:hover {
  background-color: #245fc9; /* darker still on hover */
  cursor: pointer; /* Change cursor to pointer on hover */
}

#notification-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
}

#notification {
  padding: 10px 20px;
  background-color: #333;
  color: #fff;
  border-radius: 5px;
  max-width: min(90vw, 380px);
  opacity: 0;
  /* visibility as well as opacity: an invisible box still catches clicks. */
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out, visibility 0.3s;
}

#notification.is-success {
  background-color: #1e7a45;
}

#notification.is-error {
  background-color: #a32b2b;
}

#notification.show {
  opacity: 1;
  visibility: visible;
}

.main-title {
  text-align: center;
}
.main-title h2 {
  position: relative;
  text-transform: uppercase;
  font-size: 4rem;
  font-weight: 700;
}
.main-title h2 span {
  color: var(--color-secondary);
}
.main-title h2 .bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--color-grey-5);
  transition: all 0.4s ease-in-out;
  z-index: -1;
  transform: translate(-50%, -50%);
  font-weight: 800;
  font-size: 6.3rem;
}

.about-container .left-about p {
  padding-left: 0;
}

@media screen and (max-width: 600px) {
  header {
    padding: 0 !important;
  }

  .theme-btn {
    width: 50px;
    height: 50px;
  }

  .header-content {
    padding-bottom: 6rem;
  }

  .right-header {
    padding-right: 0rem !important;
    width: 90%;
    margin: 0 auto;
  }
  .right-header .name {
    font-size: 2.5rem !important;
    text-align: center;
    padding-top: 3rem;
  }

  .controls {
    top: auto;
    bottom: 0;
    flex-direction: row;
    justify-content: center;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    background-color: var(--color-grey-5);
  }
  .controls .control {
    margin: 1rem 0.3rem;
  }

  .about-container {
    grid-template-columns: repeat(1, 1fr);
  }
  .about-container .right-about {
    grid-template-columns: repeat(1, 1fr);
    padding-top: 2.5rem;
  }
  .about-container .left-about {
    padding-right: 0;
  }
  .about-container .left-about p {
    padding-left: 0;
  }

  .vtl-row {
    flex-direction: column;
  }
  .vtl-card {
    max-width: 100%;
  }

  .container {
    padding: 2rem 2.5rem !important;
  }

  .about-stats .skills-matrix-grid {
    grid-template-columns: 1fr;
  }
  .about-stats .skills-matrix-table tbody td:first-child {
    white-space: normal;
  }

  .core-capabilities {
    grid-template-columns: 1fr;
  }

  .certs-grid {
    grid-template-columns: 1fr;
  }

  .blogs {
    grid-template-columns: repeat(1, 1fr);
    padding-bottom: 6rem;
  }

  .contact-content-con {
    flex-direction: column;
  }
  .contact-content-con .right-contact {
    margin-left: 0;
    margin-top: 2.5rem;
  }

  .contact-content-con .right-contact .i-c-2 {
    flex-direction: column;
  }

  .contact-content-con .right-contact .i-c-2 > :last-child {
    margin-left: 0;
    margin-top: 1.5rem;
  }

  .contact-content-con .right-contact {
    margin-bottom: 6rem;
  }

  .contact-item {
    flex-direction: column;
    margin: 1rem 0;
  }
  .contact-item p {
    font-size: 15px;
    color: var(--color-grey-2);
  }
  .contact-item span {
    font-size: 15px;
  }
  .contact-item .icon {
    grid-template-columns: 25px 1fr;
  }

  .main-title h2 {
    font-size: 2rem;
  }
  .main-title h2 span {
    font-size: 2.3rem;
  }
  .main-title h2 .bg-text {
    font-size: 2.3rem;
  }
}
@media screen and (max-width: 1432px) {
  .container {
    padding: 7rem 11rem;
  }

  .contact-content-con {
    flex-direction: column;
  }
  .contact-content-con .right-contact {
    margin-left: 0;
    margin-top: 2.5rem;
  }

  .contact-content-con .right-contact .i-c-2 {
    flex-direction: column;
  }

  .contact-content-con .right-contact .i-c-2 > :last-child {
    margin-left: 0;
    margin-top: 1.5rem;
  }

  .contact-content-con .right-contact {
    margin-bottom: 6rem;
  }

  .main-title h2 .bg-text {
    font-size: 5.5rem;
  }
}
@media screen and (max-width: 1250px) {
  .blogs {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 6rem;
  }

  .header-content .right-header {
    padding-right: 9rem;
  }
}
@media screen and (max-width: 660px) {
  .blogs {
    grid-template-columns: repeat(1, 1fr);
  }

}
@media screen and (max-width: 1070px) {
  .about-container {
    grid-template-columns: repeat(1, 1fr);
  }
  .timeline-board {
    grid-template-columns: repeat(1, 1fr);
  }
  .about-container .right-about {
    padding-top: 2.5rem;
  }

  .main-title h2 {
    font-size: 4rem;
  }
  .main-title h2 span {
    font-size: 4rem;
  }
  .main-title h2 .bg-text {
    font-size: 4.5rem;
  }
}
@media screen and (max-width: 970px) {
  .container {
    padding: 7rem 6rem;
  }

  .about-container .left-about {
    padding-right: 0rem;
  }

  .header-content {
    padding-bottom: 6rem;
  }

  .right-header {
    padding-right: 0rem !important;
    width: 90%;
    margin: 0 auto;
  }
  .right-header .name {
    font-size: 2.5rem !important;
    text-align: center;
    padding-top: 3rem;
  }
}
@media screen and (max-width: 700px) {
  .container {
    padding: 7rem 3rem;
  }

  .about-stats .progress-bars {
    grid-template-columns: repeat(1, 1fr);
  }

  .about-container .right-about {
    grid-template-columns: repeat(1, 1fr);
  }

  .timeline {
    grid-template-columns: repeat(1, 1fr);
  }
  .timeline-board {
    grid-template-columns: repeat(1, 1fr);
  }

  .main-title h2 {
    font-size: 3rem;
  }
  .main-title h2 span {
    font-size: 3rem;
  }
  .main-title h2 .bg-text {
    font-size: 4rem;
  }
  
}

/* Five decorative shapes loop forever, and every panel and heading animates
   in. Honour the OS-level request to stop that. Durations are collapsed
   rather than the animations removed, so fill-mode:both keyframes still
   settle on their end state instead of leaving elements invisible. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- Contact form ------------------------------------------------------ */

/* Labels exist for screen readers; the visible cue stays the placeholder, so
   the original design is unchanged. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Honeypot: positioned away rather than display:none, which some bots detect. */
.hp-field {
  position: absolute !important;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.right-contact .i-c-2 .field {
  flex: 1;
  min-width: 0;
}

.right-contact .field-error {
  display: block;
  min-height: 1.2em;
  padding: 0.35rem 1.1rem 0;
  font-size: 0.85rem;
  color: #ff8a8a;
}

/* The inputs set outline:none, which leaves keyboard users with no focus cue.
   Restore one that is visible in both themes. */
.right-contact .input-control input:focus-visible,
.right-contact .input-control textarea:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}

.right-contact .input-control input.is-invalid,
.right-contact .input-control textarea.is-invalid {
  box-shadow: inset 0 0 0 2px #ff8a8a;
}

.submit-button:disabled {
  opacity: 0.65;
  cursor: progress;
}

.submit-button:focus-visible {
  outline: 3px solid var(--color-white);
  outline-offset: 3px;
}

/* Assembled contact links inherit the surrounding text so the design is
   unchanged, while still being one click for a recruiter. */
.contact-link {
  color: inherit;
  text-decoration: none;
}

.contact-link:hover,
.contact-link:focus-visible {
  text-decoration: underline;
}

.contact-link:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Off-screen until focused, then parked top-left over everything. */
.skip-link {
  position: absolute;
  top: 0;
  left: -9999px;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background-color: var(--color-secondary);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--br-sm-2) 0;
}

.skip-link:focus {
  left: 0;
}
