body *:not(.controlframe, .controlframe *) {
    text-align: center;
}
body {
    background-color: #100D1A;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -20%;
    width: 50vw;
    height: 50vh;
    border-radius: 50%;
    
    background: radial-gradient(circle, 
        rgba(106, 83, 249, 0.4) 0%, 
        rgba(83, 249, 233, 0.1) 40%, 
        transparent 70%
    );
    filter: blur(150px); 
    z-index: 1;
    
    animation: slow-drift 30s ease-in-out infinite alternate;
}

@keyframes slow-drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(10%, 10%); }
}
body {
  color: #FFFFFF;
  padding-right: 20px;
  font-family: 'Times New Roman', Times, serif;
  margin: -2%;
  height: auto;
}

body {
  margin: 0;
  padding-top: 150px; 
}

.controlframe {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px; 
   background-color: #100D1A;
  background-image: radial-gradient(
    circle at 50% 100%, 
    rgba(106, 83, 249, 0.05) 0%, 
    rgba(16, 13, 26, 1) 70%     
  );
 border-bottom: 1px solid rgba(106, 83, 249, 0.15); 
  display: flex;
  align-items: flex-end; 
  justify-content: center; 
  padding: 0 80px;
  box-sizing: border-box;
  border-bottom: 1px solid #6A53F9;
  z-index: 1000;
  flex-wrap: wrap;
  transition: all 0.3s ease;
}

.head {
  position: absolute;
  left: 80px;
  bottom: 20px; 
  color: #fff;
  font-size: 2.8rem;
  font-weight: bold;
  margin: 0;
  flex-shrink: 0;
}
.head1 {
  color: #00F5D4;
}

.button-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.theme-btn {
  background: none;
  border: none;
  color: #f5f5f5;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  position: relative;
  transition: color 0.3s ease;
}

.theme-btn::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background-color: #00F5D4;
  transition: width 0.3s ease;
}
.theme-btn:hover {
  color: #00F5D4;
}
.theme-btn:hover::after {
  width: 100%;
}

@media (max-width: 992px) {
  .controlframe {
    padding: 0 40px;
  }

  .head {
    left: 40px;
    font-size: 2.4rem;
  }

  .button-group {
    gap: 40px;
  }

  .theme-btn {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .controlframe {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    height: 110px; 
  }

  .head {
    position: relative;
    left: 0;
    bottom: 0;
    align-self: center;
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .button-group {
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .button-group::-webkit-scrollbar {
    display: none;
  }

  .theme-btn {
    font-size: 14px;
    letter-spacing: 1.5px;
  }
}


@media (max-width: 480px) {
  .head {
    font-size: 1.8rem;
  }

  .button-group {
    gap: 15px;
  }

  .theme-btn {
    font-size: 13px;
  }
}

section {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100vw;        
  min-height: auto;    
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.color4{
  background-color:#1A162B;
}
.color3{
  background-color: #100D1A;
}
.color2{
  background-color: #1A162B;
}
.shape{
   position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.shape svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 98px;
}

.shape-fill {
    fill:#100D1A;
}

.shape2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.shape2 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 98px;
}

.shape2-fill {
    fill:#1A162B;
}
.shape3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.shape3 svg {
    position: relative;
    display: block;
    width: calc(118% + 1.3px);
    height: 107px;
    transform: rotateY(180deg);
}

.shape3-fill {
    fill:#100D1A;
}
.shape4 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.shape4 svg {
    position: relative;
    display: block;
    width: calc(118% + 1.3px);
    height: 130px;
}

.shape4-fill {
    fill:#1A162B;
}
.head {
  position: absolute;
    letter-spacing: 10px;
    margin: 0;
    z-index: 2;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    text-shadow:
    0 0 1px #FFFFFF;
    left: 30px;
    margin: 0%;
    padding-top: 5px;
    letter-spacing: 0.5px;
}
.head4{ 
    letter-spacing: 10px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-shadow:
    0 0 1px black;
    padding-left: 20px;
    padding-top: 5px;
    letter-spacing: 0.5px;
  
}
.home{
  margin-top:  25px;
  padding-left: 10px;
  padding-bottom: 100px;
}
.head2{
    color: #00F5D4;
    font-size: 3rem;
  font-weight: bold;
  text-shadow:
    0 0 1px #FFFFFF;
    padding-left: 10px;
    padding-top: 10px;
    font-size: 2em;
    letter-spacing: 0.5px;
}
.me {

  max-width: 400px;
  max-height: 400px;
 box-shadow: 0 0 20px rgba(1, 128, 239, 0.2);
  align-items: last baseline;
  border-radius: 50%;
  margin: 0 150px 0 0; 
  vertical-align: middle;
}

@media (max-width: 1024px) {
  .me {
    margin: 0 50px 0 0; 
  }
}

@media (max-width: 768px) {
  .me {
    float: none;
    display: block;
    margin: 20px auto;
    max-width: 80%;
  }
}

.controlframe{
  border-bottom: 1px solid rgba(255, 255, 255, 0.411);
  padding-bottom: 15px;
  margin-bottom: 20px;
}
.box{
 padding-top: 50px;
  padding-bottom: 80px;
}

.resume{
  padding-left: 20px;
  display: inline-block;
  padding: 10px 20px;
  background-color: #00F5D4;
  color: #FFFFFF;
  font-weight: bold;
  text-decoration: none;
  border-radius:5px;
  transition: background 0.3s ease;
}
.resume:hover{
  background-color: #00F5D4; 
  color: #FFFFFF;
}
.navbar-container{
  position: relative; 
  display: flex;
  justify-content: space-between;
  background: #000000;
  backdrop-filter: blur(10px);
  padding: 10px 30px;
  height: 20px;
  border-radius: 50px;
  box-shadow: 0 0 20px rgba(255, 0, 200, 0.2);
  width: 90%;
  margin-right: 590px; 
  top: 20px;  
  gap: 50px;
}
html {
  scroll-behavior: smooth;
}
a {
  text-decoration: none;
}
.text0{
  font-size: normal;
}
.text{
 padding-left: 20px;
  font-size: normal;
  font-weight: normal;
}
.left{
  font-size: normal;
 padding-left: 20px;
}
.skill{
  padding-bottom: 100px;
}
.skills{
  padding-top: 50px;
  color: #00F5D4;
  border-color: #5a80c7;
  border-width: 100px;
  font-weight: bold;
  text-shadow:
    0 0 1px #FFFFFF;
    padding-left: 20px;
    font-size: 3em;
    letter-spacing: 0.5px;
}
.skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
  margin-left: 20px;
}

.skill-item {
  width: 120px;
  height: 120px;
  border-radius: 20%;
  background-color: #000000;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  border: 2px solid #3c3657;
}
.skill-item img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 5px;
}
.skill-item p {
  margin: 0;
  font-size: 14px;
}
.social-icons1 {
  margin-top: 15px;
  display: flex;
  gap: 85px;
  justify-content: center; 
}

.social-icons {
  margin-top: 15px;
  display: flex;
  gap: 45px;
  justify-content: flex-start; 
}
.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px; 
  height: 45px;
  background-color: transparent;
  padding-left: 20px;
  color: #00F5D4;
  font-size: 20px; 
  transition: 0.3s ease;
}
.icon-btn1 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px; 
  height: 65px;
  background-color: transparent;
  padding-left: 20px;
  color: #FFFFFF;
  font-size: 20px; 
  transition: 0.3s ease;
}
.icon-btn:hover {
  color: #00F5D4;
  transform: scale(1.1);
}
.clr{
  color: #00F5D4;
}

.contact-section {
    max-width: 600px;
    margin: 30px auto;
    background: #000000;
    padding: 20px;
    border-radius: 10px;
  }

  .contact-section h2 {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
  }

  .contact-section input,
  .contact-section textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    font-size: 15px;
  }

  .contact-section textarea {
    resize: none;
    height: 120px;
  }

  .contact-section button {
    width: 100%;
    padding: 12px;
    background: #00F5D4;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }

  .contact-section button:hover {
    background: #00F5D4;
  }
  .msg {
  height: 500px;
  width: 50%;
  margin-left: 0; 
  border-radius: 15px;
  color: #FFFFFF;
  padding: 20px;
  }
  .start{
    box-shadow: 0 0 10px #1c564f, 0 0 30px rgba(99, 167, 152, 0.5);
    float: left;
    font-family: 'Poppins', sans-serif;
    border-radius: 15px;
    text-align: center;
    font-weight: bold;
    height: 30px;
    width: 500px;
    margin: 20px;
    border-width: 3px;
    border-color: #00F5D4;
  }
  .con{
    box-shadow: 0 0 10px #1c564f, 0 0 30px rgba(99, 167, 152, 0.5);
    
    font-family: 'Poppins', sans-serif;
    float: left;
    border-color: #00F5D4;
    border-width: 3px;
    border-radius: 15px;
    height: 120px;
    width: 500px;
    margin: 20px;
  }
  .in{

   letter-spacing: 10px;
    font-size: 3rem;
    font-weight: bold;
    text-shadow:
    0 0 1px #FFFFFF;
    padding-top: 5px;
    letter-spacing: 0.5px;
    color: #00F5D4;
  }
  .send{
    box-shadow: 0 0 10px #1c564f, 0 0 30px rgba(99, 167, 152, 0.5);

    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    float: left;
    cursor: pointer;
    border-radius: 15px;
    color: #1c564f;
    margin: 20px;
    height: 35px;
    width: 510px;
    background-color: #00F5D4;
  }
  .start::placeholder { 
  font-size: 16px;    
  font-style: italic; 
  color: #706e6e;
}
.con::placeholder {
  text-align: center;
  color: #706e6e;      
  font-size: 16px;  
  font-weight: bold;   
  font-style: italic;  
}
.det {
  width: 50%;
  float: right;
  color: #00F5D4;
  width: 40%;
  padding-top: 250px; 
}
.container {
  display: flex;
  justify-content: space-between;
  gap: 20px; 
  width: 100%;
  height: 620px;
}
.social-icons2 {
  margin-left: 65px;
  margin-top: 15px;
  display: flex;
  gap:115px;
  justify-content: flex-start; 
}

.a12{
    color: #00F5D4;
}

#popup-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: #000000;
  color: #FFFFFF;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(255,255,255,0.3);
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  max-width: 90%;
  word-wrap: break-word;
  opacity: 0;
  z-index: 9999;
  text-align: center;
  transition: all 0.3s ease-in-out;
}
#popup-message.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.hidden {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 998px) {
  #popup-message { font-size: 1.1rem; padding: 18px 25px; }
}
@media (max-width: 786px) {
  #popup-message { font-size: 1rem; padding: 16px 22px; }
}
@media (max-width: 480px) {
  #popup-message { font-size: 0.9rem; padding: 12px 18px; }
}


.projects{
  padding-bottom: 100px;
}
#project {
  margin-left: 65px;
  padding: 50px 50px;
  
  background: #000000;
  text-align: center;
}
.section-title {
  border-color: #FFFFFF;
  border-width: 2px;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #FFFFFF;
  font-family: 'Poppins', sans-serif;
}

.project-grid {
  padding-left: 65px;
  padding-bottom: 20px;
  padding-right: 65px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
}

.project-card {
  border: 2px solid #00F5D4;
  box-shadow: 0 0 10px #1c564f, 0 0 30px rgba(99, 167, 152, 0.5);

  background: #100D1A;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(255,255,255,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.project-card:hover {
  transform: translateY(-8px);
}
.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.project-card h3 {
  padding-left: 5px;
  font-size: 1.2rem;
  margin: 15px 0;
  color: #FFFFFF;
  font-family: 'Poppins', sans-serif;
}

.project-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 15px;
}
.btn {
  padding: 8px 16px;
  border-radius: 8px;
  background: #00F5D4;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}
.btn:hover {
  background:#00F5D4;
}
.btn.secondary {
  background: #000000;
}
.btn.secondary:hover {
  background: #000000;
}

@media (max-width: 1024px) {
  .container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .msg, .det {
    width: 100%;
    padding-top: 20px;
    text-align: center;
  }

  .det h2 {
    font-size: 1.8rem;
  }

  .det h3 {
    font-size: 1rem;
    line-height: 1.6;
  }

  .start, .con, .send {
    width: calc(100% - 40px);
  }

  .social-icons2 {
    align-items: center;
    justify-content: center;
    gap: 40px;
  }

}

@media (max-width: 768px) {
  .social-icons2 {
    align-items: center;
    justify-content: center;
    gap: 40px;
  }


    .det {
        margin-top: 80px;
        text-align: center;
        padding-bottom: 30px; 
    }

    .det h2 {
        font-size: 1.5rem;
        margin-bottom: 20px; 
    }

    .contact-group {
        display: flex; 
        flex-direction: column; 
        align-items: center; 
        justify-content: center;
    }

    .det h3 {
        font-size: 1rem;
        line-height: 1.5;  
        margin: 10px 0;
        text-align: center; 
        width: 100%; 
    }
    .icon-btn1{
      padding-left: 0px;
      padding-right: 45px;
    }
  }
@media (max-width: 480px) {
  .social-icons2 {
    align-items: center;
    justify-content: center;
    gap: 40px;
  }


    .det {
        padding-top: 80px;
        text-align: center;
        padding-bottom: 30px; 
    }

    .det h2 {
        font-size: 1.5rem;
        margin-bottom: 20px; 
    }

    .contact-group {
        display: flex; 
        flex-direction: column; 
        align-items: center; 
        justify-content: center;
    }

    .det h3 {
        font-size: 1rem;
        line-height: 1.5;  
        margin: 10px 0;
        text-align: center; 
        width: 100%; 
    }
    .icon-btn1{
      padding-left: 0px;
      padding-right: 45px;
    }
  }
@media (max-width: 992px) {
  .social-icons2 {
    align-items: center;
    justify-content: center;
    gap: 40px;
  }


    .det {
        padding-top: 80px;
        text-align: center;
        padding-bottom: 30px; 
    }

    .det h2 {
        font-size: 1.5rem;
        margin-bottom: 20px; 
    }

    .contact-group {
        display: flex; 
        flex-direction: column; 
        align-items: center; 
        justify-content: center;
    }

    .det h3 {
        font-size: 1rem;
        line-height: 1.5;  
        margin: 10px 0;
        text-align: center; 
        width: 100%; 
    }
    .icon-btn1{
      padding-left: 0px;
      padding-right: 45px;
    }
  }


.foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  height: 150px;
}

/* Responsive adjustments */
@media (max-width: 992px),
       (max-width: 768px),
       (max-width: 480px) {
  .foot {
    height: 440px;
    padding-top: 220px;
  }

  .closing {
    padding-top: 700px;
  }
}

.closing {
  color: #FFFFFF;
  position: relative;
  width: 100%;
  height: 120px;
  text-align: center;
  padding-top: 30px;
  box-sizing: border-box;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}

.closing p {
  margin: 5px 0;
}

























