/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  color: #f0f0f0;
}

/* Header */
header {
  background-color: #111;
  padding: 15px 0;
}
.logo {
  color: #ffffff;
  font-size: 26px;
  font-weight: bold;
  margin-left: 30px;
}
.tagline {
  color: #bbbbbb;
  font-size: 14px;
  margin-left: 30px;
}
nav {
  margin-top: -25px;
  float: right;
  margin-right: 30px;
}
nav ul {
  list-style: none;
}
nav ul li {
  display: inline-block;
  margin-left: 15px;
}
nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}
nav ul li a:hover {
  color: #63e5ff;
}

/* Hero Section */
.hero {
  background-image: url("dp2.jpg");
  background-size: cover;
  background-position: center;
  height: 90vh;
  position: relative;
}
.hero-overlay {
  background: rgba(0, 0, 0, 0.7);
  height: 100%;
  display: flex;
  align-items: center;
}
.hero-content {
  color: white;
  text-align: left;
  max-width: 600px;
}
.text-area {
  padding-left: 50px;
}
.hero-content h2 {
  font-size: 42px;
  margin-bottom: 15px;
  color: #ffffff;
}
.hero-content p {
  font-size: 18px;
  margin-bottom: 20px;
  color: #dddddd;
}
.btn {
  background-color: #63e5ff;
  color: black;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.btn:hover {
  background-color: #77C3EC;
}

/* About Section */
.about {
  padding: 60px 0;
  background-color: #1e1e2f;
}
.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 0 40px;
}
.about-left img {
  width: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}
.about-right {
  flex: 1;
  max-width: 600px;
}
.about-right h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #ffffff;
}
.about-right h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #00f2ff;
  margin-top: 8px;
}
.about-right p {
  font-size: 17px;
  margin-bottom: 20px;
  color: #cccccc;
}
.download {
  background-color: #63e5ff;
}
.download:hover {
  background-color: #77C3EC;
}

/* Services Section */
.services {
  background-color: #111;
  padding: 60px 40px;
  text-align: center;
}
.section-title {
  font-size: 32px;
  margin-bottom: 10px;
}
.subtitle {
  color: #f44336;
  margin-bottom: 40px;
  font-weight: bold;
}
.services-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
.service-card {
  background-color: #222;
  padding: 30px;
  border-radius: 10px;
  width: 280px;
  text-align: center;
  transition: all 0.4s ease;
}
.service-card:hover {
  box-shadow: 0 0 20px rgba(0, 174, 255, 0.7);
  transform: translateY(-5px);
}
.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.service-card:hover .service-icon {
  filter: drop-shadow(0 0 10px #00f2ff);
  transform: scale(1.05);
}
.service-card h3 {
  color: #fff;
  margin-bottom: 10px;
}
.service-card p {
  color: #ccc;
  font-size: 14px;
}

/* Skills Section */
.skills {
  background-color: #333;
  padding: 60px 40px;
  text-align: center;
}
.skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.skill-card {
  background-color: #444;
  padding: 25px;
  border-radius: 10px;
  width: 250px;
  text-align: center;
  transition: all 0.4s ease;
}
.skill-card:hover {
  box-shadow: 0 0 20px rgba(0, 174, 255, 0.7);
  transform: translateY(-5px);
}
.skill-card img {
  width: 60px;
  margin-bottom: 10px;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.skill-card:hover img {
  filter: drop-shadow(0 0 10px #00f2ff);
  transform: scale(1.05);
}
.skill-card h3 {
  color: #fff;
  margin-bottom: 10px;
}
.skill-card p {
  color: #ccc;
  font-size: 14px;
}

/* Education & Experience Section */
.education-experience {
  background-color: #1c1c2c;
  padding: 60px 30px;
}
.edu-exp-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 40px;
}
.edu-box, .exp-box {
  flex: 1;
  min-width: 280px;
}
.edu-box h2, .exp-box h2 {
  color: #63e5ff;
  margin-bottom: 20px;
  font-size: 28px;
}
.edu-card {
  background-color: #2a2a3c;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 10px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.edu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(0, 174, 255, 0.5);
}
.edu-card h3 {
  color: #fff;
  margin-bottom: 5px;
}
.edu-card .year {
  color: #63e5ff;
  font-size: 14px;
}
.edu-card p {
  color: #ccc;
  font-size: 14px;
}

/* Testimonials Section */
.testimonials {
  background-color: #111;
  padding: 60px 20px;
  text-align: center;
}
.testimonial-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}
.testimonial-card {
  background: #222;
  padding: 30px 20px;
  border-radius: 15px;
  width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 174, 255, 0.6);
}
.testimonial-card img {
  width: 100px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 20px;
}
.testimonial-card .quote {
  font-style: italic;
  font-size: 15px;
  color: #ccc;
}
.testimonial-card h4 {
  margin-top: 15px;
  color: #fff;
}
.testimonial-card h4 span {
  display: block;
  font-size: 13px;
  color: #aaa;
}

/* Contact Section */
.contact {
  background-color: #1c1c2c;
  padding: 80px 20px;
  text-align: center;
}
.contact-profile {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 5px solid #63e5ff;
}
.contact h2 {
  font-size: 32px;
  color: #63e5ff;
  margin-bottom: 10px;
}
.contact-description {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 40px;
}
.contact-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}
.contact-card {
  background-color: #2a2a3c;
  padding: 20px;
  width: 310px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(0, 174, 255, 0.5);
}
.contact-card i {
  font-size: 28px;
  margin-bottom: 10px;
  color: #63e5ff;
}
.contact-card h4 {
  margin-bottom: 5px;
}
.contact-divider {
  width: 100px;
  height: 3px;
  background: #63e5ff;
  margin: 50px auto 0;
  border-radius: 5px;
}

/* Floating Home Button */
.home-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #00bfff;
  color: white;
  font-size: 22px;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 0 12px rgba(0, 191, 255, 0.6);
  transition: background 0.3s ease, transform 0.3s ease;
  z-index: 999;
}
.home-button:hover {
  background-color: #63e5ff;
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  .about-content,
  .edu-exp-flex,
  .testimonial-container,
  .contact-cards {
    flex-direction: column;
    align-items: center;
  }

  .about-left img {
    width: 220px;
  }

  .contact-card {
    width: 90%;
  }
}
/* Animation Styles */
.hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate {
  opacity: 1;
  transform: translateY(0);
}
.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: 30px;
}

.logo-img {
  height: 70px;
  object-fit: contain;
}
