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

:root {
  --primary: #003366;
  --primary-hover: #00509e;
  --accent: #0041b9;
  --bg: #c8f9fa;
  --text: #222;
  --subtext: #555;
  --card-bg: #89c4ee;
  --shadow: 0 4px 12px rgba(0,0,0,0.1);
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
}

header {
  text-align: center;
  padding: 25px 15px;
}

h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--subtext);
}

nav {
  display: flex;
  justify-content: center;
  background-color: var(--primary);
  margin: 20px auto;
  border-radius: 8px;
  overflow: hidden;
  width: 65%;
  box-shadow: var(--shadow);
}

nav a {
  flex: 1;
  text-align: center;
  padding: 14px 0;
  color: white;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.15s ease;
  border-right: 1px solid rgba(255,255,255,0.3);
}

nav a:last-child { border-right: none; }

nav a:hover {
  background-color: var(--primary-hover);
  transform: scale(1.05);
}

.flex-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  width: 80%;
  margin: 40px auto;
  background-color: var(--card-bg);
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.flex-section:hover {
  transform: translateY(-3px);
}

.flex-section.reverse {
  flex-direction: row-reverse;
}

.image-box {
  flex: 1;
  display: flex;
  justify-content: center;
}

.image-box img {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.image-box img:hover {
  transform: scale(1.03);
}

.text-box {
  flex: 1;
  padding: 10px;
}

.text-box h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary);
}

.text-box p, .text-box a {
  font-family: 'Roboto', sans-serif;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.5;
}

.text-box ul {
  list-style-type: disc;
  padding-left: 20px;
}

.text-box li {
  margin-bottom: 12px;
}

.text-box a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.text-box a:hover {
  text-decoration: underline;
}

.section {
  width: 80%;
  margin: 40px auto;
  text-align: center;
}

.section h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 20px;
}

footer {
  text-align: center;
  padding: 25px;
  background-color: var(--primary);
  color: rgb(255, 255, 255);
  margin-top: 50px;
  box-shadow: var(--shadow);
}

footer a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  nav {
    width: 90%;
    flex-direction: column;
  }

  nav a {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
  }

  .flex-section {
    flex-direction: column;
    text-align: center;
  }

  .image-box img {
    max-width: 85%;
  }

  .text-box ul {
    padding-left: 0;
    list-style-position: inside;
  }
}

button {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: white;
  background-color: var(--primary);
  border: none;
  border-radius: 50px;
  padding: 12px 25px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

button:hover {
  background-color: var(--primary-hover);
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 51, 102, 0.25);
}

main {
  display: contents;
}
.footer-content {
  display: contents;
}
.contact-bar {
  display: none;
}

.page-heading {
  text-align: center;
  margin: 40px 0 20px 0;
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  color: var(--primary);
}

.qualifications-wrapper,
.resume-column,
.text-column {
  display: contents;
}

.resume-column .section {
  text-align: center;
}


.resume-column iframe {
  width: 80%; 
  max-width: 850px; 
  height: 600px;
  border: 1px solid #ccc; 
  box-shadow: var(--shadow);
}

.roadmap-card {
  width: 80%;                
  max-width: 900px;
  border-radius: 40px;
  text-align: center;
  margin-bottom: 30px;
}

.roadmap-card .text-box {
  text-align: left;          
  display: inline-block;
  width: 90%;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}