body{
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: lightgray;

}

.container{
    position: relative;
    width: 100%;
    height: 100%;
    display:flex;
    flex-direction: column;
    align-items: center;
    gap: 100px;
    background-color: #001f7c38;
    overflow: hidden;
}

.back-vid {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: -1;
    mix-blend-mode: overlay;
}


header{
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.123);
    backdrop-filter: blur(10px);
    padding: 0 30px;
    box-shadow: 0 0 15px #72a1de68;
    z-index: 999;
}

.left{
    display: flex;
    align-items: center;
}

.left img{
    width: 40px;
    margin:0 15px;
}

header ul{
    display: flex;
    justify-content: space-between;
    width: 30%;
    padding: 15px 15px;
    border-radius: 50px;
    background-color: rgba(0, 0, 69, 0.30);
    box-shadow: 0 0 10px #727fde65;
}

header ul li{
    list-style: none;
}

header ul a{
    text-decoration: none;
    color: white;
    font-weight: 700;
    margin: 0 10px;
}
.box-icons{
    display: flex;
    gap: 40px;

}
.box-icons a{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    height: 30px;
    border: 2px solid #727fde;
    text-decoration: none;
    color: lightgray;
    border-radius: 50%;
    transition: 0.3s;
}

.box-icons a:hover{
    background-color: #727fde;
    color: black;
    box-shadow: 0 0 15px #727fde6f;

}

.blackhole-box{
    z-index: -1;
    position: absolute;
    top: 0;
    width: 100%;
    justify-content: center;
    mix-blend-mode: lighten;

}

.blackhole-box video{
    width: 100%;
    margin-top: -23.5% ;
    
}

.hero{
    position: relative;
    display: flex;
    width: 100%;
    height: 100vh;
    align-items: center;
    justify-content: space-between;
}

.hero-info{
    position: absolute;
    left: 5%;
}

.hero-info .hero-info-title{
    color: #727fde;
    padding: 8px 5px;
    border: 1px solid #727fde77;
    width: 240px;
    background-color: #2200493d;
    box-shadow: 0 0 5px #727fde88;
    border-radius: 50px;
}


.hero-info h1{
    font-size: 60px;
    max-width: 600px;
    font-weight: 700;
    line-height: 70px;
    margin-top: 40px;
    margin-bottom: 30px;
}

.hero-info p{
    max-width: 550px;
    line-height: 25px;
    margin-bottom: 40px;
    font-size: 20px;
}

.hero-info button{
    color: white;
    padding: 15px 35px;
    border-radius: 10px;
    border: 1px solid #727fdeb4;
    background-color: #2200493d;
    box-shadow: 0 0 5px #727fde86;
    cursor: pointer;
    transition: 0.3s;
}

.hero-info button:hover{
    box-shadow: 0 0 15px #727fde86;
}

.gradient{
    background: linear-gradient(to right, #008baa, #7e42a7, #9400d3, #6070fd, #2a46ff, #0099ff, #008ead);
    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-gradient 2.5s linear infinite;

}

@keyframes animate-gradient {
    0%, 100% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
  }
  
.robot-3d {
    position: absolute;
    top: 15px; /* Added 'px' unit */
    right: -25%;
    transform: scale(0.9);
    /* Scales the element to 90% of its original size */
}

.scroll-down{
    height:50px;
    width: 30px;
    border: 2px solid lightgray;
    position: absolute;
    left: 49%;
    bottom: 8%;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(211, 211, 211, 0.477);
}

.scroll-down::before,.scroll-down::after{
    content: "";
    position: absolute;
    top: 20%;
    left:50%;
    height: 10px;
    width:10px;
    border: 2px solid lightgray;
    transform: translate(-50%, -100%) rotate(45deg);
    border-top: transparent;
    border-left: transparent;
    animation: scroll-down 2s ease-in-out infinite;
}

.scroll-down::before{
    top: 30%;
    animation-delay: 0.5s;

}
.scroll-down::before,
.scroll-down::after {
    /* ... */
    animation: scroll-down 2s ease-in-out infinite;
}

 /* project */
 .my-projects {
    display: flex;
    flex-direction: column;
    gap: 10%;
    align-items: center;
    position: relative;
    width: 80%;
    height: 100vh;
    margin-top: 200px;
    margin-bottom: 700px;
  }
  .project-title{
    font-size: 42px;
    font-weight: bold;
    background: linear-gradient(90deg, #d17bff, #1dd3f8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .project-card {
    display: flex;
    width: 100%;
    height: 40%;
    align-items: center;
    gap: 10%;
    justify-content: center; /* <- Add a value here, like `20px` */
  }
  
  .project-imgbox {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    position: relative;
    cursor: pointer;
    min-width: 400px;
    transition: 0.5s;
    mix-blend-mode: exclusion;
  }
  
  .project-imgbox img {
    object-fit: cover;
    width: 100%;
    box-shadow: 0 0 10px lightgray;
    border-radius: 20px;
    transition: 0.5s;
  }
  
  .project-imgbox img:hover {
    box-shadow: 0 0 20px lightgray;
  }


  .project-imgbox img:hover {
    transform: scale(1.02);
  }
  
  
  
.project-info{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50%;
    padding-left: 10%;

}
.project-info h1{
    width: 90%;
    font-size: 25px;
    font-weight: bold;
    text-wrap: nowrap;
    margin-bottom: 10px;
    margin-top: 0;
    max-width: 450px;

}

.project-info p{
    width: 90%;
    max-width:400px;
    min-width: 300px;
    margin-bottom: 50px;
    margin-top: 0;
}

.project-info button{
    color: white;
    padding: 15px 35px;
    border-radius: 10px;
    border: 1px solid #727fdeb4;
    background-color: #2200493d;
    box-shadow: 0 0 5px #727fde86;
    cursor: pointer;
    transition: 0.3s;

}

.project-info button:hover{
    box-shadow: 0 0 15px#727fde86;
    opacity: 0.7;
 }


/*skills section */
/* Reset & Base */
  
  /* Skills Section */
/* Skills Section */
@keyframes fadeInFromLeft {
  0% { opacity: 0; transform: translateX(-100%); }
  100% { opacity: 1; transform: translateX(0); }
}

 
.skills-section {
  padding: 80px 20px;
  max-width: 1300px;
  margin: auto;
  text-align: center;
  animation: fadeIn 1.5s ease-in-out;
}

.skills-title {
  font-size: 42px;
  font-weight: bold;
  background: linear-gradient(90deg, #d17bff, #1dd3f8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.underline {
  width: 100px;
  height: 4px;
  background: #1dd3f8;
  margin: 15px auto 30px;
  border-radius: 10px;
  position: relative;
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 10px #1dd3f8; }
  50% { box-shadow: 0 0 20px #1dd3f8; }
}

.skills-description {
  max-width: 850px;
  margin: 0 auto 50px;
  font-size: 18px;
  line-height: 1.6;
  color: #c0c0c0;
}

.expertise-title {
  font-size: 24px;
  color: #1dd3f8;
  font-weight: bold;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

/* Card Grid */
.skills-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

/* Individual Card */
.card {
  background: rgba(20, 20, 20, 0.6); /* slightly darker background */
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.05); /* softer border */
  border-radius: 20px;
  padding: 35px 30px;
  width: 300px;
  height: 400px;  /* fixed height to enforce uniformity */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4); /* darker subtle shadow */
  animation: fadeInUp 0.8s ease forwards;
  opacity: 1;
}

/* Animate cards on load */
.card:nth-child(1) { animation-delay: 0.2s; }
.card:nth-child(2) { animation-delay: 0.4s; }
.card:nth-child(3) { animation-delay: 0.6s; }

.card:hover {
  transform: scale(1.07);
  box-shadow: 0 0 20px rgba(29, 211, 248, 0.15);
  border: 1px solid rgba(29, 211, 248, 0.1);
}

/* Boxicons Icon Style */
.card-icon {
  font-size: 48px;
  margin: 0 auto 20px;
  color: #1dd3f8;
  animation: floatIcon 2s infinite ease-in-out;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.card h3 {
  margin-bottom: 20px;
  font-size: 22px;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.card ul {
  list-style: none;
  padding: 0;
}

.card ul li {
  padding: 8px 0;
  color: #d1d1d1;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.card ul li:hover {
  color: #1dd3f8;
  transform: translateX(5px);
}

.card ul li::before {
  content: "•";
  color: #1dd3f8;
  font-size: 20px;
  margin-right: 10px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive */




/* contact me */

 /* ---------- Section Heading ---------- */
 .contact-title {
  text-align: center;
  font-size: 3rem;
  background: linear-gradient(90deg, #c084fc, #727fde);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 40px 0 10px;
}

.contact-subtitle {
  text-align: center;
  color: #aab0d0;
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  line-height: 1.5;
}

/* ---------- Contact Container: 3-Column Grid ---------- */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; /* Three equal columns */
  gap: 40px;
  max-width: 1300px;
  margin: 0 auto 80px;
  padding: 0 20px;
  align-items: stretch;
}

/* ---------- Common Card Styles ---------- */
.contact-card {
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 35px 30px;
  width: 320px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0.85;
}

.contact-card:hover {
  transform: scale(1.07);
  box-shadow: 0 0 35px rgba(29, 211, 248, 0.3);
  border: 1px solid rgba(29, 211, 248, 0.2);
}

.contact-card:nth-child(1) { animation-delay: 0.2s; }
.contact-card:nth-child(2) { animation-delay: 0.4s; }
.contact-card:nth-child(3) { animation-delay: 0.6s; }


.contact-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #1dd3f8;
}

.contact-card p {
  color: #c0c0c0;
  font-style: italic;
  font-size: 0.95rem;
}

.contact-card h3 {
  margin-bottom: 20px;
  font-size: 22px;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.contact-card ul {
  list-style: none;
  padding: 0;
}

.contact-card ul li {
  padding: 8px 0;
  color: #d1d1d1;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.contact-card ul li:hover {
  color: #1dd3f8;
  transform: translateX(5px);
}

.contact-card ul li::before {
  content: "•";
  color: #1dd3f8;
  font-size: 20px;
  margin-right: 10px;
}

/* ---------- Left Card: Photo Card ---------- */
.photo-card img {
  width: 100%;
  max-width: 220px;
  border-radius: 50%;
  object-fit: cover;
}

/* ---------- Middle Card: Details Card ---------- */
.details-card i {
  font-size: 2rem;
  color: #00bcd4;
  margin-bottom: 10px;
}
.details-card h3 {
  margin: 0;
  font-weight: bold;
  font-size: 1.1rem;
}
.details-card p {
  margin: 4px 0;
  font-size: 0.95rem;
}
.details-card a {
  margin-top: 8px;
  font-size: 0.95rem;
  color: #00bcd4;
  text-decoration: none;
  transition: color 0.3s ease;
}
.details-card a:hover {
  color: #00a3bd;
}

/* ---------- Right Card: Contact Form Card ---------- */
/* Override inherited centering by setting text-align and alignment for the form card */
.form-card {
  padding: 40px 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Align card contents to the left */
  text-align: left;        /* Ensure text (labels, etc.) is left aligned */
}
.form-card form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
/* Ensure every direct child (field group) of the form spans 80% */
.form-card form > * {
  width: 80%;
}
/* Labels */
.form-card form label {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #aab0d0;
  text-align: left;
  width: 100%;
}
/* Inputs & Textarea */
.form-card form input,
.form-card form textarea {
  background-color: #151b29;
  border: none;
  outline: none;
  border-radius: 10px;
  padding: 12px 15px;
  margin-bottom: 20px;
  font-size: 1rem;
  color: #ffffff;
  transition: background-color 0.3s ease;
  resize: none;
  width: 100%;
}
.form-card form input:focus,
.form-card form textarea:focus {
  background-color: #1b2236;
}
/* Vertical Stack for Name and Email */
.input-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.input-row > div {
  display: flex;
  flex-direction: column;
  width: 100%;
}
/* Submit Button */
.form-card form button {
  background-color: #00bcd4;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.form-card form button:hover {
  background-color: #00a3bd;
  transform: translateY(-2px);
}

/* ---------- Responsive Adjustments ---------- */


@keyframes borderGradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.photo-card img {
  display: block;
  margin: 0 auto;
  border-radius: 50%;
  object-fit: cover;
  max-width: 220px;
  padding: 5px; /* Creates space for animated border */
  background: linear-gradient(90deg, #ff005e, #003cff, #ff005e);
  background-size: 300% 300%;
  animation: borderGradientFlow 3s ease infinite;
  border: 5px solid transparent;
  background-clip: padding-box, border-box;
  background-origin: border-box;
  box-shadow: 0 0 10px rgba(255, 0, 94, 0.4), 0 0 10px rgba(0, 60, 255, 0.4);
  height: 280px;
  width: 220px;

}

.photo-card p {
  margin-top: 20px;
  font-size: 1rem;
  color: #aab0d0;
}
/*
/* ABOUT SECTION */
.about-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
    color: lightgray; /* match website text color */
    /* Optional background:car
       background-color: rgba(0, 31, 124, 0.38); */
  }
  
  .section-title {
    font-size: 42px;
    font-weight: bold;
    background: linear-gradient(90deg, #d17bff, #1dd3f8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
  }
  
  .intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    line-height: 1.6;
    color: lightgray;
  }
  
  /* Layout */
  .about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
  }
  
  /* Left Box Styling with semi-transparent background */
  .left-box {
    flex: 1;
    min-width: 300px;
    background: rgba(16, 24, 38, 0.7);  /* 70% opacity background */
    border-radius: 29px;
    padding: 30px;
    border: 1px solid gray;
    box-shadow: 0 0 15px rgba(211, 211, 211, 0.5);
  }
  
  /* Right Section Grid Layout */
  .right-section {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 20px;
  }
  
  /* Boxes inside Right Section with semi-transparent background */
  .right-box,
  .connect-box {
    background: rgba(16, 24, 38, 0.7);  /* 70% opacity background */
    border-radius: 29px;
    padding: 30px;
    border: 1px solid gray;
    box-shadow: 0 0 15px rgba(211, 211, 211, 0.5);
  }
  
  /* Headings in Boxes */
  .left-box h3,
  .right-box h3,
  .connect-box h3 {
    color: #727fde;  /* Matching website accent */
    margin-bottom: 20px;  /* Reduced spacing for a tighter look */
    font-size: 28px;
  }
  
  /* Text in Left Box */
  .left-box p {
    line-height: 1.6;
    margin-bottom: 12px;
    color: lightgray;
  }
  
  /* Button Group */
  .button-group {
    display: flex;
    gap: 15px;
    margin-top: 20px;
  }
  
  /* Buttons */
  .resume-btn,
  .contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #727fde;  /* Using your website's blue accent */
    color: #000;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
  }
  
  .contact-btn {
    background: transparent;
    color: #727fde;
    border: 2px solid #727fde;
  }
  
  .resume-btn:hover,
  .contact-btn:hover {
    transform: scale(1.05);
  }
  
  /* Personal Details */
  .personal-details p {
    margin: 10px 0;
    color: #ccc;
  }
  
  .personal-details strong {
    color: #fff;
  }
  
  /* Connect Box */
  .connect-box {
    text-align: center;
  }
  
  .connect-icons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 40px;  /* Adjusted spacing to complement your overall layout */
  }
  
  .connect-icons i {
    font-size: 32px;
    color: #ffffff;
    transition: transform 0.3s ease, color 0.3s ease;
  }
  
  .connect-icons i:hover {
    transform: scale(1.2);
    color: #727fde;
  }
  
  



@keyframes scroll-down{
    0% {
        opacity: 0;
    }
    30%, 60%{
        opacity: 1;
    }
    100% {
        top: 90%;
        opacity: 0;
    }
}

@media(max-aspect-ratio: 16/9){
    .back-vid{
        width: auto;
        height: 100%;
    }
}

@media(min-aspect-ratio: 16/9){
    .back-vid{
        width: 100%;
        height: auto;
    }
}



/*side bar */


.menu-icon {
  font-size: 35px;
  cursor: pointer;
  display: none;
  color: #00f0ff; /* Glowing cyan accent */
  transition: transform 0.3s ease;
}

.menu-icon:hover {
  transform: scale(1.1);
}

.sidebar {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 999;
  box-shadow: -5px 0 20px rgba(0, 255, 255, 0.2);
  border-left: 1px solid rgba(0, 255, 255, 0.15);
  opacity: 0;
  transition: width 0.5s ease, opacity 0.5s ease;
  overflow: hidden;
}

.close-icons {
  font-size: 40px;
  color: #00f0ff;
  padding: 20px;
  cursor: pointer;
  text-align: right;
  transition: transform 0.3s ease;
}

.close-icons:hover {
  transform: scale(1.1);
}

.sidebar ul {
  margin-top: 50px;
  padding-left: 40px;
}

.sidebar ul li {
  list-style: none;
  margin-bottom: 25px;
}

.sidebar ul li a {
  text-decoration: none;
  color: lightgray;
  font-size: 28px;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
  transition: color 0.3s ease;
}

.sidebar ul li a:hover {
  color: #00f0ff;
}

.sidebar .social-icons {
  margin-top: 40px;
  padding-left: 40px;
}

.sidebar .social-icons a {
  font-size: 32px;
  padding: 0 10px;
  color: #bbb;
  transition: color 0.3s ease, transform 0.3s ease;
}

.sidebar .social-icons a:hover {
  color: #00f0ff;
  transform: scale(1.2);
}

.sidebar.open-sidebar {
  animation: openSidebarAnimation 0.5s forwards;
}

@keyframes openSidebarAnimation {
  to {
    width: 80%;
    opacity: 1;
    border-radius: 0;
  }
}

.sidebar.close-sidebar {
  animation: closeSidebarAnimation 0.5s forwards;
}

@keyframes closeSidebarAnimation {
  from {
    width: 80%;
    opacity: 1;
    border-radius: 0;
  }
  to {
    width: 0;
    opacity: 0;
    border-bottom-left-radius: 50%;
  }
}








/* MAIN CONTENT: Just a placeholder area */
.main-content {
  flex: 1;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* FOOTER */
.main-footer {
  width: 100%;
  padding: 2rem 1rem;
  /* Dark transparent BG + optional blur */
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px); /* remove or increase to your taste */
  
  /* Subtle border or none at all */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* FOOTER CONTAINER */
.footer-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

/* LEFT SIDE: INTRO & FEATURES */
.footer-intro {
  flex: 1 1 300px;
  max-width: 600px;
}

/* Name / Title in Footer */
.footer-intro .name {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Description / tagline text */
.footer-intro .description {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  color: #cccccc;
}

/* FEATURES row */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Single feature style */
.feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
}

.feature i {
  font-size: 1.1rem;
  color: #ffd700; /* Gold-ish accent color, adjust if needed */
}

.feature span {
  font-size: 0.9rem;
  color: #fff;
}

/* RIGHT SIDE: CONTACT INFO */
.contact-info {
  flex: 1 1 250px;
  max-width: 400px;
}

/* Contact heading */
.contact-info h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}

/* Contact list */
.contact-info ul {
  list-style: none;
}

.contact-info li {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.contact-info li i {
  font-size: 1.1rem;
  margin-right: 0.5rem;
  color: #0ef; /* Another accent color, adjust as needed */
}

.contact-info a {
  color: #fff;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* FOOTER NOTE */
.footer-note {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.75rem;
  color: #aaa;
}





html {
  scroll-behavior: smooth;
}



/* Section Styles */
.recent-highlights-section {
  margin: 50px 0;
  text-align: center;
}

.highlights-title {
  font-size: 2rem;
  font-weight: bold;
}

.carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  width: 100%; /* Limit the width to 80% of the parent container */
  margin: 0 auto; /* Center the container horizontally */
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 10px;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 10; /* Ensure the buttons are above the carousel content */
}

.carousel-btn.left {
  left: 10px;
}

.carousel-btn.right {
  right: 10px;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.highlight-card {
  background: #1e1e1e;
  color: #fff;
  margin: 0 15px;
  border-radius: 10px;
  padding: 20px;
  width: 250px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.highlight-card img {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.highlight-card p {
  font-size: 1rem;
  color: #b0b0b0;
}







/*mobile adjustment */

@media screen and (max-width: 700px){

  header{
    position: fixed;
  }

  header ul{
    display :none;
  }

  

  header h1{
    font-size : 25px;
  }

  .blackhole-box video{
    margin-top: -16%;
  }

  .box-icons{
    display: none;
  }

  .hero{
    flex-direction: column;
  }

  .hero-info{
    margin-top: 25vh;
  }

  .scroll-down{
    bottom:5%;
  }

  .hero-info h1{
    line-height :50px;
  }

  .robot-3d{
    display: none;
  }


/* about section */

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;     /* center each box */
  padding: 0 16px;
  gap: var(--gap-mobile, 20px);
}

/* Make all boxes full width */
.left-box,
.right-box,
.connect-box {
  width: 100%;
  max-width: none;
  padding: var(--padding-mobile, 20px);
  margin-bottom: var(--gap-mobile, 20px);
  box-sizing: border-box;  /* include padding/border in width */
}

/* Ensure inner text wraps and never overflows */
.left-box p,
.personal-details p,
.connect-box p,
.right-box p {
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Headings scale down slightly */
.left-box h3,
.right-box h3,
.connect-box h3 {
  font-size: 1.5rem;       /* ~24px */
  text-align: center;      /* keep these centered */
}

/* Personal details: tighter spacing */
.personal-details p {
  font-size: 0.9rem;
  margin-bottom: 8px;
  text-align: left;
}

/* Button group: wrap and center */
.button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}
.resume-btn,
.contact-btn {
  flex: 1 1 auto;          /* allow buttons to grow/shrink */
  text-align: center;
  font-size: 0.9rem;
  padding: 8px 16px;
}

/* Connect icons: wrap if needed */
.connect-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
}
.connect-icons i {
  font-size: 1.75rem;      /* ~28px */
}

/* Right section: simple column layout */
.right-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: var(--gap-mobile, 20px);
}


 /* Section padding & slide-in */
 .skills-section {
  padding: 60px 16px;               /* less side padding */
  animation: fadeInFromLeft 1s ease-in-out;
}

/* Title & underline */
.skills-title {
  font-size: 2rem;                  /* ~32px */
}
.underline {
  width: 80px;
  height: 3px;
  margin: 12px auto 24px;
}

/* Description text */
.skills-description {
  font-size: 0.9rem;                /* ~14px */
  max-width: 100%;
  margin-bottom: 32px;
  overflow-wrap: break-word;        /* prevent overflow */
  word-break: break-word;
}

.expertise-title {
  font-size: 1.25rem;               /* ~20px */
  margin-bottom: 24px;
}

/* Cards: full width, auto height, stacked */
.skills-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;                        /* tighter gap */
}

.card {
  width: 100%;
  max-width: 400px;                 /* cap width */
  height: auto;                     /* let content define height */
  padding: 20px;                    /* less padding */
  animation-name: fadeInFromLeft;   /* use your slide-in keyframe */
  animation-duration: 0.6s;
  animation-fill-mode: both;
}

/* Staggered delays for slide-in */
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
/* add more if you have more cards */

/* Icon & heading sizing */
.card-icon {
  font-size: 2.5rem;                /* ~40px */
  margin-bottom: 16px;
}
.card h3 {
  font-size: 1.5rem;                /* ~24px */
  margin-bottom: 16px;
  text-align: center;
}

/* List items */
.card ul li {
  font-size: 0.9rem;
  padding: 6px 0;
}

/* Ensure no horizontal scroll */
.card,
.skills-cards,
.skills-section {
  box-sizing: border-box;
  overflow-x: hidden;
}

/*skill end */


/* Section heading tweaks */
.contact-title {
  font-size: 2.25rem;
  margin: 30px 0 8px;
}
.contact-subtitle {
  font-size: 1rem;
  max-width: 90%;
  margin: 0 auto 30px;
  line-height: 1.4;
}

/* Collapse grid to one column & tighten gaps */
.contact-container {
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 0 16px;
  margin-bottom: 60px;
  max-width: none;
}

/* Make each card span full width */
.contact-card {
  width: 100%;
  max-width: none;
  padding: 20px;
  box-sizing: border-box;
  opacity: 1;
  gap: 16px;               /* if you use gap inside */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Avatar/photo sizing */
.contact-card img {
  width: 400px;
  height: 100px;
  margin-bottom: 12px;
}

/* Card headings & text */
.contact-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.contact-card p {
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.contact-card ul li {
  font-size: 0.9rem;
  padding: 6px 0;
}

/* Photo-card: center & shrink */
.photo-card img {
  max-width: 220px;
  height: auto;
}

/* Details-card: center text */
.details-card {
  align-items: center;
}
.details-card i {
  font-size: 1.75rem;
  margin-bottom: 8px;
}
.details-card h3 {
  font-size: 1rem;
}
.details-card p,
.details-card a {
  font-size: 0.9rem;
}

/* ─── Uniform Form Fields ───────────────────────────────────────────────── */
.form-card form label {
  display: block;
  width: 100%;
  text-align: left;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

/* If you’re still using .input-row, ensure its children are full-width */
.input-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.input-row > div {
  width: 100% !important;
}

/* Inputs & textarea: same padding & border-radius */
.form-card form input,
  .form-card form textarea {
    width: 121% !important;
    box-sizing: border-box;
    padding: 12px 15px;
    border-radius: 10px;
    background-color: #151b29;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #fff;
    resize: none;
  }

/* Button: keep full-width if desired */
.form-card form button {
  width: 98% !important;
  padding: 12px;
  font-size: 1rem;
  margin-top: 8px !important;
  border-radius: 10px;
}

.contact-card,
  .form-card {
    overflow-x: hidden;
  }




  /* contact ends */

/*footer starts */
  .main-footer {
    padding: 1.5rem 1rem;
  }

  .footer-container {
    gap: 1.5rem;
  }

  .footer-intro .name {
    font-size: 1.5rem;
  }

  .footer-intro .description {
    font-size: 0.9rem;
  }

  .feature {
    display:none;
  }
  .contact-info-section ul,
.contact-info ul {
  /* make sure the list is full width and items align to the start */
  width: 100%;
  padding: 0;
  margin: 0;
}
.contact-info-section li,
.contact-info li {
  display: flex;
  justify-content: flex-start;   /* push icon + text to the left */
  align-items: center;
  gap: 8px;                       /* consistent spacing between icon & text */
  padding-left: 16px;             /* optional left padding */
  font-size: 0.9rem;
}

/* ─── Dark Transparent Line Above Copyright ───────────────────────────── */
.footer-note {
  border-top: 1px solid rgba(87, 82, 82, 0.5);  /* dark, semi-transparent line */
  margin-top: 16px;                          /* space above the line */
  padding-top: 12px;                         /* space below the line */
}

  


/* footer ends */


 /* Container tweaks */
 .my-projects {
  height: auto;
  margin: 40px auto 40px;       /* smaller top/bottom margins */
  padding: 0 16px;              /* side padding */
  width: 100%;
  box-sizing: border-box;
}

/* Each project as a vertical card */
.project-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: auto !important;      /* override any fixed heights */
  margin: 0 auto 40px;          /* space between cards */
  gap: 20px;
  box-sizing: border-box;
}

/* Image box goes full width */
.project-imgbox {
  width: 100%;
  max-width: 100%;
  margin: 0;
}
.project-imgbox img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

/* Info box full width & centered text */
.project-info {
  width: 100%;
  max-width: 100%;
  padding: 0;
  text-align: center;
}

/* Allow the title to wrap */
.project-info h1 {
  font-size: 1.25rem;          /* slightly smaller */
  margin-bottom: 12px;
  white-space: normal;         /* wrap long titles */
}

/* Full-width bullet list */
.project-info ul {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0 auto 20px;
  list-style-position: inside;
}
.project-info ul li {
  margin-bottom: 8px;
}

/* Call-to-action button centered */
.project-info button {
  align-self: center;
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* “More projects” note */
.project-note {
  font-size: 0.85rem;
  text-align: center;
  margin-top: 20px;
}



/*recent-highlights */


.recent-highlights-section {
  padding: 40px 0 60px;
}
.highlights-title {
  font-size: 1.75rem;
}
.recent-highlights-section .underline {
  width: 80px;
  margin-bottom: 30px;
}

/* Switch to scroll-snap carousel */
.carousel-container {
  overflow: hidden;
  padding: 0 16px;
}

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}
.carousel-track {
  scrollbar-width: none; /* Firefox */
}

.highlight-card {
  flex: 0 0 auto;
  width: 80%;
  max-width: 320px;
  scroll-snap-align: center;
}

.carousel-btn {
  display: none; /* Hide arrows on mobile or re-style them below */
}

/* 4) Ensure each card snaps and is the right size */
.highlight-card {
  flex: 0 0 80%;
  max-width: 320px;
  scroll-snap-align: center;
  margin: 0;
}
.highlight-card {
  flex: 0 0 80%;
  max-width: 320px;
  margin: 0;
  scroll-snap-align: center;
  padding: 16px;
}
.highlight-card p {
  font-size: 0.9rem;
}

/* Hide the arrows on mobile (swipe instead) */
.carousel-btn {
  display: none;
}

.menu-icon{
  display: block;
}



}
  



