/* 
 * JFD TECH - Premium Design System
 * Modern, responsive, and performance-optimized.
 */

@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Plus+Jakarta+Sans:wght@300;400;600;700&display=swap");

:root {
  /* Color Palette - Premium HSL */
  --primary-h: 210;
  --primary-s: 100%;
  --primary-l: 50%;

  --primary: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
  --primary-dark: hsl(var(--primary-h), var(--primary-s), 40%);
  --primary-light: hsl(var(--primary-h), var(--primary-s), 90%);

  --bg-main: #ffffff;
  --bg-secondary: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;

  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg:
    0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-premium: 0 20px 50px rgba(0, 119, 194, 0.15);

  /* Spacing & Sizes */
  --nav-height: 80px;
  --container-width: 1200px;
  --radius: 16px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Tokens */
[data-theme="dark"] {
  --bg-main: #020617;
  --bg-secondary: #0f172a;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border: #1e293b;
  --glass: rgba(15, 23, 42, 0.8);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow-premium: 0 20px 50px rgba(0, 0, 0, 0.5);
}

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

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

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.5s ease;
}

h1,
h2,
h3,
h4 {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 100px 0;
}

.grid {
  display: grid;
  gap: 2rem;
}

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

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-secondary {
  background-color: var(--bg-secondary);
}

/* Navigation - Glassmorphism */
nav#navbar {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

nav#navbar.scrolled {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 70px;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

nav.toc,
.toc {
  position: static !important;
  display: block !important;
  height: auto !important;
  width: auto !important;
  top: auto !important;
  left: auto !important;
  z-index: auto !important;
  border-bottom: none !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 1.25rem !important;
  border-radius: var(--radius) !important;
  margin-bottom: 2rem !important;
}

.nav-container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 50px;
  transition: var(--transition);
}

nav.scrolled .logo-img {
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links a i {
  font-size: 0.85rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

a:hover {
  color: var(--primary);
}

/* Theme Toggle */
.theme-toggle {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: var(--transition);
}

.theme-toggle:hover {
  transform: rotate(15deg);
  border-color: var(--primary);
}

.light-icon {
  display: none;
}

[data-theme="dark"] .light-icon {
  display: block;
}

[data-theme="dark"] .dark-icon {
  display: none;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff !important;
  box-shadow: 0 10px 20px -5px rgba(0, 119, 194, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(0, 119, 194, 0.5);
  background: var(--primary-dark);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--border);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-height);
  padding-bottom: 80px;
  background:
    radial-gradient(
      circle at 90% 10%,
      hsla(var(--primary-h), 100%, 50%, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 10% 90%,
      hsla(var(--primary-h), 100%, 50%, 0.05) 0%,
      transparent 50%
    );
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
}

.hero p {
  font-size: clamp(1.1rem, 3vw, 1.25rem);
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.eyebrow {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.12);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.hero-problem {
  margin-top: 1.5rem;
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 600;
}

.proof-strip {
  padding-top: 0;
  margin-top: -2rem;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1.25rem;
}

.proof-item {
  text-align: center;
  padding: 1rem 0.75rem;
}

.proof-item strong {
  display: block;
  color: var(--primary);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.2rem;
}

.proof-item span {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.case-study-card {
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.case-study-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.case-study-card .case-study-body {
  padding: 1.5rem;
}

.case-study-card .case-study-tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.case-study-card h3 {
  margin: 0.75rem 0 0.5rem;
  font-size: 1.5rem;
}

.case-study-card p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.case-study-card .case-study-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.service-card {
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.service-card i {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.service-card h3 {
  margin-bottom: 0.8rem;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.service-card ul {
  list-style: disc;
  padding-left: 1.1rem;
  color: var(--text-main);
  display: grid;
  gap: 0.5rem;
  font-size: 0.92rem;
}

.service-card .btn {
  margin-top: 1.2rem;
}

/* Cards */
.card {
  background: var(--bg-main);
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}

.card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: var(--shadow-premium);
}

.card i {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

/* Portfolio Items */
.portfolio-item {
  background: var(--bg-main);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.portfolio-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.portfolio-app-banner {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.portfolio-app-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 6px;
  background: #fcd353;
  color: #111111;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(252, 211, 83, 0.2);
  transition: all 0.25s ease;
}

.portfolio-app-cta:hover {
  background: #f47920;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(244, 121, 32, 0.25);
}

.portfolio-app-icon-wrapper {
  width: 110px;
  height: 110px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-app-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-info {
  padding: 1.5rem;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.team-card {
  background: var(--bg-main);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-premium);
  border-color: var(--primary);
}

.team-img-wrapper {
  height: 240px;
  /* Adjusted for circular layout */
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2rem;
}

.team-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  /* Perfect circle */
  transition: var(--transition);
  border: 4px solid var(--bg-secondary);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-card:hover .team-img {
  transform: scale(1.05) translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 15px 30px rgba(0, 128, 255, 0.2);
}

.team-info {
  padding: 2rem;
}

.team-info h3 {
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.team-info p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.team-social a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.team-social a:hover {
  background: var(--primary);
  color: white;
}

/* Official Social Brand Colors on Hover */
.team-social a[aria-label="LinkedIn"]:hover,
.social-links a[aria-label="LinkedIn"]:hover {
  background: #0077b5;
  border-color: #0077b5;
  color: white;
}

.team-social a[aria-label="GitHub"]:hover,
.social-links a[aria-label="GitHub"]:hover {
  background: #333;
  border-color: #333;
  color: white;
}

/* Footer */
footer {
  background: var(--bg-secondary);
  padding: 50px 0 30px;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 20px;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-logo-img {
  height: 55px;
  width: auto;
  margin-bottom: 1.5rem;
}

[data-theme="dark"] .footer-logo-img,
[data-theme="dark"] .logo-img {
  filter: brightness(0) invert(1);
}

.footer-logo p {
  color: var(--text-muted);
}

.footer-links h3,
.footer-social h3 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
}

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

.social-links {
  display: flex;
  gap: 1.25rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.social-links a:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-3px);
}

.social-links a[aria-label="Facebook"]:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.social-links a[aria-label="Instagram"]:hover {
  background: #e4405f;
  border-color: #e4405f;
}

.social-links a[aria-label="WhatsApp"]:hover {
  background: #25d366;
  border-color: #25d366;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 25px;
  padding-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Responsive Grids */
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 2rem;
}

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

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.nav-toggle {
  display: none;
}

/* Responsive */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Compact desktop styling for intermediate viewports (1025px - 1200px) */
@media (min-width: 1025px) and (max-width: 1200px) {
  .nav-links {
    gap: 1.25rem;
  }
  .nav-links a {
    font-size: 0.9rem;
    gap: 0.4rem;
  }
  .nav-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* Updated Mobile Navigation Breakpoint (up to 1024px) */
@media (max-width: 1024px) {
  :root {
    --nav-height: 60px;
  }

  .logo-img {
    height: 40px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-main);
    flex-direction: column;
    justify-content: flex-start; /* Aligns items to the top to support scrolling */
    padding: 90px 2rem 40px; /* Generous padding to clear the header */
    overflow-y: auto; /* Enables vertical scrolling on short screens */
    transition: 0.5s ease;
    z-index: 999;
    gap: 1.5rem;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-toggle {
    display: block;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    color: var(--text-main);
  }
}

/* Optimization for mobile landscape / short viewports (height <= 580px) */
@media (max-height: 580px) and (max-width: 1024px) {
  .nav-links {
    padding-top: 75px;
    padding-bottom: 30px;
    gap: 0.85rem;
  }
  .nav-links a {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 40px 0;
  }

  .hero {
    min-height: auto !important;
    padding: 100px 0 80px !important;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .card {
    padding: 1.5rem !important;
  }

  /* Fix flex items that should stack on mobile */
  .flex-mobile-stack {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 1rem !important;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  /* Team Grid Tweak */
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
  }

  /* Footer mobile centering */
  .footer-logo {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-links {
    text-align: center;
  }
  .footer-links ul {
    justify-items: center;
  }
  .footer-social {
    text-align: center;
  }
  .social-links {
    justify-content: center;
  }
  .footer-legal-links {
    align-items: center;
  }
  .footer-cta {
    align-items: center;
  }
  .footer-trust-list li {
    justify-content: center;
  }
  .footer-contact-details {
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 30px 0;
  }
}

/* Hero Trust Counter Component */
.hero-stats {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 4rem;
  padding: 1.5rem 2rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.hero-stats:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-premium);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 150px;
}

.stat-number {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

/* Responsive adjustments for Trust Counter */
@media (max-width: 768px) {
  .hero-stats {
    margin-top: 3rem;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }

  .stat-item {
    min-width: 120px;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 2rem;
    align-items: stretch;
  }

  .stat-item {
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.5rem;
  }

  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}
/* Booking Page Layout */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 992px) {
  .booking-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Custom Booking/Contact Form Styling */
.form-group {
  margin-bottom: 1rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-group label .required {
  color: #ef4444;
  margin-left: 0.25rem;
}

.form-group label .optional {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 400;
  margin-left: 0.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-secondary);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 119, 194, 0.15);
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #ef4444;
  background-color: rgba(239, 68, 68, 0.02);
}

.form-group .error-msg {
  display: none;
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 0.35rem;
  font-weight: 500;
}

.form-group.error .error-msg {
  display: block;
}

.success-message {
  display: none;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 8px;
  color: #22c55e;
  margin-top: 1.5rem;
  font-weight: 600;
}

.success-message.active {
  display: flex;
}

/* Breadcrumb Styling */
.breadcrumb-trail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.breadcrumb-trail a {
  color: var(--text-muted);
}

.breadcrumb-trail a:hover {
  color: var(--primary);
}

.breadcrumb-trail .separator {
  font-size: 0.75rem;
  color: var(--border);
}

.breadcrumb-trail .current {
  color: var(--primary);
}

/* Tech Stack Logo Bar Styles */
.tech-bar {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.tech-bar-title {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.tech-strip {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  opacity: 0.6;
  transition: var(--transition);
}

.tech-item:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.tech-item i {
  font-size: 2rem;
}

.tech-item .badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 8px;
  background: var(--border);
  color: var(--text-main);
  font-size: 0.75rem;
  font-weight: 800;
}

@media (max-width: 768px) {
  .tech-strip {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .tech-item {
    flex: 0 0 auto;
    scroll-snap-align: center;
  }
}

/* Team Page Skill Tags Styles */
.team-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
  justify-content: center;
}

.skill-tag {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg-secondary);
  color: var(--text-main);
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.team-card:hover .skill-tag {
  border-color: var(--primary);
  color: var(--primary);
}

/* Why Work With Us Section Styles */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.why-icon {
  flex: 0 0 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon i {
  font-size: 1.5rem;
}

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

/* WhatsApp Brand Button Styles consolidated at the end of file */

/* Contact Link Styles */
.contact-link {
  color: var(--primary);
  font-weight: 600;
  word-break: break-all;
  transition: var(--transition);
}

.contact-link:hover {
  text-decoration: underline;
}

/* Sub-page Hero modifier to override 100vh height */
.hero.hero-sub {
  min-height: auto;
  height: auto;
  padding-top: calc(var(--nav-height) + 5rem);
  padding-bottom: 5rem;
}

/* Accessibility — Task 1: Focus Ring Styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--primary) !important;
  outline-offset: 3px !important;
}

/* Ensure focus outline respects rounded boundaries */
.btn:focus-visible,
.theme-toggle:focus-visible,
.team-social a:focus-visible,
.social-links a:focus-visible {
  border-radius: 50px !important;
}

.theme-toggle:focus-visible {
  border-radius: 50% !important;
}

/* Ensure dark mode toggle focus ring is not clipped by navbar bounds */
.theme-toggle-wrapper {
  overflow: visible !important;
}

/* Accessibility — Task 2: Skip to Content Link Styles */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--primary);
  color: #ffffff !important;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  font-size: 0.95rem;
  z-index: 10001;
  /* Layer over navbar and mobile toggles */
  box-shadow: var(--shadow-lg);
  transition: top 0.2s ease-in-out;
}

.skip-link:focus-visible {
  top: 0;
  outline: 2px solid #ffffff !important;
  outline-offset: -4px !important;
}

/* Accessibility — Task 5: Mobile Touch Target Adjustments */
@media (max-width: 768px) {
  /* Expand theme toggle touch target */
  .theme-toggle {
    position: relative;
  }

  .theme-toggle::after {
    content: "";
    position: absolute;
    top: -2px;
    bottom: -2px;
    left: -2px;
    right: -2px;
    border-radius: 50%;
    pointer-events: auto;
    /* Force tap capture in mobile browsers */
  }

  /* Expand footer social links touch target */
  .social-links a {
    position: relative;
  }

  .social-links a::after {
    content: "";
    position: absolute;
    top: -2px;
    bottom: -2px;
    left: -2px;
    right: -2px;
    border-radius: 50%;
    pointer-events: auto;
    /* Force tap capture in mobile browsers */
  }
}

/* WhatsApp Float Wrapper */
.whatsapp-float-wrapper {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: inline-flex;
  align-items: flex-end;
}

/* Fixed WhatsApp Float Button */
.whatsapp-float {
  position: relative;
  bottom: auto;
  right: auto;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: auto;
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  background: #1ebe5d;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Close button */
.whatsapp-float-close {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  background: #ffffff;
  color: #333333;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  transition:
    background 0.2s ease,
    color 0.2s ease;
  padding: 0;
  line-height: 1;
}

.whatsapp-float-close:hover {
  background: #ff4444;
  color: #ffffff;
}

/* Hidden state */
.whatsapp-float-wrapper.is-hidden {
  display: none;
}

@media (max-width: 768px) {
  .whatsapp-float-wrapper {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

/* Contact Page WhatsApp Button Icon Alignment */
.whatsapp-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem;
  padding: 0.65rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
}

.whatsapp-btn i {
  color: #25d366;
  font-size: 1.2rem;
  line-height: 1;
  margin: 0;
  vertical-align: middle;
}

/* Footer Quick Links — Two Column Layout */
.footer-links ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 768px) {
  .footer-links ul {
    grid-template-columns: 1fr;
  }
}

/* Footer Trust List — left column */
.footer-trust-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-trust-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.footer-trust-list li i {
  color: var(--primary);
  font-size: 0.85rem;
  width: 16px;
  text-align: center;
}

/* Footer Legal Links — right column */
.footer-legal-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.footer-legal-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: var(--transition);
}

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

/* Footer Mini CTA */
.footer-cta {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-cta p {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0;
}
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  width: fit-content;
}

.footer-contact-details a:hover {
  color: var(--primary);
}

/* ==========================================================================
   Blog Content Styles & Mobile Responsiveness Fixes
   ========================================================================== */
.blog-body {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text-main);
}

.blog-body p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.blog-body h2 {
  margin: 2.5rem 0 1rem;
  font-size: 1.75rem;
  font-family: "Outfit", sans-serif;
}

.blog-body h3 {
  margin: 2rem 0 1rem;
  font-size: 1.4rem;
  font-family: "Outfit", sans-serif;
}

.blog-body ul, 
.blog-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.blog-body ul li {
  list-style-type: disc;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.blog-body ol li {
  list-style-type: decimal;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.blog-body blockquote {
  border-left: 4px solid var(--primary);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.blog-body pre {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 1.25rem;
  border-radius: var(--radius);
  overflow-x: auto; /* Adds custom scroll bar in pre block for code on mobile */
  margin-bottom: 1.5rem;
  max-width: 100%;
  box-shadow: var(--shadow-sm);
}

.blog-body code {
  font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
  font-size: 0.9rem;
  background: var(--bg-secondary);
  color: var(--text-main);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

.blog-body pre code {
  padding: 0;
  background: transparent;
  border-radius: 0;
  display: block;
}

@media (max-width: 768px) {
  .blog-body h2 {
    font-size: 1.5rem;
  }
  .blog-body h3 {
    font-size: 1.25rem;
  }
  .blog-body p, 
  .blog-body ul li, 
  .blog-body ol li {
    font-size: 1rem;
  }
  /* Force responsive cards to wrap padding safely */
  .card {
    padding: 1.5rem !important;
  }
}

/* ==========================================================================
   Author Bio Card Styling
   ========================================================================== */
.author-card {
  margin-top: 4rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 2.5rem;
  background: var(--bg-main);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.author-card-avatar {
  width: 180px;
  height: 180px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  transition: var(--transition);
  border: 4px solid var(--bg-secondary);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.author-card-info {
  flex: 1;
  min-width: 0;
}

.author-card-info h4 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.author-card-info p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.author-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.author-card-link:hover {
  color: var(--primary-dark);
}

/* Overrides to stop global `.card i` rule bleeding */
.author-card i {
  font-size: 1.1rem !important;
  margin-bottom: 0 !important;
  display: inline-block !important;
  color: #0077b5; /* LinkedIn Brand Color */
}

/* Mobile Responsive Stacked Card Layout */
@media (max-width: 768px) {
  .author-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }
  .author-card-avatar {
    width: 180px;
    height: 180px;
  }
  .author-card-link {
    justify-content: center;
  }
}

.author-card:hover .author-card-avatar {
  transform: scale(1.05) translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 15px 30px rgba(0, 128, 255, 0.2);
}

/* ==========================================================================
   Smooth Scrolling and 2-Column Blog Layout
   ========================================================================== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Offset for sticky header margins */
}

/* Blog 2-Column Layout Grid */
.blog-layout-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 6rem;
  align-items: start;
}

.blog-main-content {
  min-width: 0; /* Prevents layout overflows */
}

/* Sidebar styling */
.blog-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 2.5rem);
  max-height: calc(100vh - var(--nav-height) - 4rem);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-right: 0.5rem;
}

/* Custom Premium Thin Scrollbar for Sidebar */
.blog-sidebar::-webkit-scrollbar {
  width: 4px;
}
.blog-sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.blog-sidebar::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
.blog-sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.sidebar-widget {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-family: "Outfit", sans-serif;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  color: var(--text-main);
  border-bottom: 2px solid var(--primary);
  width: fit-content;
  padding-bottom: 0.25rem;
}

.widget-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.widget-list li a {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  line-height: 1.4;
  display: block;
  transition: var(--transition);
}

.widget-list li a:hover,
.widget-list li.active a {
  color: var(--primary);
  transform: translateX(3px);
}



/* Responsive adjustments */
@media (max-width: 992px) {
  .blog-layout-container {
    gap: 2rem;
    grid-template-columns: 240px 1fr;
  }
}



/* Premium Responsive Table Styles */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* Smooth momentum scrolling on iOS */
  margin: 2rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

table {
  width: 100%;
  min-width: 750px; /* Prevents columns from squishing on mobile screen viewports */
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
  background: var(--bg-secondary);
}

th {
  background: var(--bg-main);
  color: var(--text-main);
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  padding: 1rem 1.25rem;
  border-bottom: 2px solid var(--border);
}

td {
  padding: 1rem 1.25rem;
  color: var(--text-main);
  border-bottom: 1px solid var(--border);
}

tr:last-child td {
  border-bottom: none;
}

tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.02); /* Subtle zebra striping in light mode */
}

/* Dark mode adjustment for zebra striping */
[data-theme="dark"] tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

/* ==========================================================================
   Blog Sidebar Toggle Button & Collapsible Layout
   ========================================================================== */
.sidebar-toggle-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.sidebar-toggle-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] .sidebar-toggle-btn:hover {
  background: rgba(0, 119, 194, 0.2);
  color: #3b82f6;
  border-color: #3b82f6;
}

/* Collapsible Layout Transitions */
.blog-layout-container {
  transition: grid-template-columns 0.4s cubic-bezier(0.4, 0, 0.2, 1), gap 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-layout-container.sidebar-collapsed {
  grid-template-columns: 0px 1fr;
  gap: 0;
}

.blog-sidebar {
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.blog-layout-container.sidebar-collapsed .blog-sidebar {
  opacity: 0;
  transform: translateX(-30px);
  visibility: hidden;
  pointer-events: none;
}

/* Sidebar Widget Close Button */
.sidebar-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: var(--transition);
}

.sidebar-close-btn:hover {
  color: var(--primary);
  transform: translateX(-2px);
}

/* Sidebar Show Button toggles */
.sidebar-show-btn {
  display: none !important; /* hidden by default when expanded */
}

.sidebar-collapsed .sidebar-show-btn {
  display: inline-flex !important; /* shown when collapsed */
}

/* Two-column responsive media layout */
.blog-media-row {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin: 2.5rem 0;
}

.blog-media-text {
  flex: 1.2;
  min-width: 0;
}

.blog-media-image {
  flex: 0.8;
  min-width: 0;
}

.blog-media-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .blog-layout-container,
  .blog-layout-container.sidebar-collapsed {
    grid-template-columns: 1fr;
    padding-top: calc(var(--nav-height) + 2rem);
    gap: 0;
  }
  
  .blog-sidebar {
    display: none; /* Hide sidebar completely on mobile viewports */
  }

  .sidebar-toggle-btn,
  .sidebar-show-btn,
  .sidebar-hide-btn {
    display: none !important;
  }

  .blog-media-row {
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
  }
  
  .blog-media-text,
  .blog-media-image {
    flex: none;
    width: 100%;
  }
}

/* ==========================================================================
   Share Button & Modal Popup Style (Zero Border Radius)
   ========================================================================== */
.blog-share-btn {
  display: inline-flex !important;
}

@media (max-width: 768px) {
  .sidebar-toggle-btn.blog-share-btn {
    display: inline-flex !important;
  }
}

.share-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 6, 23, 0.7); /* Custom dark theme glass overlay */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.share-modal.active {
  opacity: 1;
}

.share-modal-content {
  background: var(--bg-main);
  border: 1px solid var(--border);
  width: 90%;
  max-width: 480px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border-radius: 0 !important; /* STRICTLY ZERO BORDER RADIUS */
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.share-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
}

.share-modal-header h3 {
  font-family: "Outfit", sans-serif;
  font-size: 1.25rem;
  margin: 0;
  color: var(--text-main);
}

.share-modal-close {
  background: transparent;
  border: none;
  font-size: 1.75rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.share-modal-close:hover {
  color: var(--text-main);
  transform: scale(1.1);
}

.share-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.share-modal-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 0.75rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 0 !important; /* STRICTLY ZERO BORDER RADIUS */
}

.share-modal-item i {
  font-size: 1.75rem;
  transition: transform 0.2s ease;
}

.share-modal-item:hover {
  background: var(--bg-main);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.share-modal-item:hover i {
  transform: scale(1.15);
}

/* Platform Brand Colors on Hover */
#share-linkedin:hover {
  border-color: #0077b5;
  color: #0077b5;
}

#share-x:hover {
  border-color: var(--text-main);
  color: var(--text-main);
}

#share-instagram:hover {
  border-color: #e1306c;
  color: #e1306c;
}

#share-facebook:hover {
  border-color: #1877f2;
  color: #1877f2;
}

#share-copy:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Copy feedback text styling */
.share-modal-copy-status {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 1rem;
  min-height: 1.25rem;
  font-weight: 600;
  transition: var(--transition);
}

.share-modal-copy-status.success {
  color: #10b981;
}

.share-modal-copy-status.error {
  color: #ef4444;
}

#share-copy.copied {
  background: rgba(16, 185, 129, 0.1);
  border-color: #10b981;
  color: #10b981;
}


