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

:root {
  --theme-color: #5aa9f4;
  --accent-color: #ff3399;
  --text-color: white;
  --dark-bg: #0f0f38;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #00172E;
  color: var(--text-color);
}

#header {
  background: url("BACKGROUND.jpg") no-repeat center center/cover;
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding-top: 50px;
}

nav {
  width: 100%;
  padding: 16px 7%;
  position: fixed;
  top: 0;
  left: 0;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.logo {
  font-size: 22px;
  font-weight: 600;
}

.logo .white-text {
  color: white;
}

.logo .blue-text {
  color: var(--theme-color);
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 35px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 15px;
  position: relative;
}

nav ul li a:not(.pink-btn)::after {
  content: '';
  width: 0;
  height: 2px;
  background: var(--theme-color);
  position: absolute;
  bottom: -5px;
  left: 0;
  transition: 0.4s;
}

nav ul li a:not(.pink-btn):hover::after {
  width: 100%;
}

.pink-btn {
  background: var(--accent-color);
  color: white;
  border: none;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s ease;
}

.pink-btn:hover {
  background: #e60073;
}

.menu-icon {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
   z-index: 1001; 
  position: relative; 
}

.photo-box {
  width: 260px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  box-shadow: inset 0 0 0 6px var(--theme-color), 0 0 70px 17px var(--theme-color);
  overflow: hidden;
  position: absolute;
  top: 24%;
  left: 14%;
}
.photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content {
  position: absolute;
  top: 27%;
  right: 14%;
}

.content .text {
  font-size: 21px;
  margin-bottom: 5px;
}

.content .name {
  font-size: 50px;
  font-weight: 500;
}

.content .job {
  font-size: 23px;
  margin-top: 10px;
  display: flex;
  align-items: center;
}

.typing-text {
  color: var(--theme-color);
  margin-left: 10px;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid var(--theme-color);
  animation: typing 5s steps(13) infinite;
}

@keyframes typing {
  0% { width: 0ch; }
  50% { width: 13ch; }
  100% { width: 0ch; }
}

.social-icons {
  margin-top: 13px;
  display: flex;
  gap: 18px;
}

.social-icons a {
  font-size: 25px;
  color: var(--theme-color);
  transition: 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
}

.buttons {
  display: flex;
  gap: 13px;
  margin-top: 23px;
}

.btn-primary {
  background-color: var(--theme-color);
  color: black;
  padding: 10px 25px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.btn-outline {
  background: transparent;
  color: var(--theme-color);
  border: 2px solid var(--theme-color);
  padding: 8px 27px;
  border-radius: 6px;
  cursor: pointer;
}

.btn-primary:hover,
.btn-outline:hover {
  box-shadow: 0 4px 12px rgba(90, 169, 244, 0.5);
  transform: scale(1.05);
}

.section {
  padding: 80px 5%;
  background: url("BACKGROUND.jpg") no-repeat center center/cover;
}

#about .row,
#contact .row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.about-col-1 {
  flex: 1;
}

.about-col-1 img {
  width: 100%;
  
}

.about-col-2 {
  flex: 2;
  min-height: 415px;
}

.sub-title {
  color: var(--theme-color);
  font-size: 40px;
  margin-bottom: 16px;
  
}
.about-col-2 .sub-title{
  margin-top: 3%;
}

.tab-titles {
  display: flex;
  gap: 20px;
  margin-top: 18px;
}

.tab-links {
  position: relative;
  cursor: pointer;
}

.tab-links::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--theme-color);
  bottom: -6px;
  left: 0;
  transition: 0.3s;
}

.tab-links.active-link::after {
  width: 100%;
}

.tab-contents {
  display: none;
  margin-top: 16px;
}

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

.tab-contents ul li {
  margin-bottom: 8px;
  color: white;
  list-style: none;
}

.tab-contents ul li span {
  color: var(--theme-color);
  font-weight: bold;
}

.projects-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 110px;
}

.projects-list div {
  background: var(--theme-color);
  padding: 28px;
  border-radius: 10px;
  transition: 0.3s ease;
}

.projects-list div:hover {
  transform: translateY(-10px);
}

.projects-list div h2 {
  color: white;
  margin-bottom: 8px;
}

.contact-left,
.contact-right {
  flex: 1;
}
.contact-info {
  color: white;
  font-size: 16px;
}

.contact-left p {
  margin-top: 18px;
}

.contact-left i {
  color: var(--theme-color);
  margin-right: 10px;
  font-size: 20px;
}

.contact-right form input,
.contact-right form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 15px;
  background: var(--theme-color);
  border: none;
  border-radius: 6px;
  color: white;
  font-size: 13px;
  
}

input::placeholder,
textarea::placeholder {
  color: white;
}

.copyright {
  text-align: center;
  padding: 18px;
  background: #00172E;
  color: white;
  font-size: 12px;
}
@media (min-width: 964px) {
  .menu-icon {
    display: none !important;
  }

  nav ul {
    display: flex !important;
    position: static !important;
    flex-direction: row !important;
    background: transparent !important;
    backdrop-filter: none !important;
    padding: 0 !important;
  }
}


@media (max-width: 965px) {

  
  nav ul {
    position: absolute;
    top: 0;
    left: 10px;
    background: rgba(0, 23, 46, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    width: calc(100% - 20px);
     border-radius: 0 0 10px 10px; 
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 20px 20px 20px 30px;
    z-index: 999;
  }
  nav ul.active {
    display: flex;
  }

  .menu-icon {
    display: block;
  }

  .photo-box,
  .content {
    position: static;
    margin: 30px auto;
    text-align: center;
  }

  .content .name {
    font-size: 34px;
  }


  .content .job {
  font-size: 18px;
}
.typing-text {
  font-size: 18px;
}

  .row {
    flex-direction: column;
  }
  .content .text{
    justify-content: center;
  }
  .job{
    justify-content: center;
  }
  .social-icons {
    justify-content: center;
  }
  .buttons{
justify-content: center;
  }
  
}
#projects, #about {
  min-height: 100vh;
  background: url("BACKGROUND.jpg") no-repeat center center/cover;
  align-items: center;
  justify-content: center;
 
}
#contact{
   min-height: 100vh;
  background: url("BACKGROUND.jpg") no-repeat center center/cover;
  
  align-items: center;
  justify-content: center;
  
  /* scroll-snap-align: start; */
}
#contact .row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start; 
  /* padding-top: 40px; */

}
.contact-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;

}
.contact-left .sub-title {
  font-size: 40px;
  margin-bottom: 60px;
  margin-top: 0;
}

#form-loader {
  font-size: 15px;
  margin-top: 10px;
  animation: blink 1s linear infinite;
}

@keyframes blink {
  50% {
    opacity: 0.5;
  }
}

form .pink-btn{
    padding: 12px 50px;
    margin-top: 15px;
}


.project-box {
  background: #0f0f38;
  padding: 28px;
  border-radius: 14px;
  border: 1px solid #1f1f5a;
  overflow: hidden;
}

.project-box img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #080824;
  border-radius: 10px;
  padding: 10px;
  display: block;
}









