.toggle-switch {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 28px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(77, 74, 74);
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: #121212;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: rgb(77, 74, 74);
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
  background-color: white;
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

body.light-mode {
  background-color: #ffffff;
  color: #121212;
}

body.light-mode .nav-box {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  border-radius: 0;
  padding: 1rem 2rem;
  margin: 0;
  box-shadow: 0 0.1rem 0.25rem rgb(122, 122, 122);
  z-index: 1000;
}

body.light-mode .top-nav h1 {
  margin: 0;
  color: #121212;
  font-size: 1.5rem;
}

body.light-mode .top-nav a {
  text-decoration: none;
  color: #121212;
  font-weight: bold;
  transition: color 0.3s;
  cursor: pointer;
  font-size: 1rem;
}

body.light-mode #home > img:first-child {
  width: 350px;
  height: 350px;
  border-radius: 20%;
  object-fit: cover;
  border: 3px solid #ffcc00;
  box-shadow: 0 0 15px rgba(255, 204, 0, 0.5);
  animation: fadeIn 1.5s ease-in-out;
  object-position: top;
}

body.light-mode .content-section {
  margin-top: 3rem;
  animation: fadeIn 0.5s ease;
}

body.light-mode .content-section {
  margin-top: 0rem;
  padding-left: 6rem;
  padding-right: 6rem;
  animation: fadeIn 0.5s ease;
}

body.light-mode #about h2,
body.light-mode #portfolio h2,
body.light-mode #resume h2,
body.light-mode #gallery h2,
body.light-mode #contact h2,
body.light-mode #achievements h2,
body.light-mode #projects h2,
body.light-mode .school-address {
  color: #121212;
}

body.light-mode .landing-wrapper {
  background-color: white;
}

body.light-mode .landing-container h1 {
  color: #ffcc00;
}

body.light-mode .landing-container h2 {
  color: #ce8f13;
}

body.light-mode .landing-container p,
body.light-mode .about-item h3,
body.light-mode .skill h4,
body.light-mode .skill-title,
body.light-mode .about-section h3 {
  color: #121212;
}

body.light-mode .card-two p,
body.light-mode .card-two h3,
.card-two-achievement p,
body.light-mode .card-two-achievement h3 {
  color: white;
}

body.light-mode .card-two {
  background-color: rgb(83, 80, 80);
  padding: 1rem;
  border-radius: 0.6rem;
  box-shadow: 0 0.25rem 0.6rem rgba(0, 0, 0, 0.5);
  transition: transform 0.3s;
}

body.light-mode .card-two-achievement {
  background-color: rgb(83, 80, 80);
  padding: 1rem;
  border-radius: 0.6rem;
  box-shadow: 0 0.25rem 0.6rem rgba(0, 0, 0, 0.5);
  transition: transform 0.3s;
}

body.light-mode .top-nav a.active {
  color: #ffcc00;
}

/* Contact Section */
body.light-mod .contact-wrapper {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

/* ===== Left Side Info ===== */
body.light-mode .contact-left {
  flex: 1;
  min-width: 300px;
  background: rgb(83, 80, 80);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

body.light-mode .contact-heading {
  background: #ffcc00;
  color: black;
  padding: 12px;
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 10px;
  border-radius: 6px;
}

body.light-mode .contact-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  margin-left: 5%;
  margin-top: 5%;
}

body.light-mode .contact-box-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-box-text h3 {
  margin: 0;
  font-size: 16px;
  color: white;
}

.contact-box-text p {
  margin: 0;
  font-size: 14px;
  color: white;
}
background
/* Social Icons */
.contact-social {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.contact-social img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s;
}

.contact-social img:hover {
  transform: scale(1.1);
}

/* ===== Right Side Form ===== */
body.light-mode .contact-right {
  flex: 1;
  min-width: 300px;
  background: rgb(83, 80, 80);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

body.light-mode .contact-form-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.light-mode .contact-form-box input,
body.light-mode .contact-form-box textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  width: 100%;
}

body.light-mode .contact-form-box textarea {
  resize: none;
  min-height: 120px;
}

body.light-mode .contact-btn {
  background: white;
  color: black;
  border: none;
  padding: 12px;
  font-size: 1rem;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

body.light-mode .contact-btn:hover {
  background: #ffcc00;
}

body.light-mode .contact-box img {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

body.light-mode .map-container {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
  box-shadow: 10px 2px 8px 2px rgb(122, 122, 122);
}
