/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Section */
.header {
  background: linear-gradient(to right, #007bff, #0056b3);
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

.header .logo {
  font-size: 2rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 16px;
  transition: background 0.3s;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, #6a11cb, #2575fc);
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.hero img {
  max-width: 100%;
  height: auto;
  margin-top: 20px;
  border-radius: 10px;
}

/* About Section */
.about {
  background: #fff;
  padding: 50px 20px;
  text-align: center;
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.about img {
  max-width: 100%;
  height: auto;
  margin-top: 20px;
}

/* Skills Section */
.skills {
  padding: 50px 20px;
  text-align: center;
  background: #f4f4f4;
  margin-top: 20px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.skill-box {
  background: #007bff;
  color: #fff;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  transition: transform 0.3s ease;
}

.skill-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer Section */
/* 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: white;
}

.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 */
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 1.8rem;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header .logo {
    font-size: 1.5rem;
  }

  .hero h2 {
    font-size: 1.6rem;
  }

  .about img {
    border-radius: 5px;
  }
}
