.project-btn {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  color: #fff !important;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
  transition: all 0.3s ease;
  margin: 0;
}

.project-btn:hover {
  background: linear-gradient(135deg, #db2777 0%, #7c3aed 100%);
  color: #fff;
  box-shadow: 0 6px 25px rgba(236, 72, 153, 0.5);
  transform: scale(1.05);
  text-decoration: none !important;
}
.samonline-link {
  color: #8e44ad;
  font-weight: 600;
  text-decoration: none;
}

.samonline-link:hover {
  color: #22bb50;
  text-decoration: underline;
}
.itbd-link {
  color: #1abc9c;
  font-weight: 600;
  text-decoration: none;
}

.itbd-link:hover {
  color: #148f77;
  text-decoration: underline;
}
.highlight-link {
  color: #e67e22;
  font-weight: 600;
  text-decoration: none;
}

.highlight-link:hover {
  color: #ca6510;
  text-decoration: underline;
}
.intro-text p {
  text-align: justify;
}
/* Intro section flex layout */
.intro-flex {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  margin-top: 2rem;
  flex-direction: row;
  justify-content: space-between;
}

.intro-flex .profile-pic {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.3);
  border: 2px solid rgba(56, 189, 248, 0.5);
  flex-shrink: 0;
}

.intro-text {
  flex: 1;
  min-width: 0;
  max-width: 800px;
}

.intro-text p {
  text-align: justify;
  color: #cbd5e1;
  line-height: 1.8;
}

/* About Me Section */
.about-section {
  padding: 60px 0;
  max-width: 900px;
  margin: 0 auto;
}

.about-section .section-title {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 30px;
  font-weight: 600;
}

.about-content p {
  color: #cbd5e1;
  line-height: 1.9;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-content a.highlight {
  color: #22d3ee;
  text-decoration: none;
  transition: color 0.3s ease;
}

.about-content a.highlight:hover {
  color: #38bdf8;
  text-decoration: underline;
}

/* Projects grid layout */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 0;
  padding: 20px;
}

.project-card {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 0.95rem;
  min-width: 0;
  border: none;
  overflow: visible;
  position: relative;
}

.project-card:hover {
  box-shadow: none;
  transform: none;
  border-color: transparent;
}

.project-card h2 {
  margin-top: 0;
  margin-bottom: 15px;
  padding: 25px 0 0;
  font-size: 1.3rem;
  color: #ffffff;
  font-weight: 600;
}

.project-card p {
  margin-bottom: 20px;
  padding: 0;
  color: #cbd5e1;
  line-height: 1.7;
  flex-grow: 1;
}

/* Technology badges */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px; /* Increased gap for better spacing */
  padding: 0;
  margin-bottom: 20px; /* Added margin below tech badges */
}

.tech-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: 20px;
  font-size: 0.9rem;
  color: #22d3ee;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tech-badge:hover {
  background: rgba(34, 211, 238, 0.2);
  border-color: rgba(34, 211, 238, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 211, 238, 0.2);
}

/* Project Button Styling */
.project-btn {
  display: inline-block;
  margin-top: 30px; /* Further increased margin to avoid overlap */
  padding: 12px 28px;
  background: linear-gradient(135deg, #ec4899 0%, #a855f7 100%);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.project-btn:hover {
  background: linear-gradient(135deg, #db2777 0%, #9333ea 100%);
  box-shadow: 0 8px 30px rgba(236, 72, 153, 0.5);
  transform: translateY(-3px);
}

/* Skills page card styles */
.skills-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Fixed 4-column layout */
  gap: 30px;
  padding: 20px;
}

.skill-card {
  background: transparent;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.skill-card h2 {
  color: #ffffff;
  margin-bottom: 15px;
  font-size: 1.5rem;
  font-weight: 600;
}

.skill-card ul {
  list-style: none;
  padding: 0;
}

.skill-card li {
  padding: 8px 0;
  color: #cbd5e1;
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 900px) {
  .intro-flex {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .intro-flex .profile-pic {
    width: 200px;
    height: 200px;
  }
  .intro-text {
    max-width: 100%;
  }
  header h1 {
    font-size: 1.5rem;
  }
  header p {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  body {
    padding: 0 8px;
  }
  .intro-flex {
    flex-direction: column;
    gap: 1rem;
  }
  .intro-flex .profile-pic {
    width: 110px;
    height: 110px;
  }
  .intro-text {
    font-size: 0.98rem;
  }
  nav#main-nav ul {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0;
  }
  nav#main-nav ul li {
    margin: 0.5rem 0;
  }
  header h1 {
    font-size: 1.1rem;
  }
  header p {
    font-size: 0.95rem;
  }
}

.project-card a {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 500;
  margin-top: auto;
  transition: color 0.3s ease;
}

.project-card a:hover {
  color: #0ea5e9;
}
/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', sans-serif;
  line-height: 1.6;
  background: #0a0e27;
  color: #e2e8f0;
  scroll-behavior: smooth;
  min-height: 100vh;
  scroll-padding-top: 120px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #1a1f3a;
}

::-webkit-scrollbar-thumb {
  background: #38bdf8;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0ea5e9;
}

/* Header styles */
header {
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
  color: #f8fafc;
  padding: 20px 60px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
}

.header-brand::before {
  content: '◉';
  font-size: 1.5rem;
  color: #38bdf8;
}

header h1 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  color: #ffffff;
  display: none;
}

header p {
  font-size: 0.95rem;
  color: #94a3b8;
  font-weight: 400;
  display: none;
}

header a {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

header a:hover {
  color: #0ea5e9;
}

/* Navigation styles */
nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
  gap: 5px;
  padding: 0;
}

nav a {
  color: #cbd5e1;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 6px;
  background-color: transparent;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  font-size: 0.95rem;
  text-decoration: none;
}

nav a:hover {
  background-color: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.3);
  color: #38bdf8;
}

/* Active navigation link */
nav a.active {
  background-color: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  color: #38bdf8;
}

/* Header Social Icons */
.header-social {
  display: flex;
  gap: 15px;
  align-items: center;
}

.header-social a {
  color: #cbd5e1;
  font-size: 1.4rem;
  transition: all 0.3s ease;
  padding: 5px;
}

.header-social a:hover {
  color: #38bdf8;
  transform: translateY(-2px);
}

/* Main content styles */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
}

/* Section spacing for scroll navigation */
section[id] {
  scroll-margin-top: 100px;
}

/* Hero Section */
.hero-section {
  text-align: left;
  padding: 100px 0;
  margin-bottom: 80px;
  background: transparent;
  border: none;
  box-shadow: none;
  max-width: 900px;
}

.hero-section:hover {
  transform: none;
  box-shadow: none;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 40px;
  line-height: 1.2;
  letter-spacing: -1.5px;
}

.hero-description {
  font-size: 1.4rem;
  color: #94a3b8;
  max-width: 100%;
  margin: 0;
  line-height: 1.9;
}

.hero-description .highlight {
  color: #22d3ee;
  font-weight: 500;
}

section {
  background: transparent;
  backdrop-filter: none;
  padding: 40px 0;
  margin-bottom: 50px;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: none;
}

section:hover {
  transform: none;
  box-shadow: none;
}

section h2 {
  color: #ffffff;
  margin-bottom: 25px;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

section p {
  font-size: 1.05rem;
  margin-bottom: 15px;
  color: #cbd5e1;
  line-height: 1.8;
}

section p strong {
  color: #ffffff;
  font-weight: 600;
}
/* Hamburger icon styles */
.hamburger-icon {
  display: none;
  cursor: pointer;
  padding: 10px;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1001;
}
.hamburger-icon .bar {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px 0;
  transition: 0.4s;
}

/* Hamburger icon animation when active */
.hamburger-icon.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(-45deg);
}
.hamburger-icon.active .bar:nth-child(2) {
  opacity: 0;
}
.hamburger-icon.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(45deg);
}

@media (max-width: 768px) {
  .hamburger-icon {
    display: block;
  }
  
  header {
    padding: 15px 20px;
    flex-wrap: wrap;
  }
  
  .header-brand {
    order: 1;
    flex: 1;
  }
  
  .hamburger-icon {
    order: 2;
  }
  
  .header-social {
    order: 3;
    gap: 10px;
  }
  
  .header-social a {
    font-size: 1.2rem;
  }
  
  nav#main-nav {
    order: 4;
    width: 100%;
    flex: none;
  }
  
  nav#main-nav ul {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    background: #1e293b;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    margin: 0;
  }
  
  nav#main-nav ul.active {
    display: flex;
  }
}

@media (min-width: 768px) {
  .header-content {
    flex-direction: row;
    /* Layout content in a row */
    justify-content: space-between;
    /* Space out items */
    align-items: center;
  }

  /* Hide the hamburger icon on larger screens */
  .hamburger-icon {
    display: none;
  }

  /* Show the navigation links in a row on larger screens */
  nav ul {
    position: static;
    /* Remove absolute positioning */
    max-height: none;
    /* Remove height constraint */
    flex-direction: row;
    /* Display links in a row */
    background-color: transparent;
    /* Transparent background */
    padding: 0;
    gap: 20px;
    /* Restore original gap */
  }

  nav li {
    display: inline;
    /* Display list items inline */
    margin-bottom: 0;
    /* Remove margin */
  }
}
/* List styles */
ul {
  padding-left: 25px;
  margin-top: 10px;
}

ul li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #cbd5e1;
}

ul li a {
  color: #38bdf8;
  text-decoration: none;
  transition: all 0.3s ease;
}

ul li a:hover {
  color: #0ea5e9;
  padding-left: 6px;
}

li i {
  margin-right: 8px;
}

/* Footer styles */
footer {
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
  color: #94a3b8;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.95rem;
  margin-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Anchor styling */
a {
  color: #38bdf8;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #0ea5e9;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 640px) {
  header h1 {
    font-size: 1.3rem;
  }

  header p {
    font-size: 0.85rem;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  section {
    padding: 25px 20px;
  }

  section h2 {
    font-size: 1.5rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
    letter-spacing: -1px;
  }
  
  .hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
  }
  
  .hero-section {
    padding: 60px 0;
  }
  
  main {
    padding: 30px 20px;
  }
}
form {
  max-width: 600px;
  margin-top: 20px;
}

input,
textarea {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 15px;
  font-size: 1rem;
  font-family: inherit;
  background: rgba(26, 31, 58, 0.6);
  color: #e2e8f0;
  transition: all 0.3s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

input::placeholder,
textarea::placeholder {
  color: #64748b;
}

button {
  background: linear-gradient(135deg, #ec4899 0%, #a855f7 100%);
  color: white;
  padding: 14px 32px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

button:hover {
  background: linear-gradient(135deg, #db2777 0%, #9333ea 100%);
  box-shadow: 0 8px 30px rgba(236, 72, 153, 0.5);
  transform: translateY(-3px);
}
/* Thank You Page Styles */
.thankyou-page {
  max-width: 600px;
  margin: 80px auto;
  text-align: center;
}

.thankyou-page h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #0f172a;
}

.thankyou-page p {
  font-size: 1.1rem;
  color: #334155;
}

.thankyou-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 10px 20px;
  background-color: #0ea5e9;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.thankyou-btn:hover {
  background-color: #0284c7;
}

just{
  text-align: justify;
  text-justify: inter-word;
}

.social-links {
  display: flex;
  gap: 15px;
  justify-content: center;
  padding-left: 0;
  margin-top: 20px;
  list-style: none;
  flex-wrap: wrap;
}

.social-links li {
  display: inline-block;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-weight: 500;
}

.social-links a:hover {
  background: rgba(56, 189, 248, 0.25);
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.2);
}

@media (max-width: 600px) {
  .social-links {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .social-links li {
    width: 100%;
    margin: 0;
  }
  .social-links a {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
}

.profile-pic {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(56, 189, 248, 0.5);
  margin-bottom: 0;
  margin-right: 0;
  margin-left: 0;
  box-shadow: 0 8px 30px rgba(56, 189, 248, 0.3);
  display: block;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.header-text {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 700px) {
  .header-flex {
    flex-direction: column;
    gap: 10px;
  }
  .header-text {
    text-align: center;
  }
}