/* assets/css/style.css */

/* Core Variables & Design System */
:root {
  --bg-color: #f8fafc; /* Clean off-white */
  --surface-color: rgba(255, 255, 255, 0.7); /* Frosted glass white */
  --surface-border: rgba(15, 23, 42, 0.08); /* Soft dark border */
  --text-primary: #0f172a; /* Slate-900 */
  --text-secondary: #475569; /* Slate-600 */
  
  /* Vibrant gradients adjusted for light background */
  --accent-cyan: #0ea5e9; /* Sky-500 */
  --accent-purple: #8b5cf6; /* Violet-500 */
  --accent-green: #10b981; /* Emerald-500 */
  
  --ff-headings: 'Outfit', sans-serif;
  --ff-body: 'Plus Jakarta Sans', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Setup */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.15);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(15, 23, 42, 0.25);
}

/* Floating Glow Background */
.bg-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  mix-blend-mode: multiply;
  animation: floatBlobs 20s infinite alternate;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-cyan);
  top: -10%;
  left: -10%;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: var(--accent-purple);
  bottom: -10%;
  right: -10%;
  animation-delay: -5s;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: #ec4899;
  top: 40%;
  left: 50%;
  animation-delay: -10s;
}

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

/* Typography Utility */
h1, h2, h3, h4 {
  font-family: var(--ff-headings);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Reusable Container */
.section-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 0;
}

/* Global Grid Utility */
.grid {
  display: grid;
}

/* Header & Glass Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(15, 23, 42, 0.05);
}

.nav-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

header.scrolled .nav-container {
  height: 70px;
}

.logo {
  font-family: var(--ff-headings);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
}

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

nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

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

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  transition: var(--transition-smooth);
}

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

.contact-btn-nav {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--surface-border);
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
}

.contact-btn-nav::after {
  display: none !important;
}

.contact-btn-nav:hover {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  border-color: transparent;
  color: #ffffff;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* Hero Section Styling */
.hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 1rem;
}

.hero-content {
  max-width: 850px;
  z-index: 10;
}

.hero .badge {
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid var(--surface-border);
  padding: 0.4rem 1.2rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--accent-cyan);
}

.hero h1 {
  font-size: 5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.35rem;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.hero-desc {
  font-size: 1.1rem;
  color: #1e293b; /* Slate-800 for much better readability and contrast */
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
}

.hero-ctas {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
}

/* Button UI */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-family: var(--ff-headings);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  color: #ffffff;
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.15);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 242, 254, 0.5);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.06); /* Darker background */
  border: 1px solid rgba(15, 23, 42, 0.18); /* Darker border for higher contrast */
  color: #0f172a; /* Slate-900 */
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.12);
  border-color: rgba(15, 23, 42, 0.3);
  transform: translateY(-3px);
}

/* Scroll Down Mouse */
.scroll-down {
  position: absolute;
  bottom: 2rem;
  display: block;
}

.mouse {
  width: 26px;
  height: 42px;
  border: 2px solid var(--text-secondary);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.wheel {
  width: 4px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 2px;
  animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

/* Premium Card Styles */
.card {
  background: var(--surface-color);
  backdrop-filter: blur(16px);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.04);
  transition: var(--transition-smooth);
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 12px 40px 0 rgba(15, 23, 42, 0.08);
}

/* Universal Section Tags */
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  margin-bottom: 0.8rem;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem auto;
}

.section-header h2 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: center;
}

.about-img-wrapper {
  position: relative;
}

.image-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--surface-border);
}

.about-img {
  width: 100%;
  display: block;
  transition: var(--transition-smooth);
}

.image-frame:hover .about-img {
  transform: scale(1.05);
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  padding: 1.2rem;
  text-align: center;
}

.stat-card h3 {
  font-size: 2.2rem;
  color: var(--accent-cyan);
  margin-bottom: 0.2rem;
}

.stat-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Expertise / Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.skills-category-card {
  background: var(--surface-color);
  backdrop-filter: blur(16px);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: var(--transition-smooth);
}

.skills-category-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 242, 254, 0.2);
}

.category-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.skills-category-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.skill-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--surface-border);
  border-radius: 30px;
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.skills-category-card:hover .skill-pill:hover {
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

/* Timeline Experience */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::after {
  display: none !important;
}

.timeline-item {
  padding: 1rem 2.5rem;
  position: relative;
  width: 50%;
  clear: both;
}

.timeline-item.left {
  float: left;
}

.timeline-item.right {
  float: right;
}

.timeline-content {
  background: var(--surface-color);
  backdrop-filter: blur(16px);
  border: 1px solid var(--surface-border);
  padding: 2rem;
  border-radius: 16px;
  position: relative;
  transition: var(--transition-smooth);
}

.timeline-content:hover {
  transform: scale(1.02);
  border-color: rgba(255, 255, 255, 0.15);
}

.timeline-date {
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: block;
}

.timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.timeline-content .company {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.timeline-item::after {
  display: none !important;
}

.timeline-item.left::after {
  right: -7px;
}

.timeline-item.right::after {
  left: -7px;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  background: var(--surface-color);
  backdrop-filter: blur(16px);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.project-card:hover {
  transform: translateY(-8px);
}

.project-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.project-card:hover .project-img {
  transform: scale(1.05);
}

.project-info {
  padding: 1.5rem;
}

.project-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.project-info h3 {
  font-size: 1.25rem;
  margin: 0.5rem 0;
}

.project-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-tags span {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--surface-border);
  padding: 0.25rem 0.7rem;
  border-radius: 15px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Leadership Section */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.leadership-card ul {
  list-style: none;
  margin-top: 1rem;
}

.leadership-card li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
}

.leadership-card li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
}

/* Education Section */
.education-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.edu-card {
  text-align: center;
  padding: 2.5rem 2rem;
}

.edu-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--surface-border);
  color: var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.edu-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.edu-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.cgpa {
  background: rgba(0, 242, 254, 0.15);
  color: var(--accent-cyan);
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
}

/* Detailed Education Grid */
.education-detailed-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Certifications Section styling */
.certifications-section {
  padding-top: 2rem;
  padding-bottom: 5rem;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.cert-card {
  border: 1px solid var(--surface-border);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.cert-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cert-meta h3 {
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
}

.cert-meta h4 {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.cert-meta p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Contact Modern */
.contact-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.contact-card-modern {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2rem;
}

.contact-card-modern h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.contact-card-modern p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.icon-wrapper {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--surface-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.contact-card-modern:hover .icon-wrapper {
  transform: scale(1.15) rotate(10deg);
}

.email-icon { color: var(--accent-purple); }
.whatsapp-icon { color: var(--accent-green); }
.call-icon { color: var(--accent-cyan); }

/* Footer */
footer {
  border-top: 1px solid var(--surface-border);
  background: rgba(15, 23, 42, 0.02);
  padding: 3rem 0;
  text-align: center;
}

.footer-logo {
  font-family: var(--ff-headings);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

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

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

/* Interactivity & IntersectionObserver Visibility Animations */
.fade-in-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-element.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Breakpoints & Mobile Optimization */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 4rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .about-img-wrapper {
    max-width: 350px;
    margin: 0 auto;
  }
  
  .quick-stats {
    justify-content: center;
  }
  
  .skills-grid,
  .projects-grid,
  .education-grid,
  .contact-grid-modern,
  .education-detailed-grid,
  .certifications-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Navigation */
  .menu-toggle {
    display: flex;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    left: auto;
    width: min(300px, 80%);
    height: 100vh;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--surface-border);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0);
    transition: var(--transition-smooth);
    z-index: 999;
  }
  
  nav.active {
    right: 0;
    box-shadow: -10px 0 30px rgba(15, 23, 42, 0.08);
  }
  
  nav ul {
    flex-direction: column;
    padding: 7rem 2.5rem 3rem 2.5rem;
    align-items: flex-start;
    gap: 2rem;
    width: 100%;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  /* Hero */
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.15rem;
  }
  
  .hero-desc {
    font-size: 0.95rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }
  
  /* Timeline (center line disappears, blocks stack left) */
  .timeline::after {
    left: 20px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 3rem;
    padding-right: 0;
  }
  
  .timeline-item.left, 
  .timeline-item.right {
    float: none;
  }
  
  .timeline-item::after {
    left: 13px !important;
    right: auto !important;
  }
  
  /* Grid conversions to Single Column */
  .skills-grid,
  .projects-grid,
  .education-grid,
  .contact-grid-modern,
  .leadership-grid,
  .education-detailed-grid,
  .certifications-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-card h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .quick-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Subpage & Custom Component Styles */
.subpage-hero {
  padding: 8rem 0 2rem 0;
  text-align: center;
}

.text-center {
  text-align: center;
}

.work-category-group {
  margin-bottom: 4rem;
}

.category-header-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--surface-border);
  padding-bottom: 0.8rem;
  margin-bottom: 1.2rem;
}

.category-header-bar h2 {
  font-size: 1.8rem;
  margin-bottom: 0;
}

.icon-indicator {
  width: 42px;
  height: 42px;
  background: rgba(0, 242, 254, 0.15);
  color: var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-intro {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 800px;
}

.works-detail-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.work-card-detailed {
  display: flex;
  flex-direction: column;
}

.work-img-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 1.2rem;
  border: 1px solid var(--surface-border);
}

.work-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.work-card-detailed:hover .work-img-container img {
  transform: scale(1.05);
}

.work-card-detailed h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.work-card-detailed p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Contact Subpage Layout */
.contact-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}

.contact-cards-column h2,
.contact-form-column h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.contact-cards-column p,
.contact-form-column p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.contact-sub-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-sub-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-decoration: none;
  color: inherit;
}

.contact-sub-card:hover {
  border-color: rgba(0, 242, 254, 0.2);
}

.contact-sub-text h3 {
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.contact-sub-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Glass Contact Form */
.glass-form {
  background: var(--surface-color);
  backdrop-filter: blur(16px);
  border: 1px solid var(--surface-border);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: var(--ff-headings);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid var(--surface-border);
  border-radius: 10px;
  padding: 0.8rem 1.2rem;
  color: var(--text-primary);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
  background: rgba(15, 23, 42, 0.04);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.08);
}

.btn-submit {
  align-self: flex-start;
  min-width: 180px;
  border: none;
}

/* Subpage Mobile Responsiveness */
@media (max-width: 900px) {
  .works-detail-grid,
  .company-services-grid {
    grid-template-columns: 1fr;
  }
  
  .company-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 600px) {
  .form-group-row,
  .company-services-grid {
    grid-template-columns: 1fr;
  }
  
  .glass-form {
    padding: 1.5rem;
  }
  
  .btn-submit {
    width: 100%;
  }
}

/* SkillSpot Corporate Profile Styles */
.skillspot-profile-section {
  padding-bottom: 2rem;
}

.company-profile-card {
  border: 1px solid var(--surface-border);
}

.company-profile-header {
  margin-bottom: 1.5rem;
}

.company-profile-header h2 {
  font-size: 2.4rem;
  margin-top: 0.5rem;
}

.company-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.company-about {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.subsection-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--accent-cyan);
  padding-left: 0.8rem;
  color: var(--text-primary);
}

.company-services-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-domain-card {
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  transition: var(--transition-smooth);
}

.service-domain-card:hover {
  background: rgba(15, 23, 42, 0.03);
  border-color: rgba(15, 23, 42, 0.1);
  transform: translateY(-4px);
}

.service-domain-card h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--accent-purple);
  border-bottom: 1px dashed rgba(15, 23, 42, 0.1);
  padding-bottom: 0.5rem;
}

.service-domain-card ul {
  list-style: none;
}

.service-domain-card li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.service-domain-card li::before {
  content: "•";
  color: var(--accent-cyan);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Works Filter Navigation Styles */
.works-filter-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 2.5rem auto 0 auto;
  max-width: 800px;
}

.filter-btn {
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid var(--surface-border);
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  color: var(--text-secondary);
  font-family: var(--ff-headings);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover {
  background: rgba(15, 23, 42, 0.06);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.15);
}

/* Detailed Works Card Enhancements */
.work-card-detailed {
  border: 1px solid var(--surface-border);
}

.no-img-card {
  border-left: 4px solid var(--accent-purple);
}

.card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.filter-item {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Featured Experience Role Card */
.current-role-container {
  max-width: 1200px;
  margin: 0 auto;
}

.current-role-card {
  padding: 3rem;
  border: 1px solid var(--surface-border);
  background: linear-gradient(180deg, var(--surface-color), rgba(255, 255, 255, 0.5));
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.04);
}

.role-card-header {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  border-bottom: 1px solid var(--surface-border);
  padding-bottom: 1.2rem;
  margin-bottom: 1.5rem;
}

.role-logo-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(139, 92, 246, 0.15));
  border: 1px solid rgba(14, 165, 233, 0.2);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.08);
}

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

.role-meta .role-date {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.2rem;
}

.role-meta h3 {
  font-size: 1.45rem;
  margin-bottom: 0.1rem;
}

.role-meta h4 {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.role-desc {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

.role-cta .btn {
  padding: 0.6rem 1.6rem;
  font-size: 0.9rem;
}

/* Featured Project Redirect Link */
.project-card-link {
  display: inline-block;
  font-family: var(--ff-headings);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-decoration: none;
  margin-top: 1rem;
  transition: var(--transition-smooth);
}

.project-card-link:hover {
  color: var(--accent-purple);
  transform: translateX(5px);
}

/* Refined Leadership Grid Styles */
.leadership-card-header {
  display: flex;
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid var(--surface-border);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.leader-icon-wrapper {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}

.role-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.role-item {
  border-bottom: 1px dashed rgba(15, 23, 42, 0.06);
  padding-bottom: 1.2rem;
}

.role-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.role-item-header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.4rem;
}

.role-item-header strong {
  font-size: 1.02rem;
  color: var(--text-primary);
}

.role-company {
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-purple);
}

.role-item-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .role-item-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }
}

/* Role capabilities grid inside experience card */
.role-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.role-cap-item {
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02);
}

.role-cap-item:nth-child(1) { border-left: 4px solid var(--accent-purple); }
.role-cap-item:nth-child(2) { border-left: 4px solid var(--accent-cyan); }
.role-cap-item:nth-child(3) { border-left: 4px solid #ec4899; } /* Pink */
.role-cap-item:nth-child(4) { border-left: 4px solid #eab308; } /* Yellow */
.role-cap-item:nth-child(5) { border-left: 4px solid var(--accent-green); }
.role-cap-item:nth-child(6) { border-left: 4px solid #f97316; } /* Orange */

.role-cap-item:hover {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.role-cap-item strong {
  display: block;
  font-family: var(--ff-headings);
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.role-cap-item:nth-child(1) strong { color: var(--accent-purple); }
.role-cap-item:nth-child(2) strong { color: var(--accent-cyan); }
.role-cap-item:nth-child(3) strong { color: #ec4899; }
.role-cap-item:nth-child(4) strong { color: #d97706; } /* Darker amber */
.role-cap-item:nth-child(5) strong { color: #059669; } /* Darker emerald */
.role-cap-item:nth-child(6) strong { color: #ea580c; } /* Darker orange */

.role-cap-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .role-capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .role-capabilities-grid {
    grid-template-columns: 1fr;
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  background-color: #20ba5a;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
  }
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

/* Home Page Education Card Styles */
.education-summary-card {
  padding: 3rem;
  border: 1px solid var(--surface-border);
}

.edu-summary-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
  text-align: left;
}

.edu-summary-list::before {
  display: none;
}

.edu-summary-item {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  padding: 1.2rem 1.8rem;
  background: var(--surface-color);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.edu-dot-indicator {
  display: none;
}

.edu-summary-item:nth-child(1) {
  border-left: 4px solid var(--accent-cyan);
}
.edu-summary-item:nth-child(2) {
  border-left: 4px solid var(--accent-purple);
}
.edu-summary-item:nth-child(3) {
  border-left: 4px solid var(--accent-green);
}

.edu-summary-item:hover {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.edu-summary-item:nth-child(1) h4 { color: var(--accent-cyan); }
.edu-summary-item:nth-child(2) h4 { color: var(--accent-purple); }
.edu-summary-item:nth-child(3) h4 { color: #059669; } /* Darker green */

.edu-summary-details h4 {
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.edu-summary-details p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.edu-summary-cta {
  text-align: center;
}

/* Blog Section & Cards Styling */
.blog-section {
  padding: 5rem 0;
}

.blog-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

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

.blog-img-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-bottom: 1px solid var(--surface-border);
}

.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.blog-card:hover .blog-img {
  transform: scale(1.05);
}

.blog-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  display: inline-block;
}

.blog-date {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
  font-weight: 500;
  display: block;
}

.blog-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  line-height: 1.4;
  color: var(--text-primary);
}

.blog-info p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-tags span {
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid var(--surface-border);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}
