/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background: linear-gradient(to right, #ff9a9e, #fad0c4);
  color: #333;
}

/* Header */
header {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(to right, #8e44ad, #3498db);
  color: white;
}

header h1 {
  font-size: 2.5rem;
}

header p {
  font-size: 1.2rem;
}

/* Sections */
section {
  margin: 2rem auto;
  padding: 2rem;
  max-width: 90%;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

section h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: #444;
}

/* About Section */
.about-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.profile-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 5px solid #3498db;
}

/* Skills Section */
.progress-bar {
  transition: width 1.5s ease-in-out;
}

.skills .skill-icon {
  font-size: 2rem;
  margin-right: 10px;
}
 /* Projects Section */
.projects-container {
  display: flex;
  justify-content: space-around;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.project {
  flex: 1 1 calc(300px + 20px); /* Adjusts for spacing */
  max-width: 320px; /* Ensures it doesn't grow beyond a reasonable size */
  text-align: center;
}

.project img {
  width: 100%; /* Ensures responsiveness */
  max-width: 300px; /* Fixes the max width */
  height: auto; /* Maintains the aspect ratio */
  aspect-ratio: 3 / 2; /* Enforces 300x200 proportion */
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  object-fit: cover; /* Ensures image fills the box nicely */
}


.project h3 {
  margin-top: 0.5rem;
  color: #8e44ad;
}

.project p {
  margin-top: 0.5rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background: #8e44ad;
  color: white;
  margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  

  .projects-container {
    flex-direction: column;
  }

  header h1 {
    font-size: 2rem;
  }

  header p {
    font-size: 1rem;
  }
}
/* footer section start ........ */
footer {
  background: linear-gradient(to right, #2c3e50, #34495e); /* Stylish gradient background */
  color: white; /* White text */
  padding: 40px 0; /* Increased padding for better spacing */
  font-family: 'Arial', sans-serif;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap; /* Stack sections on smaller screens */
  max-width: 1200px;
  margin: auto;
  gap: 30px; /* Space between sections */
}

.footer-section {
  flex: 1;
  min-width: 250px; /* Ensure minimum width for sections */
  padding: 10px 20px;
}

.footer-section h2 {
  font-size: 1.5rem;
  border-bottom: 2px solid #ecf0f1; /* Underline headings */
  padding-bottom: 5px;
  margin-bottom: 15px;
  color: #ecf0f1;
  text-transform: uppercase;
}

.footer-section p {
  font-size: 1rem;
  line-height: 1.8;
  color: #bdc3c7;
}

.footer-section ul {
  list-style: none; /* Remove bullets */
  padding: 0;
}

.footer-section ul li {
  margin: 10px 0;
}

.footer-section ul li a {
  color: #ecf0f1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #1abc9c; /* Stylish hover color */
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px; /* Space between icons */
  margin-top: 20px;
}

.social-links img {
  width: 50px; /* Larger size for icons */
  height: 50px; /* Ensure square icons */
  border-radius: 50%; /* Rounded icons */
  border: 2px solid white; /* Add a white border for style */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-links img:hover {
  transform: scale(1.1); /* Slight zoom effect */
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.3); /* Glow effect */
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #bdc3c7;
  padding-top: 10px;
  border-top: 1px solid #7f8c8d; /* Light border at the top */
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-content {
      flex-direction: column; /* Stack sections */
      align-items: center; /* Center align sections */
  }

  .footer-section {
      text-align: center; /* Center text for smaller screens */
      padding: 10px;
  }

  .social-links img {
      width: 40px; /* Slightly smaller icons for tablets */
      height: 40px;
  }
}

@media (max-width: 480px) {
  .footer-content {
      gap: 15px; /* Reduced gap for very small screens */
  }

  .footer-section h2 {
      font-size: 1.3rem; /* Reduce heading size */
  }

  .social-links img {
      width: 35px; /* Smaller icons for phones */
      height: 35px;
  }

  .footer-bottom {
      font-size: 0.8rem; /* Smaller text size */
  }
}
