@font-face {
  font-family: "MontHeavy";
  src: url("webfonts/Mont-Heavy.ttf") format("opentype");
}
@font-face {
  font-family: "MontLight";
  src: url("webfonts/Mont-Light.ttf") format("opentype");
}
@font-face {
  font-family: "MontRegular";
  src: url("webfonts/Mont-Regular.ttf") format("opentype");
}
@font-face {
  font-family: "MontBold";
  src: url("webfonts/Mont-Bold.ttf") format("opentype");
}
/* Root Variables */
:root {
  --font-main: "MontRegular", sans-serif;
  --font-bold: "MontBold", sans-serif;
  --font-light: "MontLight", sans-serif;
  --color-bg: #2a3439;
  --color-text: #1F2933;
  --color-link: #02B7DD;
  --color-accent: #443A84;
  --color-secondary: #E97DB1;
  --color-yellow: #fff685;
  --color-muted: #9CA3AF;
  --color-light: #FAFAFA;
  --color-black: #000;
   --color-gray: gray;
  --color-white: #fff;
  --spacing: 16px;
}
/* Reset & Base Styles */
* {
  box-sizing: border-box;
}
/* Body Layout */
html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
  height: 100vh;
}
body {
  font-family: var(--font-main);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  height: 100vh;
  background-color: var(--color-white);
  color: var(--color-text);
}
a{
  color: var(--color-link);
}
img, div {
  max-width: 100%;
}
.resume-image {
  width: 30px;
  height: 30px;
}
/* Left Section */
.left-section {
  width: 40%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: var(--color-white);
  overflow: hidden;
}
.left-section video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.left-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-bg);
  z-index: 2;
}
.left-section .content {
  position: relative;
  z-index: 3;
  text-align: center;
}
.icon-btn {
  border: none;
  border-radius:2px;
  color: var(--color-white);
  padding: 4px;
  transition: background 0.3s ease;
  margin: 2px 2px;
  text-decoration: none;
}
.icon-btn:hover {
  background-color: var(--color-accent);
}
.left-section i {
  color: var(--color-white);
}

/* Right Section */
.right-section {
  width: 60%;
  max-width: 100%;
  background-color: var(--color-white);
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 40px;
  transition: transform 0.6s ease;
  transform-origin: left center;
  overflow-x: hidden;
  box-sizing: border-box;
}
/* Navigation */
.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--color-accent);
}
.nav li {
  margin: 0; 
  padding: 0;
}
.nav a {
  font-size: 14px;
  font-family: var(--font-bold);
  color: var(--color-text);
  transition: color 0.3s ease;
  padding: 6px 10px;
  cursor: pointer;
  display: inline-block;
}
.nav a:hover {
  color: var(--color-gray);
}
.nav a.active {
  background-color: var(--color-accent);
  color: var(--color-white);
}
/* Search Bar */
.search-bar {
  display: flex;
  align-items: center;
  margin-left: auto;
}
.search-bar input {
  padding: 6px 10px;
  font-size: 14px;
  border: none;
  background: transparent;
  /* color: transparent; */
  outline: none;
  margin-right: 5px;
}
.search-bar button {
  padding: 6px 10px;
  font-size: 14px;
  border: none;
  cursor: pointer;
  background-color: var(--color-accent);
  color: var(--color-white);
  transition: background-color 0.3s ease;
}
.search-bar button:hover {
  background-color: var(--color-secondary);
}
/* Typography */
h1 {
  font-family: var(--font-bold);
  font-size: 32px;
}
h2 {
  font-size: 24px;
}
h3 {
  font-size: 18px;
}
.left-section /* Typography */
h1 {
  text-align: center;
}
.profile-image {
  width: 200px;
  height: 200px;
  border: 4px solid var(--color-white);
  border-radius: 100%;
}
/* About Me */
.about-me {
  font-size: 13px;
  line-height: 1.6;
  border-radius: 8px;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 10px;
}
/* Work Experience */
.work-experience {
  margin-bottom: 10px;
  padding: 10px;
  border-bottom: 1px solid var(--color-gray);
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}
.company-info {
  flex: 1;
}
.job-title {
  font-weight: bold;
  font-size: 18px;
  margin: 6px 0;
}
.job-dates {
  font-size: 14px;
  color: var(--color-gray);
  margin: 6px 0;
}
.company {
  font-size: 14px;
  margin: 6px 0;
}
.logo-container {
  flex-shrink: 0;
  margin-left: 20px;
}
.logo-container img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}
h1, h2, h3 {
    font-family: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: inline-block;
    margin: 1rem 0 0.5rem;
    position: relative;
    padding-bottom: 4px;
}
h1::after, h2::after, h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 40%;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
  border-radius: 1px;
}
h1:hover::after, h2:hover::after, h3:hover::after {
  width: 100%;
}
.job-details {
  font-size: 13px;
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  overflow-wrap: break-word;
}
/* Tabs */
.tab-content {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.tab-content.active {
  display: block;
  opacity: 1;
}
.work-experience li {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 4px;
  list-style-type: disc;
  list-style-position: inside;
}
.highlight {
  background-color: var(--color-yellow);
  color: var(--color-text);
  font-weight: bold;
}
/* Skills Grid */
.skills-grid {
  text-align: left;
  padding: 10px;
}
.skills-grid h2 {
  margin-bottom: 10px;
}
.grid {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
  padding: 4px;
  justify-content: flex-start;
}
.skill {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 25%;
  padding: 4px;
  min-width: 100px;
  box-sizing: border-box;
}
.skill i {
  font-size: 24px;
  margin-bottom: 6px;
}
.skill span {
  font-size: 13px;
  word-break: break-word;
}
/* Projects */
.project-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 20px 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent) var(--color-black);
}
.project-container::-webkit-scrollbar {
  width: 10px;
}
.project-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}
.project-container::-webkit-scrollbar-thumb {
  background-color:  var(--color-accent);
  border-radius: 10px;
  border: 2px solid #f1f1f1;
}
.project-container::-webkit-scrollbar-thumb:hover {
  background-color:  var(--color-accent);
}
@media screen and (max-width: 480px) {
  /* Projects */
.project-container {
    grid-template-columns: 1fr;
  }
}
.project-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.project-item {
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 16px;
  width: 240px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.project-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 14px #var(--color-accent);;
}
.project-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}
.project-item h3 {
  font-size: 16px;
  margin: 8px 0;
  font-weight: bold;
}
.project-item p {
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 12px;
}
.project-btn {
  color: var(--color-white);
  font-size: 14px;
  cursor: pointer;
  border: none;
  padding: 8px 12px;
  text-decoration: none;
  border-radius: 6px;
  background-size: 200% auto;
  background-image: linear-gradient(to right, var(--color-accent) 0%, var(--color-secondary) 100%);
  transition: background-position 0.4s ease;
}
.project-btn:hover {
  background-position: right center;
}
/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  max-width: 600px;
}
.contact-form label {
  font-weight: bold;
  font-size: 14px;
}
.contact-form input,
.contact-form textarea {
  padding: 10px;
  font-size: 14px;
  font-family: var(--font-main);
  border: none;
  border-bottom: 2px solid var(--color-accent);
  border-radius: 0;
  background-color: transparent;
  transition: border-color 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom: 2px solid var(--color-secondary);
}
.contact-form button {
  padding: 10px 20px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  background-size: 200% auto;
  background-image: linear-gradient(to right, var(--color-accent) 0%, var(--color-secondary) 100%);
  transition: background-position 0.4s ease;
}
.contact-form button:hover {
  background-position: right center;
}
/* Responsive */
@media screen and (max-width: 900px) {
  .skill { width: 33%; }
}
@media screen and (max-width: 600px) {
  .grid {justify-content: left;padding: 4px;}
  .skill {
    width: 33.33%;
    align-items: center;
    text-align: center;
  }
  .skill i { font-size: 22px; }
  .skill span { font-size: 11px; }
}
@media screen and (max-width: 768px) {
  body {
    flex-direction: column;
    height: auto;
  }
  .left-section, /* Right Section */
.right-section {
    width: 100%;
    height: auto;
    padding: 10px;
    min-height: 180px;
  }
  .profile-image {
    width: 150px;
    height: 150px;
  }
  /* Typography */
h1 { font-size: 24px; }
  h2 { font-size: 20px; }
}
.left-section h1,
.left-section h2,
.left-section h3 {
  display: block;
  text-align: center;
  color: var(--color-white);
}

.right-section h1,
.right-section h2,
.right-section h3 {
  position: relative;
  display: inline-block;
  font-family: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin: 1rem 0 0.5rem;
  padding-bottom: 4px;
  color: var(--color-text) !important;
  transition: color 0.3s ease;
}

h1:hover::after, h2:hover::after, h3:hover::after {
  width: 100%;
}

/* Modal background */
.modal {
  display: none; 
  position: fixed; 
  z-index: 1000; 
  left: 0; 
  top: 0; 
  width: 100%; 
  height: 100%; 
  background: rgba(0,0,0,0.8); 
}

/* Modal box */
.modal-content {
  position: relative;
  margin: 5% auto;
  padding: 0;
  width: 80%;
  max-width: 800px;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

/* Close button */
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
}