*,
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

@font-face {
  font-family: "Helvetica Neue";
  font-weight: 400;
  src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-regular-webfont.woff");
}

@font-face {
  font-family: "Helvetica Neue";
  font-weight: 800;
  src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-bold-webfont.woff");
}

body {
  background: url("images/bigsur_dark.jpg");
  background-position: center;
  color: #000;
  font-family: HelveticaNeue, 'Helvetica Neue', 'Lucida Grande', Arial, sans-serif;
  margin: 0;
  overflow: hidden;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.window {
  animation: fadeIn 0.5s ease-out forwards, slideUp 0.5s ease-out forwards;
}

.content {
  animation: fadeIn 1s ease-out forwards;
}

.menu-bar {
  width: 100%;
  height: 30px;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(63, 115, 206, 0.4);
  backdrop-filter: blur(80px);
  -webkit-backdrop-filter: blur(50px);

  .left {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: auto;
    margin-left: 20px;

    .apple-logo {
      transform: scale(.6);
    }

    .menus {
      height: 100%;
      display: flex;
      align-items: center;
      margin-left: 20px;
      color: rgba(255, 255, 255, 0.95);
      font-size: 14px;
    }

    .active {
      font-weight: bold;
      color: #fff !important;
    }
  }

  .right {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 380px;
    margin-right: 2px;

    .vol {
      transform: scale(0.6);
      margin-right: 2px;
    }

    .menutime {
      height: 100%;
      width: auto;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
    }

    .menu-ico {
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;

      .control-center {
        -webkit-filter: invert(100%);
        filter: invert(100%);
        transform: scale(0.5);
      }
    }
  }
}

.dock {
  width: auto;
  height: 60px;
  border-radius: 16px;
  display: flex;
  justify-content: center;

  /* Positioning logic */
  position: fixed;
  bottom: 20px;
  /* Added a little spacing from bottom looks better */

  /* CENTERING MAGIC STARTS HERE */
  left: 50%;
  transform: translateX(-50%);
  margin-left: 0;
  /* IMPORTANT: Remove your old margin */
  /* CENTERING MAGIC ENDS HERE */

  background: rgba(83, 83, 83, 0.25);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
  border: 1px solid rgba(255, 255, 255, 0.18);

  /* Optional: Ensure it sits on top of other content */
  z-index: 1000;
}

.dock-container {
  padding: 3px;
  width: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(83, 83, 83, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(13px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.dock-container li {
  list-style: none;
  display: inline-block;
  margin: 0 5px;
  width: 50px;
  height: 50px;
  transition: 0.2s;

  &:hover {
    margin: 0 13px;
  }

  .li-bin {
    margin-left: 20px;
    border-left: 1.5px solid rgba(255, 255, 255, 0.4);
    padding: 0px 10px;
  }

  .li-1 {
    &::after {
      position: absolute;
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.5);
      content: "";
      bottom: 2px;
    }
  }

  .name {
    position: absolute;
    top: -70px;
    background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.9);
    height: 10px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    visibility: hidden;

    &::after {
      content: "";
      position: absolute;
      bottom: -10px;
      width: 0;
      height: 0;
      backdrop-filter: blur(13px);
      -webkit-backdrop-filter: blur(13px);
      border-left: 10px solid transparent;
      border-right: 10px solid transparent;
      border-top: 10px solid rgba(0, 0, 0, 0.5);
    }
  }

  .ico,
  .ico-bin {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.2s;

    &:hover {
      margin-left: 0;
    }
  }
}

.dock-container li-1:hover .name,
.dock-container li-2:hover .name,
.dock-container li-3:hover .name,
.dock-container li-4:hover .name,
.dock-container li-5:hover .name,
.dock-container li-6:hover .name,
.dock-container li-7:hover .name,
.dock-container li-8:hover .name,
.dock-container li-9:hover .name,
.dock-container li-10:hover .name,
.dock-container li-11:hover .name,
.dock-container li-12:hover .name,
.dock-container li-13:hover .name,
.dock-container li-14:hover .name,
.dock-container li-15:hover .name {
  visibility: visible !important;
}

a {
  text-decoration: underline;
}

span {
  line-height: 9px;
  vertical-align: 50%;
}


.folder-icon {
  position: absolute;
  top: 80px;
  left: 90px;
  font-size: 24px;
  cursor: pointer;
  height: 100px;
}

.folder-name {
  position: absolute;
  top: 180px;
  left: 110px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  color: #fff;
  font-family: 'Helvetica Neue', sans-serif;
  text-shadow: rgb(127, 113, 227);
}


.window {
  background: rgba(30, 30, 30, 0.95);
  color: #fff;
  width: 60vw;
  height: 75vh;
  margin: auto;
  /* margin-top: 2vh; Removed to avoid conflict with top positioning */
  border: 1px solid #333;
  border-radius: 6px;
  box-shadow: 0px 0px 20px #000;
  position: absolute;
  /* Center using calc instead of transform to fix dragging */
  top: 12.5vh;
  /* (100vh - 75vh) / 2 */
  left: 20vw;
  /* (100vw - 60vw) / 2 */
  /* transform: translate(-50%, -50%); Removed */
  /* display: flex; Removed to hide on load */
  display: none;
  flex-direction: column;
  animation: fadeIn 0.5s ease-out forwards, slideUp 0.5s ease-out forwards;
}

.titlebar {
  background: linear-gradient(to bottom, #3a3a3a, #2a2a2a);
  color: #ccc;
  font-size: 11pt;
  line-height: 20px;
  text-align: center;
  width: 100%;
  height: 20px;
  border-top: 1px solid #444;
  border-bottom: 1px solid #000;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  cursor: move;
}

.buttons {
  padding-left: 8px;
  padding-top: 3px;
  float: left;
  line-height: 0px;
}

/* Add your button styles here */
/* ... existing styles ... */

.buttons {
  padding-left: 8px;
  padding-top: 3px;
  float: left;
  line-height: 0px;
  cursor: pointer;
}

.buttons:hover a {
  visibility: visible;
}

.close {
  background: #ff5c5c;
  font-size: 9pt;
  width: 11px;
  height: 11px;
  border: 1px solid #e33e41;
  border-radius: 50%;
  display: inline-block;
}

.close:active {
  background: #c14645;
  border: 1px solid #b03537;
}

.close:active .closebutton {
  color: #4e0002;
}

.closebutton {
  color: #820005;
  visibility: hidden;
  cursor: default;
}

.minimize {
  background: #ffbd4c;
  font-size: 9pt;
  line-height: 11px;
  margin-left: 4px;
  width: 11px;
  height: 11px;
  border: 1px solid #e09e3e;
  border-radius: 50%;
  display: inline-block;
}

.minimize:active {
  background: #c08e38;
  border: 1px solid #af7c33;
}

.minimize:active .minimizebutton {
  color: #5a2607;
}

.minimizebutton {
  color: #9a5518;
  visibility: hidden;
  cursor: default;
}

.zoom {
  background: #00ca56;
  font-size: 9pt;
  line-height: 11px;
  margin-left: 6px;
  width: 11px;
  height: 11px;
  border: 1px solid #14ae46;
  border-radius: 50%;
  display: inline-block;
}

.zoom:active {
  background: #029740;
  border: 1px solid #128435;
}

.zoom:active .zoombutton {
  color: #003107;
}

.zoombutton {
  color: #006519;
  visibility: hidden;
  cursor: default;
}

.window-content {
  /* ... existing styles ... */
  /* This will make .window-content take up the available space */
  /* Add overflow property to handle content overflow */
  overflow: auto;
  display: flex;
  height: 100%;
  /* Add this to use flexbox for the inner content */
}

.sidebar-container {
  display: flex;
  width: 160px;
  height: 71.5vh;
  background: rgba(40, 40, 40, 0.95);
  padding: 10px;
  box-sizing: border-box;
  position: fixed;
  overflow: hidden;
  border-right: 1px solid #333;
}

.sidebar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
}


.section {
  padding: 30px;
  cursor: pointer;
  border-bottom: 1px solid #333;
  color: #ddd;
}

.section:hover {
  text-decoration: underline;
  transition: ease-in-out 0.2s;
}

/* .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center; 
  justify-content: center; 
  text-align: center;
  overflow: auto;
  padding-left: 20px;
  padding-right: 150px;
} */

.content {
  flex: 1;
  margin-left: 160px;
  display: flex;
  overflow: auto;
  align-items: center;
  /* justify-content: center;  */
  text-align: center;
  flex-direction: column;
}

.content h1 {
  font-family: 'Segoe UI';
  padding-top: 30vh;
  padding-bottom: 1vh;
  font-size: 50px;
}

.content h3 {
  font-family: 'Segoe UI' sans-serif;
  margin: -6px;
  font-size: 20px;
  font-weight: 400;
}

.content p {
  font-weight: 400;
}

.content #header h1 {
  padding-top: 10vh;
  font-size: 27.5px;
}

.aboutme {
  margin-left: 10px;
  text-align: left;
  margin-top: 35px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  padding-top: 20px;
  padding-left: 10px;
  padding-right: 30px;
  /* border: 0.1rem #444 solid;
  margin-right: 8px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px #000;
  color: #fff;
  background: #2a2a2a; */
}

.aboutme a {
  color: #3285ff;
  text-decoration: none;
}

.aboutmespan {
  font-size: 50px;
  font-weight: bold;
}

.aboutmeStong {
  font-size: 20px;
  margin-left: 5px;
  margin-top: 18px;
  font-weight: 500;
}

#about-me {
  margin-top: 20px;
  margin-left: 10px;
  margin-bottom: 110px;
  text-align: center;
  padding-left: 10px;
  border: 0.1rem #555 solid;
  margin-right: 8px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px #000;
  color: #fff;
}

#about-me:hover {
  box-shadow: 0px 0px 20px #acacac;
}

#skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  gap: 0px 20px;
}

#skills-container i {
  height: 105px;
}

#skills-container i:hover {
  transform: scale(1.2);
  transition: 0.2s;
}

#skills-container i[title]:hover:after {
  content: attr(title);
  position: absolute;
  top: -25%;
  left: 0;
  font-size: 10px;
  font-weight: bold;
}

.fontserif {
  font-family: 'BlinkMacSystemFonts';
  border-top: #555 2px solid;
  border-bottom: #555 2px solid;
  padding-top: 8px;
  padding-bottom: 35px;
  font-weight: 500;
  font-size: 20px;
}

/* .contactform span {
  font-size: 20px;
  margin-bottom: 20px;
} */

/* 1. The Outer Container (Fills the screen/folder) */
.contact-container {
  width: 100%;
  height: 100%;
  /* Fills the available space */
  display: flex;
  justify-content: center;
  /* Centers horizontally */
  align-items: center;
  /* Centers vertically */
  overflow-y: auto;
  /* Adds scroll if screen is too small */
  padding: 20px;
  box-sizing: border-box;
}

/* 2. The Card (Holds content together tightly) */
.contact-card {
  width: 100%;
  max-width: 650px;
  /* Max width of form */
  /* Remove 'background' if you want it transparent */
  /* background: rgba(0,0,0,0.2); */
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  /* Consistent space between elements */
}

/* Resume Section */
.resume-section {
  text-align: center;
  margin-bottom: 10px;
  color: #ddd;
}

.resume-section a {
  color: #3285ff;
  font-weight: bold;
  text-decoration: none;
}

/* Form Layout */
.form-row {
  display: flex;
  gap: 15px;
}

.input-group {
  flex: 1;
  /* Makes both inputs equal width */
}

/* INPUT STYLING - The "Anti-Stretch" Rules */
.contact-card .box {
  width: 100%;
  padding: 12px 15px;
  background: #333 !important;
  color: #fff !important;
  border: 1px solid #555;
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
  outline: none;

  /* FORCE HEIGHTS TO STOP STRETCHING */
  height: 45px !important;
  min-height: 45px !important;
  max-height: 45px !important;
}

/* Textarea Specifics */
textarea.box.message {
  height: 120px !important;
  /* Taller height for message */
  min-height: 120px !important;
  max-height: 200px !important;
  resize: none;
  /* Disables resizing to prevent layout breaks */
  font-family: inherit;
}

/* Submit Button */
.contact-card .btn {
  width: 100%;
  height: 45px !important;
  background: #2f3947;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 5px;
}

.contact-card .btn:hover {
  background: #3285ff;
}

/* Mobile Fix */
@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
    gap: 10px;
  }
}

.contactform a {
  color: #3285ff;
  text-decoration: none;
}

#contact table input[type="text"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #555;
  border-radius: 8px;
  margin-bottom: 10px;
  box-sizing: border-box;
  font-size: 14px;
  background: #333;
  color: #fff;
}

#contact table input[type="email"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #555;
  border-radius: 8px;
  margin-bottom: 10px;
  box-sizing: border-box;
  font-size: 14px;
  background: #333;
  color: #fff;
}

#contact table input[type="text"]:hover,
#contact table input[type="email"]:hover {
  border: 1px solid #3285ff;
}

#contact table textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #555;
  border-radius: 8px;
  margin-bottom: 10px;
  box-sizing: border-box;
  font-size: 14px;
  background: #333;
  color: #fff;
}

#contact table textarea:hover {
  border: 1px solid #3285ff;
}

#contact table input[type="submit"] {
  width: 100%;
  background: #2f3947;
  color: #fff;
  border: 0;
  padding: 10px;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
}

#contact table input[type="submit"]:hover {
  background: #3285ff;
  color: #fff;
}

#contact-icon i {
  padding-right: 10px;
  font-size: 20px;
  padding-bottom: 0px;
  text-decoration: none;
}

#contact-icon i:hover {
  color: #3285ff;
  text-decoration: none;
  /* font-size: 25px;
  transition: 0.2s; */
}

#contact-icon a:visited {
  color: #fff;
}

#contact-icon a:link {
  color: #fff;
  text-decoration: none;
}

.workexp {
  text-align: left;
  margin-left: 10px;
  margin-right: auto;
  margin-top: -120px;
}

.educenter {
  color: #3285ff;
  font-weight: 600;
}

.work-experience {
  float: left;
  margin-left: 10px;
  text-align: left;
  margin-top: 35px;
  padding-bottom: 20px;
  border-bottom: 0.05rem #555 solid;
}

.work-experience a {
  color: #3285ff;
  float: left;
  text-align: left;
}

.designation-time {
  font-size: 15px;
  font-style: italic;
}

.work-name {
  font-weight: bold;
  font-size: 20px;
}

.projects {
  margin-left: 10px;
  text-align: left;
  margin-top: 20px;
  padding-bottom: 20px;
  padding-top: 30px;
  padding-left: 10px;
  border: 0.1rem #444 solid;
  margin-right: 8px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px #000;
  color: #fff;
  background: #2a2a2a;
}

/*.projects:hover {
  box-shadow: 0px 0px 20px rgb(37, 150, 190);
  transition: 0.2s;
  background-color: #333;
  color: #fff;
}*/
.projects a {
  color: #3285ff;
  text-decoration: none;
}

.project-name {
  font-weight: bold;
  font-size: 20px;
}



/* CSS */
.resume-button {
  margin-top: 10px;
  height: 40px;
  font-weight: bold;
  border: 2px solid white;
  padding: 10px 30px;
  border-radius: 20px;
  align-items: center;
  justify-content: center;
  background-color: #000;
  color: white;
  cursor: pointer;
  background-origin: padding-box;

}

.resume-button:hover {
  background-color: white;
  color: #000;
  border: 2px solid black;
}