/* CSS Reset & Variables (Classic Minimalist Theme) */
:root {
  --bg-primary: #030712; /* Dark Space Midnight */
  --bg-secondary: #0b0f19; /* Deep Slate Blue */
  --text-primary: #f8fafc; /* Ice White */
  --text-secondary: #94a3b8; /* Cool Grey */
  --accent: #2dd4bf; /* Mint Teal */
  --accent-secondary: #a78bfa; /* Soft Lavender Purple */
  --accent-rose: #db2777; /* Soft Pink / Magenta */
  --glass-bg: rgba(11, 15, 25, 0.65);
  --glass-border: rgba(45, 212, 191, 0.15);
  --glass-glow: rgba(45, 212, 191, 0.04);
  --font-main: 'Outfit', sans-serif;
  --font-mono: 'Fira Code', monospace;
  --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --container-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Shifting Aurora Background Gradients */
.aurora-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  background-color: var(--bg-primary);
  pointer-events: none;
}

.aurora-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.11;
  mix-blend-mode: screen;
}

.glow-1 {
  background: radial-gradient(circle, var(--accent) 0%, transparent 80%);
  top: -10%;
  left: -10%;
  animation: drift1 25s infinite alternate ease-in-out;
}

.glow-2 {
  background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 80%);
  bottom: -15%;
  right: -10%;
  animation: drift2 30s infinite alternate ease-in-out;
}

.glow-3 {
  background: radial-gradient(circle, #3b82f6 0%, transparent 80%);
  top: 35%;
  left: 45%;
  animation: drift3 22s infinite alternate ease-in-out;
}

@keyframes drift1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(150px, 80px) scale(1.2); }
}

@keyframes drift2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-120px, -100px) scale(1.15); }
}

@keyframes drift3 {
  0% { transform: translate(0, 0) scale(0.9) rotate(0deg); }
  100% { transform: translate(-50px, 60px) scale(1.1) rotate(60deg); }
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.section {
  padding: 110px 0;
  position: relative;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 35px;
  box-shadow: inset 0 0 20px rgba(45, 212, 191, 0.02), 0 10px 40px 0 rgba(0, 0, 0, 0.8);
  transition: var(--transition);
}

.glass:hover {
  border-color: rgba(45, 212, 191, 0.5);
  box-shadow: 0 15px 50px 0 rgba(0,0,0,0.05);
}

/* Scroll Animation Classes (reveal triggers via JS observer) */
.project-card, .cert-card, .coding-card, .about-card, .about-details, .contact-details, .contact-form, .skills-slider-container {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card.reveal, .cert-card.reveal, .coding-card.reveal, .about-card.reveal, .about-details.reveal, .contact-details.reveal, .contact-form.reveal, .skills-slider-container.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Section Titles */
.section-title-wrapper {
  margin-bottom: 60px;
  text-align: center;
}

.sub-title {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
  color: #030712;
  box-shadow: 0 6px 20px rgba(45, 212, 191, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(45, 212, 191, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(45, 212, 191, 0.3);
}

.btn-secondary:hover {
  background: rgba(45, 212, 191, 0.06);
  transform: translateY(-3px);
  border-color: var(--accent);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid rgba(45, 212, 191, 0.25);
  font-size: 0.85rem;
  padding: 8px 20px;
  border-radius: 8px;
}

.btn-outline:hover {
  background: var(--accent);
  color: #030712;
  border-color: var(--accent);
  transform: translateY(-2px);
}

.gradient-text {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header & Navigation */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(45, 212, 191, 0.08);
  transition: var(--transition);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.logo .accent {
  color: var(--accent);
}

.logo .bracket {
  color: var(--accent-secondary);
  font-family: var(--font-mono);
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition);
  font-size: 0.95rem;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-secondary) 100%);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.contact-btn {
  background: rgba(45, 212, 191, 0.08);
  padding: 9px 22px;
  border-radius: 50px;
  border: 1px solid rgba(45, 212, 191, 0.2);
}

.contact-btn::after {
  display: none;
}

.contact-btn:hover {
  background: var(--accent);
  color: #030712;
  border-color: var(--accent);
}

.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.hamburger-menu span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition);
}

/* Hero Section */
.hero-section {
  padding-top: 200px;
  padding-bottom: 90px;
}

.hello-tag {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  display: inline-block;
  margin-bottom: 15px;
}



.hero-text-content h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin: 15px 0;
  letter-spacing: -2px;
}

.typing-container {
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--accent-secondary);
  height: 45px;
  margin-bottom: 25px;
  font-family: var(--font-mono);
}

.cursor {
  animation: blinkCursor 0.8s infinite;
  color: var(--accent);
}

@keyframes blinkCursor {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-top: 25px;
  max-width: 500px;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-links a {
  color: var(--text-secondary);
  font-size: 1.3rem;
  transition: var(--transition);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.social-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(45, 212, 191, 0.05);
  transform: translateY(-4px) scale(1.05);
}

/* Premium Profile Visual Container */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.neural-visual-wrapper {
  width: 360px;
  height: 360px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-image-container {
  width: 195px;
  height: 195px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  box-shadow: 0 0 35px rgba(45, 212, 191, 0.3);
  z-index: 2;
  position: absolute;
  animation: corePulse 4s infinite alternate ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg-secondary);
}

.profile-image-container i {
  font-size: 5rem;
  color: var(--accent);
  text-shadow: 0 0 25px rgba(45, 212, 191, 0.5);
}

.neural-ring {
  position: absolute;
  border: 1.5px dashed rgba(45, 212, 191, 0.22);
  border-radius: 50%;
  animation: rotateRing 15s linear infinite;
}

.ring-1 {
  width: 220px;
  height: 220px;
  transform: rotateX(60deg) rotateY(20deg);
  animation-duration: 20s;
}

.ring-2 {
  width: 285px;
  height: 285px;
  transform: rotateX(30deg) rotateY(45deg);
  border-color: rgba(167, 139, 250, 0.25);
  animation-duration: 25s;
  animation-direction: reverse;
}

.ring-3 {
  width: 350px;
  height: 350px;
  transform: rotateX(75deg) rotateY(-15deg);
  animation-duration: 30s;
}

.floating-particle {
  position: absolute;
  width: 45px;
  height: 45px;
  background: var(--glass-bg);
  border: 1px solid rgba(45, 212, 191, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow: 0 0 15px rgba(45, 212, 191, 0.1);
  animation: floatParticle 8s infinite ease-in-out;
}

.p-1 { top: 10%; left: 8%; animation-delay: 0s; }
.p-2 { bottom: 18%; right: 2%; animation-delay: -2s; border-color: rgba(167, 139, 250, 0.35); color: var(--accent-secondary); }
.p-3 { bottom: 8%; left: 18%; animation-delay: -4.5s; }

@keyframes rotateRing {
  0% { transform: rotate(0deg) rotateX(60deg); }
  100% { transform: rotate(360deg) rotateX(60deg); }
}

@keyframes corePulse {
  0% { transform: scale(0.95); box-shadow: 0 0 25px rgba(45, 212, 191, 0.2); }
  100% { transform: scale(1.08); box-shadow: 0 0 45px rgba(45, 212, 191, 0.5); }
}

@keyframes floatParticle {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(12deg); }
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
}

.about-card h3, .about-details h3 {
  font-size: 1.7rem;
  margin-bottom: 22px;
  color: var(--accent);
}

.about-card p {
  color: var(--text-secondary);
  margin-bottom: 22px;
  font-size: 1.05rem;
}

.quick-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.fact-item {
  display: flex;
  gap: 15px;
  align-items: center;
}

.fact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.15rem;
}

.fact-item strong {
  display: block;
  font-size: 0.95rem;
}

.fact-item p {
  font-size: 0.85rem;
  margin-bottom: 0;
  color: var(--text-secondary);
}

.philosophy-item {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
}

.philo.social-links {
  display: flex;
  gap: 20px;
  margin-top: 50px;
}

.philosophy-item:last-child {
  margin-bottom: 0;
}

.philosophy-item .number {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-secondary);
  line-height: 1.2;
}

.philosophy-item h4 {
  font-size: 1.25rem;
  margin-bottom: 5px;
}

.philosophy-item p {
  color: var(--text-secondary);
  font-size: 0.98rem;
}

/* Skills Sliding Window Slider CSS */
.skills-slider-container {
  overflow: hidden;
  width: 100%;
  padding: 40px 0;
  position: relative;
}

.skills-slider-container::before,
.skills-slider-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.skills-slider-container::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary) 0%, transparent 100%);
}

.skills-slider-container::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary) 0%, transparent 100%);
}

.skills-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: scrollSkills 28s linear infinite;
}

.skills-slider-container:hover .skills-track {
  animation-play-state: paused;
}

.slide-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.slide-item:hover {
  transform: translateY(-8px) scale(1.06) rotate(2deg);
  border-color: var(--accent);
  box-shadow: 0 8px 25px rgba(45, 212, 191, 0.15);
}

.slide-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}

.slide-item span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

@keyframes scrollSkills {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-160px * 11)); /* 11 items * (120px item + 40px gap) */
  }
}

/* Projects Section */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 45px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  padding: 10px 22px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(45, 212, 191, 0.25);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.project-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-img-placeholder {
  height: 180px;
  background: linear-gradient(135deg, rgba(31, 40, 51, 0.9) 0%, rgba(11, 12, 16, 0.9) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--glass-border);
  position: relative;
}

.project-img-placeholder::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.08) 0%, transparent 80%);
}

.project-img-placeholder i {
  font-size: 3.5rem;
  color: var(--accent);
  opacity: 0.8;
  z-index: 1;
}

.project-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-category-tag {
  font-family: var(--font-mono);
  color: var(--accent-secondary);
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.project-info h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.project-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
}

.project-tech-tags span {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--text-secondary);
}

.project-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  transition: var(--transition);
}

.project-link i {
  transition: var(--transition);
}

.project-link:hover {
  color: var(--accent-secondary);
}

.project-link:hover i {
  transform: translateX(5px);
}

/* Certifications Section (Click to Open Lightbox Grid) */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.cert-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  cursor: pointer;
  transition: var(--transition);
}

.cert-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(45, 212, 191, 0.08);
}

.cert-icon-box {
  width: 55px;
  height: 55px;
  border-radius: 12px;
  background: rgba(45, 212, 191, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.cert-card:hover .cert-icon-box {
  background: var(--accent);
  color: var(--bg-primary);
}

.cert-details {
  flex-grow: 1;
  width: 100%;
}

.cert-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 8px;
  width: 100%;
}

.cert-details h4 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.cert-date {
  font-size: 0.82rem;
  color: var(--accent);
  font-family: var(--font-mono);
  white-space: nowrap;
}

.view-cert-link {
  font-size: 0.85rem;
  color: var(--accent-secondary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Lightbox Modal CSS */
.cert-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 7, 18, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.cert-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  max-width: 85%;
  max-height: 85%;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cert-modal.active .modal-content {
  transform: scale(1);
}

.close-modal {
  position: absolute;
  top: 40px;
  right: 40px;
  font-size: 3rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.close-modal:hover {
  color: var(--accent);
  transform: rotate(90deg);
}

/* Competitive Coding Profiles */
.coding-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.coding-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px;
}

.coding-card .brand-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.coding-card .brand-header i {
  font-size: 2.2rem;
}

.Leetcode-card .brand-header i {
  color: #ffa116;
}

.codeforces-card .brand-header i {
  color: #1f8acb;
}

.coding-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
}

.coding-card p {
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 320px;
}

.card-stats {
  margin-bottom: 30px;
  width: 100%;
}

.stat-bubble {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 15px 30px;
  display: inline-block;
}

.stat-number {
  display: block;
  font-size: 1.3rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-top: 3px;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
}

.contact-details h3, .contact-form h3 {
  font-size: 1.7rem;
  margin-bottom: 22px;
  color: var(--accent);
}

.contact-details p {
  color: var(--text-secondary);
  margin-bottom: 35px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-row {
  display: flex;
  gap: 20px;
  align-items: center;
}

.info-row i {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.06);
  border: 1px solid rgba(45, 212, 191, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.25rem;
}

.info-row strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-row p {
  margin-bottom: 0;
  font-size: 1.05rem;
}

.info-row p a {
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
}

.info-row p a:hover {
  color: var(--accent);
}

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

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

.form-group label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.form-group input, .form-group textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 14px;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 10px rgba(45, 212, 191, 0.15);
}

.btn-block {
  width: 100%;
  padding: 15px;
  font-size: 1.05rem;
  margin-top: 10px;
}

.form-feedback {
  padding: 12px;
  border-radius: 8px;
  font-size: 0.95rem;
  text-align: center;
}

.form-feedback.success {
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.2);
}

.form-feedback.error {
  background: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.2);
}

.hidden {
  display: none !important;
}

/* View More Container & Toggle styling */
.view-more-container {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  width: 100%;
}

.project-card.hidden-project {
  display: none !important;
}

/* Footer */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 40px 0;
  background: #040508;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 1.2rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  html {
    font-size: 15px;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .hero-desc {
    margin: 0 auto 35px auto;
  }
  
  .hero-ctas, .social-links {
    justify-content: center;
  }
  
  .about-grid, .cert-grid, .coding-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .hamburger-menu {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 90px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 90px);
    background: rgba(3, 7, 18, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 50px 24px;
    gap: 40px;
    transition: var(--transition);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hamburger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hero-text-content h1 {
    font-size: 3rem;
  }
  
  .section {
    padding: 70px 0;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* Project Image Banner & Hover Zoom Effects */
.project-image-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover .project-image-banner {
  transform: scale(1.08);
}

/* Vertical Project List Styles for projects.html */
.vertical-project-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 50px;
}

.vertical-project-card {
  display: block;
  padding: 40px;
  overflow: hidden;
  transition: var(--transition);
}

.vertical-project-info {
  padding: 0;
}

.back-btn-container {
  margin-bottom: 40px;
}

.btn-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
