body{
margin: 0 auto;
}
/* General container setup */
.container {
  display: flex;
  height: 100vh;
  background-color: black;
  color: antiquewhite;
}
a{
  color: #C5F82A;
  text-decoration: none;
}
a:hover{
  text-decoration: underline;
}
/* Left panel styling */
.left-panel {
  width: 25%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #232a2a  ;
  position: relative;
}

.left-panel.collapsed {
  width: 10%;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  font-size: 30px;
  color: white;
  position: absolute;
  top: 10px;
  left: 15px;
  cursor: pointer;
}

.main-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 25px;
}

.img-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.main-name {
  text-align: center;
}

.main-btns a {
  text-decoration: none;
}

/* Right panel styling */
.right-panel {
  width: 75%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background-color:  rgb(30, 30, 30);
}

.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.tab {
  background-color: rgba(45, 63, 63, 0.363);
  border: none;
  padding: 10px 20px;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

.tab.active {
  background-color: hsl(75, 94%, 57%);
  color: black;
}

.tab-content {
  overflow: auto;
  background-color: rgb(45, 45, 45);
  padding: 20px;
  border-radius: 10px;
}

.tab-section {

  display: none;
}

.tab-section.active {
  display: block;
}

/* Mobile view */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    height: auto;
  }

  .left-panel {
    width: 100%;
    display: block;
    justify-content: flex-start;
    padding: 10px;
  }

  .right-panel {
    width: 100%;
    padding: 10px;
  }

  .hamburger {
    display: block;
  }

  .main-box {
    text-align: center;
  }

  /* Hide buttons and name on collapsed left panel */
  .left-panel.collapsed .main-name, 
  .left-panel.collapsed .main-btns {
    display: none;
  }

  .tabs {
    flex-direction: column;
    gap: 15px;
  }

  .tab {
    padding: 15px 20px;
  }

  .tab-content {
    margin-top: 10px;
  }
}


/* Video Portfolio */
.video-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.video-card {
  background-color: rgb(45, 45, 45);
  width: 350px;
  border-radius: 10px;
  text-align: center;
  overflow: hidden;
  background-color: red;
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 230px;
  background-color: #333;
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 50px;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50px;
  padding: 8px 25px 10px 30px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.play-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

h4 {
  margin-top: 10px;
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .video-cards {
    flex-direction: column;
    align-items: center;
  }

  .video-card {
    width: 90%;
    margin-bottom: 20px;
  }
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  padding-top: 50px;
  text-align: center;
}

.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 900px;
}

.close-btn {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 25px;
  font-family: 'Arial', sans-serif;
  cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

iframe {
  width: 100%;
  height: 500px;
}

#contact {
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
}

h3 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 20px;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: start;
  gap: 10px;
  font-size: 16px;
}
@media (max-width: 768px) {

.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  gap: 10px;
  margin-bottom: 30px;
}

}

.contact-item i {
  font-size: 20px;
  color: hsl(75, 94%, 57%);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.contact-form label {
  font-weight: bold;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  color: #333;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: hsl(75, 94%, 57%);
  box-shadow: 0 0 5px hsl(75, 94%, 57%);
}

.contact-form .submit-btn {
  background-color: hsl(75, 94%, 57%);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.contact-form .submit-btn:hover {
  background-color: hsl(75, 94%, 47%);
}

.map-container {
  margin-top: 40px;
  border-radius: 10px;
  overflow: hidden;
}

.map-container iframe {
  border: 0;
}
.main-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.social-icon {
  font-size: 30px;
  color: white;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
  color: hsl(75, 94%, 57%);
  transform: scale(1.1);
}

#about {
  text-align: center;
  padding: 30px 20px;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.skill {
  background-color: #333;
  color: white;
  padding: 20px;
  border-radius: 10px;
  width: 200px;
  text-align: center;
  transition: background-color 0.3s;
}

.skill:hover {
  background-color:  #232A2A;
}

.skill i {
  font-size: 40px;
  margin-bottom: 10px;
}

.skill h4 {
  font-size: 18px;
  margin-bottom: 10px;
}
