* {
  margin: 0;
  padding: 0;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.header-list {
  margin: 15px 20px;
}

/* Mobile view adjustments */
@media (max-width: 767px) {
  .header-list {
    margin: 0;
    background: none;
    padding: 0;
  }
}

.div-list {
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 20px 0; */
}

.ul-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  background: linear-gradient(135deg, 
    rgba(255, 0, 255, 0.9) 0%, 
    rgba(0, 191, 255, 0.9) 33%, 
    rgba(0, 255, 191, 0.9) 66%, 
    rgba(255, 0, 255, 0.9) 100%);
  background-size: 200% 200%;
  animation: gradientBG 8s ease infinite;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
  padding: 12px 25px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.ul-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 25px;
  padding: 8px 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ul-list li a {
  font-family: "Montserrat", sans-serif;
  text-decoration: none;
  color: white;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.ul-list li i {
  color: white;
  font-size: 1.1em;
  transition: all 0.3s ease;
}

.ul-list li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  z-index: 0;
}

.ul-list li:hover::before {
  width: 100%;
}

.ul-list li.active {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.ul-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.ul-list li:active {
  transform: translateY(0);
}

.ul-list li.active {
  background-color: black;
  padding: 10px 15px;
}

.ul-list li.active a,
.ul-list li.active i {
  color: white;
}

/* fine header  */

.home {
  margin: 120px auto;
  max-width: 1400px;
  padding: 0 40px;
  z-index: 1;
  color: #e0e0e0;
}

.home-container {
  display: flex;
  gap: 6rem;
}

.home-p {
  color: #ffffff;
  background: linear-gradient(90deg, rgba(0, 136, 255, 0.2), rgba(0, 200, 255, 0.2));
  display: inline-block;
  margin-bottom: 30px;
  padding: 8px 20px;
  border-radius: 20px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
  letter-spacing: 1px;
}

.home-s {
  font-weight: bold;
  color: green;
}

/* Main heading styles */
.info-home h1 {
  font-size: 70px;
  font-family: "Raleway", sans-serif;
  margin: 0 0 10px 0;
  padding: 0;
  background: linear-gradient(90deg, #ff6b6b, #ffa07a, #ffd700, #90ee90, #00bfff, #9370db, #ff69b4);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient 5s ease infinite, colorPulse 2s ease-in-out infinite alternate;
  display: block;
  line-height: 1.2;
  width: 100%;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

@keyframes colorPulse {
  0% { 
    text-shadow: 0 0 5px rgba(255, 107, 107, 0.5),
                 0 0 10px rgba(255, 160, 122, 0.5);
  }
  100% { 
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.5),
                 0 0 20px rgba(147, 112, 219, 0.5),
                 0 0 30px rgba(255, 105, 180, 0.4);
  }
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Subheading styles */
.info-home h3 {
  font-size: 40px;
  font-family: "Playfair Display", serif;
  margin: 0 0 30px 0;
  padding: 0;
  background: linear-gradient(90deg, #4ecdc4, #ff6b6b, #9d65ff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient 6s ease infinite;
  display: block;
  line-height: 1.3;
  width: 100%;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .info-home h1 {
    font-size: 60px;
  }
  .info-home h3 {
    font-size: 36px;
  }
}

@media (max-width: 992px) {
  .info-home h1 {
    font-size: 50px;
  }
  .info-home h3 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .info-home h1 {
    font-size: 40px;
  }
  .info-home h3 {
    font-size: 28px;
  }
}

@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.info-p {
  color: #2d3748;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.05rem;
  line-height: 1.8;
  background: rgba(255, 255, 255, 0.9);
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  margin: 20px 0;
  transition: all 0.3s ease;
}

.info-p p {
  margin: 0.8em 0;
  padding: 0;
  color: #4a5568;
  font-weight: 400;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 15px;
  border-left: 3px solid #4a90e2;
  background: rgba(74, 144, 226, 0.05);
  padding: 10px 15px;
  border-radius: 0 8px 8px 0;
}

.info-p p:first-child {
  margin-top: 0;
}

.info-p p:last-child {
  margin-bottom: 0;
}

.info-p p:hover {
  transform: translateX(5px);
  background: rgba(74, 144, 226, 0.1);
  box-shadow: 3px 0 15px rgba(74, 144, 226, 0.1);
}

.info-p2 {
  display: flex;
  gap: 1rem;
  color: #c0bcbc;
  font-size: 14px;
  padding-bottom: 20px;
}

.btnn {
  display: flex;
  gap: 1rem;
  padding-bottom: 30px;
}

.btn-home1 {
  position: relative;
  background-color: #000000;
  color: rgb(255, 255, 255);
  border: none;
  border-radius: 10px;
  padding: 10px 10px;
  cursor: pointer;
  z-index: 1;
  overflow: hidden;
  background-clip: padding-box;
}

.btn-home1::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #FF6B6B, #4ECDC4, #FF6B6B);
  background-size: 200% 200%;
  z-index: -1;
  border-radius: 12px;
  animation: gradientBorder 4s ease infinite;
}

.btn-home1:hover {
  background: #000000;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-home2 {
  background-color: transparent;
  border: 2px solid transparent;
  border-radius: 10px;
  background-image: linear-gradient(white, white), 
                    linear-gradient(45deg, #FF6B6B, #4ECDC4);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  padding: 10px 10px;
  cursor: pointer;
  transition: 0.4s;
}


.btn-home2:hover{
    background-color: #000000;
    color: #fff;
}

hr {
  width: 90%;
  font-weight: bold;
  color: gray;
}

.hhr {
  padding-bottom: 30px;
}

.follow {
  display: flex;
  gap: 1rem;
}

.follow ul {
  display: flex;
  gap: 2rem;
  font-size: 20px;
}

.follow ul li {
  list-style: none;
}

.follow ul a {
  text-decoration: none;
  color: #000000;
}

.home img {
  width: 500px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(5px);
  animation: colorChange 8s infinite alternate;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, filter 0.5s ease;
}

.home img:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 100, 255, 0.4);
  border-color: rgba(0, 150, 255, 0.3);
}

/* fine home  */

.about {
  margin: 120px auto;
  max-width: 1400px;
  padding: 0 40px;
  z-index: 1;
  color: #e0e0e0;
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 100, 200, 0.1) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* Add subtle pattern overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: -1;
}

.about p {
  padding: 15px 0;
  font-size: 1.1em;
  line-height: 1.9;
  color: #d1d1d1;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid rgba(0, 150, 255, 0.5);
  margin: 20px 0;
  background: rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 0 10px 10px 0;
}

.about h1 {
  font-family: "Poppins", sans-serif;
  font-size: 2.8em;
  margin: 20px 0;
  color: #ffffff;
  transition: all 0.3s ease;
  padding-bottom: 15px;
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.about h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
  border-radius: 3px;
}

.about-container {
  display: flex;
  gap: 2rem;
}

.about img {
  position: relative;
  width: 400px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(5px);
  transform: perspective(1000px) rotateY(-5deg);
  animation: colorChange 8s infinite alternate-reverse;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, filter 0.5s ease;
}

.about img:hover {
  transform: perspective(1000px) rotateY(0) translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 100, 255, 0.4);
  border-color: rgba(0, 150, 255, 0.3);
}

.about h2 {
  padding-bottom: 30px;
}

.card {
  display: flex;
  gap: 2rem;
}

.card{
    display: flex;
    gap: 2rem;
}

.c1 {
    display: flex;
    align-content: center;
    flex-direction: column;
    padding: 20px;
    border-radius: 10px;
    background-color: #1e1e1e;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.c1::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff0000, #00ff00, #0000ff, #ff00ff, #ff0000);
    background-size: 400% 400%;
    z-index: -1;
    border-radius: 12px;
    animation: gradientBorder 4s ease infinite;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 2px;
}

@keyframes gradientBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.c1 h3{
    padding-top: 10px;
    padding-bottom: 10px;
}

.c1:hover {
  transform: translateY(-6px) scale(1.03);
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  color: #000000;
}

.c1:hover h3,
.c1:hover p,
.c1:hover i {
  color: #000000 !important;
  cursor: pointer;
}


.project{
    margin: 160px 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.project p {
    padding: 10px 0 20px;
    font-size: 1.1em;
    color: #d1d1d1;
    line-height: 1.8;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.project h1 {
    font-family: "Poppins", sans-serif;
    font-size: 2.8em;
    padding-bottom: 15px;
    margin: 20px 0;
    background: linear-gradient(90deg, #ff6b6b 0%, #ff8e53 50%, #ff6b6b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    display: inline-block;
}

.project h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b 0%, #ff8e53 100%);
    border-radius: 3px;
}

.project hr{
    width: 10%;
}

.info-pro{
    padding-top: 20px;
}

.info-pro p{
    padding-bottom: 10px;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: auto;
}

.project-card {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
}

.project-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

.project-card h3 {
  color: #1e40af;
  margin-bottom: 8px;
}

.project-card p {
  color: #2d3748;
  font-size: 0.95rem;
  margin-bottom: 15px;
  line-height: 1.6;
  font-weight: 400;
}

.skills {
  margin-bottom: 15px;
}

.skills a {
  display: inline-block;
  background: #e0e7ff;
  color: #1e3a8a;
  text-decoration: none;
  font-size: 0.8rem;
  padding: 5px 10px;
  border-radius: 6px;
  margin: 3px;
  transition: background 0.3s;
}

.skills a:hover {
  background: #c7d2fe;
}

.btns {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.btn {
  background: #1e40af;
  color: white;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 25px;
  font-size: 0.9rem;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn:hover {
  background: #2563eb;
  border-radius: 25px;

}

.services{
    margin: 160px 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.services p{
    padding-bottom: 20px;
    font-size: 13px;
    color: rgb(185, 181, 181); ; 
}

.services h1 {
    font-family: "Poppins", sans-serif;
    font-size: 2.8em;
    padding-bottom: 15px;
    margin: 20px 0;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 50%, #4facfe 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    display: inline-block;
}

.services h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 3px;
}

.services hr{
    width: 10%;
}

.services-container {
  padding-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: auto;
}

.service-card {
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: 0.5s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card img {
  width: 100px;
  margin-bottom: 15px;
  z-index: 1;
  position: relative;
}

.service-card h3 {
  color: #1e40af;
  margin-bottom: 10px;
  transition: color 0.5s;
  position: relative;
  z-index: 1;
}

.service-card p {
  color: #2d3748;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  line-height: 1.6;
  font-weight: 400;
  margin: 10px 0;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #474af0;
  z-index: 0;
  transition: 0.5s;
}

.service-card:hover::before {
  left: 0;
}

.service-card:hover h3,
.service-card:hover p {
  color: #fff;
}

.contact{
    margin: 160px 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.contact p{
    padding-bottom: 20px;
    font-size: 13px;
    color: rgb(185, 181, 181); ; 
}

.contact h1{
    font-family: "Open Sans", sans-serif;
    padding-bottom: 10px;
}

.contact hr{
    width: 10%;
}

.contact-content {
  padding-top: 50px;
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info p {
  font-size: 16px;
  margin-bottom: 25px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgb(185, 181, 181); ;
}

.contact-item i {
  font-size: 20px;
  color: #474af0;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 50px;
  height: 50px;
  background: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.social-link::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-link:hover::before {
  opacity: 1;
}

.social-link:hover {
  transform: translateY(-5px);
  color: #fff;
  background: transparent;
}

.social-link[href*="github"]:hover {
  background: #000;
}

.social-link[href*="linkedin"]:hover {
  background: #0A66C2;
}

.social-link[href*="wa.me"]:hover {
  background: #25D366;
}

/* Form */
.contact-form {
  flex: 1;
  min-width: 300px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  transition: border 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #474af0;
}

/* Text Animation Styles */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subtle animation for content */
.about p, .services p, .card p, .about-info p {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: calc(var(--animation-order) * 0.08s);
}

/* Ensure text is visible after animation */
/* Card specific styles */
.card p {
  color: #2d3748;
  opacity: 1;
  line-height: 1.6;
  margin: 10px 0;
}

/* Other text styles */
.about p, .about-info p {
  color: #d0d1d3;
  opacity: 1;
}

/* About Info Section - Clean Modern Style */
.about-info {
  margin: 30px 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 1 !important; /* Force visibility */
}

.about-info p {
  color: #e2e8f0;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0 0 15px 0;
  padding: 0;
  text-align: left;
  letter-spacing: 0.3px;
  position: relative;
  transition: all 0.3s ease;
  opacity: 1 !important; /* Ensure text is always visible */
}

.about-info p:not(:last-child) {
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-info p:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

/* Desktop styles */
@media (min-width: 768px) {
  .about-info p {
    font-size: 1.15rem;
    line-height: 1.9;
    padding: 0 15px;
  }
  
  .about-info p:not(:last-child) {
    padding-bottom: 25px;
    margin-bottom: 25px;
  }
}

/* Hover effect */
.about-info p:hover {
  color: #fff;
  transform: translateX(8px);
}

/* Add subtle bullet point on hover */
.about-info p:hover::before {
  content: '•';
  position: absolute;
  left: -15px;
  color: #4a90e2;
  font-size: 1.5em;
  line-height: 1;
  top: 0.3em;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .about-info {
    margin: 20px 0;
  }
  
  .about-info p {
    font-size: 1rem;
    line-height: 1.7;
    padding: 0 10px;
  }
  
  .about-info p:not(:last-child) {
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
}

/* Animate the about heading with multicolor */
.about h1 {
  background: linear-gradient(90deg, #ff6b6b, #ff8e53, #ffd700, #90ee90, #00bfff, #9370db, #ff69b4);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient 8s ease infinite;
  display: inline-block;
}

@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Cursor Animation (only for typing effect) */
.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: middle;
  background: currentColor;
  animation: blink 0.7s infinite;
}

.about h1 .cursor {
  display: inline-block;
  width: 3px;
  height: 1.2em;
  margin-left: 2px;
  vertical-align: middle;
  background: #ff3366;
  animation: 
    blink 0.7s infinite,
    cursorColor 4s infinite;
}

@keyframes cursorColor {
  0% { background: #ff3366; }
  20% { background: #ff8a00; }
  40% { background: #ffd700; }
  60% { background: #4caf50; }
  80% { background: #2196f3; }
  100% { background: #9c27b0; }
}

.btn-send {
  background: #474af0;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}

.btn-send:hover {
  background: #2c36d9;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-content {
    flex-direction: column;
  }
}


.footer {
  background-color: #000;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
  overflow-x: hidden;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
}

.footer-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links li a:hover {
  color: #474af0;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.footer-social a {
  color: #fff;
  font-size: 18px;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #474af0;
}

.footer-copy {
  font-size: 12px;
  color: #aaa;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

.active-reveal {
  opacity: 1;
  transform: translateY(0);
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  background: 
    radial-gradient(ellipse at top left, rgba(120, 119, 198, 0.3), transparent 50%),
    radial-gradient(ellipse at top right, rgba(255, 119, 198, 0.3), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(119, 198, 255, 0.3), transparent 50%),
    linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #1a1a3e 100%);
  background-size: 400% 400%;
  background-attachment: fixed;
  min-height: 100vh;
  position: relative;
  animation: gradientShift 15s ease infinite;
}

/* Add subtle noise texture for depth */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.08'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: -1;
}

/* Animated gradient background */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

#loading-screen {
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background-color: #000;
  display:flex;
  justify-content:center;
  align-items:center;
  flex-direction:column;
  z-index:9999;
  overflow:hidden;
  color:#00f0ff;
  text-align:center;
}

.hidden {
  opacity: 0;
  transform: translateY(-200px);
}

.fall {
  animation: fall 0.9s forwards;
}

@keyframes fall {
  0% {
    opacity:0;
    transform: translateY(-200px);
  }
  60% {
    opacity:1;
    transform: translateY(20px);
  }
  100% {
    transform: translateY(0);
  }
}

.loading-content h1,
.loading-content h2,
.loading-content i {
  margin: 20px 0;
}

.sub-icons {
  display:flex;
  justify-content:center;
  gap: 25px;
  margin-bottom: 20px;
}

#main-page {
  opacity:0;
  transition: opacity 1s ease;
}

#main-page.visible {
  opacity:1;
}

/* Responsive for tablets and phones */
@media (max-width: 1024px) {
  .home, .about, .project, .services, .contact {
    margin: 100px 30px;
  }
  
  .info-about {
    text-align: left;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .info-about p {
    font-size: 1em;
    line-height: 1.7;
    margin: 0 0 25px 0;
    text-align: justify;
    hyphens: auto;
    word-break: break-word;
    color: #333;
  }
  
  .what-drives {
    margin-top: 40px;
  }
  
  .what-drives h2 {
    font-size: 2em;
    margin-bottom: 25px;
  }
  
  .card {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .c1 {
    width: 100% !important;
    max-width: 350px;
    margin: 0 auto;
    padding: 25px;
  }

  .home-container, .about-container {
    flex-direction: column;
    gap: 3rem;
  }

  .home img, .about img {
    width: 100%;
    height: auto;
  }

  .ul-list {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 8px 15px;
  }
}

/* Phone layout */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  body {
    overflow-x: hidden;
  }
  header {
    display: block !important; /* Force show header */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
  }
  
  .div-list {
    padding: 10px 0;
  }
  
  .ul-list {
    justify-content: space-around;
    padding: 8px 10px;
    border-radius: 25px;
    background: linear-gradient(135deg, 
      rgba(255, 0, 255, 0.9) 0%, 
      rgba(0, 191, 255, 0.9) 33%, 
      rgba(0, 255, 191, 0.9) 66%, 
      rgba(255, 0, 255, 0.9) 100%);
    background-size: 200% 200%;
    animation: gradientBG 8s ease infinite;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
  }
  
  .ul-list li {
    padding: 8px 12px;
    background: transparent;
    box-shadow: none;
  }
  
  .ul-list li a {
    font-size: 0.9rem;
  }
  
  .ul-list li i {
    display: none;
  }
  
  .ul-list li.active {
    background: #4f46e5;
    border-radius: 20px;
  }
  
  .home {
    margin: 80px 15px 40px !important;
    padding: 0 10px !important;
    width: 100%;
    box-sizing: border-box;
  }
  
  .home-container {
    flex-direction: column-reverse;
    gap: 2rem !important;
    text-align: center;
  }
  
  .info-home h1 {
    font-size: 2.2rem !important;
    line-height: 1.2;
    margin: 10px 0 !important;
    word-break: break-word;
  }
  
  .info-home h3 {
    font-size: 1.2rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  .info-p {
    text-align: center;
    padding: 0 !important;
    margin: 0 0 1.5rem 0 !important;
  }
  
  .info-p p {
    margin: 0.8rem 0 !important;
    font-size: 1rem !important;
    line-height: 1.7;
    text-align: center;
    max-width: 100%;
    padding: 0 5px;
  }
  
  .info-p2 {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1.5rem 0;
    align-items: center;
  }
  
  .btnn {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem auto;
    width: 100%;
    max-width: 300px;
    padding: 0 10px;
    box-sizing: border-box;
  }
  
  .btn-home1, .btn-home2 {
    box-sizing: border-box;
    width: 100% !important;
    margin: 0 !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
  }
  
  .follow {
    margin-top: 2rem;
  }
  
  .follow ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
  }
  
  .follow ul li a {
    color: #4f46e5;
    font-size: 1.5rem;
    transition: all 0.3s ease;
  }
  
  .follow ul li a:hover {
    transform: translateY(-3px);
    color: #3b36a8;
  }
  
  .follow ul li a i {
    font-size: 1.5rem;
  }
  
  .home img {
    max-width: 100%;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  }
  
  .home-p {
    font-size: 0.85rem;
    padding: 5px 12px;
    margin-bottom: 1.5rem;
  }
  
  .about {
    margin: 80px 15px !important;
  }
  
  .info-about {
    padding: 0 8px;
    margin: 0 auto;
    max-width: 100%;
  }
  
  .about h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 15px;
  }
  
  .about .hrrr {
    width: 60%;
    padding-bottom: 25px;
  }
  
  .about-container {
    gap: 2rem;
  }
  
  .info-about p {
    font-size: 1rem;
    line-height: 1.7;
    text-align: left;
    margin: 0 0 1.5rem 0;
    padding: 0;
    letter-spacing: 0.01em;
    color: rgb(185, 181, 181); ;
    word-spacing: 0.5px;
  }
  
  .about img {
    width: 100%;
    height: auto;
    position: static;
    margin: 0 auto;
    display: block;
    border-radius: 8px;
    max-width: 350px;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }
  
  /* Ensure text doesn't get too wide on larger phones */
  @media (min-width: 400px) {
    .info-about {
      padding: 0 20px;
    }
  }
  
  .what-drives h2 {
    font-size: 1.6rem;
    text-align: left;
    margin: 2rem 0 1.5rem 0;
    color: linear-gradient(90deg, #ff6b6b, #ffa07a, #ffd700, #90ee90, #00bfff, #9370db, #ff69b4);
    font-weight: 600;
  }
  
  .c1 {
    padding: 2rem;
    margin: 0.5rem 0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  .c1:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  }
  
  .c1 h3 {
    font-size: 1.5rem;
    margin: 0.8rem 0 1rem;
    color: #1a202c;
    font-weight: 700;
    position: relative;
    z-index: 2;
  }
  
  .c1 p {
    font-size: 1.1rem;
    color: #2d3748;
    margin: 1rem 0 0;
    line-height: 1.7;
    font-weight: 500;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
  }
  
  .c1 i {
    font-size: 2.2rem;
    color: #4f46e5;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
  }
  
  /* Removing duplicate styles */
  
  .what-drives h2 {
    font-size: 1.6em;
  }
  
  .c1 {
    padding: 15px;
  }
  
  .c1 h3 {
    font-size: 1.2em;
    color: #ffffff;
    transition: color 0.3s ease;
  }

  .home, .about, .project, .services, .contact {
    margin: 100px 20px;
  }

  .home-container, .about-container, .contact-content {
    flex-direction: column;
    gap: 2rem;
  }

  .projects-container, .services-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .home img, .about img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .btn-home1, .btn-home2, .btn, .btn-send {
    width: 100%;
    text-align: center;
  }
  
  .follow ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 1024px) {

  .home, .about, .project, .services, .contact {
    margin: 20px auto;
    padding: 0 15px;
    text-align: center;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .home-container,
  .about-container,
  .services-container,
  .projects-container,
  .contact-content,
  .card {
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
  }

  .about img {
    width: 100%;
    max-width: 220px; 
    height: auto;
    margin-bottom: 20px;
    position: relative;
    z-index: 1; 
  }

  .card .c1 {
    width: 100%;
    max-width: 300px;
    text-align: center;
    margin: 0 auto;
  }

  .home img,
  .project-card img,
  .service-card img {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto 15px auto;
    object-fit: cover;
  }

  service-card p {
    color: #000;
  }

  .info-home h1 { 
    font-size: 32px !important;
    line-height: 1.2;
  }
  .info-home h3 { 
    font-size: 24px !important;
    line-height: 1.3;
  }
  .info-p, .info-p2, .home-p, .about p, .project p, .card p, .service-card p, .contact p {
    font-size: 14px;
  }
  .project-card h3, .service-card h3 { 
    font-size: 16px;
  }

  .contact-content {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .contact-info, .contact-form {
    width: 100%;
    max-width: 400px;
  }

  html, body {
    overflow-x: hidden;
  }

  
}
