/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
  padding: 0 1rem;
}

/* Header */
header {
  text-align: center;
  padding: 2rem 0;
  background-color: #222;
  color: #fff;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1.2rem;
  font-weight: 300;
}

/* Intro Section */
.intro {
  text-align: center;
  padding: 2rem 0;
}

.intro h2 {
  font-size: 2rem;
  color: #444;
}

.intro p {
  font-size: 1.1rem;
  color: #666;
}

/* Social Media Links */
.widget-container {
  text-align: center;
  margin: 1rem 0;
}

.text-link {
  text-decoration: none;
  color: #0077cc;
  font-weight: bold;
  position: relative;
}

.underline-from-left::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #0077cc;
  transition: width 0.3s ease-in-out;
}

.underline-from-left:hover::after {
  width: 100%;
}

/* About Section */
.about {
  max-width: 800px;
  margin: 2rem auto;
  text-align: center;
}

.profile-pic {
  border-radius: 8px;
  margin-bottom: 1rem;
}

.about h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.about p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 2rem;
}

/* Skills Section */
.skills h2 {
  margin-top: 2rem;
  font-size: 1.5rem;
}

.tech-icons {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.tech-icons img {
  transition: transform 0.3s ease;
}

.tech-icons img:hover {
  transform: scale(1.1);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn {
  display: inline-block;
  margin: 1rem 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-primary {
  background-color: #0077cc;
  color: #fff;
}

.btn-primary:hover {
  background-color: #005fa3;
}

.btn-secondary {
  background-color: #eee;
  color: #333;
  border: 1px solid #ccc;
}

.btn-secondary:hover {
  background-color: #ddd;
}

.btn {
  background-color: #28a745;
  color: #fff;
}

.btn:hover {
  background-color: #218838;
}

/* Portfolio Preview */
.portfolio-preview {
  max-width: 1000px;
  margin: 2rem auto;
  text-align: center;
}

.portfolio-preview div {
  margin-bottom: 2rem;
}

.portfolio-preview img {
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Testimonials */
.testimonials {
  background-color: #f0f0f0;
  padding: 2rem;
  text-align: center;
  font-style: italic;
}

.testimonials cite {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
}

/* Call to Action */
.cta {
  background-color: #0077cc;
  color: #fff;
  text-align: center;
  padding: 2rem;
}

.cta h2 {
  margin-bottom: 1rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 0;
  background-color: #222;
  color: #ccc;
  font-size: 0.9rem;
}

footer a {
  color: #0077cc;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
/* Responsive Design */
@media (max-width: 768px) {
  .tech-icons {
    flex-direction: column;
    gap: 0.5rem;
  }
}
@media (max-width: 480px) {
  header h1 {
    font-size: 2rem;
  }

  .intro h2 {
    font-size: 1.5rem;
  }

  .about,
  .portfolio-preview {
    padding: 0 1rem;
  }
}
