/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #000; /* Dark background as discussed */
  color: #fff; /* White text for contrast */
}


/* Navigation Bar */
nav {
  background-color: #222;
  color: white;
  padding: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

/* Section Layout */
section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: auto;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.5rem;
}
footer {
  text-align: center;
  padding: 1rem;
  background-color: #222;
  color: #fff;
  font-size: 0.9rem;
  margin-top: 3rem;
}

footer a {
  color: #4da3ff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
h2 {
  margin-bottom: 0.5rem;
  color: #222;
 
}


}

section {
  padding: 2rem 0;
  border-bottom: 1px solid #ddd;
}

nav a {
  text-decoration: none;
  color: #333;
  margin: 0 1rem;
  font-weight: 500;
}

nav a:hover {
  color: #007bff;
}
@media (max-width: 768px) 
{
/* Default: Desktop view */
nav {
  display: flex;
  justify-content: center;
  background-color: #fff;
  padding: 1rem 0;
  gap: 2rem;
}

/* Mobile view only */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 0.5rem;
  }
/* color: #ffffff; if background is dark */
 /* nav {
  background-color: #f8f8f8; lighten the nav background if needed */
  nav a {
    font-size: 1rem;
  }
}


  nav a {
    margin: 0.3rem 0;
    font-size: 1rem;
  }

  section {
    padding: 1.5rem 1rem;
  }

  footer {
    font-size: 0.8rem;
  }
}
#scrollToTopBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 100;
  display: none;
  background-color: #4da3ff;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

#scrollToTopBtn:hover {
  background-color: #007bff;
}
h1, h2, h3 {
  margin-bottom: 0.5em;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
  color: #00ffd5;
}

h2 {
  font-size: 2rem;
  color: #00c3ff;
}

h3 {
  font-size: 1.5rem;
}
section {
  padding: 60px 20px;
  border-bottom: 1px solid #333;
}
/* Mobile styles */
@media screen and (max-width: 768px) {
  nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  nav ul li {
    margin: 10px 0;
  }

  section {
    padding: 40px 16px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  p, li {
    font-size: 0.95rem;
  }
}
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  background: linear-gradient(to bottom, #000, #111);
}

.hero-content {
  max-width: 600px;
}

.tagline {
  font-size: 1.2rem;
  margin: 20px 0;
  color: #ccc;
}

.cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #00ffd5;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s;
}

.cta-button:hover {
  background-color: #00c3ff;
  color: #fff;
}
.about {
  padding: 60px 20px;
  background-color: #111;
  color: #eee;
}

.about-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  gap: 40px;
}

.about-text {
  flex: 1;
}

.profile-pic {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00ffd5;
}

/* Responsive tweak */
@media screen and (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .profile-pic {
    margin-bottom: 20px;
  }
}
.projects {
  padding: 60px 20px;
  background-color: #1a1a1a;
  color: #eee;
  text-align: center;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.project-card {
  background-color: #222;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 255, 213, 0.2);
}

.project-card h3 {
  margin-bottom: 10px;
  color: #00ffd5;
}

.project-card p {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #ccc;
}
.blog {
  padding: 60px 20px;
  background-color: #0d0d0d;
  color: #fff;
  text-align: center;
}

.blog-links {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.blog-link {
  font-size: 1.1rem;
  color: #00ffd5;
  background-color: #1a1a1a;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  width: fit-content;
}

.blog-link:hover {
  background-color: #00ffd5;
  color: #0d0d0d;
  transform: translateY(-3px);
}

.blog-link i {
  margin-right: 10px; /* Space between icon and text */
  font-size: 1.2rem; /* Adjust size */
  color: #00ffd5; /* Same as the link color */
}

.blog-link:hover i {
  color: #0d0d0d; /* Change icon color on hover */
}
.about-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
}

.about-image img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.about-text {
  max-width: 600px;
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }
}
.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.project-card h3 {
  font-size: 1.2rem;
  color: #333;
}

.project-card p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1rem;
}

.project-card a {
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
  transition: color 0.2s ease;
}

.project-card a:hover {
  color: #0056b3;
}

/* Responsive styling */
@media (max-width: 768px) {
  .projects-container {
    grid-template-columns: 1fr;
  }
}
#blog {
  margin-top: 3rem;
  text-align: center;
}

.blog-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.blog-link {
  font-size: 1.1rem;
  color: #007bff;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.blog-link i {
  font-size: 1.4rem;
}

.blog-link:hover {
  color: #0056b3;
}
#skills {
  padding: 2rem 0;
  text-align: center;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  max-width: 800px;
  margin: 1.5rem auto 0;
  padding: 0 1rem;
}

.skill-card {
  background-color: #1e1e1e;
  color: #fff;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-3px);
  background-color: #333;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.project-card {
  background-color: #1e1e1e;
  border: 1px solid #333;
  padding: 1rem;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: #00bcd4;
}

.project-card h3 {
  margin-top: 0;
  color: #00bcd4;
}
/* Contact Section */
.contact-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  color: #fff;
}

.contact-item i {
  font-size: 1.3rem;
  color: #00bcd4;
}
footer {
  background-color: #111;
  color: #ccc;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

footer a {
  color: #ccc;
  text-decoration: none;
}

footer a:hover,
footer a:focus {
  text-decoration: underline;
  color: #fff;
}/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #000; /* Dark background as discussed */
  color: #fff; /* White text for contrast */
}


/* Navigation Bar */
nav {
  background-color: #222;
  color: white;
  padding: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

/* Section Layout */
section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: auto;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.5rem;
}
footer {
  text-align: center;
  padding: 1rem;
  background-color: #222;
  color: #fff;
  font-size: 0.9rem;
  margin-top: 3rem;
}

footer a {
  color: #4da3ff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
h2 {
  margin-bottom: 0.5rem;
  color: #222;
 
}


}

section {
  padding: 2rem 0;
  border-bottom: 1px solid #ddd;
}

nav a {
  text-decoration: none;
  color: #333;
  margin: 0 1rem;
  font-weight: 500;
}

nav a:hover {
  color: #007bff;
}
@media (max-width: 768px) 
{
/* Default: Desktop view */
nav {
  display: flex;
  justify-content: center;
  background-color: #fff;
  padding: 1rem 0;
  gap: 2rem;
}

/* Mobile view only */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 0.5rem;
  }
/* color: #ffffff; if background is dark */
 /* nav {
  background-color: #f8f8f8; lighten the nav background if needed */
  nav a {
    font-size: 1rem;
  }
}


  nav a {
    margin: 0.3rem 0;
    font-size: 1rem;
  }

  section {
    padding: 1.5rem 1rem;
  }

  footer {
    font-size: 0.8rem;
  }
}
#scrollToTopBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 100;
  display: none;
  background-color: #4da3ff;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

#scrollToTopBtn:hover {
  background-color: #007bff;
}
h1, h2, h3 {
  margin-bottom: 0.5em;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
  color: #00ffd5;
}

h2 {
  font-size: 2rem;
  color: #00c3ff;
}

h3 {
  font-size: 1.5rem;
}
section {
  padding: 60px 20px;
  border-bottom: 1px solid #333;
}
/* Mobile styles */
@media screen and (max-width: 768px) {
  nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  nav ul li {
    margin: 10px 0;
  }

  section {
    padding: 40px 16px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  p, li {
    font-size: 0.95rem;
  }
}
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  background: linear-gradient(to bottom, #000, #111);
}

.hero-content {
  max-width: 600px;
}

.tagline {
  font-size: 1.2rem;
  margin: 20px 0;
  color: #ccc;
}

.cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #00ffd5;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s;
}

.cta-button:hover {
  background-color: #00c3ff;
  color: #fff;
}
.about {
  padding: 60px 20px;
  background-color: #111;
  color: #eee;
}

.about-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  gap: 40px;
}

.about-text {
  flex: 1;
}

.profile-pic {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00ffd5;
}

/* Responsive tweak */
@media screen and (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .profile-pic {
    margin-bottom: 20px;
  }
}
.projects {
  padding: 60px 20px;
  background-color: #1a1a1a;
  color: #eee;
  text-align: center;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.project-card {
  background-color: #222;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 255, 213, 0.2);
}

.project-card h3 {
  margin-bottom: 10px;
  color: #00ffd5;
}

.project-card p {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #ccc;
}
.blog {
  padding: 60px 20px;
  background-color: #0d0d0d;
  color: #fff;
  text-align: center;
}

.blog-links {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.blog-link {
  font-size: 1.1rem;
  color: #00ffd5;
  background-color: #1a1a1a;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  width: fit-content;
}

.blog-link:hover {
  background-color: #00ffd5;
  color: #0d0d0d;
  transform: translateY(-3px);
}

.blog-link i {
  margin-right: 10px; /* Space between icon and text */
  font-size: 1.2rem; /* Adjust size */
  color: #00ffd5; /* Same as the link color */
}

.blog-link:hover i {
  color: #0d0d0d; /* Change icon color on hover */
}
.about-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
}

.about-image img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.about-text {
  max-width: 600px;
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }
}
.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.project-card h3 {
  font-size: 1.2rem;
  color: #333;
}

.project-card p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1rem;
}

.project-card a {
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
  transition: color 0.2s ease;
}

.project-card a:hover {
  color: #0056b3;
}

/* Responsive styling */
@media (max-width: 768px) {
  .projects-container {
    grid-template-columns: 1fr;
  }
}
#blog {
  margin-top: 3rem;
  text-align: center;
}

.blog-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.blog-link {
  font-size: 1.1rem;
  color: #007bff;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.blog-link i {
  font-size: 1.4rem;
}

.blog-link:hover {
  color: #0056b3;
}
#skills {
  padding: 2rem 0;
  text-align: center;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  max-width: 800px;
  margin: 1.5rem auto 0;
  padding: 0 1rem;
}

.skill-card {
  background-color: #1e1e1e;
  color: #fff;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-3px);
  background-color: #333;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.project-card {
  background-color: #1e1e1e;
  border: 1px solid #333;
  padding: 1rem;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: #00bcd4;
}

.project-card h3 {
  margin-top: 0;
  color: #00bcd4;
}
/* Contact Section */
.contact-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  color: #fff;
}

.contact-item i {
  font-size: 1.3rem;
  color: #00bcd4;
}
footer {
  background-color: #111;
  color: #ccc;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

footer a {
  color: #ccc;
  text-decoration: none;
}

footer a:hover,
footer a:focus {
  text-decoration: underline;
  color: #fff;
}/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #000; /* Dark background as discussed */
  color: #fff; /* White text for contrast */
}


/* Navigation Bar */
nav {
  background-color: #222;
  color: white;
  padding: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

/* Section Layout */
section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: auto;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.5rem;
}
footer {
  text-align: center;
  padding: 1rem;
  background-color: #222;
  color: #fff;
  font-size: 0.9rem;
  margin-top: 3rem;
}

footer a {
  color: #4da3ff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
h2 {
  margin-bottom: 0.5rem;
  color: #222;
 
}


}

section {
  padding: 2rem 0;
  border-bottom: 1px solid #ddd;
}

nav a {
  text-decoration: none;
  color: #333;
  margin: 0 1rem;
  font-weight: 500;
}

nav a:hover {
  color: #007bff;
}
@media (max-width: 768px) 
{
/* Default: Desktop view */
nav {
  display: flex;
  justify-content: center;
  background-color: #fff;
  padding: 1rem 0;
  gap: 2rem;
}

/* Mobile view only */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 0.5rem;
  }
/* color: #ffffff; if background is dark */
 /* nav {
  background-color: #f8f8f8; lighten the nav background if needed */
  nav a {
    font-size: 1rem;
  }
}


  nav a {
    margin: 0.3rem 0;
    font-size: 1rem;
  }

  section {
    padding: 1.5rem 1rem;
  }

  footer {
    font-size: 0.8rem;
  }
}
#scrollToTopBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 100;
  display: none;
  background-color: #4da3ff;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

#scrollToTopBtn:hover {
  background-color: #007bff;
}
h1, h2, h3 {
  margin-bottom: 0.5em;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
  color: #00ffd5;
}

h2 {
  font-size: 2rem;
  color: #00c3ff;
}

h3 {
  font-size: 1.5rem;
}
section {
  padding: 60px 20px;
  border-bottom: 1px solid #333;
}
/* Mobile styles */
@media screen and (max-width: 768px) {
  nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  nav ul li {
    margin: 10px 0;
  }

  section {
    padding: 40px 16px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  p, li {
    font-size: 0.95rem;
  }
}
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  background: linear-gradient(to bottom, #000, #111);
}

.hero-content {
  max-width: 600px;
}

.tagline {
  font-size: 1.2rem;
  margin: 20px 0;
  color: #ccc;
}

.cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #00ffd5;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s;
}

.cta-button:hover {
  background-color: #00c3ff;
  color: #fff;
}
.about {
  padding: 60px 20px;
  background-color: #111;
  color: #eee;
}

.about-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  gap: 40px;
}

.about-text {
  flex: 1;
}

.profile-pic {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00ffd5;
}

/* Responsive tweak */
@media screen and (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .profile-pic {
    margin-bottom: 20px;
  }
}
.projects {
  padding: 60px 20px;
  background-color: #1a1a1a;
  color: #eee;
  text-align: center;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.project-card {
  background-color: #222;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 255, 213, 0.2);
}

.project-card h3 {
  margin-bottom: 10px;
  color: #00ffd5;
}

.project-card p {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #ccc;
}
.blog {
  padding: 60px 20px;
  background-color: #0d0d0d;
  color: #fff;
  text-align: center;
}

.blog-links {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.blog-link {
  font-size: 1.1rem;
  color: #00ffd5;
  background-color: #1a1a1a;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  width: fit-content;
}

.blog-link:hover {
  background-color: #00ffd5;
  color: #0d0d0d;
  transform: translateY(-3px);
}

.blog-link i {
  margin-right: 10px; /* Space between icon and text */
  font-size: 1.2rem; /* Adjust size */
  color: #00ffd5; /* Same as the link color */
}

.blog-link:hover i {
  color: #0d0d0d; /* Change icon color on hover */
}
.about-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
}

.about-image img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.about-text {
  max-width: 600px;
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }
}
.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.project-card h3 {
  font-size: 1.2rem;
  color: #333;
}

.project-card p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1rem;
}

.project-card a {
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
  transition: color 0.2s ease;
}

.project-card a:hover {
  color: #0056b3;
}

/* Responsive styling */
@media (max-width: 768px) {
  .projects-container {
    grid-template-columns: 1fr;
  }
}
#blog {
  margin-top: 3rem;
  text-align: center;
}

.blog-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.blog-link {
  font-size: 1.1rem;
  color: #007bff;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.blog-link i {
  font-size: 1.4rem;
}

.blog-link:hover {
  color: #0056b3;
}
#skills {
  padding: 2rem 0;
  text-align: center;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  max-width: 800px;
  margin: 1.5rem auto 0;
  padding: 0 1rem;
}

.skill-card {
  background-color: #1e1e1e;
  color: #fff;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-3px);
  background-color: #333;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.project-card {
  background-color: #1e1e1e;
  border: 1px solid #333;
  padding: 1rem;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: #00bcd4;
}

.project-card h3 {
  margin-top: 0;
  color: #00bcd4;
}
/* Contact Section */
.contact-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  color: #fff;
}

.contact-item i {
  font-size: 1.3rem;
  color: #00bcd4;
}
footer {
  background-color: #111;
  color: #ccc;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

footer a {
  color: #ccc;
  text-decoration: none;
}

footer a:hover,
footer a:focus {
  text-decoration: underline;
  color: #fff;
}/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #000; /* Dark background as discussed */
  color: #fff; /* White text for contrast */
}


/* Navigation Bar */
nav {
  background-color: #222;
  color: white;
  padding: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

/* Section Layout */
section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: auto;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.5rem;
}
footer {
  text-align: center;
  padding: 1rem;
  background-color: #222;
  color: #fff;
  font-size: 0.9rem;
  margin-top: 3rem;
}

footer a {
  color: #4da3ff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
h2 {
  margin-bottom: 0.5rem;
  color: #222;
 
}


}

section {
  padding: 2rem 0;
  border-bottom: 1px solid #ddd;
}

nav a {
  text-decoration: none;
  color: #333;
  margin: 0 1rem;
  font-weight: 500;
}

nav a:hover {
  color: #007bff;
}
@media (max-width: 768px) 
{
/* Default: Desktop view */
nav {
  display: flex;
  justify-content: center;
  background-color: #fff;
  padding: 1rem 0;
  gap: 2rem;
}

/* Mobile view only */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 0.5rem;
  }
/* color: #ffffff; if background is dark */
 /* nav {
  background-color: #f8f8f8; lighten the nav background if needed */
  nav a {
    font-size: 1rem;
  }
}


  nav a {
    margin: 0.3rem 0;
    font-size: 1rem;
  }

  section {
    padding: 1.5rem 1rem;
  }

  footer {
    font-size: 0.8rem;
  }
}
#scrollToTopBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 100;
  display: none;
  background-color: #4da3ff;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

#scrollToTopBtn:hover {
  background-color: #007bff;
}
h1, h2, h3 {
  margin-bottom: 0.5em;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
  color: #00ffd5;
}

h2 {
  font-size: 2rem;
  color: #00c3ff;
}

h3 {
  font-size: 1.5rem;
}
section {
  padding: 60px 20px;
  border-bottom: 1px solid #333;
}
/* Mobile styles */
@media screen and (max-width: 768px) {
  nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  nav ul li {
    margin: 10px 0;
  }

  section {
    padding: 40px 16px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  p, li {
    font-size: 0.95rem;
  }
}
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  background: linear-gradient(to bottom, #000, #111);
}

.hero-content {
  max-width: 600px;
}

.tagline {
  font-size: 1.2rem;
  margin: 20px 0;
  color: #ccc;
}

.cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #00ffd5;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s;
}

.cta-button:hover {
  background-color: #00c3ff;
  color: #fff;
}
.about {
  padding: 60px 20px;
  background-color: #111;
  color: #eee;
}

.about-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  gap: 40px;
}

.about-text {
  flex: 1;
}

.profile-pic {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00ffd5;
}

/* Responsive tweak */
@media screen and (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .profile-pic {
    margin-bottom: 20px;
  }
}
.projects {
  padding: 60px 20px;
  background-color: #1a1a1a;
  color: #eee;
  text-align: center;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.project-card {
  background-color: #222;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 255, 213, 0.2);
}

.project-card h3 {
  margin-bottom: 10px;
  color: #00ffd5;
}

.project-card p {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #ccc;
}
.blog {
  padding: 60px 20px;
  background-color: #0d0d0d;
  color: #fff;
  text-align: center;
}

.blog-links {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.blog-link {
  font-size: 1.1rem;
  color: #00ffd5;
  background-color: #1a1a1a;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  width: fit-content;
}

.blog-link:hover {
  background-color: #00ffd5;
  color: #0d0d0d;
  transform: translateY(-3px);
}

.blog-link i {
  margin-right: 10px; /* Space between icon and text */
  font-size: 1.2rem; /* Adjust size */
  color: #00ffd5; /* Same as the link color */
}

.blog-link:hover i {
  color: #0d0d0d; /* Change icon color on hover */
}
.about-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
}

.about-image img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.about-text {
  max-width: 600px;
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }
}
.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.project-card h3 {
  font-size: 1.2rem;
  color: #333;
}

.project-card p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1rem;
}

.project-card a {
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
  transition: color 0.2s ease;
}

.project-card a:hover {
  color: #0056b3;
}

/* Responsive styling */
@media (max-width: 768px) {
  .projects-container {
    grid-template-columns: 1fr;
  }
}
#blog {
  margin-top: 3rem;
  text-align: center;
}

.blog-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.blog-link {
  font-size: 1.1rem;
  color: #007bff;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.blog-link i {
  font-size: 1.4rem;
}

.blog-link:hover {
  color: #0056b3;
}
#skills {
  padding: 2rem 0;
  text-align: center;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  max-width: 800px;
  margin: 1.5rem auto 0;
  padding: 0 1rem;
}

.skill-card {
  background-color: #1e1e1e;
  color: #fff;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-3px);
  background-color: #333;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.project-card {
  background-color: #1e1e1e;
  border: 1px solid #333;
  padding: 1rem;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: #00bcd4;
}

.project-card h3 {
  margin-top: 0;
  color: #00bcd4;
}
/* Contact Section */
.contact-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  color: #fff;
}

.contact-item i {
  font-size: 1.3rem;
  color: #00bcd4;
}
footer {
  background-color: #111;
  color: #ccc;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

footer a {
  color: #ccc;
  text-decoration: none;
}

footer a:hover,
footer a:focus {
  text-decoration: underline;
  color: #fff;
}/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #000; /* Dark background as discussed */
  color: #fff; /* White text for contrast */
}


/* Navigation Bar */
nav {
  background-color: #222;
  color: white;
  padding: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

/* Section Layout */
section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: auto;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.5rem;
}
footer {
  text-align: center;
  padding: 1rem;
  background-color: #222;
  color: #fff;
  font-size: 0.9rem;
  margin-top: 3rem;
}

footer a {
  color: #4da3ff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
h2 {
  margin-bottom: 0.5rem;
  color: #222;
 
}


}

section {
  padding: 2rem 0;
  border-bottom: 1px solid #ddd;
}

nav a {
  text-decoration: none;
  color: #333;
  margin: 0 1rem;
  font-weight: 500;
}

nav a:hover {
  color: #007bff;
}
@media (max-width: 768px) 
{
/* Default: Desktop view */
nav {
  display: flex;
  justify-content: center;
  background-color: #fff;
  padding: 1rem 0;
  gap: 2rem;
}

/* Mobile view only */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 0.5rem;
  }
/* color: #ffffff; if background is dark */
 /* nav {
  background-color: #f8f8f8; lighten the nav background if needed */
  nav a {
    font-size: 1rem;
  }
}


  nav a {
    margin: 0.3rem 0;
    font-size: 1rem;
  }

  section {
    padding: 1.5rem 1rem;
  }

  footer {
    font-size: 0.8rem;
  }
}
#scrollToTopBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 100;
  display: none;
  background-color: #4da3ff;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

#scrollToTopBtn:hover {
  background-color: #007bff;
}
h1, h2, h3 {
  margin-bottom: 0.5em;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
  color: #00ffd5;
}

h2 {
  font-size: 2rem;
  color: #00c3ff;
}

h3 {
  font-size: 1.5rem;
}
section {
  padding: 60px 20px;
  border-bottom: 1px solid #333;
}
/* Mobile styles */
@media screen and (max-width: 768px) {
  nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
  }

  nav ul li {
    margin: 10px 0;
  }

  section {
    padding: 40px 16px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  p, li {
    font-size: 0.95rem;
  }
}
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  background: linear-gradient(to bottom, #000, #111);
}

.hero-content {
  max-width: 600px;
}

.tagline {
  font-size: 1.2rem;
  margin: 20px 0;
  color: #ccc;
}

.cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #00ffd5;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s;
}

.cta-button:hover {
  background-color: #00c3ff;
  color: #fff;
}
.about {
  padding: 60px 20px;
  background-color: #111;
  color: #eee;
}

.about-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  gap: 40px;
}

.about-text {
  flex: 1;
}

.profile-pic {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00ffd5;
}

/* Responsive tweak */
@media screen and (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .profile-pic {
    margin-bottom: 20px;
  }
}
.projects {
  padding: 60px 20px;
  background-color: #1a1a1a;
  color: #eee;
  text-align: center;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.project-card {
  background-color: #222;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 255, 213, 0.2);
}

.project-card h3 {
  margin-bottom: 10px;
  color: #00ffd5;
}

.project-card p {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #ccc;
}
.blog {
  padding: 60px 20px;
  background-color: #0d0d0d;
  color: #fff;
  text-align: center;
}

.blog-links {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.blog-link {
  font-size: 1.1rem;
  color: #00ffd5;
  background-color: #1a1a1a;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  width: fit-content;
}

.blog-link:hover {
  background-color: #00ffd5;
  color: #0d0d0d;
  transform: translateY(-3px);
}

.blog-link i {
  margin-right: 10px; /* Space between icon and text */
  font-size: 1.2rem; /* Adjust size */
  color: #00ffd5; /* Same as the link color */
}

.blog-link:hover i {
  color: #0d0d0d; /* Change icon color on hover */
}
.about-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
}

.about-image img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.about-text {
  max-width: 600px;
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }
}
.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.project-card h3 {
  font-size: 1.2rem;
  color: #333;
}

.project-card p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1rem;
}

.project-card a {
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
  transition: color 0.2s ease;
}

.project-card a:hover {
  color: #0056b3;
}

/* Responsive styling */
@media (max-width: 768px) {
  .projects-container {
    grid-template-columns: 1fr;
  }
}
#blog {
  margin-top: 3rem;
  text-align: center;
}

.blog-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.blog-link {
  font-size: 1.1rem;
  color: #007bff;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.blog-link i {
  font-size: 1.4rem;
}

.blog-link:hover {
  color: #0056b3;
}
#skills {
  padding: 2rem 0;
  text-align: center;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  max-width: 800px;
  margin: 1.5rem auto 0;
  padding: 0 1rem;
}

.skill-card {
  background-color: #1e1e1e;
  color: #fff;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-3px);
  background-color: #333;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.project-card {
  background-color: #1e1e1e;
  border: 1px solid #333;
  padding: 1rem;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: #00bcd4;
}

.project-card h3 {
  margin-top: 0;
  color: #00bcd4;
}
/* Contact Section */
.contact-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  color: #fff;
}

.contact-item i {
  font-size: 1.3rem;
  color: #00bcd4;
}
footer {
  background-color: #111;
  color: #ccc;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

footer a {
  color: #ccc;
  text-decoration: none;
}

footer a:hover,
footer a:focus {
  text-decoration: underline;
  color: #fff;
}
