:root {
  --navy: #061a2e;
  --navy-light: #0a2947;
  --blue: #18558a;
  --light-blue: #a9cce8;
  --background: #f6f8fa;
  --white: #ffffff;
  --text: #0b2035;
  --muted: #617184;
  --border: rgba(7, 35, 59, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}
.credential-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    gap: 2rem;

    justify-content: center;
    align-items: stretch;
    justify-items: center;

    margin-top: 3rem;
}

.credential-grid {
    width: 100%;
    max-width: 360px;

    padding: 2.5rem 2rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    backdrop-filter: blur(16px);

    transition: .3s ease;
}

.credential-grid:hover{
    transform: translateY(-8px);
}

.credential-grid > span{
    margin-bottom:1.2rem;
}

.credential-grid h3{
    margin-bottom:1rem;
    line-height:1.4;
}

.credential-grid p{
    color:var(--muted);
    max-width:280px;
    margin:0 auto;
}

.certification-image {
  width: 90px;
  height: 90px;
  display: block;
  object-fit: contain;
  object-position: center;
  margin-bottom: 28px;
}
.certification-grid .certification-image {
    width: 90px;
    height: 90px;

    display: block;

    margin: 0 auto 28px auto;

    object-fit: contain;
}

/* Header */

.header {
  min-height: 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 7%;
  background: var(--navy);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.logo-symbol {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 11px 11px 11px 4px;
  font-size: 11px;
}

.navigation {
  display: flex;
  gap: 32px;
}

.navigation a {
  color: #aebdca;
  font-size: 13px;
  transition: color 0.2s;
}

.navigation a:hover {
  color: var(--white);
}

.header-contact {
  justify-self: end;
  font-size: 13px;
  font-weight: 700;
}

.menu-button {
  display: none;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu-button span {
  width: 25px;
  height: 2px;
  display: block;
  margin: 5px;
  background: var(--white);
}

/* Hero */

.hero {
  min-height: 700px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.hero-content {
  padding: 120px 7% 75px 12%;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8fbbe0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.eyebrow span {
  width: 28px;
  height: 1px;
  background: #8fbbe0;
}

.hero h1 {
  max-width: 850px;
  margin: 25px 0;
  font-size: clamp(52px, 6vw, 88px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -5px;
}

.hero h1 em {
  color: var(--light-blue);
  font-family: Georgia, serif;
  font-weight: 400;
}

.hero-description {
  max-width: 680px;
  color: #b4c3d0;
  font-size: 19px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  margin-top: 38px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  transition: 0.2s;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  background: var(--white);
  color: var(--navy);
}

.button-outline {
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.statistics {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.statistic {
  display: flex;
  align-items: center;
  gap: 12px;
}

.statistic strong {
  font-size: 27px;
}

.statistic span {
  max-width: 120px;
  color: #8499ac;
  font-size: 11px;
  line-height: 1.4;
}

/* Hero card */

.hero-card-area {
  position: relative;
  padding: 115px 11%;
  background:
    radial-gradient(circle at center, #174c77, #0b3152 40%, #071f35 75%);
}

.hero-card-area::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 45px 45px;
}

.profile-card,
.availability,
.expertise-card {
  position: relative;
  z-index: 2;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 27px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background: rgba(6, 26, 46, 0.75);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
}

.profile-initials {
  width: 105px;
  height: 105px;
  display: grid;
  flex-shrink: 0;
  place-items: center;
  border-radius: 28px 28px 28px 8px;
  background: var(--white);
  color: var(--navy);
  font-size: 31px;
  font-weight: 800;
}

.profile-card small {
  color: #8fa7ba;
  text-transform: uppercase;
}

.profile-card h2 {
  margin: 8px 0 3px;
  font-size: 22px;
}

.profile-card p {
  color: #95a8b8;
  font-size: 12px;
}

.availability {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px auto;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 30px;
  color: #a9bdcc;
  font-size: 10px;
}

.availability span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #78b5e5;
  box-shadow: 0 0 12px #78b5e5;
}

.expertise-card {
  padding: 27px;
  border-radius: 16px;
  background: var(--white);
  color: var(--text);
}

.card-label {
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.expertise-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.expertise-item:last-child {
  border-bottom: 0;
}

.expertise-item span {
  color: #7890a4;
  font-size: 10px;
}

.expertise-item strong {
  font-size: 13px;
}

/* Technology strip */

.technology-strip {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 18px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.technology-strip i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #8aa0b4;
}

/* Sections */

.section {
  padding: 110px 8%;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.42fr 1.58fr;
  gap: 55px;
  margin-bottom: 65px;
}

.section-number {
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.section-heading h2 {
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -4px;
}

.section-heading div > p {
  max-width: 700px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 17px;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 22px;
}

.about-card,
.skills-card {
  padding: 45px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
}

.about-card h3 {
  max-width: 650px;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: -3px;
}

.about-description {
  margin: 25px 0;
  color: var(--muted);
  font-size: 15px;
}

.feature-list {
  list-style: none;
  border-top: 1px solid var(--border);
}

.feature-list li {
  display: flex;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.feature-list span {
  color: var(--blue);
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.skills span {
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--background);
  color: #4e6276;
  font-size: 11px;
  font-weight: 600;
}

/* Experience */

.experience-section {
  padding: 110px 8%;
  background: var(--navy);
  color: var(--white);
}

.experience-heading p {
  color: #94a7b8;
}

.section-number-light {
  color: #8dbbe0;
}

.timeline {
  border-top: 1px solid rgba(255,255,255,0.15);
}

.experience-item {
  display: grid;
  grid-template-columns: 55px 190px 1fr;
  gap: 30px;
  padding: 38px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.experience-number {
  color: #6f879b;
  font-size: 11px;
}

.experience-date {
  color: #a9bbca;
  font-size: 11px;
}

.experience-content small {
  color: #7faed2;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.experience-content h3 {
  margin-top: 7px;
  font-size: clamp(25px, 3vw, 38px);
  letter-spacing: -2px;
}

.experience-content h4 {
  color: #aabac7;
  font-size: 12px;
  font-weight: 600;
}

.experience-content ul {
  max-width: 850px;
  margin-top: 18px;
  padding-left: 18px;
  color: #91a4b5;
  font-size: 13px;
  line-height: 1.8;
}

.trainer-card {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 35px;
  margin-top: 45px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
}

.trainer-card small,
.trainer-card strong {
  display: block;
}

.trainer-card small {
  margin-bottom: 7px;
  color: #7faed2;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.trainer-card strong {
  font-size: 14px;
}

.trainer-card p {
  color: #91a4b5;
  font-size: 12px;
}

/* Certifications */

.certification-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.certification-card {
  min-height: 225px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 27px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
}

.certification-logo {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
}

.certification-card small {
  color: var(--blue);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.certification-card h3 {
  margin: 8px 0;
  font-size: 20px;
  line-height: 1.25;
}

.certification-card p {
  color: var(--muted);
  font-size: 12px;
}

.education {
  display: grid;
  grid-template-columns: 0.55fr 1fr 1fr;
  gap: 30px;
  margin-top: 50px;
  padding-top: 35px;
  border-top: 1px solid var(--border);
}

.education article {
  display: flex;
  gap: 20px;
}

.education article > span {
  color: var(--blue);
  font-size: 10px;
}

.education h3 {
  font-size: 18px;
}

.education article p {
  color: var(--muted);
  font-size: 12px;
}

/* Contact */

.contact-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  padding: 105px 8% 0;
  background: var(--navy);
  color: var(--white);
}

.contact-section h2 {
  margin-top: 22px;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1;
  letter-spacing: -4px;
}

.contact-details {
  align-self: end;
}

.contact-details a {
  display: grid;
  grid-template-columns: 75px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.contact-details a:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.contact-details span {
  color: #7890a3;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-details strong {
  font-size: 15px;
}

.contact-details b {
  transition: transform 0.2s;
}

.contact-details a:hover b {
  transform: translateX(5px);
}

footer {
  min-height: 105px;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 70px;
  border-top: 1px solid rgba(255,255,255,0.13);
  color: #768b9e;
  font-size: 10px;
}

footer a {
  justify-self: end;
}

/* Tablet and mobile */
@media (max-width: 980px) {
  .header { position: relative; z-index: 1000; width: 100%; min-height: 72px; display: flex; justify-content: space-between; padding: 0 max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left)); }
  .logo { min-width: 0; }
  .navigation { position: absolute; z-index: 999; top: 100%; right: 16px; left: 16px; display: flex; visibility: hidden; flex-direction: column; gap: 0; padding: 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; opacity: 0; background: var(--navy-light); box-shadow: 0 20px 45px rgba(0,0,0,.35); pointer-events: none; transform: translateY(-10px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
  .navigation.open { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
  .navigation a { display: block; width: 100%; padding: 15px 14px; border-radius: 8px; color: var(--white); font-size: 15px; }
  .navigation a:hover, .navigation a:focus { background: rgba(255,255,255,.08); }
  .header-contact { display: none; }
  .menu-button { position: relative; z-index: 1001; width: 46px; height: 46px; display: flex; flex-shrink: 0; flex-direction: column; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 8px; background: transparent; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
  .menu-button span { width: 24px; height: 2px; display: block; margin: 3px 0; border-radius: 2px; background: var(--white); transition: transform .2s ease, opacity .2s ease; }
  .menu-button.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-button.open span:nth-child(2) { opacity: 0; }
  .menu-button.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hero { width: 100%; min-width: 0; grid-template-columns: minmax(0,1fr); }
  .hero-content, .hero-card-area { min-width: 0; }
  .hero-card-area { min-height: auto; }
  .about-grid, .certification-grid, .education, .contact-section, .trainer-card { grid-template-columns: minmax(0,1fr); }
}

/* iPhone and small phones */
@media (max-width: 650px) {
  .header { min-height: 70px; padding-right: max(12px, env(safe-area-inset-right)); padding-left: max(12px, env(safe-area-inset-left)); }
  .logo { gap: 10px; font-size: 14px; }
  .logo-symbol { width: 36px; height: 36px; flex-shrink: 0; }
  .navigation { right: 12px; left: 12px; }
  .hero { min-height: auto; }
  .hero-content { width: 100%; padding: 64px max(20px, env(safe-area-inset-right)) 48px max(20px, env(safe-area-inset-left)); }
  .eyebrow { width: 100%; align-items: flex-start; font-size: 9px; line-height: 1.6; letter-spacing: 1.5px; }
  .eyebrow span { flex-shrink: 0; margin-top: 7px; }
  .hero h1 { width: 100%; max-width: 100%; margin: 22px 0; font-size: clamp(40px,12vw,52px); line-height: 1; letter-spacing: -2.5px; overflow-wrap: anywhere; }
  .hero-description { width: 100%; max-width: 100%; font-size: 16px; line-height: 1.65; overflow-wrap: break-word; }
  .hero-buttons { width: 100%; flex-direction: column; gap: 10px; }
  .hero-buttons .button { width: 100%; }
  .statistics { width: 100%; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 15px; overflow: visible; }
  .statistic { min-width: 0; display: block; }
  .statistic span { display: block; margin-top: 5px; }
  .hero-card-area { width: 100%; min-height: auto; padding: 55px 20px; }
  .profile-card { width: 100%; gap: 15px; padding: 20px; }
  .profile-initials { width: 70px; height: 70px; font-size: 23px; }
  .profile-card h2 { font-size: 18px; }
  .expertise-card { width: 100%; padding: 22px; }
  .technology-strip { width: 100%; justify-content: center; gap: 12px; padding: 18px 20px; text-align: center; }
  .section, .experience-section { width: 100%; padding: 72px 20px; }
  .section-heading { grid-template-columns: minmax(0,1fr); gap: 22px; margin-bottom: 42px; }
  .section-heading h2, .contact-section h2 { max-width: 100%; font-size: clamp(38px,11vw,52px); letter-spacing: -2.5px; overflow-wrap: anywhere; }
  .about-card, .skills-card, .certification-card { min-width: 0; padding: 25px; }
  .about-card h3 { font-size: 32px; letter-spacing: -2px; }
  .experience-item { grid-template-columns: 32px minmax(0,1fr); gap: 12px; }
  .experience-date, .experience-content { grid-column: 2; min-width: 0; }
  .experience-content h3 { overflow-wrap: anywhere; }
  .contact-section { width: 100%; gap: 40px; padding: 72px max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left)); }
  .contact-details { min-width: 0; }
  .contact-details a { min-width: 0; grid-template-columns: 50px minmax(0,1fr) auto; gap: 10px; }
  .contact-details strong { min-width: 0; font-size: 12px; overflow-wrap: anywhere; }
  footer { grid-template-columns: minmax(0,1fr); gap: 10px; padding: 28px max(0px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(0px, env(safe-area-inset-left)); }
  footer a { justify-self: start; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 39px; letter-spacing: -2px; }
  .hero-content, .section, .experience-section { padding-right: 16px; padding-left: 16px; }
  .profile-card { align-items: flex-start; }
  .profile-initials { width: 60px; height: 60px; }
  .statistics { grid-template-columns: minmax(0,1fr); }