@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda+SC&display=swap');

body {
  font-family: 'Bodoni Moda SC', serif;
  font-size: 18px;
}

* {
      margin:0;
      padding:0;
      box-sizing: border-box;
      text-decoration: none;
      border:none;
      outline: none;
      scroll-behavior: smooth;
      font-family:' Bodoni Moda SC', serif ;

}

:root{
    --bg-color: black;
    --second-bg-color: #313233;
    --text-color: rgb(255, 255, 255);
    --main-color:   #4ae6f1;

}

html{
    font-size: 65%;
    overflow-x: hidden;

}

body{
    background:var(--bg-color);
    color: var(--text-color);
}

section{
    min-height: 100vh;
    padding:15rem 10% 6rem;

}

.header{
    position:fixed;
    top:0;
    left:0;
    width: 100%;
    padding: 20px;
    background: #070000;
    display:flex;
    justify-content:space-between ;
    align-items:center;
    z-index: 100;
}

.header .sticky{
    border-bottom: 1rem solid rgba(0,0,0,0.2);
}

.logo{
    font-size: 3rem;
    color: var(--text-color);
    font-weight: 700;
    cursor:default;
}


.navbar a{
    font-size: 1.8rem;
    color: var(--text-color);
    margin-left:3rem;
    transition: .3s;
}

.navbar a:hover,
.navbar a:active{
    color: var(--main-color);
}

.navbar a.active {
    color: var(--main-color);
}

.menu-icon {
  display: none;
  width: 30px;
  height: 22px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  z-index: 999;
}

.menu-icon span {
  height: 3px;
  width: 100%;
  background: var(--main-color);
  border-radius: 5px;
  transition: all 0.3s ease;
}

/* --- Modern animation (no X) --- */
.menu-icon.active span:nth-child(1) {
  transform: translateY(4px);
  width: 60%;
  margin-left: auto;
}

.menu-icon.active span:nth-child(2) {
  opacity: 0;
}

.menu-icon.active span:nth-child(3) {
  transform: translateY(-4px);
  width: 60%;
  margin-right: auto;
}

.home{
    display: flex;
    justify-content:center;
    align-items: center;
}

.home-content h3{
            font-size: 3.5rem;
            font-weight: 700;
}

.home-content h3:nth-of-type(2){
    margin-bottom: 1rem;

}

span{
    color: var(--main-color);

}
.home-content h1{
    font-size:5.6rem ;
    font-weight:700 ;
    line-height: 1.3;
}

.home-content p{
    font-size: 2rem;
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    background: transparent;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--main-color);
    margin:3rem 1.5rem 3rem 0;
    transition:.5s ease;
}

.social-media a:hover{
    background: var(--main-color);
    color:var(--second-bg-color);
    box-shadow: 0 0 1rem var(--main-color);
}

.btn {
  display: inline-block;
  padding: 1rem 2.8rem;
  background: var(--main-color);
  border-radius: 4rem;
  font-size: 1.6rem;
  color: var(--bg-color);
  letter-spacing: .1rem;
  font-weight: 600;
  transition: 0.5s ease;
  box-shadow: none;
}

.btn:hover {
  box-shadow: 0 0 1rem var(--main-color); 
}

.circular-flip-container {
  position: relative;
  width: 340px;
  height: 340px;
  margin: auto;
}

/* Outer glowing ring */
.orbit-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid var(--main-color);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--main-color), 0 0 40px var(--main-color); /* glow effect */
  padding: 20px; /* creates more space around inner flip */
}

/* Inner image flip area (smaller now) */
.circular-flip {
  width: 240px;
  height: 240px;
  perspective: 1000px;
  border-radius: 50%;
  overflow: hidden;
}

.flip-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  position: relative;
}

/* Flip trigger from orbit-ring instead of circular-flip directly */
.orbit-ring:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-front, .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.flip-back {
  transform: rotateY(180deg);
}

.circular {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;

  /* Add a solid border */
  border: 8px solid var(--main-color); /* Adjust thickness here */

  /* Add glow effect */
  box-shadow: 0 0 15px var(--main-color), 0 0 30px var(--main-color);
}

/* Tech Logos */
.logo-icon {
  position: absolute;
  width: 40px;
  height: 40px;
  z-index: 5;
  filter: drop-shadow(0 0 5px var(--main-color));
  border-radius: 50%;         
  background-color: #111;     
  padding: 5px;                
}

/* Orbit containers */
.orbit {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  animation: rotateOrbit 10s linear infinite;
  transform-origin: center;
}

.orbit .logo-icon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #111;
  padding: 5px;
  filter: drop-shadow(0 0 5px var(--main-color));
}

/* Individual orbit delays for spacing */
.orbit-1 { animation-delay: 1s; }
.orbit-2 { animation-delay: 2s; }
.orbit-3 { animation-delay: 3s; }
.orbit-4 { animation-delay: 4s; }
.orbit-5 { animation-delay: 5s; }
.orbit-6 { animation-delay: 6s; }
.orbit-7 { animation-delay: 7s; }
.orbit-8 { animation-delay: 8s; }
.orbit-9 { animation-delay: 9s; }
.orbit-10 { animation-delay: 10s; }

/* Orbit animation keyframes */
@keyframes rotateOrbit {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.about{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background: var(--second-bg-color);

}

.heading{
    text-align: center;
    font-size: 4.5rem;
}

.about-content h2{
    text-align: left;
    line-height: 1.2;
}

.about-content h3{
    font-size: 2.6rem;
}

.about-content p{
    font-size: 2rem;
    margin: 2rem 0 3rem;
}

.circular-flip-about {
  width: 100%;
  max-width: 300px;         
  aspect-ratio: 1 / 1;       
  margin-right: 3rem;
  perspective: 1000px;
}


/* Flip Image Section */
.circular-flip {
  width: 300px;
  height: 300px;
  perspective: 1000px;
}


.exp h2{
    margin-bottom: 5rem;
}

.exp-container{
    display: block;
    justify-content:center;
    align-items:center;
    flex-wrap: wrap;
    gap: 2rem;
}

.exp-container .exp-box{
    flex: 1 1 30rem;
    background: var(--second-bg-color);
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    text-align: center;
    border: 0.6rem solid var(--bg-color);
    transition: .5s ease;
}
.exp-container .exp-box:hover{
    border-color: var(--main-color);
    transform: scale(1.02);
}

.exp-box i{
    font-size: 7rem;
    color: var(--main-color);   
}

.exp-box i:hover{
    background: var(--main-color);
    font-size: 7rem;
    color: var(--second-bg-color);   
}

.exp-box h3{
    font-size: 2.6rem; 
    margin-bottom: 2rem;  
}
.exp-box p{
    font-size: 1.6rem;
    margin: 1rem 0 3rem;
}
.exp{
    background-color: var(--bg-color);
}

.proj h2{
    margin-bottom: 5rem;
}

.proj-container{
    display: flex;
    justify-content:center;
    align-items:center;
    flex-wrap: wrap;
    gap: 2rem;
}

.proj-container .proj-box{
    flex: 1 1 30rem;
    background: var(--bg-color);
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    text-align: center;
    border: 0.6rem solid var(--bg-color);
    transition: .5s ease;
    margin-bottom: 2rem;
}
.proj-container .proj-box:hover{
    border-color: var(--main-color);
    transform: scale(1.02);
}

.proj-box i{
    font-size: 7rem;
    color: var(--main-color);   
}

.proj-box i:hover{
    color: var(--second-bg-color);   
}

.proj-box h3{
    font-size: 2.6rem;   
}
.proj-box p{
    font-size: 1.6rem;
    margin: 1rem 0 3rem;
}
.proj{
    background-color: var(--second-bg-color);
}

.ed h2{
    margin-bottom: 5rem;
}

.ed-container{
    display: flex;
    justify-content:center;
    align-items:center;
    flex-wrap: wrap;
    gap: 2rem;
}

.ed-container .ed-box{
    flex: 1 1 30rem;
    background: var(--second-bg-color);
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    text-align: center;
    border: 0.6rem solid var(--bg-color);
    transition: .5s ease;
    margin-bottom: 2rem;
}
.ed-container .ed-box:hover{
    border-color: var(--main-color);
    transform: scale(1.02);
}

.ed-box i{
    font-size: 7rem;
    color: var(--main-color);   
}

.ed-box i:hover{
    background: var(--main-color);
    font-size: 7rem;
    color: var(--second-bg-color);   
}

.ed-box h3{
    font-size: 2.6rem;   
}
.ed-box p{
    font-size: 1.6rem;
    margin: 1rem 0 3rem;
}
.ed{
    background-color: var(--bg-color);
}

.sk h2{
    margin-bottom: 5rem;
}

.sk-container{
    display: flex;
    justify-content:center;
    align-items:center;
    flex-wrap: wrap;
    gap: 2rem;
}

.sk-container .sk-box{
    flex: 1 1 30rem;
    background: var(--bg-color);
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    text-align: center;
    border: 0.4rem solid var(--bg-color);
    transition: .5s ease;
    margin-bottom: 2rem;
}
.sk-container .sk-box:hover{
    border-color: var(--main-color);
    transform: scale(1.02);
}

.sk-box i{
    font-size: 7rem;
    color: var(--main-color);   
}

.sk-box i:hover{
    color: var(--second-bg-color);   
}

.sk-box h3{
    font-size: 2.6rem; 
    padding-bottom: 2rem;  
}
.sk-box p{
    font-size: 1.6rem;
    margin: 1rem 0 3rem;
}
.sk{
    background-color: var(--second-bg-color);
}

.sk-box .btn{
    display: inline-block;
    padding: .7rem 1rem;
    background:var(--main-color);
    border-radius: 1rem;
    box-shadow: 0 0 1rem var(--main-color);
    font-size: 1.6rem;
    color: var(--second-bg-color);
    letter-spacing: .1rem;
    font-weight: 600;
    transition: .5s ease;
    margin-right: 2rem;
}

.sk-box .btn:hover{
    box-shadow: none;
}

/*breakpoints*/
@media(max-width:1200px){
    html{
        font-size: 55%;
    }
}

@media(max-width:991px){
    .header{
        padding: 2rem 3%;
    }
    section{
        padding:10rem 3% 2rem;
    }
    .exp{
        padding-bottom: 7rem;
    }
    .footer{
        padding:2rem 3%;
    }
}

@media(max-width:1300px){
    #menu-icon{
        display:flex;
        position: relative;
        left: auto;
        bottom: auto;
        top: auto;
        right: auto;
        z-index: 999;
    }
    .navbar{
        position: absolute;
        flex-direction: column;
        background-color: var(--second-bg-color);
        top:100%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        z-index: 999;
        background: var(--bg-color);
        border-top: 1rem solid rgba(0,0,0,0.2);
        box-shadow: 0 .5rem 1rem rgba(0,0,0,0.2);
        display: none;
    }

    .navbar.active{
        display: flex;
    }
    .navbar a{
        display:block;
        font-size: 2rem;
        margin: 3rem 0;
    }
    .home{
        flex-direction: column;
    }
    .home-content h3{
        font-size: 2.6rem;
    }
    .home-content h1{
        font-size: 5rem;
    }
    .home-image img{
          width: 40vw;
          margin-top: 4rem;
          animation: floatImage 4s ease-in-out infinite ;
    }

    @keyframes floatImage {
        0%{
            transform: translateY(0);
        }
        50%{
            transform: translateY(-2.4rem);
        }
        100%{
            transform: translateY(0);
        }
        
    }

    .about{
        flex-direction: column-reverse;
    }
    .about img{
        width:40vw;
        margin-top:4rem;
    }
    .exp h2{
        margin-bottom: 3rem;
    }
    .proj h2{
        margin-bottom:3rem ;
    }
    .proj-container{
        grid-template-columns:repeat(2,1fr) ;
    }
}

/*experience list*/
.company-name {
  font-size: 5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.3rem;
}

.role {
  font-size: 8rem;
  color:var(--main-color) ;
  margin: 0.2rem 0;
}

.date {
  font-size: 0.95rem;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.pink-bullets {
  list-style: none;
  padding-left: 0;
}

.pink-bullets li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 2rem;
  color:var(--text-color);
  text-align:start;
}

.pink-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--main-color);
  font-size: 1.3em;
  line-height: 1;
  top: 0.1em;
}

/* project styling*/
.company-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.3rem;
}

.role {
  font-size: 1.1rem;
  color:var(--main-color);
  margin: 0.2rem 0;
}

.date {
  font-size: 0.95rem;
  color:var(--text-color);
  margin-bottom: 1rem;
}

.pink-bullets {
  list-style: none;
  padding-left: 0;
  margin: 2rem 0 1rem 0;
}

.pink-bullets li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 2rem;
  color:var(--text-color);
  text-align:start;
}

.pink-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--main-color);
  font-size: 1.3em;
  line-height: 1;
  top: 0.1em;
}

/*education styling*/
.edu-bullets {
  list-style: none;
  padding-left: 0;
  margin: 2rem 0 1rem 0;
}

.edu-bullets li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 2rem;
  color: var(--text-color);
  text-align:start;
}

.edu-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.2em;
  color:var(--main-color); 
  font-size: 2.6rem;
  line-height: 1;
}

.spinner {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  margin-right: 0.5rem;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-content {
  background: #111;
  color: #1BFFFF;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 0 2rem #1BFFFF;
}

.modal-close {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: #1BFFFF;
  color: #000;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.hidden {
  display: none;
}

.live-button {
  display: inline-block;
  background-color: #1BFFFF;
  color: #000;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 1rem 1.2rem;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 0 10px #1BFFFF, 0 0 20px #1BFFFF;
  transition: all 0.3s ease;
}

.live-button:hover {
  box-shadow: 0 0 15px #1BFFFF, 0 0 30px #1BFFFF;
  transform: scale(1.1);
}

/* Label under button */
.live-label {
  color: white;
  font-weight: 500;
}

/* ========== Contact Section ========== */
.contact-section {
  min-height: 80vh;
  padding: 4rem 2rem;
  background: var(--second-bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6rem;
  max-width: 1100px;
  width: 100%;
}

.contact-bg {
  background: rgba(91, 97, 104, 0.801);;
  padding: 4rem 10rem;
  border-radius: 1.5rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.801);
}
.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border: 2px solid transparent; 
  border-radius: 0.5rem;
  background: var(--second-bg-color);
  color: white;
  font-family: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
}

/* On hover */
.contact-form input:hover,
.contact-form textarea:hover {
  border-color: #24aac2;
}

/* On focus */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #24aac2;
  box-shadow: 0 0 0 2px rgba(36, 170, 194, 0.4);
  outline: none;
}

.contact-form button, 
#submit-btn {
  width: 100%;
  height: 2.75rem;
  border: none;
  border-radius: 0.75rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--bg-color);
  background: var(--main-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
transition: all 0.3s ease-in-out;
}

.contact-form button:hover, 
#submit-btn:hover {
  box-shadow: 0 0 2px var(--main-color), 0 0 8px var(--main-color);
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .contact-container {
    grid-template-columns: 2fr 2fr;

  }
}

/* Left Text Content */
.contact-left h2 {
  font-size: 6rem;
  font-weight: bold;
  color: #000308;
  line-height: 1;
  text-align: center;
}

.contact-left .light-heading {
  color: var(--main-color);
}

.contact-left p {
  margin-top: 1.5rem;
  font-size: 2rem;
  color: #dfe1e6;
  text-align: center;
}
.contact-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .contact-left {
    margin-top: 7px;
  }
} 

.lets-chat-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 2rem auto 0 auto; /* top, auto left/right for centering */
  padding: 0.75rem 2rem;
  background-color: var(--main-color);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 9999px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
} 

.lets-chat-btn:hover {
  background-color: #282a2b; /* or a slightly darker variant */
  transform: translateY(-2px);
}

.arrow-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.lets-chat-btn:hover .arrow-icon {
  transform: translateX(6px); /* slide right on hover */
}

/* Form Structure */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group label {
  font-size: 1.95rem;
  font-weight: 500;
  color: #00050c;
  display: block;
  margin-bottom: 0.5rem;
}

.form-group input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #d1d5db;
  padding: 0.6rem 0;
  font-size: 2rem;
  color: #111827;
  background: transparent;
}

.form-group input::placeholder {
  color: #9ca3af;
}

/* Optional Input for Company */
.form-group-full input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #d1d5db;
  padding: 0.6rem 0;
  font-size: 1rem;
  color: #111827;
  background: transparent;
}

/* Tags Section */
.tag-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 0.7rem;
}

.tag {
  padding: 0.5rem 1.2rem;
  border-radius: 9999px;
  font-size: 1.2rem;
  color: #000000;
  cursor: pointer;
  transition: all 0.3s;
}

.tag:hover {
  background: #f3f4f6;
}

/* Submit Button */
.submit-btn {
  margin-top: 2rem;
  padding: 0.75rem 2rem;
  background: #000;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.3s;
}

/* Animate from bottom */
.animate-up {
  opacity: 0;
  transform: translateY(70px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.animate-up.show {
  opacity: 1;
  transform: translateY(0);
}


.footer-wrapper {
  position: relative;
  padding-top: 4px; /* Height of glowing border */
}

.footer-wrapper {
  position: relative;
  padding-top: 4px; /* same as border height */
  z-index: 1;
}

.footer-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #24aac2, #feffff, #6bffff);
  background-size: 300% 300%;
  animation: animateBorder 7s linear infinite;
  z-index: 2;
  border-radius: 2px;
  filter: drop-shadow(0 0 25px #24aac2)
          drop-shadow(0 0 5px #feffff)
          drop-shadow(0 0 15px #6bffff);
}

@keyframes animateBorder {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.footer {
  background-color: #0f0f0f;
  color: #ccc;
  padding: 2rem 3rem;
  text-align: center;
  position: relative;
  z-index: 3;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-content h2 {
  font-size: 2.4rem;
  color: var(--main-color);
  margin-bottom: 0.5rem;
}

.footer-content p {
  font-size: 1.4rem;
  color: var(--text-color);
  margin: 0;
}

.footer-text {
  font-size: 1.6rem;
  color: #aaa;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social a {
  font-size: 2rem;
  color: var(--main-color);
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #fff;
}

.footer-up a {
  font-size: 1.8rem;
  color: #24aac2;
  transition: transform 0.3s ease;
}

.footer-up a:hover {
  transform: translateY(-5px);
  color: #fff;
}








