body {
  background-color: #121212;
  color: white;
  font-family: Arial, sans-serif;
  /* display: flex;
  justify-content: center; 
  align-items: center;
  height: 100%;
  margin: 0;  */
}



/* Base Navigation */
.navbar {
  display: flex;
  justify-content: center; /* Centers nav items */
  align-items: center;
  background: transparent;
  padding: 15px ;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
}

/* Navigation Links */
.nav-links {
  display: flex;
  list-style: none;
  padding: 0;
}

.nav-links li {
  background-color: #121212;
  border-radius: 5px;
  padding: 8px;
  margin: 0 18px;
  margin-top: 2px;
}

.nav-links li:hover {
  background-color: #df1919;

}

.nav-links li a {
  color: white;
  font-size: 18px;
  text-decoration: none;
}

.nav-links li a:hover {
  color: #121212;

}

/* Hamburger Button */
.menu-toggle {
  display: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
  margin-top: 4px;
}

/* Responsive Dropdown */
@media (max-width: 768px) {
  .menu-toggle {
      display: block;
      position: absolute;
      top: 8px;
      left: 30px; /* Aligns menu toggle to the left */
      background-color: #121212;
      padding: 10px;
      border-radius: 30%;
  }

  .nav-links {
      display: none; /* Hide by default */
      flex-direction: column;
      position: absolute;
      top: 0px;
      left: 12%;
      width: 80%;
      background: #121212;
      padding: 10px 0;
      text-align: center;
  }

  .nav-links.show {
      display: flex;
  }

  .nav-links li {
      margin: 10px 0;
  }
}


.card2 {
  display: flex;
  background: #121212;
  padding: 20px;
  border-radius: 10px;
  /* box-shadow: 0 0 10px rgba(255, 255, 255, 0.1); */
  width: 97%;
  height: 100%;
  gap: 20px;
  align-items: center;
  margin-top: 5px;
  justify-content: center; /* Ensures both sides are centered */
}



.left-side {
display: flex;
flex-direction: column;
align-items: center; /* Centers content horizontally */
justify-content: center; /* Centers content vertically */
width: 40%;
height: 100%; /* Ensures it takes full height of the parent */
margin-left: auto; /* Pushes it to the right */
margin-right: auto; /* Ensures centering */
}

.profile-pic img {
width: 50%;
height: 50%;
border-radius: 50%;
border: 4px solid #333;
display: block;
margin: 0 auto; /* Centers the image */

}


.contact {
  margin-top: 10px;
  text-align: center;
  /* margin-left: 9%; */
}

.contact a {
  display: block;
  color: #bbb;
  text-decoration: none;
  margin-top: 11px;
  margin-bottom: 11px;
  transition: color 0.3s;
}

.contact a:hover {
  color: #df1919;
}

.contact p {
  display: block;
  color: #bbb;
  text-decoration: none;
  margin-top: 5px;
  transition: color 0.3s;
}

.contact p:hover {
  color: #df1919;
}



.right-side {
  width: 60%;
  /* align-items: end; */

}

.right-side h1 {
  /* color: #df1919; */
  margin-bottom: 30px;
  font-size: 60px;
}

.right-side p {
  font-size: 22px;
  line-height: 1.5;
  color: #bbb;
}

@media (max-width: 768px) {
  .card2 {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .left-side, .right-side {
      width: 100%;
  }
}



.container {
  /* align-items: center; */
  display: flex;
  gap: 60px;
  width: 80%;
  margin-top: 3%;
  margin-left: 10%;
}

.card1 {
  background: #1e1e1e;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  width: 55%;
  /* height: 50%; */
  text-align: center;
  flex-direction: row;
}

.card1 h2 {
  margin-bottom: 10px;
}



main.row{
display: grid;
grid-template-columns: 1fr 1fr;
grid-column-gap: 20px;
}
.col header.title{
font-family: helvetica;
color: #df1919;
padding: 0px 0px 20px 30px;
}
.col .contents{
padding: 0px 30px;
border-left: 2px solid #bababa;
}
.col .contents .box{
position: relative;
padding: 20px;
border: 1px solid #eaeaea;
/* background-color: #ffffff; */
cursor: pointer;
transition: all 0.4s;
margin-bottom: 20px;
border-radius: 10px;
}
.col .contents .box:hover{
box-shadow: 0px 3px 12px 0px #ccc;
border: 1px solid transparent;
}
.col .contents .box::before{
content: '';
position: absolute;
width: 16px;
height: 16px;
border-radius: 50%;
right: calc(100% + 22px);
top: 0;
background-color: #df1919;
border: 2px solid white;
}
.box h4{
position: relative;
color: #df1919;
}
.box h3{
font-size: 19px;
padding: 10px 0px 6px;
font-family: helvetica;
color: #bbb;
}
.box p{
line-height: 1.2;
color: #bbb;
font-size: 17px;
}


@media(max-width: 768px){
main.row{
grid-template-columns: 1fr;
}
.row .col:nth-child(2){
margin-top: 30px;
}
}



.contact-form {
  background: #121212;
  padding: 20px;
  border-radius: 10px;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); */
  width: 97%;
  align-items: center;
  /* margin-top: 2%; */
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 15px;
  color: #df1919;
  /* margin-left: 10%; */
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: none;
  border-radius: 5px;
  background:#121212;
  color: var(--secondary-color);
  border: 2px solid white;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border: 2px solid #df1919;
}

.contact-form button {
  width: 100%;
  padding: 10px;
  background: #1e1e1e;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  color: white;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #df1919;
}





.card4 {
  background: #121212;
  padding: 20px;
  border-radius: 10px;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); */
  width: 50%;
  max-width: 80%;
  margin-left: 25%;
}
.card4 h2 {
  color: #df1919;
  /* font-size: 16px; */
  margin-bottom: 15px;
  text-align: center;
}
.icon-container {
  display: flex;
  gap: 25px;
  justify-content: center;
  padding-top: 10px;
}
.icon-container a {
  text-decoration: none;
  color: white;
  font-size: 24px;
  transition: transform 0.5s ease, color 0.3s ease;
}


.icon-container a:hover {
  transform: scale(1.5);
  color: #df1919; /* Change color on hover */
}


.resume {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  background-color: #121212;
  /* align-items: center; */
  gap: 15px;
}
.resume p {
margin-top: 1%;
color: #df1919;
/* font-size: 16px; */
/* margin-bottom: 15px; */
font-weight: 28px;
text-align: center;
}

.download-btn {
  display: inline-block;
  padding: 15px 30px;
  background-color: #121212;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: background 0.3s ease;
  /* margin-left: 44%;     */
  border: 2px solid white;
}
.download-btn:hover {
  background-color: #df1919;
}
