@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,900;1,700&display=swap");

/* Variables */
:root {
  --font-family: "Roboto", sans-serf;
  --normal-font: 400;
  --bold-font: 700;
  --bolder-font: 900;
  --bg-color: #fcfcfc;
  --primary-color: #172282;
  --secondary-color: #ff7235;
  --primary-shadow: #8b8eaf;
  --secondary-shadow: #a17a69;
  --bottom-margin: 0.5rem;
  --bottom-margin-2: 1rem;
  --line-height: 1.7rem;
  --transition: 0.3s;
}

html {
  scroll-behavior: smooth;
}

/* CSS Resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* border: 2px solid red; */
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

a:hover {
  text-decoration: none;
  color: var(--secondary-color);
}

body {
  font-family: var(--font-family);
}

/* Styling the Navbar Section*/

nav {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3.5rem;
  background-color: var(--bg-color);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

nav h1 {
  color: var(--primary-color);
}

nav a {
  color: var(--primary-color);
  transition: var(--transition);
}
nav a:hover {
  color: var(--secondary-color);
  border-bottom: 2px solid var(--secondary-color);
}

nav ul {
  display: flex;
  gap: 1.9rem;
}

nav ul li {
  font-weight: var(--bold-font);
}

.burger-menu {
  color: var(--primary-color);
  font-size: 2rem;
  border: 0;
  background-color: transparent;
  cursor: pointer;
  display: none;
}

/* Styling the Hero Section*/

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10rem;
  max-width: 68.75rem;
  margin: auto;
}

.hero img {
  height: 25rem;
  width: 25rem;
  margin-top: 20px;
}

.bio {
  width: 40rem;
  padding: 0.625rem;
  border-radius: 6px;
  box-shadow: 0px 2px 15px 2px var(--primary-shadow);
}

.bio h1 {
  margin-bottom: var(--bottom-margin);
}

.bio p {
  line-height: var(--line-height);
  padding: 0.3rem 0;
}

/* Styling the More about Section*/

.more-about {
  background-color: var(--bg-color);
  padding: 1rem 6rem;
}

.more-about h2 {
  margin-bottom: var(--bottom-margin);
  text-align: center;
}

.more-about p {
  line-height: var(--line-height);
  padding: 0.4rem;
}

/* Styling the My Skills Section*/

.skills {

  max-width: 70rem;
  margin:auto;
  text-align: center;
  margin-top: 2.5rem;
}

.skill-header {
  margin-bottom: 1rem;
}

.skills-wrapper img {
  width: 12%;
  height: 12%;
  padding: 1.25rem;
}

.icon {
  width: 11.875rem;
  height: 11.25rem;
}

.icon-card {
  background-color: #fff;
  border-radius: 11px;
  box-shadow: 0 3px 10px var(--secondary-shadow);
  padding: 20px;
  margin: 10px;
}

/* Styling the Experience Head Section*/

.exp-all-head {
  background-color: var(--bg-color);
  padding: 1rem 6rem;
}

.exp-all-head img {
  position: absolute;
  right:200px;
  top:120px;
  width: 10%;
  height: 23%;
  border-radius: 30%;
  border: 5px solid #ddd;

}

.exp-head {
  background-color: var(--bg-color);
  padding: 1rem 6rem;
  display: flex;
  flex-wrap: wrap;
  flex-flow:column;
}

.exp-head h3 {
  border: 2px solid #c2d6d6;
  width: 420px;
  height: 45px;
  margin-top: 15px;
  line-height: var(--line-height);
  padding: 0.4rem;
}

/* Styling the My Roles Section*/

.roles {
  max-width: 70rem;
  margin:auto;
  text-align: center;
  padding: 50px 10px;
}

.roles-header {
  margin-bottom: 1rem;
}

.roles-items {
  text-align: left;
  list-style: circle;

}

.roles-items li {
  display: flex;
  border-radius: 0%;
  width: 100%;
  margin-top: 10px;
  background: #cce6ff;
  outline: 1px solid #000;
  padding: 10px 10px;
}

/* Styling the Education Section*/

.education {
  background-color: var(--bg-color);
  padding: 5px 0;
  margin-top: 2.5rem;
}

.education-pic {
  width: 25%;
  height: 25%;
  border-radius: 5%;
  border: 1px solid #ddd;
}

.education-pic:hover {
  box-shadow: 0 0 2px 1px rgba(204, 153, 0, 0.5);
}

.education-container {
  display: flex;
  align-items:flex-start;
  justify-content: center;
  flex-wrap: nowrap;
  text-align: center;
  margin-left: 90px;
  width: 1080px;
  padding: 10px;
}

.education-title {
  text-align: center;
  margin-bottom: 1rem;
}

.education-container p {
  padding: 0.4rem;
  font-weight:normal;
}

.education-title {
  margin-bottom: var(--bottom-margin);
}

.education-details {
  margin-bottom: var(--bottom-margin);
  text-align: left;

}

.education-card {
  background-color: #fff;
  border-radius: 11px;
  box-shadow: 0 3px 10px #cc9900;
  padding: 10px;
  margin: 10px;
  height: 150px;
  width: 400px;
  border-style: solid;
  align-items: center;
}

/* Styling the Projects Section*/

.projects {
  background-color: var(--bg-color);
  padding: 32px 0;
  margin-top: 0.01rem;
}

.project-pic {
  width: 30%;
  height: 30%;
  border-radius: 30%;
  border: 1px solid #ddd;
}

.project-pic:hover {
  box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
}

.projects-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.project-title {
  text-align: center;
  margin-bottom: 1rem;
}

.project-container {
  text-align: center;
  width: 21.875rem;
  padding: 1rem;
}

.project-container p {
  padding: 0.4rem;
  font-weight:normal;
}

.project-title {
  margin-bottom: var(--bottom-margin);
}

.project-details {
  margin-bottom: var(--bottom-margin);
  text-align: left;
}

.project-card {
  background-color: #fff;
  border-radius: 11px;
  box-shadow: 0 3px 10px var(--primary-shadow);
  padding: 10px;
  margin: 10px;
}

/* Styling the Companies Section*/

.companies {
  background-color: var(--bg-color);
  padding: 32px 0;
  margin-top: 2.5rem;
}

.company-pic {
  width: 30%;
  height: 30%;
  border-radius: 30%;
  border: 1px solid #ddd;
}

.company-pic:hover {
  box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
}

.companies-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.companies-title {
  text-align: center;
  margin-bottom: 1rem;
}

.company-container {
  text-align: center;
  width: 21.875rem;
  padding: 1rem;
}

.company-container p {
  padding: 0.4rem;
}

.company-title {
  margin-bottom: var(--bottom-margin);
}

.company-details {
  margin-bottom: var(--bottom-margin);
  text-align: left;
}

.company-card {
  background-color: #fff;
  border-radius: 11px;
  box-shadow: 0 3px 10px var(--primary-shadow);
  padding: 20px;
  margin: 10px;
}

/* Styling the Industries Section*/

.industries {
  background-color: var(--bg-color);
  padding: 32px 100px;
  margin-top: 2rem;
}

.industry-pic {
  width: 60%;
  height: 60%;
}

.industries-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px;
}

.industries-title {
  text-align: center;
  margin-bottom: 1rem;
}

.industry-container {
  text-align: center;
  width: 10rem;
  padding: 1rem;
}

.industry-title {
  margin-bottom: var(--bottom-margin);
}

.industry-details {
  margin-bottom: var(--bottom-margin);
}

.industry-card {
  background-color: #fff;
  border-radius: 11px;
  box-shadow: 0 3px 10px var(--primary-shadow);
  padding: 5px;
  margin: 5px;
}

/* Styling the Certificates Section*/

* {box-sizing:border-box}

.certificates {
  background-color: var(--bg-color);
  padding: 32px 0;
  margin-top: 2rem;
}

.certificates-title {
  text-align: center;
  margin-bottom: 1rem;
}

.certificate-container {
  max-width: 700px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mycertificate {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: black;
  font-weight: bold;
  font-size: 40px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #010b13;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
  font-weight: bolder;
  background-color:#b0a510;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* Styling the Contact Section*/

.contact {
  margin-top: 2rem;
}

.contact h2 {
  text-align: center;
  margin-bottom: var(--bottom-margin-2);
}

.contact-form-container {
  max-width: 40.75rem;
  margin: 0 auto;
  padding: 0.938rem;
  border-radius: 5px;
  box-shadow: 0 3px 10px var(--secondary-shadow);
}

.contact-form-container label {
  line-height: 2.7em;
  font-weight: var(--bold-font);
  color: var(--primary-color);
}

.contact-form-container textarea {
  min-height: 6.25rem;
  font-size: 14px;
}

.contact-form-container .input-field {
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 5px;
  border: none;
  border: 2px outset var(--primary-color);
  font-size: 0.875rem;
  outline: none;
}

.input-field::placeholder {
  padding: 0.5rem;
  color: var(--primary-color);
}

.submit-btn {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  background-color: #fff;
  border: 2px solid var(--primary-color);
  border-radius: 5px;
  font-size: 1rem;
  font-weight: var(--bold-font);
  transition: var(--transition);
}

.submit-btn:hover {
  background-color: var(--primary-color);
  border: 2px solid var(--primary-color);
  cursor: pointer;
}

/* Styling the Socials  Section*/

.socials {
  display: flex;
  flex-direction: column;
  position: fixed;
  right: 1%;
  bottom: 50%;
}

.socicon {
  width: 2rem;
  height: 2rem;
}

/* Styling the Scroll to top  Section*/

.scroll-up {
  position: fixed;
  right: 0.5%;
  bottom: 3%;
  cursor: pointer;
}

.up-arrow {
  width: 3rem;
  height: 3rem;
}

/* Styling the Footer  Section*/

footer {
  background-color: var(--bg-color);
  padding: 1.25rem;
  text-align: center;
  margin: 2rem 0 0;
}
