@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Allura&family=Pacifico&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Allura&family=Bebas+Neue&family=Pacifico&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
  font-family: 'Poppins', sans-serif;
}
body{
  background: url('https://wallpapers.com/images/featured/dark-5u7v1sbwoi6hdzsb.jpg');
}

/* Scrollbar styles */

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #d6d2c9;
}
::-webkit-scrollbar-thumb {
    background: #0e45dd;
    border-radius: 12px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #4070f4;
}

/* navbar */
.navbar {
  position: fixed;
  width: 100%;
  padding: 0;
  top: 0;
  left: 0;
  z-index: 998;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.8);
}

@supports (-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px)) {
  .navbar {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background-color: transparent;
  }
}

.navbar .navbar-nav {
  background-color: inherit;
}

.navbar .navbar-brand {
  font-weight: 100;
  font-size: 40px;
  color: #ffffff;
  font-family: "Allura", cursive;
  padding: 8px 0;
  transition: all 0.3s ease;
  background-color: inherit;
  margin-left: 20px;
  &:hover {
    color: #0d2e89;
  }
}

.nav {
  position: fixed;
  width: 100%;
  padding: 20px 0;
  z-index: 998;
  transition: all 0.3s ease;
  font-family: 'Ubuntu', sans-serif;
  background-color: #ffffff;
}


nav.sticky {
  background: #ffffff;
  padding: 13px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

nav .navbar {
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
}
.navbar .nav-item {
  display: flex;
  align-items: center;
}

.navbar .nav-item .nav-link{
  position: relative;
  color: #edb3b3;
  display: inline-block;
  line-height: 1.5;
  text-align: center;
  font-family: "Bebas Neue", sans-serif;  
  margin-right: 40px;
  text-decoration: none;
  padding: 10px 0;
  font-size: 25px;
  font-weight: 500;
  transition: color 0.3s ease;
  margin-left: 10px;
}
.navbar .nav-item .nav-link:hover{
  color: rgb(4, 158, 254);
}
.navbar .nav-item .nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 5px;
  background-color: #feffff;
  transition: width 0.3s ease-in-out;
}

.navbar .nav-item .nav-link:hover::before {
  width: 100%; 
}

/* home */
.home {
  height: 100vh;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  font-family: 'Ubuntu', sans-serif;
}

.home .home-content {
  width: 90%;
  height: 100%;
  margin: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.home .text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.home .text-one {
  font-size: 25px;
  color: rgb(255, 255, 255);
}

.home .text-two {
  color: rgb(255, 255, 255);
  text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
  font-size: 50px;
  font-weight: 600;
  margin-left: -3px;
}

.home .text-three {
  color: rgb(25, 171, 204);
  font-size: 50px;
  font-weight: 600;
  margin-left: 3px;
}

.home .pre-style {
  white-space: pre;
}

.home .pre-style:hover {
  color: #00277c;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
}

.home .img-fluid {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  margin-bottom: 20px;
  margin-right: px;
}

.home .home-circle {
  margin-left: auto;
}

.home .social-links {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  margin-top: 0;
}

.home .social-links a {
  margin: 0 10px;
  transition: transform 0.3s ease;
  font-size: 20px;
}

.github-link {
  color: #ffffff;
}

.linkedin-link {
  color: #00a6ff;
}

.facebook-link {
  color: #0051ff;
}

.instagram-link {
  color: #9900ff;
}

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

.home .social-links a:hover i {
  transform: scale(1.1);
  color: #06d5f5;
}

/* About Section */

.section{
  padding-top: 50px;
  justify-content: center;
  align-items: center;
}
section .content{
  width: 80%;
  margin: 0 auto;
  font-family: 'Poppins', sans-serif;
}
.about .about-details{
  display: flex;
  justify-content: center;
  align-items: center;
}
section .title{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}
section .title span{
  color: #f1eaea;
  font-size: 30px;
  font-weight: 600;
  position: relative;
  padding-bottom: 8px;
}
section .title span::after{
  bottom: -7px;
  width: 70%;
  left: 50%;
  transform: translateX(-100%);
}
section p{
  text-align: justify;
}
section p:hover{
  transform: scale(1.0);

}
.about .img-fluid {
  width: 400px;
  height: 400px;
  border-radius: 50%;
}
.about{
  padding: 50px 0;
}
.about-title{
  font-size: 2.5rem;
  color: #ffffff;
}
.about-img{
  height: 200px;
  border-radius: 50%;
}
.about-topic{
  font-size: 1.5rem;
  color: #ffffff;
  margin-top: 10px;
}
.about-p{
  line-height: 1.5;
  color: #ffffff;
  margin-top: 10px;
  border: 2px solid pink;
  border-radius: 20px;
  padding: 20px;

}

/* Skills section */

.skills {
  padding: 40px 0;
  flex-direction: column;
  align-items: center; 
  justify-content: center; 
  height: 100vh;
}

.skills .content {
  padding: 40px 0;
}

.skills .svg-icon {
  width: 80px;
  height: 80px;
  padding: 12px;
  border: 2px solid rgba(240, 135, 135, 0.833);
  border-radius: 16px;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.svg-icon:hover {
  transform: scale(1.1); 
  filter: brightness(1.2); 
  box-shadow: 0 0 10px rgba(231, 212, 212, 0.447); 
  border: 2px solid rgba(188, 191, 4, 0.833);

}

.skills .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.skills .col-md-3 {
  flex: 20% 20% 0;
  max-width: 25%;
  text-align: center;
}


/* Projects section */


.projects-details .card {
  transition: all 0.3s ease;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px;
}

.projects-details .card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}
.projects img{
  max-width: 50%;
  height: auto;
  border-radius: 12px;
  margin: 10px 0;
}
.projects-details .card .card-body {
  padding: 10px;
  border-radius: 12px;
  text-align: left;
}


/* Contact Section */

/* =================================== */
/* Contact Section Styles (Final Look) */
/* =================================== */
/* =================================== */
/* Contact Section Styles (Final Look with BLUE color) */
/* =================================== */
.contact {
  padding: 60px 0;
  background: url('https://wallpapers.com/images/featured/dark-5u7v1sbwoi6hdzsb.jpg');
}

.contact .title span {
  color: #f1eaea;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center the items */
  gap: 30px;
  margin-top: 30px;
}

/* Left Side Styles */
.contact-info-left {
  flex: 1 1 350px;
  color: #ffffff;
}

.contact-heading {
  font-size: 1.2rem;
  font-weight: 600;
  color: #cccccc;
  text-transform: uppercase;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 10px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.contact-item i {
  font-size: 2rem;
  color: #00a6ff; /* ONLY aikkade PINK ni BLUE ga marchamu */
}

.contact-item p {
  margin: 0;
  font-size: 0.9rem;
  color: #aaaaaa;
}

.contact-item a, .contact-item span {
  color: #ffffff;
  font-size: 1.1rem;
  text-decoration: none;
}

.contact-item a:hover {
  color: #00a6ff; /* ONLY aikkade PINK ni BLUE ga marchamu */
}

.social-heading {
  margin-top: 40px;
}

.social-info {
  display: flex;
  gap: 20px;
}

.social-info a i {
  font-size: 2.5rem;
  color: #ffffff;
  transition: all 0.3s ease;
}

.social-info a:hover i {
  color: #00a6ff; /* ONLY aikkade PINK ni BLUE ga marchamu */
  transform: scale(1.1);
}


/* Right Side Form Styles */
.contact-form-right {
  flex: 1 1 350px; /* Made the form box smaller */
  max-width: 400px; /* Added max-width */
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 30px;
}

.form-heading {
  font-size: 2rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
}

.contact-form-right form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form-right input,
.contact-form-right textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.2);
  color: #ffffff;
  font-size: 1rem;
}

.contact-form-right input::placeholder,
.contact-form-right textarea::placeholder {
  color: #cccccc;
}

.contact-form-right button {
  padding: 15px;
  background-color: #00a6ff; /* ONLY aikkade PINK ni BLUE ga marchamu */
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form-right button:hover {
  background-color: #0085cc; /* Darker blue on hover */
}

/* =================================== */
/* Education Section Styles            */
/* =================================== */
.education {
  padding: 50px 0;
  background: url('https://wallpapers.com/images/featured/dark-5u7v1sbwoi6hdzsb.jpg'); /* Using the same background */
}

.education .title span {
  color: #f1eaea;
  font-size: 30px;
  font-weight: 600;
  position: relative;
  padding-bottom: 8px;
}

.education-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px; /* Space between cards */
  margin-top: 30px;
}

.education-card {
  background-color: rgba(255, 255, 255, 0.05); /* Transparent black */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 25px;
  width: 80%;
  max-width: 600px;
  text-align: center;
  transition: all 0.3s ease;
}

.education-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.education-year {
  color: #f905b0; /* Pink color for the year */
  font-size: 1rem;
  margin-bottom: 5px;
}

.education-degree {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.education-institute {
  color: #cccccc;
  font-size: 1.1rem;
}
/* Style for the CGPA/Grade */



/* Footer */

footer {
  background: #222;
  padding: 40px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
}

footer .text span a:hover {
  text-decoration: underline;
}

.footer {
  padding: 1.5rem 0;
}

.footer p {
  margin-bottom: 0;
}

/* Responsive Media Query */


@media (max-width: 1190px) {
  section .content{
    width: 85%;
  }
  .about-p{
    line-height: 1.5;
    color: #ffffff;
    border: 2px solid pink;
    border-radius: 20px;
    padding: 5px;
    font-size: smaller;
  
  }
  .about-topic{
    font-size: medium;
  }
    .navbar-toggler-icon {
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path stroke="rgba(255, 255, 255, 0.7)" stroke-width="2" stroke-linecap="round" stroke-miterlimit="10" d="M4 7h22M4 15h22M4 23h22"/></svg>') !important;
        background-repeat: no-repeat;
        width: 30px;
        height: 30px;
      }
  .about .about-details{
    justify-content: center;
    flex-direction: column;
  }
  .about .about-details .left{
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .about-details .right{
    width: 90%;
    margin: 40px 0;
  }
  .projects .boxes .box{
    margin: 20px 0;
    width: calc(100% / 2 - 20px);
  }
  .about .left img{
    height: 350px;
    width: 350px;
  }
  nav .navbar{
    width: 90%;
  }
  .home .text-two{
    font-size: 65px;
  }
  .home .text-three{
    font-size: 35px;
  }
  .skills .skills-details{
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  .skills-details .text{
    width: 100%;
    margin-bottom: 50px;
  }
  .skills-details .boxes{
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .projects .boxes .box{
    margin: 20px 0;
    width: 100%;
  }
  .contact .text{
    width: 100%;
}
  .home .text-two{
    font-size: 15px;
  }
  .home .text-three{
    font-size: 15px;
  }
  .about-details .col-md-4 {
    justify-content: center;
  }
      .svg-icon {
      margin-bottom: 5px;
    }

    .home .home-content {
      flex-direction: column;
      justify-content: center !important;
      align-items: center !important;
    }
  
    .home .home-circle {
      order: 1;
      margin: 0 0 20px 0 !important;
    }
  
    .home .text {
      order: 2;
      align-items: center !important;
      text-align: center;
    }
    
.home .img-fluid {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin-bottom: 20px;
  margin-right: px;
}
.about .img-fluid{
  height: 150px;
  width: 150px;
}

.projects-details .card {
  transition: all 0.3s ease;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.projects img{
  max-width: 40%;
  height: auto;
  border-radius: 12px;
  margin: 10px 0;
}
.projects-details .card .card-body {
  padding: 10px;
  border-radius: 12px;
  text-align: left;
}

  }
  .home-img {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #ff007f; 
}

/* =================================== */
/* Projects Section Styles (NEW LOOK)  */
/* =================================== */
.projects {
  padding: 50px 0;
  background: url('https://wallpapers.com/images/featured/dark-5u7v1sbwoi6hdzsb.jpg'); /* Same dark background as education */
}

.projects .title span {
  color: #f1eaea;
  font-size: 30px;
  font-weight: 600;
  position: relative;
  padding-bottom: 8px;
}

.projects .card-deck {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px; /* Cards madhya gap */
}

.projects-details .card {
  background-color: rgba(255, 255, 255, 0.05); 
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 20px;
  flex: 1 1 250px; /* Responsive cards */
  max-width: 280px;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: all 0.3s ease;
}

.projects-details .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.projects-details .card .card-header h3 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.projects-details .card img.card-img-top {
  width: 120px; /* Icon size */
  height: 120px;
  object-fit: contain;
  margin: 0 auto 15px auto; 
}

.projects-details .card .card-body {
  padding: 0;
}

.projects-details .card .card-body p.card-text {
  color: #cccccc;
  font-size: 1rem;
  line-height: 1.6;
  text-align: center; /* Centered text */
  margin-bottom: 20px;
}

.projects-details .card .card-body a.btn {
  margin: 5px;
}
/* =================================== */
/* Education Section - Grade Color Fix */
/* =================================== */

.education-grade {
  /* ఒక అందమైన, ప్రకాశవంతమైన నీలం రంగు */
  color: #87CEEB; /* Sky Blue */
  font-weight: 500; 
  opacity: 0.9; 
}
.experience { padding: 60px 0; }
.experience-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    margin-top: 20px;
}
.experience-company { color: #f905b0; font-size: 1.3rem; font-weight: 600; }
.experience-list li { color: #ccc; margin-bottom: 10px; }