/* =======================
   ROOT VARIABLES
======================= */
:root {
  --bg: #020226;
  --card: #0b102f;
  --primary: #3b82f6;
  --text: #e5e7eb;
  --muted: #9ca3af;
  scroll-behavior: smooth;


}



/* =======================
   GLOBAL RESET
======================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding-top: 80px;
  overflow-x: hidden;
}

html{
  scroll-behavior: smooth;
}

.section {
  scroll-margin-top: 100px;
}



/* =======================
   NAVBAR
======================= */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 1000;

  background: rgba(2, 2, 38, 0.95);
  backdrop-filter: blur(8px);

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  

}

nav h1 {
  font-size: 28px;
  font-weight: 600;
}

.navul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.navlink {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.navlink:hover,
.navlink.active {
  color: var(--primary);
}

/* Hamburger icon */
/* Hamburger icon hidden on desktop */
.menu-toggle {
  display: none;
}

/* Mobile screens */
@media (max-width: 768px) {

  /* Show hamburger */
  .menu-toggle {
    display: flex;
    width: 30px;
    height: 25px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001; 
  }

  /* Hamburger lines */
  .menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  /* Transform hamburger to cross when open */
  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px); /* wider X */
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0; /* middle bar hidden */
  }

  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px); /* wider X */
  }
}



/* MOBILE STYLES */
@media (max-width: 768px) {
  nav {
    height: 80px;
    padding: 0 20px;
  
  }

  .navul {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(2, 2, 38, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    transition: right 0.4s ease;
  }

  .navul.active {
    right: 0;
  }

  
}


/* =======================
   HERO SECTION
======================= */
.content {
  width: 90%;
  max-width: 1400px;       /* max width for large screens */
  margin: auto;
  min-height: 80vh;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: nowrap;
  margin-top: 40px;
}

.writting {
  flex: 1 1 420px;
  min-width: 0;
}

.hello {
  font-size: 2rem;
}

.name {
  font-size: 4rem;
  font-weight: 700;
  background: linear-gradient(90deg, #0335eb, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 10px;
}

.no-wrap {
  display: flex;
  align-items: center;     
  gap: 20px;               
  white-space: nowrap;     
  flex-wrap: nowrap;       /* prevent wrapping */
}

.static-text {
  font-size: 1.3rem;
  color: var(--muted);
  flex-shrink: 0;          
}

#dynamic-role {
  font-weight: 700;
  font-size: 2.1rem;         
  background: linear-gradient(90deg, #0335eb, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;          
  transition: all 0.3s ease;
  margin-left: 15px;
}

.bio {
  max-width: 600px;
  color: var(--text);
  margin-top: 20px;
  line-height: 1.6;
}

.cta-buttons {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;          /* prevent overflow on small screens */
}

.cta-buttons .btn,
.cta-buttons .btn-outline {
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-buttons .btn {
  background-color: #3b82f6;
  color: white;
}

.cta-buttons .btn:hover {
  background-color: #2563eb;
}

.cta-buttons .btn-outline {
  border: 2px solid #3b82f6;
  color: #3b82f6;
}

.cta-buttons .btn-outline:hover {
  background-color: #3b82f6;
  color: white;
}

.social-icons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 24px;
  color: #9ca3af;
  border: 2px solid #9ca3af;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: #3b82f6;
  border-color: #3b82f6;
  transform: scale(1.1);
}

/* Image Section */
/* .myimage {
  flex: 1 1 300px;
  text-align: center;
}

.myimage img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  margin-top: 20px;
} */
/* 
.myimage {
  flex: 1 1 300px;
  text-align: center;
  margin: 20px;
}

.myimage img {
  width: 300px;          
  height: 300px;
  border-radius: 50%;
  object-fit: cover;

  margin-top: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border: 3px solid #ffffff;
  transform: none;
  backface-visibility: visible;
  image-rendering: auto;
  transition: box-shadow 0.25s ease;
}



.myimage img:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
} */

.myimage::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(260px, 30vw, 480px);
  height: clamp(260px, 30vw, 480px);
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  filter: blur(40px);
}

.myimage {
  flex: 1 1 380px;
  text-align: center;
  margin: 0;
  position: relative;
}

.myimage img {
  width: clamp(260px, 30vw, 480px);
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;

  /* Organic blob shape */
  border-radius: 50% 40% 60% 50% / 60% 50% 40% 50%;
  
  /* Optional gradient border */
  padding: 5px;
  background: conic-gradient(from 0deg, #3b82f6, #2563eb, #3b82f6);

  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.myimage img:hover {
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 15px 30px rgba(59,130,246,0.5);
}

@media (min-width: 1280px) {
  .content {
    gap: 24px;
  }

  .writting {
    flex: 1 1 55%;
  }

  .myimage {
    flex: 1 1 45%;
  }
}



/* =======================
   RESPONSIVE
======================= */
@media (max-width: 1024px) {
  .name {
    font-size: 3.5rem;
  }
  #dynamic-role {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    min-height: auto;
    margin-top: 20px;
  }

  .writting {
    flex: 0 1 auto;
  }

  .myimage {
    flex: 0 1 auto;
    margin-top: 0;
  }

  .no-wrap {
    justify-content: center;
  }

  .name {
    font-size: 3rem;
  }

  #dynamic-role {
    font-size: 2rem;
  }

  .cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 500px) {
  .name {
    font-size: 2.5rem;
  }

  #dynamic-role {
    font-size: 1.7rem;
  }

  .hello {
    font-size: 1.6rem;
  }

  .static-text {
    font-size: 1.1rem;
  }

  .bio {
    font-size: 14px;
    max-width: 100%;
  }

  .cta-buttons .btn,
  .cta-buttons .btn-outline {
    padding: 8px 16px;
    font-size: 14px;
  }
}

section {
  scroll-margin-top: 90px; 
}


.container-skills .heading,
.container-circle .heading {
  font-size: clamp(20px, 5vw, 28px);
}

/* ABOUT SECTION */
.about-container {
  width: 90%;
  margin: 100px auto;
  margin-top: 0;
}

.section-title {
  text-align: center;
  font-size: clamp(28px, 6vw, 45px);
  margin-bottom: 40px;
}

.section-title span {
  color: #3b82f6;
}

.about-content {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
 
}

/* LEFT COLUMN */
.about-left {
  flex: 1;
  min-width: 300px;
}

.tagline {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #3b82f6;
}

.about-left p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
  color: #e5e7eb;
}

/* RIGHT COLUMN: CARDS */
.about-right {
  flex: 1;
  min-width: 250px;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns */
  grid-template-rows: auto; /* auto rows */
  gap: 20px; /* space between cards */
}

.card {
  background: #0b102f;
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.card p {
  font-size: 14px;
  color: #9ca3af;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(59,130,246,0.3);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-content {
    flex-direction: column;
  }
  .about-right {
    grid-template-columns: 1fr 1fr; /* 2 columns for smaller screens */
    gap: 15px;
  }
}

@media (max-width: 500px) {
  .about-right {
    grid-template-columns: 1fr; /* single column for very small screens */
  }
}



/* =======================
   EDUCATION
======================= */
.education {
  width: 90%;
  margin: 100px auto;
}

.section-title {
  text-align: center;
  font-size: 45px;
  margin-bottom: 50px;
  font-weight: 700;
}


.edu-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.edu-card {
  background: var(--card);
  flex: 1 1 300px; /* responsive width */
  max-width: 350px;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.edu-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(59,130,246,0.3);
}

.edu-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.edu-card h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.edu-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .edu-cards {
    flex-direction: column;
    align-items: center;
  }
}


/* =======================
   PROJECTS SECTION
======================= */

.projects-wrapper {
  width: 90%;
  margin: auto;
  display: flex;
  gap: 25px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-behavior: smooth;
  margin-top: 30px;
}

/* Scrollbar */
.projects-wrapper::-webkit-scrollbar {
  height: 6px;
}

.projects-wrapper::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

/* Project Card */
.project-card {
  min-width: 320px;
  max-width: 350px;
  background: var(--card);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(59,130,246,0.3);
}

/* Headings */
.project-card h3 {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 5px;
}

.project-card h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: white;
}

/* Description */
.project-desc {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 15px;
  line-height: 1.6;
}

/* Tech Stack */
.tech-stack {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.tech-stack span {
  background: rgba(59,130,246,0.15);
  color: var(--primary);
  padding: 5px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

/* GitHub icon inside tech stack */
.github-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid #9ca3af;
  color: #9ca3af;
  font-size: 15px;
  transition: all 0.3s ease;
}

.github-inline:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: scale(1.1);
}

/* Footer Button */
.projects-footer {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

/* View More Button */
.view-more-btn {
  padding: 12px 30px;
  background: var(--primary);
  color: white;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.3s ease, transform 0.3s ease;
  margin-bottom: 40px;
  margin-top: 0px;
}

.view-more-btn:hover {
  background: #2563eb;
  transform: translateY(-3px);
}


/* Section title styling */
.section-title {
    text-align: center;
    font-size: 45px;
    margin-bottom: 50px;
}

/* Titles */
.section-title {
  text-align: center;
  font-size: 45px;
  margin-bottom: 50px;
}

.heading {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Layout */
/* .my-skills {
  width: 90%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: center;
}


.container-skills {
  flex: 1 1 450px;
}

.technical-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.bar {
  background: var(--card);
  border-radius: 15px;
  padding: 12px;
}

.bar .info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.program-line {
  width: 100%;
  height: 6px;
  background: #1f2937;
  border-radius: 10px;
  overflow: hidden;
}

.program-line span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--primary);
  transition: width 2s ease;
}


.container-circle {
  flex: 1 1 400px;
}

.professional-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  justify-items: center;
}

.radial_bar {
  position: relative;
  width: 150px;
  height: 150px;
}

.radial_bar svg {
  transform: rotate(-90deg);
}

.progress_bar {
  stroke: #1f2937;
  stroke-width: 10;
  fill: transparent;
}

.path {
  stroke: var(--primary);
  stroke-width: 10;
  fill: transparent;
  stroke-dasharray: 502;
  stroke-dashoffset: 502;
  transition: stroke-dashoffset 2s ease;
}

.percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.text {
  position: absolute;
  bottom: -25px;
  width: 100%;
  text-align: center;
}

@media (max-width: 768px) {
  .technical-grid {
    grid-template-columns: 1fr;
  }
} */



/* myskills */
.skills-simple {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.skill-group {
  margin-bottom: 40px;
}

.skill-group h2 {
  color: #3b82f6;
  margin-bottom: 20px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.skill-tags span {
  background: #1f2933;
  color: white;
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 14px;
  transition: transform 0.3s, background 0.3s;
}

.skill-tags span:hover {
  background: #3b82f6;
  transform: translateY(-3px);
}


/* CONTACT SECTION */
.contact {
  width: 90%;
  max-width: 1200px;
  margin: 80px auto;   
  display: flex;
  gap: 0px;           
  flex-wrap: wrap;
  
}

.details {
  flex: 1 1 350px;
  margin-bottom: 0;
}

.contacth2 {
    font-size: 3rem;   
    font-weight: 700;
    margin-bottom: 15px;
}


.details p {
  margin: 10px 0;
  font-size: 1.1rem;
  color: var(--text);
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid #9ca3af;
  color: #9ca3af;
  font-size: 20px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: #3b82f6;
  border-color: #3b82f6;
  transform: scale(1.1);
}

/* FORM */
.form-container {
  flex: 1 1 400px;
  margin-top: 0;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form input,
.form textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid #374151;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 5px var(--primary);
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  flex-wrap: wrap;
  gap: 10px;
}

.submitbtn {
  background: var(--primary);
  color: white;
  padding: 12px 25px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submitbtn:hover {
  background: #2563eb;
}


   /* CONTACT SECTION */

.contact {
  width: 90%;
  max-width: 1000px;
  margin: 100px auto;
  text-align: center;
  padding: 50px 20px;
  border-radius: 15px;
  background: var(--card);
  margin-bottom: 50px;
}

.contact-container .section-title {
  font-size: 40px;
  margin-bottom: 40px;
}

.contact-details p {
  font-size: 18px;
  margin: 10px 0;
  color: var(--text);
}

.contact-details a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-details a:hover {
  color: #60a5fa;
  text-decoration: underline;
}

.contact .social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}

.contact .social-icons a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--muted);
  color: var(--muted);
  font-size: 22px;
  transition: all 0.3s ease;
}

.contact .social-icons a:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: scale(1.1);
}

.contact-buttons {
  margin-top: 20px;
}

.contact-buttons .btn,
.contact-buttons .btn-outline {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  margin: 10px 10px 0 10px;
  transition: all 0.3s ease;
}

.contact-buttons .btn {
  background-color: var(--primary);
  color: var(--text);
}

.contact-buttons .btn:hover {
  background-color: #2563eb;
  color: white;
}

.contact-buttons .btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background-color: transparent;
}

.contact-buttons .btn-outline:hover {
  background-color: var(--primary);
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .contact {
    margin: auto;
  }
  .details{
    margin-bottom: 20px;
  }

  .contact .social-icons a {
    width: 40px;
    height: 40px;
    font-size: 20px;
    margin-bottom: 0%;
  }

  .contact-buttons .btn,
  .contact-buttons .btn-outline {
    padding: 10px 20px;
  }
  .form-container{
    margin-top: 0%;
  }
}


.arrowlink {
  position: fixed;
  bottom: 25px;
  right: 25px;

  display: flex;
  align-items: center;
  gap: 6px;

  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  font-size: 1rem;

  background: rgba(31, 41, 55, 0.85);
  padding: 10px 14px;
  border-radius: 30px;

  transition: all 0.3s ease;
  z-index: 9999;
}

.arrowlink i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.arrowlink:hover {
  color: #fff;
  background: var(--primary);
}

.arrowlink:hover i {
  transform: translateY(-4px);
}

@media (max-width: 768px) {
  .arrowlink {
    bottom: 15px;
    right: 15px;
    font-size: 0.9rem;
    padding: 8px 12px;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  /* .contact {
    flex-direction: column;
    gap: 40px;
  } */

  .form-footer {
    justify-content: flex-start;
  }
}

/* footer */
.footer {
  background: #020226;
  border-top: 1px solid #1f2937;
  padding: 30px 20px 30px;
 
}

.footer-container {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}





   /* RESPONSIVE */
@media (max-width: 768px) {

  nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

  }

  .content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .about {
    flex-direction: column;
  }

  .edu {
    flex-direction: column;
  }

  .my-skills {
    flex-direction: column;
  }

  .container-skills,
  .container-circle {
    width: 100%;
  }

  /* .contact {
    flex-direction: column;
  } */

  .details,
  .formdetils {
    width: 100%;
  }
}


/* tablets */
@media (max-width: 1024px) {
  .my-skills {
    gap: 30px;
  }

  .container-skills,
  .container-circle {
    flex: 1 1 100%;
  }
}

/* phones */
@media (max-width: 768px) {
  .my-skills {
    flex-direction: column;
    width: 95%;
  }

  .technical-grid {
    grid-template-columns: 1fr;
  }

  .professional-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .bar {
    padding: 14px;
  }
}

/* small phones */
@media (max-width: 480px) {
  .professional-grid {
    grid-template-columns: 1fr;
  }

  .radial_bar {
    width: 130px;
    height: 130px;
  }

  .radial_bar svg {
    width: 130px;
    height: 130px;
  }

  .text {
    font-size: 14px;
  }

  .percentage {
    font-size: 16px;
  }
}


/* blogs */



.blogs-wrapper {
  width: 90%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 100px;
}

.daily-thoughts-box {
  display: flex;
  justify-content: start;
  padding: 20px;
  margin-bottom: 20px;
  width: 90%;
  margin: auto;
 
}

.daily-thoughts-box h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

.daily-thoughts-box p {
  color: var(--muted);
  margin-bottom: 20px;
}

.blog-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #1d4ed8;
  color: #ffffff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
  margin-top: 0px;
  margin-bottom: 0px;
}

.blog-btn:hover {
  transform: translateY(-3px);
  background: #1e40af;
  box-shadow: 0 14px 30px rgba(30, 64, 175, 0.45);
}

/* Back Navigation Link */
.thought-back {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 20px 5%;
  display: inline-block;
  transition: 0.3s ease;
}

.thought-back:hover {
  color: var(--primary);
}
.blog-desc {
  color: var(--text);
  line-height: 1.8;
  font-size: 15.5px;
}

.blog-series{
    display:inline-block;
    background:#3b82f6;
    color:white;
    padding:6px 14px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
    margin-bottom:15px;
}

.blog-meta{
    display:flex;
    gap:10px;
    align-items:center;
    color:#9ca3af;
    font-size:14px;
    margin:15px 0;
}

/* .blog-tags{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:18px;
}

.blog-tags span{
    background:#1f2937;
    color:#d1d5db;
    padding:6px 12px;
    border-radius:20px;
    font-size:12px;
} */

.blog-image{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:15px;
    margin:18px 0;
    transition:0.4s;
}

.blog-card:hover .blog-image{
    transform:scale(1.02);
}

/* Blog Card */
/* .blog-card {
  background: var(--card);
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}


.blog-card h3 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 12px;
}


.blog-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 18px;
} */

/* Read More Button */
.blog-card .read-btn {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.blog-card .read-btn:hover {
  text-decoration: underline;
  transform: translateX(4px);
}


   /* FULL BLOG PAGE */


.blog-page {
  width: 90%;
  max-width: 900px;
  margin: auto;
}

.blog-content {
  margin-top: 30px;
}

.blog-content p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 20px;
}

/* Back to Blogs link */
.blog-content .read-btn {
  margin-top: 30px;
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.blog-content .read-btn:hover {
  text-decoration: underline;
}

   /* BLOGS HORIZONTAL SCROLL */

.blogs-scroll {
  width: 90%;
  margin: auto;
  display: flex;
  gap: 25px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-behavior: smooth;
  margin-top: 30px;
  margin-bottom: 20px;
}

.blogs-scroll::-webkit-scrollbar {
  height: 6px;
}

.blogs-scroll::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}




.blog-card {
  min-width: 320px;
  max-width: 350px;
  background: #0b102f;
  border: 1px solid rgba(147, 197, 253, 0.22);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.58), 0 2px 10px rgba(59, 130, 246, 0.18);
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
  flex-shrink: 0;
  margin-bottom: 0px;
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-9px);
  border-color: rgba(147, 197, 253, 0.55);
  box-shadow: 0 22px 45px rgba(2, 6, 23, 0.72), 0 8px 24px rgba(59, 130, 246, 0.28);
}

.blog-card:focus {
  outline: 2px solid #93c5fd;
  outline-offset: 3px;
}

.blog-card h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #f8fafc;
}




.blog-desc {
  font-size: 16px;
  color: #dbeafe;
  margin-bottom: 15px;
  line-height: 1.6;
}


.read-btn {
  color: #93c5fd;
  font-weight: 600;
  text-decoration: none;
}

.read-btn:hover {
  color: #ffffff;
  text-decoration: underline;
}

.blog-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin: 15px 0;
  transition: transform 0.3s ease;
}

.blog-image:hover {
  transform: scale(1.03);
}



   /* RESPONSIVE */


@media (max-width: 768px) {
  .blog-card {
    padding: 20px;
  }

  .blog-card h3 {
    font-size: 18px;
  }

  .blog-desc {
    font-size: 14px;
  }

  .blog-content p {
    font-size: 15px;
  }
}
