* {
  margin: 0;
  padding:0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}
body {
  background-color: #0A0A0A;
  color: #FFFFFF;
  line-height: 1.6;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 40px 0;
}
header {
  background-color: #0A0A0A;
  border-bottom: 1px solid #1F1F1F;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo img {
  height: 50px;
  width: auto;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}
.nav-links a {
  text-decoration: none;
  color: #B0B0B0;
  font-size: 1rem;
  transition: color 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: #FFC107;
}
.hero {
  background-color: #111;
  text-align: center;
  padding: 10px  0 0px;
}
.hero h2 {
  font-size: 2.5rem;
  color: #FFC107;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.2rem;
  color: #CCCCCC;
}
.hero-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}
.hero-text {
  flex: 1;
  min-width: 280px;
}
.hero-img-wrapper {
  flex: 1;
  text-align: center;
  min-width: 280px;
}
.hero-img {
  max-width: 300px;
  width: 100%;
  border-radius: 50%;
  height: 50%;
  border: 4px solid #FFC107;
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
}
.cta-buttons {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: #FFC107;
  color: #0A0A0A;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 193, 7, 0.2);
}
.btn:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(255, 193, 7, 0.4);
}
.btn.secondary {
  background-color: transparent;
  border: 2px solid #FFC107;
  color: #FFC107;
}
.btn.secondary:hover {
  background-color: #FFC107;
  color: #0A0A0A;
}
section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #FFC107;
}
.about p,
.skills li,
.certifications li,
.education p,
.contact p,
.experience p {
  color: #CCCCCC;
  font-size: 1rem;
  margin-bottom: 10px;
}
.skill-list,
.certifications ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.skill-list li,
.certifications li {
  background-color: #1F1F1F;
  padding: 10px 20px;
  border-radius: 5px;
  color: #FFC107;
  font-weight: 500;
}
.exp-box {
  background-color: #1A1A1A;
  padding: 20px;
  border-left: 4px solid #FFC107;
  margin-top: 20px;
  border-radius: 5px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.card {
  background-color: #1A1A1A;
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  text-decoration: none;
  color: #FFF;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 10px #FFC107;
}
.card h3 {
  margin-bottom: 10px;
  color: #FFC107;
}
.card p {
  color: #CCCCCC;
  font-size: 0.95rem;
}
.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.project-card {
  background-color: #1A1A1A;
  padding: 20px;
  border-radius: 8px;
  flex: 1 1 300px;
  box-shadow: 0 0 10px rgba(255, 193, 7, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}
.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 193, 7, 0.1);
  transform: skewX(-20deg);
  transition: 0.5s;
  z-index: 1;
}
.project-card:hover::before {
  left: 100%;
}
.project-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 24px rgba(255, 193, 7, 0.3);
}
.project-card h3 {
  color: #FFC107;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}
.project-card p {
  color: #CCCCCC;
  font-size: 0.95rem;
  position: relative;
  z-index: 2;
}
footer {
  background-color: #000;
  text-align: center;
  padding: 20px;
  color: #888;
  font-size: 0.9rem;
}
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 15px;
  }
  .header-content {
    flex-direction: column;
    gap: 20px;
  }
  .project-list {
    flex-direction: column;
  }
  .cta-buttons {
    flex-direction: column;
  }
}
/* contact css */
.contact-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: center;
}

.contact-image img {
  max-width: 400px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h2 {
  color: #FFC107;
  font-size: 2rem;
  margin-bottom: 15px;
}

.contact-info p {
  color: #CCCCCC;
  margin-bottom: 25px;
  font-size: 1rem;
}

.contact-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #1A1A1A;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(255, 193, 7, 0.1);
}

.contact-table th,
.contact-table td {
  text-align: left;
  padding: 15px 20px;
  border-bottom: 1px solid #333;
  color: #CCC;
}

.contact-table th {
  color: #FFC107;
  font-weight: 600;
  width: 30%;
  white-space: nowrap;
}

.contact-table a {
  color: #64FFDA;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-table a:hover {
  color: #FFC107;
}

.contact-table i {
  margin-right: 8px;
}

@media (max-width: 768px) {
  .contact-grid {
    flex-direction: column;
    text-align: center;
  }

  .contact-table th,
  .contact-table td {
    display: block;
    text-align: center;
    padding: 10px;
  }

  .contact-table th {
    background-color: #111;
    font-size: 0.95rem;
  }

  .contact-table td {
    padding-bottom: 20px;
  }
}
/* services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.service-card {
  background-color: #1A1A1A;
  border: 2px solid #2A2A2A;
  border-radius: 12px;
  padding: 30px 20px;
  color: #CCCCCC;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 193, 7, 0.1);
  animation: fadeInUp 0.6s ease both;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(255, 193, 7, 0.3);
  border-color: #FFC107;
}

.service-card h3 {
  color: #FFC107;
  font-size: 1.4rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-card h3 i {
  color: #64FFDA;
  font-size: 1.3rem;
}

.service-card p {
  font-size: 1rem;
  color: #CCCCCC;
  line-height: 1.5;
}

/* Fade-in Animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* home page  info */
.home-section {
  padding: 60px 0;
  background-color: #111;
  text-align: center;
}

.home-section:nth-child(even) {
  background-color: #0A0A0A;
}

.home-section h2 {
  color: #FFC107;
  margin-bottom: 20px;
}

.home-section p {
  color: #CCC;
  max-width: 800px;
  margin: 0 auto 20px;
  font-size: 1rem;
}

.btn-small {
  display: inline-block;
  padding: 10px 20px;
  background-color: #FFC107;
  color: #0A0A0A;
  font-weight: 600;
  border-radius: 5px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-small:hover {
  background-color: #e0a800;
}

.home-service-list {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  max-width: 700px;
}

.home-service-list li {
  color: #CCC;
  margin: 8px 0;
  font-size: 0.95rem;
}

.home-service-list i {
  color: #FFC107;
  margin-right: 10px;
}

.contact-icons {
  list-style: none;
  padding: 0;
  color: #CCC;
  font-size: 0.95rem;
  margin: 20px auto;
}

.contact-icons li {
  margin-bottom: 10px;
}

.contact-icons a {
  color: #64FFDA;
  text-decoration: none;
}

.contact-icons a:hover {
  color: #FFC107;
}

/* Blog Section in Home (Cards Layout) */
.blog-section {
  padding: 60px 20px;
  background-color: #0A0A0A;
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
}

.blog-section h1 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
  color: #FFC107;
}

.blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Blog Card */
.blog-card {
  background: #2C2C2C;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

/* Blog Image */
.blog-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: #007acc;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 4px;
  color: #fff;
}

/* Blog Content */
.blog-content {
  padding: 20px;
}

.blog-content h2 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #ffffff;
}

.blog-content a {
  text-decoration: none;
  color: #FFC107;
}

.blog-content p {
  font-size: 15px;
  color: #fffdfd;
  line-height: 1.6;
}

.read-more-btn {
  margin-top: 15px;
  background-color: #FFC107;
  color: #ffffff;
  border: none;
  padding: 10px 16px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.read-more-btn:hover {
  background-color: #000000;
}

/* Show/Hide full text */
.hidden {
  display: none;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .blog-section h1 {
    font-size: 28px;
  }

  .read-more-btn {
    width: 100%;
  }
}


/* blog */

.blog-card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.blog-card {
  width: 320px;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  background-color:  rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-content {
  padding: 15px;
}

.blog-content h2 {
  font-size: 20px;
  margin: 10px 0;
  color: #333;
}

.blog-content .excerpt {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.5;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  color: #007BFF;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}

.category-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #FFC107;
  color: #fff;
  padding: 3px 10px;
  font-size: 12px;
  border-radius: 4px;
}

/* todo */
/* === TODO Section === */
.todo-section {
  background:   #1A1A1A;
  padding: 60px 20px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.todo-section h1 {
  font-size: 2.5rem;
  color:#FFC107;
  margin-bottom: 30px;
}

.todo-box {
  background: #FFC107;
  border-radius: 12px;
  max-width: 500px;
  margin: 0 auto;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(231, 255, 18, 0.1);
}

.todo-box input[type="text"] {
  width: 70%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.todo-box button {
  padding: 12px 18px;
  background: white;
  color: #FFC107;
  border: none;
  border-radius: 6px;
  margin-left: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.todo-box button:hover {
  background: black;
}

#taskList {
  margin-top: 25px;
  list-style: none;
  padding: 0;
}

#taskList li {
  background: #e6f0ff;
  color: #003366;
  padding: 12px 16px;
  margin-bottom: 10px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

#taskList li .delete-btn {
  background: transparent;
  border: none;
  color: #ff4d4d;
  font-size: 1.2rem;
  cursor: pointer;
}

.fade-in {
  animation: fadeIn 0.4s ease-in-out;
}

.fade-out {
  animation: fadeOut 0.3s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0.95); }
}
.todo-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.todo-box {
  flex: 1;
  max-width: 800px;
  height: 480px;
  border-radius: 10px;
}

.todo-image img {
  max-width: 800px;
  height: auto;
  border-radius: 10px;
}
.blog-post-container img{
height: 500px;
width: 900px;
padding: 30px;
padding-left: 30px;
}

/* blog2 */
.blog-content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}

.blog-text,
.blog-image {
  flex: 1 1 48%;
}

.blog-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
@media (max-width: 768px) {
  .blog-content-wrapper {
    flex-direction: column;
  }
}
