@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  background: linear-gradient(to bottom,  #8596cb, #eaeefb);
  background-size: cover;
  background-position: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
  color: white; 
}

.header {
  width: 100%;
  display: flex;
  justify-content: flex-end; 
  padding: 10px 20px;
  box-sizing: border-box; 
}

.name {
  font-size: 37px; 
  font-weight: 210;
  font-family: "Rubik", sans-serif;
  color: #fff; 
  text-decoration: none;
  margin-right: auto; 
}

.logo {
  display: inline-block;
  font-size: 35px; 
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #0b59d7; 
  margin-right: auto; 
}

.hero {
  display: flex;
  justify-content: center; 
  align-items: center; 
  min-height: 88.4vh;
  padding: 20px;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  max-width: 1200px; 
  width: 100%;
  margin-left: 160px;
  gap: 40px; 
}

.hero-text {
  flex: 1; 
}

.hero-text h1 {
  font-size: 3rem; 
  margin-bottom: 20px;
  color: #ffffff; 
}

.hero-text p {
  font-size: 2.25rem;
  margin-bottom: 30px;
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #ffffff; 
}

.hero-text .new {
  font-size: 1.25rem;
  margin-bottom: 30px;
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #ffffff; 
}

.hero-text .btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #233b83; 
  color: #fff; 
  text-decoration: none;
  border-radius: 20px;
  transition: background-color 0.3s ease;
}

.hero-text .btn:hover {
  background-color: #ffffff; 
  color: rgb(0, 0, 0);
}

.hero-image {
  flex: 1; 
  text-align: right; 
}

.hero-image img {
  max-width: 50%;
  height: 50%;
  margin-right: 312px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}

.row {
  width: 100%;
}

.nav {
  height: 65px; 
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nav_links {
  list-style-type: none;
  display: flex;
  margin: 0;
  padding: 0;
  margin-right: 178px;
}

.nav_link {
  margin-right: 12px;
  font-size: 17px;
  margin-left: 12px; 
}

.nav_link a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease;
}

.nav_link a:hover {
  color: #0f4b87;
  transition: color 0.3s ease; 
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.content-section {
  display: flex; 
  align-items: flex-start; 
  gap: 40px; 
  margin-top: 40px;
  padding-left: 20px; 
  max-width: 1200px;
}

.about-image {
  flex: 1;
  margin-right: 90px; 
  margin-left: 0; 
}

.about-image img {
  width: 145%; 
  height: 100%;
  border-radius: 10px; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
  margin-left: -70px;
}

@media (max-width: 768px) {
  .about-image img {
    width: 100%;
    height: auto;
    margin-left: 0;     
    max-width: 100%;
    display: block;
  }

  .about-image {
    width: 100%;
    margin-right: 0;    
  }
}

.about-text {
  flex: 2; 
}

.about-text h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.about-text p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 20px;
  text-align: left;
  max-width: 100%;
  word-wrap: break-word;
}

.content-section h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.content-section p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 20px;
  text-align: left;
  max-width: 100%;
  word-wrap: break-word;
}

.skills-section {
  background-color: #07135a;
  background: linear-gradient(to bottom,  #07135a, #4054c2);
  color: #fff;
  padding: 40px 0;
}

.skills-section .content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.skills-section h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #fff;
}

.skill-category {
  margin-bottom: 20px;
}

.category-label {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: #dfe9ff;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.skill-bubbles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bubble {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(170, 196, 255, 0.25);
  color: #cdd8f6;
  font-size: 0.95rem;
  cursor: default;
  transition: background-color 0.25s ease, border-color 0.25s ease,
              color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.bubble:hover {
  background-color: rgba(100, 149, 255, 0.25);
  border-color: #6495ff;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(100, 149, 255, 0.5), 0 0 24px rgba(100, 149, 255, 0.2);
  transform: translateY(-2px);
}

.education-section {
  background: linear-gradient(to bottom,  #171616, #353535);
  color: #333; 
  padding: 40px 0; 
}

.education-section .content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.education-section h1 {
  font-size: 2.5rem;
  margin-bottom: 40px; 
  color: #ffffff; 
  text-align: center;
}

.education-item {
  display: flex;
  align-items: flex-start; 
  margin-bottom: 40px; 
  padding: 20px; 
  background: linear-gradient(to bottom,  #1d1c1c, #2b2929);
  border-radius: 10px; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}

.education-item img {
  width: 100px; 
  height: auto;
  margin-right: 30px;
  border-radius: 10px; 
}

.education-text {
  flex: 1;
}

.education-text h2 {
  font-size: 1.75rem;
  margin-bottom: 10px; 
  color: #ffffff; 
}

.education-text h3 {
  font-size: 1.25rem;
  margin-bottom: 10px; 
  color: #ffffff; 
}

.education-text h4 {
  font-size: 1.1rem;
  margin-bottom: 20px; 
  color: #ffffff;
}

.education-text h5 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.education-text ul {
  list-style-type: disc; 
  margin-left: 20px; 
}

.education-text ul li {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.skill-item h7 {
  font-size: 1.5rem;
  color: #333;
}

.skill-item h6 {
  font-size: 1.25rem;
  color: #555;
}

.education-item {
  margin-bottom: 40px;
}

.education-item img {
  width: 100px;
  height: auto;
  margin-right: 20px;
}

.education-text h2 {
  font-size: 1.75rem;
  color: #ffffff;
}

.education-text h3 {
  font-size: 1.25rem;
  color: #ffffff;
}

.education-text ul {
  margin-top: 10px;
}

.education-text ul li {
  font-size: 1.1rem;
  color: #ffffff;
}

.skills-section h6 {
  color: #ffffff;
}

.skills-section h7 {
  color:#ffffff;
}

.text {
  margin-left: 20px;
}

.content img {
  border-radius: 10%;
  width: 35%;
  height: 100%;
  object-fit: cover;
}

.acheivements-section {
  background: linear-gradient(to bottom,  rgb(66, 176, 239), rgb(32, 54, 111));
  color: #333;
  padding: 40px 0;
}


.acheivements-section .content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.acheivements-section h1 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #ffffff;
  text-align: center;
}

.acheivement-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  color: white;
  padding: 20px;
  background: linear-gradient(to bottom,  rgb(63, 151, 201), rgb(52, 84, 164));
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.acheivement-item h2 {
  color: white;
}

.acheivement-item h3 {
  color: white;
}

.acheivement-item h5 {
  color: white;
}

.acheivement-item h6 {
  color: white;
}

.acheivement-item img {
  width: 100px;
  height: auto;
  margin-right: 30px;
  border-radius: 10px;
}

.line-container {
  width: 100%;
}

.line {
  border-bottom: 2px solid rgb(255, 255, 255);
}

.logo-image {
  width: 100px;
  height: auto;
}

.acheivement-image {
  width: 630px;
  height: 410px;
}


input[type=text], select, textarea {
  width: 100%; 
  padding: 12px; 
  background-color: #191818;
  color: #fff;
  border: 1px solid #000000; 
  border-radius: 4px; 
  box-sizing: border-box; 
  margin-top: 6px; 
  margin-bottom: 16px; 
  resize: vertical 
}


input[type=submit] {
  background-color: #1c4cfa;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: #1440e0;
}

.container {
  border-radius: 5px;
  background-color: #0d0c0c;
  padding: 20px;
}

h1 {
  position: relative;
  font-family:monospace;
  font-size:xx-large;
  display: inline-block; 
}

h1::after {
  content: ''; 
  position: absolute;
  bottom: -7.5px;
  left: 0;
  width: 100%;
  height: 1.1px; 
  background-color: white; 
}

h4 {
  font-size: medium;
  font-weight: lighter;
  color: rgb(190, 202, 215);
}

h3 {
  font-size: medium;
  font-weight: lighter;
  color: rgb(190, 202, 215);
}

.content-section1 {
  max-width: 1100px;
  margin: 120px auto 50px;
  padding: 20px;
  background: #eaeefb;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

h1, h2, h3 {
  color: #fff;
  margin-bottom: 10px;
}

h1 {
  font-size: 30px;
  font-weight: bold;
}

h2 {
  font-size: 22px;
  font-weight: 600;
  color: #0b59d7;
}

h3 {
  font-size: 18px;
  color: #aaa;
}

.logo-image {
  width: 80px;
  height: auto;
  border-radius: 10px;
  margin-right: 20px;
}

.experience-item {
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom,  #a1b2e7, #9aacde);
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.experience-item:hover {
  transform: translateY(-5px);
}

.experience-text {
  flex: 1;
}

.experience-text h1 {
  font-size: 22px;
  font-weight: bold;
}

.experience-text h2 {
  font-size: 18px;
  color: #ffffff;
}

.experience-text h3 {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 8px;
}


.education-item {
  display: flex;
  align-items: center; 
  margin-bottom: 30px;   
}

.education-item img {
  width: 100px;          
  height: auto;          
  margin-right: 20px;    
}

.education-text {
  max-width: 600px;     
}

.education-text h1, .education-text h2, .education-text h3 {
  margin: 5px 0;         
}

.education-text p {
  margin-top: 10px;     
}


.content3 h1 {
  color: rgb(255, 255, 255);
}


h6 {
  font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: #57dcf1;
  font-size: large;
  font-weight: 100;
}

.h7 {
  font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  color: #ffffff;
  font-size: large;
  font-weight: 100;
}


.project {
  color: #ffffff;  
  text-decoration: none;  
  transition: color 0.3s ease, text-decoration 0.3s ease;  
}


.project:hover {
  color: #064e9a;  
  text-decoration: none; 
}

.text {
  margin-bottom: 20px;
}

h1, h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.project-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 70px;
  padding: 15px;
  background: linear-gradient(to bottom,  #8796c4, #aab6de);
  color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.project-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.project-details {
  flex: 1;
}

.project-details h2 {
  margin: 0 0 10px;
}

.project-details a {
  text-decoration: none;
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
}

.project-details a:hover {
  text-decoration: none;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 900px;
  color: #eaeefb;
  margin: 50px auto;
  padding: 20px;
  gap: 30px;
}

.contact-info {
  width: 40%;
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
  margin-bottom: 15px;
}

.contact-info a {
  text-decoration: none;
  color: #1059c7;
  font-weight: bold;
}

.contact-info a:hover {
  color: #368ff5;
}

.social-links {
  margin-top: 10px;
}

.social-links a {
  display: block;
  margin: 5px 0;
  font-size: 18px;
  color: #233b83;
}

.social-links a i {
  margin-right: 8px;
}

.social-links a:hover {
  color: #ffffff;
}

.contact-info h2 {
  color: black;
}
.contact-form {
  width: 55%;
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
  margin-bottom: 15px;
  color: #333;
}

.contact-form label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  background-color: white;
    color: black;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    font-size: 16px;
}

.contact-form button {
  background: #0869e8;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 1px;
}

.contact-form button:hover {
  background: #021a7c;
}

label {
  color: black;
  font-weight: bold; 
  border-radius: 22px;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px 0;
}

.service-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 22px;
  text-align: center;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.1);
}

.service-card i {
  font-size: 2rem;
  color: #333;
  margin-bottom: 10px;
}

.service-card p {
  color: #333;
}

.service-title {
  font-size: 1.2rem;
  font-weight: bold;
}

.contact-me {
  text-align: center;
  margin-top: 40px;
}

.contact-me h2 {
  font-size: 2rem;
}

.contact-me p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.contact-me a {
  text-decoration: none;
  background-color: #007bff;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 22px;
  display: inline-block;
  transition: background 0.3s;
}

.contact-me p {
  color: black;
}

.contact-me a:hover {
  background: #0056b3;
}

@keyframes bringTogether {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-section, .skills-section, .education-section, .content-section1, .contact-container {
  animation: bringTogether 1s ease-out forwards;
}

.content-section { animation-delay: 0.4s; }
.skills-section { animation-delay: 0.6s; }
.education-section { animation-delay: 0.8s; }
.content-section1 { animation-delay: 1s; }
.contact-container { animation-delay: 1.2s; }

.hero-text {
  opacity: 0;
  animation: bringTogether 2.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.3s;
}

.hero-image {
  opacity: 0;
  animation: fadeIn 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 1.4s;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.content-section {
  animation-delay: 0.4s;
}

.skills-section {
  animation-delay: 0.6s;
}

.education-section {
  animation-delay: 0.8s;
}

.content-section1 {
  animation-delay: 1s;
}

.contact-container {
  animation-delay: 1.2s;
}

.contact-social {
  display: flex;
  align-items: center;
  gap: 20px; 
}

.social-links {
  display: flex;
  gap: 15px; 
}

.social-links a {
  color: #233b83; 
  font-size: 1.5rem; 
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #ffffff; 
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .header {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }

  .name,
  .logo {
    font-size: 28px;
    margin-right: 0;
    text-align: center;
  }

  .nav {
    justify-content: flex-start; 
    height: auto;
    padding: 10px 0;
    overflow-x: auto; 
    white-space: nowrap; 
    -webkit-overflow-scrolling: touch; 
  }

  .nav_links {
    display: inline-flex;
    flex-wrap: nowrap; 
    margin: 0;
    padding: 0;
  }

  .nav_link {
    margin: 0 15px;
    font-size: 1.2rem;
    display: inline-block;
  }

  .hero {
    min-height: auto;
    padding: 20px 10px;
  }

  .hero-content {
    flex-direction: column;
    margin-left: 0;
    gap: 20px;
    text-align: center;
  }

  .hero-text h1 {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1.5rem; 
  }

  .hero-image img {
    max-width: 100%;
    height: auto;
    margin-right: 0;
  }

  .content-section {
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
  }

  .hero,
.hero-content,
.content-section,
.about-image {
  width: 100%;
  max-width: none !important;
}

.about-image img {
  width: 600px;
  height: auto;
  display: block;
}



  .about-text {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: center;
  }

  .skills-section {
    padding: 20px 10px;
  }

  .skills-section h1 {
    font-size: 2rem;
  }

  .skills-section h7 {
    font-size: 1.2rem;
  }

  .section-title {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: center;
  }

  h1 {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  }

  .skills-section h6 {
    font-size: 1rem;
  }

  .education-section {
    padding: 20px 10px;
  }

  .education-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .education-item img {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .project-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .project-logo {
    margin-bottom: 20px;
  }

  .contact-container {
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
  }

  .contact-info,
  .contact-form {
    width: 100%;
    margin-bottom: 20px;
  }

  input[type="text"],
  input[type="email"],
  textarea {
    font-size: 16px; 
  }

  .btn,
  input[type="submit"] {
    padding: 12px 24px; 
  }
}

@media (min-width: 769px) {
}

@media (max-width: 768px) {
  .contact-social {
      flex-direction: column; 
      gap: 10px; 
  }

  .social-links {
      justify-content: center; 
  }
}

html {
  overflow-x: hidden;
}

body {
  overflow-x: visible;
}

.header {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding: 10px 20px;
  box-sizing: border-box;
}

.hamburger {
  display: none !important;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  cursor: pointer;
  padding: 10px;
  z-index: 99999;
  position: fixed !important;
  right: 20px;
  top: 16px;
  backdrop-filter: blur(6px);
  transition: background 0.3s ease, border 0.3s ease;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex !important;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 260px;
  height: 100vh;
  background: linear-gradient(to bottom, #1E90FF, #2f86dd);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 80px 30px 30px;
  gap: 10px;
  transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 1.3rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-menu a:hover {
  color: #57dcf1;
  padding-left: 8px;
}

.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: all;
}

@media (max-width: 768px) {
  .nav_links {
    display: none;
  }

  .menu-overlay {
    display: block;
  }
}