.case-study-modal-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}


.case-study-modal-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: flex-start;
}
.case-study-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.case-study-image {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  background: #22223a;
  box-shadow: 0 0 32px 8px #7f5af0a0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-study-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}
.case-study-section-title {
  font-size: 1.1rem;
  color: #7f5af0;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.case-study-description {
  color: #e0e0ff;
  font-size: 1.08rem;
  line-height: 1.7;
}
.case-study-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.case-study-info-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.case-info-card {
  background: linear-gradient(135deg, #2a1850 60%, #7f5af0 100%);
  border-radius: 12px;
  box-shadow: 0 0 16px 2px #7f5af0a0;
  padding: 1rem 1.2rem;
  color: #fff;
  min-width: 180px;
  margin-bottom: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 1rem;
}
.case-info-label {
  color: #a78bfa;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.case-study-feedback-card {
  background: linear-gradient(135deg, #2a1850 60%, #7f5af0 100%);
  border-radius: 12px;
  box-shadow: 0 0 16px 2px #7f5af0a0;
  padding: 1.2rem 1.2rem 1rem 1.2rem;
  color: #fff;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.case-study-stars {
  color: #ffe066;
  font-size: 1.3rem;
  letter-spacing: 2px;
  margin-bottom: 0.3rem;
}
.case-study-feedback {
  color: #e0e0ff;
  font-size: 1rem;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .case-study-modal-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .case-study-info-cards {
    flex-direction: column;
    gap: 1rem;
  }
}

.case-study-modal-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(20, 20, 40, 0.65);
  z-index: 1;
}

@keyframes modalPopIn {
  0% { transform: scale(0.85) translateY(40px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.close-modal-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 3;
  transition: color 0.2s;
}
.close-modal-btn:hover {
  color: #d946ef;
}
.case-study-media {
  margin-bottom: 1.5rem;
  text-align: center;
}
.case-study-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #fff;
}
.case-study-description {
  color: #bdbdfc;
  margin-bottom: 1.2rem;
}
.case-study-details {
  background: rgba(99,102,241,0.08);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  color: #e0e0ff;
  font-size: 1rem;
  display: grid;
  gap: 0.5rem;
}
.case-study-details strong {
  color: #8b5cf6;
  font-weight: 700;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --font-family: 'Inter', sans-serif;
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --secondary-color: #6c757d;
  --background-color: #0f0f1f;
  --bg-secondary: #1a1a2e;
  --text-color: #ffffff;
  --text-secondary: #dcdcdc;
  --border-color: #2a2a4e;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
  --font-size-base: 16px;
  --line-height-base: 1.5;
  --border-radius: 8px;
  --spacing-unit: 1rem;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: url('../assets/img/hero-bg-1.webp') center/cover fixed;
  color: var(--text-color);
  overflow-x: hidden;
  position: relative;
}

/* iOS-Style Navigation Animations */
@keyframes navSlideUp {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes navbarExpand {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 1000px;
  }
}

@keyframes buttonSlideUp {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Bootstrap Navbar Customization */
.alpha-navbar {
  /* background: rgba(15, 15, 31, 0.8) !important; */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(99, 102, 241, 0.5);
  border-radius: 50px;
  margin: 20px auto;
  width: calc(100% - 40px);
  max-width: 1200px;
  padding: 0.75rem 2rem !important;
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  will-change: transform;
}

.navbar-brand {
  margin-right: auto;
  z-index: 10;
}

.logo-img {
  width: 200px;
  height: auto;
  object-fit: contain;
}

.navbar-nav {
  margin-left: auto;
  gap: 0;
}

.navbar-nav .nav-link {
  color: var(--text-color) !important;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  margin: 0 0.5rem;
  position: relative;
}

.navbar-nav .nav-link.active {
  background: linear-gradient(135deg, var(--primary-color), #8b5cf6) !important;
  border-radius: 25px !important;
  padding: 0.5rem 1.2rem !important;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.navbar-nav .nav-link:hover {
  color: var(--primary-light) !important;
}

/* Button Styles */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #8b5cf6) !important;
  color: white;
  border: none !important;
  padding: 0.85rem 2rem !important;
  border-radius: 50px !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  /* transition: var(--transition); */
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #8b5cf6, var(--primary-color));
  transition: left 0.4s ease;
  z-index: -1;
}

.btn-primary:hover::before {
  left: 0;
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4) !important;
  transform: translateY(-2px);
  color: white !important;
  text-decoration: none;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-glass {
  background: rgba(99, 102, 241, 0.15) !important;
  border: 2px solid rgba(99, 102, 241, 0.4);
  color: white;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50px;
  transition: all 0.3s ease;
}


.btn-glass:hover {
   background: linear-gradient(135deg, #0ea5e9, #3b82f6, #8b5cf6, #d946ef) !important;
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
  color: white !important;
  text-decoration: none;
  
}

.btn-glass:active {
  transform: translateY(0);
}

.btn-lg {
  padding: 0.95rem 2.5rem !important;
  font-size: 1.1rem !important;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 2rem !important;
  margin: 0 auto !important;
  margin-top: 80px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  /* background: url('../assets/img/hero-bg-1.webp') center/cover no-repeat; */
}

/* Hero Background Video */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  display: none;
}

/* Hero Content Wrapper */
.hero-content {
  position: relative;
  z-index: 0;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 0 1rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: var(--text-color);
  margin-bottom: 2rem;
}

.hero-title .highlight {
  font-weight: 900;
  background: linear-gradient(135deg, #0ea5e9, #3b82f6, #8b5cf6, #d946ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 2.5rem;
  max-width: 550px;
  font-weight: 400;
}

.hero .btn-lg {
  width: fit-content;
}

.hero-visual {
  position: relative;
  height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-shape {
  width: 100%;
  max-width: 450px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 40px rgba(99, 102, 241, 0.15));
}

.glass-box {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.08));
  border: 2px solid rgba(99, 102, 241, 0.4);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 48px rgba(99, 102, 241, 0.2), inset 0 2px 2px rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.glass-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(131, 142, 248, 0.2) 0%, transparent 70%);
  animation: glow 8s ease-in-out infinite;
}

.glass-box-1 {
  animation: float 6s ease-in-out infinite;
}

.glass-box-2 {
  animation: none;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes glow {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, -20px);
  }
}

/* Services Section */
.services {
  padding: 8rem 2rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.services-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  z-index: 0;
}

.services .container-lg {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #0ea5e9, #3b82f6, #8b5cf6, #d946ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem !important;
  line-height: 1.2;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0ea5e9, #3b82f6);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.service-card {
  background: linear-gradient(135deg, rgb(45 45 209 / 50%), rgba(31, 31, 52, 0.4)) !important;
  border: 1.5px solid rgba(99, 102, 241, 0.3) !important;
  border-radius: 20px !important;
  transition: all 0.35s cubic-bezier(0.4, 0.0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.12) !important;
  color: var(--text-color) !important;
  padding: 2rem !important;
}

.graphic-design-card {
  background: linear-gradient(135deg, rgb(45 45 209 / 50%), rgba(31, 31, 52, 0.4)) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.case-studies-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-top: 1rem;
  margin-bottom: 3rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.case-study-card {
  background: linear-gradient(135deg, rgb(45 45 209 / 50%), rgba(31, 31, 52, 0.4));
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  border-radius: 20px;
  overflow: visible;
  transition: all 0.35s cubic-bezier(0.4, 0.0, 0.2, 1);
  cursor: pointer;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.12);
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1rem;
}/* Sliding details panel that appears to the right of the card */
.service-details {
  position: absolute;
  top: 0;
  right: -420px;
  width: 380px;
  height: 100%;
  background: linear-gradient(135deg, rgba(18,18,30,0.7), rgba(31,31,52,0.6));
  border-left: 1.5px solid rgba(99, 102, 241, 0.18);
  padding: 1.25rem;
  box-shadow: -8px 0 24px rgba(0,0,0,0.45);
  transition: right 0.36s cubic-bezier(0.2, 0.9, 0.2, 1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--text-color);
  overflow-y: auto;
  z-index: 40;
}

.service-card.expanded .service-details {
  right: -2px;
}

.service-details h5 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.service-details ul {
  list-style: disc;
  padding-left: 1.1rem;
  margin: 0.5rem 0 0;
}

.service-actions {
  z-index: 30;
}

/* When any card expands, nudge the card slightly to the left to make room visually */
.service-card.expanded {
  transform: translateX(-12px);
}

/* Expanded Services Modal */
.service-details-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  pointer-events: none;
}

.service-details-modal.active {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.service-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 5000;
  cursor: pointer;
  pointer-events: auto;
}

.service-modal-container {
  position: relative;
  background: linear-gradient(135deg, rgb(45 45 209 / 50%), rgba(31, 31, 52, 0.4));
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  border-radius: 24px;
  padding: 3rem;
  max-width: 500px;
  width: 100%;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 25px 50px rgba(99, 102, 241, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  animation: modalIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  z-index: 5001;
  pointer-events: auto;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.close-modal-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 5002;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-touch-callout: none;
}

.close-modal-btn:hover,
.close-modal-btn:active {
  background: rgba(99, 102, 241, 0.4);
  border-color: rgba(99, 102, 241, 0.6);
}

.modal-content {
  text-align: left;
}

.modal-title {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #0ea5e9, #3b82f6, #8b5cf6, #d946ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.modal-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.modal-list {
  list-style: disc;
  padding-left: 1.5rem;
  text-align: left;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.9;
  margin: 0;
}

.modal-list li {
  margin-bottom: 0.7rem;
}

/* Responsive */
@media (max-width: 768px) {
  .service-modal-container {
    padding: 3.5rem 1.5rem 2rem 1.5rem;
    max-width: 95%;
    width: 100%;
  }

  .modal-title {
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 1rem;
    padding-right: 2.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .modal-description {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .modal-list {
    font-size: 0.9rem;
    padding-left: 1.2rem;
  }

  .close-modal-btn {
    width: 40px;
    height: 40px;
    top: 0.8rem;
    right: 0.8rem;
  }
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
  transition: left 0.6s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  border-color: rgba(99, 102, 241, 0.6) !important;
  background: linear-gradient(135deg, rgb(45 45 209 / 50%), rgba(31, 31, 52, 0.4)) !important;
  transform: translateY(-15px);
  /* box-shadow: 0 20px 60px rgba(99, 102, 241, 0.4) !important; */
}

.service-card:hover .card-body {
  background: transparent !important;
}

.graphic-design-card:hover {
  background: linear-gradient(135deg, rgb(45 45 209 / 50%), rgba(31, 31, 52, 0.4)) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Ensure card-body never has white background */
.service-card .card-body {
  background: transparent !important;
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  color: var(--primary-color);
  stroke-width: 1.5;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card .card-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #0ea5e9, #3b82f6, #8b5cf6, #d946ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.3px;
}

.service-card .card-text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-secondary) !important;
  font-weight: 400;
}

/* Stats Section */
.stats {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, rgb(45 45 209 / 50%), rgba(31, 31, 52, 0.4)) ;
  border: 1.5px solid rgba(99, 102, 241, 0.25);
  border-radius: 24px;
  position: relative;
  z-index: 1;
  margin: 4rem auto 3rem;
  max-width: 1200px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.12);
}

.stats .container-lg {
  max-width: 1200px;
  margin: 0 auto;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #aec2fa, #a283ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.stats .col-md-4:not(:last-child) {
  border-right: 2px solid rgba(99, 102, 241, 0.3);
  padding-right: 2rem;
}

/* Mobile responsive stats */
@media (max-width: 768px) {
  .stats .col-md-4:not(:last-child) {
    border-right: none;
    border-bottom: 2px solid rgba(99, 102, 241, 0.3);
    padding-right: 0;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
  }
  
  .stats .col-md-4:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
  }
}

/* Case Studies Section */
.case-studies {
  padding: 6rem 2rem;
  position: relative;
  z-index: 1;
  /* margin: 0 auto 4rem; */
}

.case-studies-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-top: 1rem;
  margin-bottom: 3rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.case-study-card {
  background: linear-gradient(135deg, rgb(45 45 209 / 50%), rgba(31, 31, 52, 0.4));
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  border-radius: 20px;
  overflow: visible;
  transition: all 0.35s cubic-bezier(0.4, 0.0, 0.2, 1);
  cursor: pointer;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.12);
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.case-study-card:hover {
  border-color: rgba(99, 102, 241, 0.6);
  background: linear-gradient(135deg, rgb(45 45 209 / 50%), rgba(31, 31, 52, 0.4));
  transform: translateY(-15px);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.4);
}

.case-study-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.case-study-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.case-study-card:hover .case-study-image img {
  transform: scale(1.05);
}

.case-study-content {
  padding: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.case-study-title {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0ea5e9, #3b82f6, #8b5cf6, #d946ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  letter-spacing: -0.3px;
}

.case-study-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Client Testimonials Section */
.client-testimonials {
  padding: 6rem 0;
  position: relative;
  z-index: 1;
  /* margin: 4rem 0; */
  width: 100%;
  overflow: hidden;
}

.client-testimonials .container-lg {
  max-width: 100%;
  margin: 0;
  padding: 0 2rem;
}

.client-testimonials .text-center {
  margin-bottom: 3rem;
  padding: 0 0;
}

.testimonials-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-top: 1rem;
  margin-bottom: 3rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.testimonial-card {
  background: linear-gradient(135deg, rgb(45 45 209 / 50%), rgba(31, 31, 52, 0.4));
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.35s cubic-bezier(0.4, 0.0, 0.2, 1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.12); */
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* .testimonial-card:hover {
  border-color: rgba(99, 102, 241, 0.6);
  background: linear-gradient(135deg, rgb(45 45 209 / 50%), rgba(31, 31, 52, 0.4));
  transform: translateY(-15px);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.4);
} */

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(99, 102, 241, 0.4);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info {
  flex-grow: 1;
}

.testimonial-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 0.25rem 0;
  letter-spacing: -0.3px;
}

.testimonial-company {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
}

.testimonial-rating .star {
  font-size: 1rem;
  color: #fbbf24;
  letter-spacing: 0.2rem;
}

/* Schedule Meeting Section */
.schedule-meeting {
  padding: 6rem 2rem;
  position: relative;
  z-index: 1;
  margin: 4rem 0;
}

.schedule-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.schedule-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, rgb(45 45 209 / 15%), rgba(31, 31, 52, 0.15));
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  backdrop-filter: blur(10px);
}

.contact-card {
  background: linear-gradient(135deg, rgb(45 45 209 / 15%), rgba(31, 31, 52, 0.15));
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.schedule-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 700px;
  margin: 0 auto;
}

.schedule-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-title {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0ea5e9, #3b82f6, #8b5cf6, #d946ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.contact-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
}

.contact-form .form-input {
  padding: 0.875rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.contact-form .form-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.contact-form .form-textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.btn-contact-submit {
  margin-top: 0.5rem;
}

.schedule-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
}

.schedule-benefits {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.benefit-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0ea5e9, #3b82f6);
  border-radius: 50%;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.benefit-text {
  font-size: 1rem;
  color: var(--text-color);
  font-weight: 500;
}

.schedule-right {
  display: flex;
  align-items: center;
}

.schedule-form {
  background: rgba(99, 102, 241, 0.05);
  border: 1.5px solid rgba(99, 102, 241, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  width: 100%;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input {
  padding: 0.75rem 1rem;
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 8px;
  color: var(--text-color);
  font-size: 0.95rem;
  font-family: var(--font-family);
  transition: all 0.3s ease;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-input:focus {
  outline: none;
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.2);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  margin-top: 1rem;
  padding: 0.85rem 2rem !important;
  font-weight: 600;
  font-size: 0.95rem;
  width: 100%;
}

@media (max-width: 1024px) {
  .schedule-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .schedule-title {
    font-size: 2rem;
  }

  .schedule-form {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .schedule-meeting {
    padding: 3rem 1.5rem;
  }

  .schedule-content {
    gap: 1.5rem;
  }

  .schedule-title {
    font-size: 1.5rem;
  }

  .schedule-description {
    font-size: 0.95rem;
  }

  .schedule-form {
    padding: 1.5rem;
  }

  .form-input {
    padding: 0.65rem 0.85rem;
    font-size: 0.9rem;
  }
}

/* Case Studies Grid */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
  margin: 2rem 0;
}

@media (max-width: 1024px) {
  .case-studies-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .case-studies-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Carousel Styles */
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 2rem 0;
  padding: 1rem 2rem;
  width: 100%;
  overflow: visible;
}

.carousel-container {
  flex-grow: 1;
  overflow: hidden;
  width: 100%;
  padding: 0 1rem;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: calc(100% - 2rem);
  padding: 0;
  transition: all 0.35s cubic-bezier(0.4, 0.0, 0.2, 1);
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .carousel-slide {
    min-width: calc(50% - 1rem);
    padding: 0;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .carousel-slide {
    min-width: calc(50% - 1rem);
    padding: 0;
  }

  .testimonial-card {
    padding: 1.75rem;
  }

  .testimonial-text {
    font-size: 0.95rem;
  }

  .carousel-wrapper {
    gap: 1rem;
    padding: 0 1rem;
  }

  .carousel-btn {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
}

@media (min-width: 1024px) {
  .carousel-slide {
    min-width: calc(33.333% - 1.3rem);
    padding: 0;
  }
}

.carousel-btn {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.1));
  border: 1.5px solid rgba(99, 102, 241, 0.4);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-color);
  font-size: 1.5rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
  z-index: 2;
}

.carousel-btn:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(99, 102, 241, 0.2));
  border-color: rgba(99, 102, 241, 0.7);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
  transform: scale(1.1);
}

.carousel-prev {
  order: -1;
}

.carousel-next {
  order: 1;
}

/* Premium Experience Section */
.premium-experience {
  padding: 8rem 2rem;
  position: relative;
  z-index: 1;
  margin: 0 auto 8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1200px;
}

.premium-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.premium-content .section-title {
  text-align: left;
  margin-bottom: 1.5rem;
  font-size: 3rem;
}

.premium-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.9;
  max-width: 480px;
  font-weight: 400;
}

.premium-btn {
  width: fit-content;
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.premium-visual {
  position: relative;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 20px 50px rgba(99, 102, 241, 0.15));
}

/* CTA Section */
.cta-section {
  padding: 6rem 2rem;
  position: relative;
  z-index: 1;
  /* margin: 4rem 0; */
  /* background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.05));
  border-top: 1.5px solid rgba(99, 102, 241, 0.2);
  border-bottom: 1.5px solid rgba(99, 102, 241, 0.2); */
}

.cta-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.cta-title {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0ea5e9, #3b82f6, #8b5cf6, #d946ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
  max-width: 600px;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.cta-buttons .btn {
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
}

/* Footer */
.footer {
  /* background: url('../assets/img/footer-bg.webp') center/cover no-repeat; */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(99, 102, 241, 0.25);
  padding: 2rem;
  position: relative;
  z-index: 1;
  /* margin-top: 4rem; */
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  padding: 0 2rem 1.5rem;
  border-bottom: 1px solid rgba(99, 102, 241, 0.15);
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-light), #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-logo-img {
  width: 200px;
  height: auto;
  object-fit: contain;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  max-width: 200px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 50%;
  color: var(--text-color);
  transition: var(--transition);
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.social-link:hover {
  background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
  border-color: var(--primary-light);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-section h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-color);
  letter-spacing: -0.3px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
  display: inline-block;
  line-height: 1.4;
}

.footer-links a:hover {
  color: var(--primary-light);
  transform: translateX(5px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 1rem 2rem 0;
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.footer-bottom a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: var(--primary-light);
}

/* Responsive Design */
@media (max-width: 768px) {
  .cta-title {
    font-size: 1.75rem;
  }

  .cta-subtitle {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .cta-section {
    padding: 4rem 1.5rem;
  }

  .navbar {
    top: 10px;
    width: calc(100% - 20px);
    padding: 0.5rem 1rem;
  }

  .navbar-container {
    gap: 1rem;
  }

  .logo {
    gap: 0.5rem;
  }

  .logo-img {
    width: 200px;
    height: auto;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  .nav-menu {
    gap: 1rem;
    display: none;
  }

  .nav-link {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }

  .nav-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
    margin-left: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 10rem 1.5rem 2rem;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-visual {
    height: 300px;
  }

  .services {
    padding: 3rem 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 767px) {
  .navbar {
    width: calc(100% - 10px);
    padding: 0.5rem 0.75rem;
  }

  .logo-text {
    font-size: 1rem;
  }

  .nav-btn {
    display: none;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .nav-menu {
    display: none;
  }

  .stat-number {
    font-size: 2rem;
  }

  .premium-content .section-title {
    font-size: 1.8rem;
  }

  /* Carousel mobile responsive */
  .carousel-wrapper {
    gap: 0.75rem;
    margin: 1.5rem 0;
    padding: 0;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    flex-shrink: 0;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
  }

  .carousel-container {
    width: 100%;
    padding: 0 0.75rem;
  }

  .carousel-track {
    gap: 1rem;
  }

  .carousel-slide {
    min-width: 100% !important;
    padding: 0;
  }

  /* Case Studies mobile */
  .case-studies {
    padding: 3rem 1rem;
    margin: 0 auto 2rem;
  }

  .case-studies-subtitle {
    font-size: 0.95rem;
    /* margin-top: -1.5rem; */
    margin-bottom: 2rem;
  }

  .case-study-card {
    padding: 0.75rem;
  }

  .case-study-image {
    height: 150px;
    margin-bottom: 0.75rem;
  }

  .case-study-content {
    padding: 0.75rem;
  }

  .case-study-title {
    font-size: 1rem;
  }

  .case-study-description {
    font-size: 0.8rem;
  }

  /* Client Testimonials mobile */
  .client-testimonials {
    display: none;
  }

  .testimonials-subtitle {
    font-size: 0.95rem;
    /* margin-top: -1.5rem; */
    margin-bottom: 2rem;
  }

  .testimonial-card {
    padding: 1.5rem;
    min-height: 320px;
  }

  .testimonial-header {
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .testimonial-avatar {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
  }

  .testimonial-info {
    flex-grow: 1;
  }

  .testimonial-name {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }

  .testimonial-company {
    font-size: 0.85rem;
  }

  .testimonial-text {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }

  .testimonial-rating {
    font-size: 0.9rem;
  }
}

/* Bootstrap Utility Overrides */
.text-secondary {
  color: var(--text-secondary) !important;
}

/* .lead {
  font-size: 1.1rem !important;
  font-weight: 400 !important;
  color: var(--text-secondary) !important;
} */

.container-lg {
  max-width: 1200px;
  margin: 0 auto;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.2rem;
  }
  
  .hero-visual {
    height: 450px;
  }
  
  .section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem !important;
  }
  
  .stat-number {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 8rem 1.5rem 4rem !important;
    min-height: auto;
  }
  
  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .hero-visual {
    height: 350px;
    margin-top: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 2.5rem !important;
  }
  
  .services {
    padding: 5rem 1.5rem !important;
  }
  
  .stats {
    padding: 3rem 1.5rem;
    margin: 3rem auto 5rem !important;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .premium-experience {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 5rem 1.5rem;
    margin-bottom: 6rem;
  }
  
  .premium-content .section-title {
    font-size: 2rem;
    text-align: center;
  }
  
  .premium-description {
    text-align: center;
    max-width: 100%;
  }
  
  .premium-btn {
    width: 100%;
    margin: 0 auto;
  }
  
  .premium-visual {
    height: 350px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .alpha-navbar {
    width: 90% !important;
    padding: 0.6rem 1.2rem !important;
  }
  
  /* Mobile Navbar Expansion */
  .navbar-collapse {
    position: fixed !important;
    top: 80px;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 85vw;
    max-width: 520px;
    background: rgba(15, 15, 31, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    margin-top: 0 !important;
    padding: 1.5rem 1rem !important;
    box-shadow: 0 12px 48px rgba(99, 102, 241, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.08);
    overflow: hidden !important;
    max-height: 0;
    opacity: 0;
    transition: none !important;
    z-index: 999;
  }
  
  /* iOS-style expand animation - smooth glass morphism transition */
  .navbar-collapse.show {
    max-height: 1000px;
    opacity: 1;
    animation: navbarExpand 0.6s cubic-bezier(0.65, -0.05, 0.23, 1.02) forwards !important;
  }
  
  .navbar-nav {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    margin: 0 !important;
    border-radius: 12px;
    font-size: 1rem;
    display: block;
    text-align: left;
  }
  
  /* Staggered animation for nav links - smooth glass morphism fade */
  .navbar-collapse.show .navbar-nav .nav-link {
    animation: navSlideUp 0.5s ease-out forwards;
  }
  
  .navbar-collapse.show .navbar-nav .nav-link:nth-child(1) {
    animation-delay: 0.05s;
  }
  
  .navbar-collapse.show .navbar-nav .nav-link:nth-child(2) {
    animation-delay: 0.08s;
  }
  
  .navbar-collapse.show .navbar-nav .nav-link:nth-child(3) {
    animation-delay: 0.11s;
  }
  
  .navbar-collapse.show .navbar-nav .nav-link:nth-child(4) {
    animation-delay: 0.14s;
  }
  
  .navbar-collapse.show .navbar-nav .nav-link:nth-child(5) {
    animation-delay: 0.17s;
  }
  
  /* iOS-style animation for CTA button in mobile navbar */
  .navbar-collapse.show .btn-primary {
    animation: buttonSlideUp 0.5s ease-out forwards;
    animation-delay: 0.2s;
  }
  
  .navbar-nav .nav-link.active {
    padding: 0.75rem 1rem !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6) !important;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
  }
  
  .navbar-nav .nav-link:hover {
    background: rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding-left: 1.2rem !important;
  }
  
  .ms-3 {
    margin: 1rem 0 0 0 !important;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 1rem 1rem 0rem !important;
  }
  
  .hero-row {
    display: flex;
    flex-direction: column-reverse;
  }

  .hero-visual {
    display: none;
  }
  
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero-description {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
  }
  
  .section-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem !important;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stat-label {
    font-size: 0.9rem;
  }
  
  .services {
    padding: 3rem 1rem !important;
  }
  
  .stats {
    padding: 2rem 1rem;
    margin: 2rem auto 4rem !important;
    width: fit-content;
    max-width: 95%;
  }
  
  .service-card {
    padding: 1.25rem !important;
    overflow: hidden;
  }
  
  .service-details {
    display: none !important;
    pointer-events: none;
  }
  
  .service-actions {
    z-index: 50;
    position: relative;
    pointer-events: auto;
  }
  
  .more-details {
    pointer-events: auto !important;
    touch-action: manipulation;
    -webkit-touch-callout: none;
    cursor: pointer;
    user-select: none;
  }
  
  .service-icon {
    width: 55px;
    height: 55px;
    margin-bottom: 1rem;
  }
  
  .service-card .card-title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
  }
  
  .service-card .card-text {
    font-size: 0.9rem;
  }
  
  .btn-lg {
    width: 100%;
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
  }
  
  .premium-experience {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 3rem 1rem;
    margin-bottom: 4rem;
  }
  
  .premium-content .section-title {
    font-size: 1.5rem;
  }
  
  .premium-description {
    font-size: 0.95rem;
  }
  
  .premium-btn {
    width: 100%;
  }
  
  .premium-visual {
    height: 300px;
  }
  
  .footer {
    padding: 1.5rem 1rem 0.75rem;
    margin-top: 2rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }
  
  .footer-section h4 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }
  
  .alpha-navbar {
    width: 95% !important;
    padding: 0.5rem 1rem !important;
  }
  
  /* Mobile Navbar Expansion - Extra Small Screens */
  .navbar-collapse {
    width: 95vw;
    padding: 1.25rem 0.75rem !important;
  }
  
  .navbar-nav {
    gap: 0.35rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.65rem 0.85rem !important;
    font-size: 0.95rem;
  }
  
  .navbar-nav .nav-link.active {
    padding: 0.65rem 0.85rem !important;
  }
  
  .ms-3 {
    margin-left: 0 !important;
    margin-top: 1rem !important;
    width: 100%;
    padding: 0.75rem !important;
  }
  
  .btn-primary {
    width: 100%;
    padding: 0.75rem 1rem !important;
  }
}
.navbar-toggler {
  padding: 0.5rem 0.75rem !important;
  font-size: 1.25rem !important;
  line-height: 1;
  color: var(--text-color) !important;
  background-color: transparent;
  border: 1.5px solid rgba(99, 102, 241, 0.4) !important;
  border-radius: 12px;
  transition: var(--transition);
}

.navbar-toggler:hover,
.navbar-toggler:focus {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.6) !important;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Projects Page Styles */
.projects-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem !important;
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-top: 80px;
}

.projects-controls {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(99, 102, 241, 0.05));
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  color: var(--text-secondary);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0.0, 0.2, 1);
  font-weight: 500;
  font-size: 0.95rem;
}

.filter-btn:hover {
  border-color: rgba(99, 102, 241, 0.6);
  color: var(--text-color);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.1));
  transform: translateY(-2px);
}

.filter-btn.active {
  background: linear-gradient(135deg, #0ea5e9, #3b82f6, #8b5cf6, #d946ef);
  border-color: transparent;
  color: white;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.search-box {
  position: relative;
  min-width: 250px;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1.5rem 0.75rem 1rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(99, 102, 241, 0.05));
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  border-radius: 25px;
  color: var(--text-color);
  font-size: 0.95rem;
  transition: all 0.35s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.search-input::placeholder {
  color: rgba(220, 220, 220, 0.6);
}

.search-input:focus {
  outline: none;
  border-color: rgba(99, 102, 241, 0.6);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(99, 102, 241, 0.08));
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.search-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(220, 220, 220, 0.6);
  pointer-events: none;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  background: linear-gradient(135deg, rgb(45 45 209 / 50%), rgba(31, 31, 52, 0.4));
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  border-radius: 20px;
  overflow: visible;
  transition: all 0.35s cubic-bezier(0.4, 0.0, 0.2, 1);
  cursor: pointer;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.project-card.hidden-card {
  display: none;
}

.project-card.hidden-card.show {
  display: flex;
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-card:hover {
  border-color: rgba(99, 102, 241, 0.6);
  background: linear-gradient(135deg, rgb(45 45 209 / 50%), rgba(31, 31, 52, 0.4));
  transform: translateY(-15px);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.4);
}

.project-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.8), rgba(59, 130, 246, 0.8));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.project-content {
  padding: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-title {
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0ea5e9, #3b82f6, #8b5cf6, #d946ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
  letter-spacing: -0.3px;
  padding: 0 0 0 0;
}

.project-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background: rgba(99, 102, 241, 0.15);
  color: rgba(99, 102, 241, 0.9);
  padding: 0.35rem 0.75rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
}

.project-rating {
  white-space: nowrap;
}

.stars {
  color: #fbbf24;
  font-size: 0.9rem;
  letter-spacing: 0.1rem;
}

.btn-view-case {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.1));
  border: 1.5px solid rgba(99, 102, 241, 0.4);
  color: var(--text-color);
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0.0, 0.2, 1);
  font-weight: 600;
  font-size: 0.9rem;
  width: 100%;
  margin-top: auto;
}

.btn-view-case:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(99, 102, 241, 0.2));
  border-color: rgba(99, 102, 241, 0.6);
  color: #0ea5e9;
  transform: translateX(5px);
}

@media (max-width: 767px) {
  .projects-hero {
    padding: 4rem 1rem 2rem;
  }

  .projects-controls {
    flex-direction: column;
    gap: 1.5rem;
  }

  .filter-buttons {
    justify-content: center;
    gap: 0.75rem;
  }

  .filter-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }

  .search-box {
    min-width: 100%;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .project-card {
    flex-direction: column;
  }

  .project-image {
    width: 100%;
    height: 220px;
    flex-shrink: 0;
    margin-bottom: 1rem;
  }

  .project-content {
    padding: 0;
  }

  .project-title {
    font-size: 1.2rem;
  }

  .project-description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .project-meta {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn-view-case {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }
}

/* Contact Page Styles */
.contact-hero {
  /* min-height: 70vh; */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem  2rem 0rem !important;
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-top: 80px;
}

.contact-section {
  padding: 4rem 2rem;
  position: relative;
  z-index: 1;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Contact Info Side */
.contact-info-side {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}

.contact-info-card {
  background: linear-gradient(135deg, rgb(45 45 209 / 50%), rgba(31, 31, 52, 0.4));
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  border-radius: 24px;
  padding: 3rem 2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.12);
  width: 100%;
  transition: all 0.35s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.contact-info-card:hover {
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.4);
  transform: translateY(-5px);
}

.info-title {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0ea5e9, #3b82f6, #8b5cf6, #d946ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
  letter-spacing: -0.3px;
}

.info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.info-item:last-of-type {
  margin-bottom: 0;
}

.info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(59, 130, 246, 0.2));
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  border-radius: 12px;
  color: #0ea5e9;
  transition: all 0.35s ease;
}

.info-item:hover .info-icon {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.4), rgba(59, 130, 246, 0.4));
  border-color: rgba(99, 102, 241, 0.6);
  transform: scale(1.1);
}

.info-content {
  flex-grow: 1;
}

.info-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.2px;
}

.info-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.info-subtext {
  font-size: 0.85rem;
  color: rgba(220, 220, 220, 0.5);
  margin: 0.25rem 0 0 0;
}

.social-links-contact {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(99, 102, 241, 0.05));
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  border-radius: 12px;
  color: #0ea5e9;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.social-icon:hover {
  background: linear-gradient(135deg, #0ea5e9, #3b82f6, #8b5cf6, #d946ef);
  border-color: transparent;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.social-icon:hover {
  background: linear-gradient(135deg, #0ea5e9, #3b82f6, #8b5cf6, #d946ef);
  border-color: transparent;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

/* Contact Schedule Side */
.contact-schedule-side {
  display: flex;
  align-items: flex-start;
}

.schedule-brief-card {
  background: linear-gradient(135deg, rgb(45 45 209 / 50%), rgba(31, 31, 52, 0.4));
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.12);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
    transition: all 0.35s cubic-bezier(0.4, 0.0, 0.2, 1);

}

.schedule-brief-title {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #0ea5e9, #3b82f6, #8b5cf6, #d946ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.schedule-brief-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.schedule-brief-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.schedule-brief-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.schedule-brief-list li::before {
  content: "✓";
  color: #0ea5e9;
  font-weight: bold;
  font-size: 1rem;
}

.btn-schedule-brief {
  width: 100%;
  padding: 0.875rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  margin-top: 0.5rem;
}

/* Contact Form Side */
.contact-form-side {
  display: flex;
  align-items: flex-start;
}

.contact-form {
  background: linear-gradient(135deg, rgb(45 45 209 / 50%), rgba(31, 31, 52, 0.4));
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  border-radius: 24px;
  padding: 3rem 2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.12);
  width: 100%;
  transition: all 0.35s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.contact-form:hover {
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.4);
    transform: translateY(-5px);

}
.schedule-brief-card:hover {
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.4);
    transform: translateY(-5px);

}

.form-title {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0ea5e9, #3b82f6, #8b5cf6, #d946ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
  letter-spacing: -0.3px;
}

.form-group {
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.75rem;
  letter-spacing: -0.2px;
}

.form-input {
  padding: 0.9rem 1.2rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(99, 102, 241, 0.05));
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  border-radius: 12px;
  color: var(--text-color);
  font-size: 0.95rem;
  font-family: var(--font-family);
  transition: all 0.35s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.form-input::placeholder {
  color: rgba(220, 220, 220, 0.5);
}

.form-input:focus {
  outline: none;
  border-color: rgba(99, 102, 241, 0.6);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(99, 102, 241, 0.08));
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

/* Service Interest Dropdown Styling */
select.form-input {
  background: linear-gradient(135deg, rgb(45 45 209 / 50%), rgba(31, 31, 52, 0.4));
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  padding-right: 2.5rem;
  color: var(--text-color);
  font-size: 0.95rem;
  font-family: var(--font-family);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23dcdcdc' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  transition: all 0.35s cubic-bezier(0.4, 0.0, 0.2, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.12);
}

select.form-input:hover {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 15px 50px rgba(99, 102, 241, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.12);
}

select.form-input:focus {
  outline: none;
  border-color: rgba(99, 102, 241, 0.7);
  background: linear-gradient(135deg, rgba(45, 45, 209, 0.6), rgba(31, 31, 52, 0.5));
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.12);
}

select.form-input option {
  background: #2a2a4e !important;
  color: #dcdcdc !important;
  padding: 0.75rem !important;
  font-weight: 500;
}

select.form-input option:checked {
  background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
  color: rgb(8, 93, 190) !important;
  font-weight: 600;
}

select.form-input option:disabled {
  background: #1a1a2e !important;
  color: #6c757d !important;
}

.form-textarea {
  resize: none;
  min-height: 110px;
}

.btn-submit {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0.0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
  margin-bottom: 1rem;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4);
}

.btn-submit:active {
  transform: translateY(0);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-message {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
  min-height: 20px;
  transition: all 0.3s ease;
}

.form-message.success {
  color: #10b981;
  font-weight: 600;
}

.form-message.error {
  color: #ef4444;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-info-card,
  .contact-form {
    padding: 2.5rem 1.5rem;
  }

  .info-title,
  .form-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 767px) {
  .contact-section {
    padding: 3rem 1rem;
  }

  .contact-wrapper {
    gap: 1.5rem;
  }

  .contact-info-card,
  .contact-form {
    padding: 2rem 1.25rem;
  }

  .info-title,
  .form-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }

  .info-item {
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .info-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .info-label {
    font-size: 1rem;
  }

  .info-text {
    font-size: 0.9rem;
  }

  .form-group {
    margin-bottom: 1.5rem;
  }

  .form-input {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }

  .form-textarea {
    min-height: 120px;
  }

  .btn-submit {
    padding: 0.85rem 1.5rem;
    font-size: 0.9rem;
  }

  .social-links-contact {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }

  .social-icons {
    gap: 0.75rem;
  }

  .social-icon {
    width: 40px;
    height: 40px;
  }
}

/* ===== LOGIN PAGE STYLES ===== */

.back-button {
  position: fixed;
  top: 30px;
  left: 30px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 50px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.back-button:hover {
  background: rgba(99, 102, 241, 0.25);
  border-color: rgba(99, 102, 241, 0.5);
  transform: translateX(-3px);
}

.back-button:active {
  transform: translateX(-1px);
}

.back-button svg {
  width: 20px;
  height: 20px;
}

.login-page-body {
  background: url('../assets/img/hero-bg-1.webp') center/cover fixed;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  font-family: var(--font-family);
  color: var(--text-color);
}

/* Animated background elements */
.bg-blur {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.blur-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: float 8s ease-in-out infinite;
}

.blur-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #6366f1, transparent);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.blur-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #a78bfa, transparent);
  bottom: -50px;
  right: -50px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, 30px); }
}

.login-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 420px;
  padding: 20px;
}

.login-card {
  background: linear-gradient(135deg, rgb(45 45 209 / 50%), rgba(31, 31, 52, 0.4));
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  border-radius: 20px;
  padding: 50px 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.12);
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-logo {
  text-align: center;
  margin-bottom: 30px;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.logo-icon {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #6366f1, #a78bfa);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
}

.login-title {
  text-align: center;
  margin-bottom: 8px;
}

.login-title h2 {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.login-subtitle {
  text-align: center;
  color: #9ca3af;
  font-size: 14px;
  margin-bottom: 30px;
}

.login-form-group {
  margin-bottom: 20px;
}

.login-form-control {
  background: rgba(30, 20, 50, 0.3);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 12px;
  color: #ffffff;
  padding: 14px 16px;
  font-size: 14px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.login-form-control:focus {
  background: rgba(30, 20, 50, 0.5);
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
  color: #ffffff;
  outline: none;
}

.login-form-control::placeholder {
  color: #6b7280;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 16px;
  color: #6b7280;
  font-size: 18px;
}

.login-form-control {
  padding-left: 45px;
}

.forgot-password {
  text-align: right;
  margin-bottom: 25px;
}

.forgot-password a {
  color: #a78bfa;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.forgot-password a:hover {
  color: #6366f1;
}

.btn-login {
  width: 100%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border: none;
  color: #ffffff;
  padding: 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 25px;
}

.btn-login:hover {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-login:active {
  transform: translateY(0);
}

.divider {
  position: relative;
  margin: 25px 0;
  text-align: center;
}

.divider-line {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 15px;
  align-items: center;
}

.divider-line::before,
.divider-line::after {
  content: '';
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(99, 102, 241, 0.3), transparent);
}

.divider-text {
  color: #6b7280;
  font-size: 13px;
}

.signup-link {
  text-align: center;
  color: #9ca3af;
  font-size: 14px;
}

.signup-link a {
  color: #a78bfa;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.signup-link a:hover {
  color: #6366f1;
}

@media (max-width: 480px) {
  .login-card {
    padding: 40px 25px;
  }

  .login-title h2 {
    font-size: 24px;
  }

  .logo-text {
    font-size: 20px;
  }
}

/* ===== DASHBOARD PAGE STYLES ===== */

.dashboard-body {
  background: url('../assets/img/hero-bg-1.webp') center/cover fixed;
  color: var(--text-color);
  overflow-x: hidden;
  position: relative;
  padding-top: 120px;
}

.dashboard-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px 50px 20px;
}

.profile-dropdown-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.profile-btn {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 50px;
  transition: all 0.3s ease;
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.95rem;
}

.user-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
}

.profile-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}

.profile-btn:hover {
  background: rgba(99, 102, 241, 0.1);
}

.profile-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: linear-gradient(135deg, rgb(45 45 209 / 80%), rgba(31, 31, 52, 0.7));
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  border-radius: 12px;
  min-width: 180px;
  margin-top: 8px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.12);
  padding: 8px 0;
  visibility: hidden;
  opacity: 0;
  display: block;
  z-index: 10001;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.profile-dropdown-menu.active {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.dropdown-item:hover {
  background: rgba(99, 102, 241, 0.2);
  padding-left: 20px;
}

.dropdown-item.logout {
  color: #ff6b6b;
}

.dropdown-item.logout:hover {
  background: rgba(255, 107, 107, 0.1);
}

.dropdown-icon {
  font-size: 16px;
  min-width: 20px;
}

.dropdown-divider {
  border: none;
  border-top: 1px solid rgba(99, 102, 241, 0.2);
  margin: 4px 0;
}

.navbar-nav:hover {
  color: var(--primary-light) !important;
}

/* Profile Dropdown Styles */
.dashboard-hero {
  margin-bottom: 40px;
  padding: 40px 0;
  position: relative;
  z-index: 1;
}

.hero-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.hero-text h1.dashboard-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
}

.dashboard-title .highlight {
  background: linear-gradient(135deg, #0ea5e9, #3b82f6, #8b5cf6, #d946ef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.welcome-text {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 10px;
}

.orbit-description {
  font-size: 16px;
  color: #9ca3af;
  margin-bottom: 0;
}

/* Hero Command Section */
.hero-command-section {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Hero Command Section */
.hero-command-section {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Hero Command Card */
.hero-command-card {
  background: linear-gradient(135deg, rgb(45 45 209 / 50%), rgba(31, 31, 52, 0.4));
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.command-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-create-project,
.btn-onboard-client {
  flex: 1;
  min-width: 200px;
  padding: 16px 24px;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-create-project {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-create-project:hover {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.btn-create-project:active {
  transform: translateY(0);
}

.btn-onboard-client {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #ffffff;
}

.btn-onboard-client:hover {
  background: rgba(99, 102, 241, 0.25);
  border-color: rgba(99, 102, 241, 0.5);
  transform: translateY(-2px);
}

.btn-icon {
  font-size: 18px;
}

/* Quick Action Section */
.quick-action-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quick-action-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: #ffffff;
}

.quick-action-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.project-item {
  display: grid;
  grid-template-columns: 50px 1fr 100px;
  gap: 15px;
  align-items: center;
  padding: 15px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  transition: all 0.3s ease;
}

.project-item:hover {
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(99, 102, 241, 0.4);
}

.project-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  color: white;
}

.project-icon.neon-hub {
  background: linear-gradient(135deg, #ec4899, #f97316);
}

.project-icon.photon-labs {
  background: linear-gradient(135deg, #06b6d4, #0ea5e9);
}

.project-icon.leon-cyber {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

.project-info h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.project-info p {
  margin: 4px 0 0 0;
  font-size: 13px;
  color: #9ca3af;
}

.project-progress {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
}

.progress-percentage {
  font-size: 14px;
  font-weight: 600;
  color: #a78bfa;
}

.progress-bar {
  width: 80px;
  height: 4px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.view-all-projects {
  display: inline-block;
  color: #a78bfa;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s ease;
  margin-top: 10px;
}

.view-all-projects:hover {
  color: #6366f1;
}

/* Modal Styles */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 10001;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.project-modal {
  background: linear-gradient(135deg, rgb(45 45 209 / 50%), rgba(31, 31, 52, 0.4));
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.12);
  max-width: calc(100% - 40px);
  width: calc(1200px - 40px);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 28px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close-btn:hover {
  color: #a78bfa;
}

.modal-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

/* Form Styles */
.project-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-row-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group-custom {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group-custom label {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.form-select-custom {
  background: rgba(30, 20, 50, 0.3);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 12px;
  color: #ffffff;
  padding: 12px 14px;
  font-size: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.form-input-custom {
  background: rgba(30, 20, 50, 0.3);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 12px;
  color: #ffffff;
  padding: 12px 14px;
  font-size: 14px;
  transition: all 0.3s ease;
  font-family: var(--font-family);
}

.form-input-custom:focus {
  background: rgba(30, 20, 50, 0.5);
  border-color: rgba(99, 102, 241, 0.6);
  outline: none;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
  color: #ffffff;
}

.form-select-custom:focus {
  background: rgba(30, 20, 50, 0.5);
  border-color: rgba(99, 102, 241, 0.6);
  outline: none;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.form-select-custom option {
  background: #1a1a2e;
  color: #ffffff;
}

/* Service Type Selection */
.service-type-selection {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.service-btn {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 12px;
  color: #ffffff;
  padding: 16px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.service-btn:hover {
  background: rgba(99, 102, 241, 0.3);
  border-color: rgba(99, 102, 241, 0.5);
}

.service-btn.active {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-color: rgba(99, 102, 241, 0.8);
}

.service-icon {
  font-size: 24px;
}

/* Milestones Section */
.milestones-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}



.milestone-item {
  display: grid;
  grid-template-columns: 40px 1fr 20px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.milestone-icon {
  font-size: 18px;
}

.milestone-details h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.milestone-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.milestone-duration {
  font-size: 12px;
  color: #9ca3af;
}

.milestone-expand {
  color: #9ca3af;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.add-milestone-btn {
  background: transparent;
  border: 1px dashed rgba(99, 102, 241, 0.3);
  color: #a78bfa;
  padding: 10px;
  border-radius: 10px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-milestone-btn:hover {
  border-color: rgba(99, 102, 241, 0.6);
  color: #6366f1;
}

/* Deadline Section */
.deadline-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.deadline-input-group {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 12px;
}

.deadline-calendar {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 10px;
  padding: 12px;
  color: #ffffff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deadline-nav {
  display: flex;
  gap: 6px;
  align-items: center;
}

.deadline-nav span {
  font-size: 12px;
  color: #9ca3af;
}

.date-nav-btn {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #ffffff;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.date-nav-btn:hover {
  background: rgba(99, 102, 241, 0.3);
}

/* Submit Button */
.btn-create-project-submit {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border: none;
  color: #ffffff;
  padding: 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.btn-create-project-submit:hover {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-create-project-submit:active {
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .dashboard-title {
    font-size: 2.5rem;
  }

  .command-content {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 300px;
  }

  .cube-container {
    width: 250px;
    height: 250px;
  }

  .cube-face {
    width: 250px;
    height: 250px;
  }

  .cube-front,
  .cube-back,
  .cube-right,
  .cube-left {
    transform: rotateY(0deg) rotateX(0deg) translateZ(125px);
  }
}

@media (max-width: 768px) {
  .dashboard-container {
    padding: 0 15px 30px 15px;
  }

  .project-command {
    padding: 25px;
  }

  .dashboard-title {
    font-size: 2rem;
  }

  .command-header h2 {
    font-size: 20px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary-custom,
  .btn-secondary-custom {
    width: 100%;
  }

  .command-buttons {
    flex-direction: column;
  }

  .project-item {
    grid-template-columns: 45px 1fr;
    gap: 12px;
  }

  .project-progress {
    grid-column: 2;
  }

  .service-type-selection {
    grid-template-columns: 1fr 1fr;
  }

  .project-modal {
    padding: 25px;
  }
}

/* ===== PAST WORKS TABLE SECTION ===== */

.past-works-section {
  margin-top: 60px;
  margin-bottom: 40px;
}

.section-header {
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.section-header p {
  color: #9ca3af;
  font-size: 14px;
  margin: 0;
}

.table-wrapper {
  background: linear-gradient(135deg, rgb(45 45 209 / 50%), rgba(31, 31, 52, 0.4));
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.12);
}

.works-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
}

.works-table thead {
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.works-table th {
  padding: 16px 20px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: #a78bfa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.works-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  color: #ffffff;
  font-size: 14px;
}

.works-table tbody tr {
  transition: all 0.3s ease;
}

.works-table tbody tr:hover {
  background: rgba(99, 102, 241, 0.1);
}

.works-table tbody tr:last-child td {
  border-bottom: none;
}

.project-type-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  width: 100%;
  max-width: 130px;
}

.project-type-badge.web {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.project-type-badge.mobile {
  background: rgba(236, 72, 153, 0.2);
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.3);
}

.project-type-badge.branding {
  background: rgba(139, 92, 246, 0.2);
  color: #d8b4fe;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.project-type-badge.motion {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.btn-view-details {
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a78bfa;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-view-details:hover {
  background: rgba(99, 102, 241, 0.4);
  border-color: rgba(99, 102, 241, 0.6);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-view-details:active {
  transform: translateY(0);
}

.project-title-cell {
  font-weight: 600;
  color: #ffffff;
}

@media (max-width: 1024px) {
  .works-table th,
  .works-table td {
    padding: 12px 15px;
    font-size: 12px;
  }

  .section-header h2 {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .table-wrapper {
    overflow-x: auto;
  }

  .works-table {
    min-width: 600px;
  }

  .works-table th,
  .works-table td {
    padding: 10px 12px;
    font-size: 11px;
  }

  .project-type-badge {
    padding: 4px 8px;
    font-size: 11px;
  }

  .btn-view-details {
    padding: 6px 12px;
    font-size: 11px;
  }
}

/* ==================== CLIENT DASHBOARD STYLES ==================== */

.client-hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}

/* Left Panel - Projects List */
.client-projects-panel {
  padding-right: 2rem;
  border-right: 1px solid var(--border-color);
}

.client-projects-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.project-card {
  background: rgba(26, 26, 46, 0.5);
  border: 1.5px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}

.project-card.active::before {
  transform: scaleY(1);
}

.project-card:hover {
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(26, 26, 46, 0.8);
  transform: translateX(5px);
}

.project-card-header {
  margin-bottom: 1rem;
}

.project-card-title-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.project-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

.project-status-badge {
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-weight: 600;
  text-transform: uppercase;
}

.project-status-badge.in-progress {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: var(--primary-light);
}

.project-status-badge.completed {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.2), rgba(72, 187, 120, 0.2));
  border: 1px solid rgba(40, 167, 69, 0.4);
  color: #48bb78;
}

.project-date {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.project-card-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.project-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.project-meta-item {
  color: var(--text-secondary);
}

.meta-label {
  color: var(--primary-light);
  font-weight: 600;
  margin-right: 0.5rem;
}

/* Right Panel - Progress */
.client-progress-panel {
  position: sticky;
  top: 150px;
}

.progress-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1.5px solid var(--border-color);
}

.progress-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 0.5rem 0;
}

.progress-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.progress-cards-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.progress-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.progress-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.progress-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

.progress-percentage-badge {
  background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
  color: white;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.progress-bar-container {
  margin-bottom: 1rem;
}

.progress-bar-wrapper {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), #8b5cf6);
  border-radius: 10px;
  transition: width 0.6s cubic-bezier(0.65, -0.05, 0.23, 1.02);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.progress-milestone-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.milestone-item-progress {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.milestone-check,
.milestone-loader,
.milestone-pending {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  min-width: 20px;
}

.milestone-item-progress.completed .milestone-check {
  color: #48bb78;
  animation: checkPulse 0.5s ease;
}

.milestone-item-progress.in-progress .milestone-loader {
  color: var(--primary-color);
  animation: spin 2s linear infinite;
}

.milestone-item-progress .milestone-pending {
  color: var(--text-secondary);
}

.milestone-text {
  color: var(--text-secondary);
}

.milestone-item-progress.completed .milestone-text {
  color: var(--text-color);
  text-decoration: line-through;
  opacity: 0.6;
}

.milestone-item-progress.in-progress .milestone-text {
  color: var(--primary-light);
  font-weight: 500;
}

@keyframes checkPulse {
  0% {
    transform: scale(0.8);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.progress-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1.5px solid var(--border-color);
}

.summary-stat {
  text-align: center;
  padding: 1rem;
  background: rgba(99, 102, 241, 0.08);
  border-radius: var(--border-radius);
}

.summary-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.summary-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-light);
}

/* Timeline Section */
.timeline-section {
  margin-top: 4rem;
  padding: 2rem 0;
}

.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  padding-left: 3rem;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-color), transparent);
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  position: relative;
}

.timeline-marker {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid var(--border-color);
  background: var(--bg-secondary);
  position: absolute;
  left: -35px;
  top: 0;
  transition: all 0.3s ease;
}

.timeline-marker.completed {
  background: #48bb78;
  border-color: #48bb78;
  box-shadow: 0 0 20px rgba(72, 187, 120, 0.4);
}

.timeline-marker.in-progress {
  background: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
  animation: pulse 2s ease infinite;
}

.timeline-marker.pending {
  background: var(--bg-secondary);
  border-color: var(--border-color);
}

.timeline-content {
  background: rgba(26, 26, 46, 0.5);
  border: 1.5px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(26, 26, 46, 0.8);
  transform: translateX(5px);
}

.timeline-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 0.5rem 0;
}

.timeline-date {
  font-size: 0.85rem;
  color: var(--primary-light);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.timeline-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
  }
  50% {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.6);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .client-hero-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .client-projects-panel {
    border-right: none;
    border-bottom: 1.5px solid var(--border-color);
    padding-right: 0;
    padding-bottom: 2rem;
  }

  .client-progress-panel {
    position: static;
  }
}

@media (max-width: 768px) {
  .client-projects-list {
    gap: 1rem;
  }

  .project-card {
    padding: 1rem;
  }

  .project-card-title-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .progress-cards-container {
    gap: 1rem;
  }

  .progress-summary {
    grid-template-columns: 1fr;
  }

  .project-card-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .timeline-container {
    padding-left: 2rem;
  }

  .timeline-marker {
    left: -27px;
  }
}

/* ==================== PROJECT DETAILS STYLES ==================== */

.project-header-section {
  padding: 2rem 0 3rem 0;
  border-bottom: 1.5px solid var(--border-color);
}

.project-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.project-header-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.project-header-breadcrumb a {
  color: var(--primary-light);
  text-decoration: none;
  transition: all 0.3s ease;
}

.project-header-breadcrumb a:hover {
  color: var(--primary-color);
}

.breadcrumb-separator {
  color: var(--border-color);
}

.btn-back {
  background: transparent;
  border: 1.5px solid var(--border-color);
  color: var(--text-color);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.btn-back:hover {
  border-color: var(--primary-color);
  color: var(--primary-light);
  background: rgba(99, 102, 241, 0.1);
}

.project-header-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.project-header-left {
  padding-right: 2rem;
}

.project-detail-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 1rem 0;
  background: linear-gradient(135deg, var(--text-color), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.project-detail-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.project-meta-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.meta-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: rgba(99, 102, 241, 0.08);
  border-radius: var(--border-radius);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.meta-icon {
  font-size: 1.5rem;
  min-width: 2rem;
  display: flex;
  align-items: center;
}

.meta-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
}

.meta-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0.25rem 0 0 0;
}

.project-status-widget {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.08));
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--border-radius);
  padding: 2rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.status-header h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

.status-progress {
  margin-bottom: 2rem;
}

.status-percentage {
  text-align: center;
  margin-bottom: 1rem;
}

.percentage-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.percentage-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.status-bar-wrapper {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.status-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), #8b5cf6);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.status-timeline {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.timeline-segment {
  flex: 1;
  text-align: center;
  padding: 1rem;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  transition: all 0.3s ease;
}

.timeline-segment.completed {
  background: rgba(72, 187, 120, 0.15);
  border-color: rgba(72, 187, 120, 0.4);
}

.timeline-segment.in-progress {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.timeline-date {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Project Details Content */
.project-details-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  padding: 2rem 0;
  margin-bottom: 3rem;
}

.details-card {
  background: rgba(26, 26, 46, 0.5);
  border: 1.5px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.details-card:last-child {
  margin-bottom: 0;
}

.details-card:hover {
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(26, 26, 46, 0.8);
}

.card-header {
  padding: 1.5rem;
  border-bottom: 1.5px solid var(--border-color);
  background: rgba(99, 102, 241, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(20px);
}

.card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

/* Collapsible Header Styles */
.collapsible-header {
  padding: 1.5rem;
  background: rgba(99, 102, 241, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(99, 102, 241, 0.15);
  backdrop-filter: blur(20px);
}

.collapsible-header:hover {
  background: rgba(99, 102, 241, 0.12);
  
}

.collapsible-toggle-btn {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.collapsible-toggle-btn .toggle-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

.collapsible-toggle-btn[aria-expanded="true"] .toggle-icon {
  transform: rotate(0deg);
}

.collapsible-toggle-btn[aria-expanded="false"] .toggle-icon {
  transform: rotate(-90deg);
}

.collapsible-content {
  overflow: hidden;
}

.collapsible-inner {
  max-height: 2000px;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 1;
  padding: 1.5rem;
 backdrop-filter: blur(20px);
}

.details-card.collapsed .collapsible-inner {
  max-height: 0;
  opacity: 0;
  padding: 0 1.5rem;
  overflow: hidden;
}

.details-card.collapsed .collapsible-header {
  border-bottom: none;
   backdrop-filter: blur(20px);
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #48bb78;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #48bb78;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}



/* Milestones */
.milestones-detailed {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.milestone-detail-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 1.25rem;
  background: rgba(99, 102, 241, 0.05);
  border-radius: 8px;
  border-left: 4px solid var(--border-color);
  transition: all 0.3s ease;
}

.milestone-detail-item.completed {
  border-left-color: #48bb78;
  background: rgba(72, 187, 120, 0.1);
}

.milestone-detail-item.in-progress {
  border-left-color: var(--primary-color);
  background: rgba(99, 102, 241, 0.1);
}

.milestone-detail-marker {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  min-width: 40px;
  background: rgba(99, 102, 241, 0.2);
  border: 2px solid rgba(99, 102, 241, 0.4);
}

.milestone-detail-item.completed .milestone-detail-marker {
  background: rgba(72, 187, 120, 0.2);
  border-color: #48bb78;
  color: #48bb78;
}

.milestone-detail-item.in-progress .milestone-detail-marker {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--primary-color);
  color: var(--primary-color);
  animation: spin 2s linear infinite;
}

.milestone-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 0.5rem 0;
}

.milestone-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0 0 0.75rem 0;
  line-height: 1.5;
}

.milestone-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
}

.milestone-date {
  color: var(--primary-light);
  font-weight: 500;
}

/* Deliverables */
.deliverables-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.deliverable-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
  background: rgba(99, 102, 241, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  transition: all 0.3s ease;
}

.deliverable-item:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateX(5px);
}

.deliverable-icon {
  font-size: 1.5rem;
  min-width: 40px;
}

.deliverable-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 0.25rem 0;
}

.deliverable-info p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin: 0;
}

.deliverable-date {
  display: block;
  color: var(--primary-light);
  font-size: 0.8rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

.btn-download {
  background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
  border: none;
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

/* Team Members */
.team-members {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.team-member {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: rgba(99, 102, 241, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  transition: all 0.3s ease;
}

.team-member:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.4);
}

.member-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 0.95rem;
  min-width: 50px;
}

.member-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 0.25rem 0;
}

.member-role {
  color: var(--primary-light);
  font-size: 0.85rem;
  margin: 0 0 0.25rem 0;
  font-weight: 500;
}

.member-email {
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin: 0;
}

.member-action {
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.member-action:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--primary-color);
}

/* Project Information */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.info-field {
  display: flex;
  flex-direction: column;
}

.info-field.full-width {
  grid-column: 1 / -1;
}

.info-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  font-size: 0.95rem;
  color: var(--text-color);
  margin: 0;
  line-height: 1.5;
}

/* Live Activity */
.live-activity-feed {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
  max-height: 350px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.live-activity-feed::-webkit-scrollbar {
  width: 6px;
}

.live-activity-feed::-webkit-scrollbar-track {
  background: rgba(99, 102, 241, 0.05);
  border-radius: 10px;
}

.live-activity-feed::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.3);
  border-radius: 10px;
}

.live-activity-feed::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.5);
}

.live-activity-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: rgba(99, 102, 241, 0.05);
  border-radius: 6px;
  border-left: 3px solid rgba(99, 102, 241, 0.3);
  transition: all 0.3s ease;
}

.live-activity-item:hover {
  background: rgba(99, 102, 241, 0.1);
  border-left-color: var(--primary-color);
}

.activity-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 0.85rem;
  min-width: 40px;
  background: rgba(99, 102, 241, 0.2);
}

.activity-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.activity-action {
  font-size: 0.9rem;
  color: var(--text-color);
  margin: 0;
  line-height: 1.4;
}

.activity-author {
  font-weight: 600;
  color: var(--text-color);
}

.activity-action strong {
  color: var(--primary-light);
  font-weight: 600;
}

.activity-timestamp {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.activity-status-dot {
  font-size: 0.9rem;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 49%, 100% {
    opacity: 1;
  }
  50%, 99% {
    opacity: 0.3;
  }
}

.btn-view-all-activity {
  width: 100%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.08));
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  color: var(--primary-light);
  padding: 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-view-all-activity:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.15));
  border-color: rgba(99, 102, 241, 0.5);
  transform: translateY(-2px);
}

/* Activity Feed in Right Column */
.activity-feed-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 350px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.activity-feed-right::-webkit-scrollbar {
  width: 6px;
}

.activity-feed-right::-webkit-scrollbar-track {
  background: rgba(99, 102, 241, 0.05);
  border-radius: 10px;
}

.activity-feed-right::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.3);
  border-radius: 10px;
}

.activity-feed-right::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.5);
}

/* Milestone Collapse/Expand Styles */
.milestone-detail-item {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 8px;
  margin-bottom: 1rem;
  background: rgba(15, 15, 31, 0.5);
  overflow: hidden;
}

.milestone-header-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: rgba(99, 102, 241, 0.08);
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(99, 102, 241, 0.15);
  width: 100%;
}

.milestone-header-toggle:hover {
  background: rgba(99, 102, 241, 0.12);
}

.milestone-toggle-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.milestone-detail-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.milestone-detail-item.completed .milestone-detail-marker {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 2px solid rgba(34, 197, 94, 0.4);
}

.milestone-detail-item.in-progress .milestone-detail-marker {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  border: 2px solid rgba(59, 130, 246, 0.4);
}

.milestone-detail-item .milestone-detail-marker {
  background: rgba(156, 163, 175, 0.2);
  color: #d1d5db;
  border: 2px solid rgba(156, 163, 175, 0.4);
}

.milestone-header-info {
  flex: 1;
}

.milestone-header-info .milestone-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.25rem 0;
}

.milestone-toggle-btn {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.milestone-toggle-btn .toggle-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

.milestone-toggle-btn[aria-expanded="true"] .toggle-icon {
  transform: rotate(0deg);
}

.milestone-toggle-btn[aria-expanded="false"] .toggle-icon {
  transform: rotate(-90deg);
}

.milestone-detail-content {
  width: 100%;
  overflow: hidden;
}

.milestone-content-inner {
  max-height: 2000px;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 1;
  padding: 1.5rem;
}

.milestone-detail-item.collapsed .milestone-content-inner {
  max-height: 0;
  opacity: 0;
  padding: 0 1.5rem;
  overflow: hidden;
}

.milestone-detail-item.collapsed .milestone-header-toggle {
  border-bottom: none;
}

.activity-feed-right .activity-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 0.9rem;
  background: rgba(99, 102, 241, 0.05);
  border-radius: 6px;
  border-left: 3px solid rgba(99, 102, 241, 0.3);
  transition: all 0.3s ease;
}

.activity-feed-right .activity-item:hover {
  background: rgba(99, 102, 241, 0.1);
  border-left-color: var(--primary-color);
  transform: translateX(3px);
}

.activity-feed-right .activity-marker {
  font-size: 1.2rem;
  min-width: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.activity-feed-right .activity-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.activity-feed-right .activity-text {
  color: var(--text-color);
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.4;
  word-break: break-word;
}

.activity-feed-right .activity-text strong {
  color: var(--primary-light);
  font-weight: 600;
}

.activity-feed-right .activity-time {
  display: block;
  color: var(--text-secondary);
  font-size: 0.75rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .project-header-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .project-header-left {
    padding-right: 0;
    border-right: none;
  }

  .project-meta-info {
    grid-template-columns: 1fr;
  }

  .project-details-content {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .meta-item {
    grid-template-columns: auto 1fr;
  }
}

@media (max-width: 768px) {
  .project-header-top {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .project-detail-title {
    font-size: 1.5rem;
  }

  .project-meta-info {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .meta-item {
    padding: 0.75rem;
  }

  .project-header-breadcrumb {
    font-size: 0.85rem;
  }

  .milestone-detail-item {
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1rem;
  }

  .deliverable-item {
    grid-template-columns: auto 1fr;
    gap: 1rem;
  }

  .btn-download {
    width: 100%;
  }

  .team-member {
    grid-template-columns: auto 1fr;
    gap: 1rem;
  }

  .member-action {
    width: 100%;
    text-align: center;
  }

  .live-actions-list {
    grid-template-columns: 1fr;
  }

  .status-timeline {
    flex-wrap: wrap;
  }

  .timeline-segment {
    flex: 0 1 45%;
  }

  .live-activity-feed {
    max-height: 300px;
  }

  .live-activity-item {
    padding: 0.75rem;
  }

  .activity-avatar {
    width: 35px;
    height: 35px;
    font-size: 0.75rem;
  }

  .activity-action {
    font-size: 0.85rem;
  }
}

/* ==================== MILESTONE FILES & COMMENTS ==================== */

.milestone-header-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.milestone-status-badge {
  font-size: 0.7rem;
  padding: 0.3rem 0.65rem;
  border-radius: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.milestone-status-badge.completed {
  background: rgba(72, 187, 120, 0.2);
  color: #48bb78;
  border: 1px solid rgba(72, 187, 120, 0.4);
}

.milestone-status-badge.in-progress {
  background: rgba(99, 102, 241, 0.2);
  color: var(--primary-light);
  border: 1px solid rgba(99, 102, 241, 0.4);
}

.milestone-status-badge.pending {
  background: rgba(255, 193, 7, 0.15);
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

/* Files Section */
.milestone-files-section {
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: rgba(99, 102, 241, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.files-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.files-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.file-item {
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  border: 1px solid rgba(99, 102, 241, 0.15);
  transition: all 0.3s ease;
}

.file-item:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateX(5px);
}

.file-icon {
  font-size: 1.5rem;
  min-width: 30px;
}

.file-details {
  min-width: 200px;
}

.file-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
  word-break: break-word;
}

.file-size {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.btn-file-action {
  background: transparent;
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--primary-light);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-file-action:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Comments Section */
.milestone-comments-section {
  margin: 1.5rem 0 0 0;
  padding-top: 1.5rem;
  border-top: 1.5px solid var(--border-color);
}

.comments-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 0.75rem;
}

.comments-list::-webkit-scrollbar {
  width: 6px;
}

.comments-list::-webkit-scrollbar-track {
  background: rgba(99, 102, 241, 0.05);
  border-radius: 10px;
}

.comments-list::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.3);
  border-radius: 10px;
}

.comments-list::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.5);
}

.no-comments {
  color: var(--text-secondary);
  text-align: center;
  padding: 1rem;
  font-style: italic;
  font-size: 0.9rem;
  margin: 0;
}

.comment-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem;
  background: rgba(99, 102, 241, 0.05);
  border-radius: 6px;
  border-left: 3px solid rgba(99, 102, 241, 0.3);
}

.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
  min-width: 40px;
}

.comment-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.comment-author {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

.comment-author::after {
  content: '';
}

.comment-time {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.comment-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
  word-break: break-word;
}

/* Comment Form */
.comment-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  background: rgba(99, 102, 241, 0.05);
  border-radius: 6px;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.comment-input {
  width: 100%;
  min-height: 90px;
  max-height: 200px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 6px;
  color: var(--text-color);
  font-family: var(--font-family);
  font-size: 0.9rem;
  line-height: 1.5;
  resize: vertical;
  transition: all 0.3s ease;
}

.comment-input::placeholder {
  color: var(--text-secondary);
}

.comment-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

.btn-submit-comment {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
  border: none;
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-submit-comment:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-submit-comment:active {
  transform: translateY(0);
}

/* Responsive Design for Files & Comments */
@media (max-width: 768px) {
  .file-item {
    grid-template-columns: auto auto 1fr;
    gap: 0.75rem;
  }

  .btn-file-action {
    grid-column: 3;
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
  }

  .comment-header {
    flex-direction: column;
    gap: 0.25rem;
  }

  .comments-list {
    max-height: 300px;
  }

  .milestone-files-section,
  .milestone-comments-section {
    padding: 1rem;
  }

  .file-details {
    min-width: 150px;
  }
}

/* Deliverables Button */
.btn-deliverables-modal {
  width: 100%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.1));
  border: 1.5px solid rgba(99, 102, 241, 0.4);
  color: var(--primary-light);
  padding: 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  margin-top: 1.5rem;
}

.btn-deliverables-modal:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.15));
  border-color: rgba(99, 102, 241, 0.6);
  transform: translateY(-2px);
}

/* Deliverables Modal */
.deliverables-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 87%);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.deliverables-modal.active {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.deliverables-modal .modal-content {
  background: var(--card-bg);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.deliverables-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.deliverables-modal .modal-header h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  color: var(--text-primary);
  transform: rotate(90deg);
}

.deliverables-modal .modal-body {
  padding: 1.5rem;
}

.deliverables-modal-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.deliverable-modal-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.deliverable-modal-item:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
}

.deliverable-modal-item.new-file {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
}

.deliverable-modal-item.new-file:hover {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.5);
}

.new-badge {
  position: absolute;
  top: -8px;
  right: 10px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  padding: 0.3rem 0.7rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.deliverable-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.deliverable-modal-info {
  flex: 1;
  min-width: 0;
}

.deliverable-modal-info h4 {
  margin: 0 0 0.25rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  word-break: break-word;
}

.deliverable-modal-info p {
  margin: 0 0 0.5rem 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.deliverable-date {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.btn-download-modal {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.15));
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--primary-light);
  padding: 0.6rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.btn-download-modal:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(139, 92, 246, 0.25));
  border-color: rgba(99, 102, 241, 0.5);
  transform: translateY(-2px);
}

/* Responsive Modal */
@media (max-width: 768px) {
  .deliverables-modal .modal-content {
    width: 95%;
  }

  .deliverable-modal-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-download-modal {
    align-self: flex-end;
  }
}

/* Project Header Left Column Layout */
.project-header-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-right: 2rem;
  border-right: 1px solid var(--border-color);
}

/* Project Header Right Column Layout */
.project-header-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.header-status-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.08));
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-info-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.08));
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-activity-feed {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.08));
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: auto;
  max-width: 100%;
}

.activity-header {
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.activity-header h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

.header-activity-feed .activity-feed-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 350px;
  overflow-y: auto;
  padding-right: 0.5rem;
  flex: 1;
}

.header-activity-feed .activity-feed-right::-webkit-scrollbar {
  width: 6px;
}

.header-activity-feed .activity-feed-right::-webkit-scrollbar-track {
  background: rgba(99, 102, 241, 0.05);
  border-radius: 10px;
}

.header-activity-feed .activity-feed-right::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.3);
  border-radius: 10px;
}

.header-activity-feed .activity-feed-right::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.5);
}



/* Status Cards Grid */
.status-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.status-card-item {
  padding: 1rem;
  background: rgba(99, 102, 241, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(99, 102, 241, 0.15);
  text-align: center;
}

.status-card-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}

.status-card-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
}

/* ==================== MESSAGES PAGE ==================== */

.messages-header {
  padding: 0 2rem;
  margin-top: 70px;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.messages-header-content {
  max-width: 1160px;
  margin: 0;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  width: 100%;
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 0.5rem 0;
}

.page-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin: 0;
}

.messages-section {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 1.5rem;
  padding: 0 2rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  height: calc(100vh - 200px);
}

/* Conversations Panel */
.conversations-panel {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.conversations-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.conversations-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

.btn-new-message {
  background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
  border: none;
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.btn-new-message:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.conversations-search {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.search-input {
  width: 100%;
  padding: 0.75rem;
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 6px;
  color: var(--text-color);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.search-input::placeholder {
  color: var(--text-secondary);
}

.search-input:focus {
  outline: none;
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.2);
}

.conversations-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem;
}

.conversations-list::-webkit-scrollbar {
  width: 6px;
}

.conversations-list::-webkit-scrollbar-track {
  background: rgba(99, 102, 241, 0.05);
  border-radius: 10px;
}

.conversations-list::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.3);
  border-radius: 10px;
}

.conversations-list::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.5);
}

.conversation-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: rgba(99, 102, 241, 0.05);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.conversation-item:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.2);
}

.conversation-item.active {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--primary-color);
}

.conversation-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.conversation-info {
  min-width: 0;
}

.conversation-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 0.25rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conversation-preview {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0 0 0.25rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.conversation-time {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.unread-badge {
  background: var(--primary-color);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Chat Panel */
.chat-panel {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.chat-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

.chat-contact-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

.chat-contact-status {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0.25rem 0 0 0;
}

.chat-actions {
  display: flex;
  gap: 0.75rem;
}

.btn-icon-action {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--primary-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.btn-icon-action:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
}

/* Messages List */
.messages-list {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.messages-list::-webkit-scrollbar {
  width: 6px;
}

.messages-list::-webkit-scrollbar-track {
  background: rgba(99, 102, 241, 0.05);
  border-radius: 10px;
}

.messages-list::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.3);
  border-radius: 10px;
}

.messages-list::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.5);
}

.message-group {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
  margin-bottom: 0.5rem;
}

.message-group:not(:last-child) {
  margin-bottom: 1.5rem;
}

.message-group.sent {
  justify-content: flex-end;
}

.message-group.received {
  justify-content: flex-start;
}

.message-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.message {
  max-width: 60%;
  word-break: break-word;
}

.message-group.sent .message {
  background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border-bottom-right-radius: 4px;
}

.message-group.received .message {
  background: rgba(99, 102, 241, 0.1);
  color: var(--text-color);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border-bottom-left-radius: 4px;
  margin-bottom: 10px;
}

.message-text {
  margin: 0 0 0.25rem 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.message-time {
  display: block;
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 0.25rem;
}

.message-group.sent .message-time {
  color: rgba(255, 255, 255, 0.8);
  text-align: right;
}

.message-group.received .message-time {
  color: var(--text-secondary);
}

/* Message Input Area */
.message-input-area {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
  background: rgba(99, 102, 241, 0.02);
  backdrop-filter: blur(5px);
}

.input-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-attach,
.btn-emoji {
  background: transparent;
  border: none;
  color: var(--primary-light);
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-attach:hover,
.btn-emoji:hover {
  transform: scale(1.1);
}

.message-input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 6px;
  color: var(--text-color);
  font-size: 0.9rem;
  font-family: var(--font-family);
  transition: all 0.3s ease;
}

.message-input::placeholder {
  color: var(--text-secondary);
}

.message-input:focus {
  outline: none;
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.2);
}

.btn-send {
  background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-send:active {
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .messages-section {
    grid-template-columns: 300px 1fr;
    gap: 1rem;
    padding: 0 1.5rem 1.5rem;
  }

  .message {
    max-width: 75%;
  }
}

@media (max-width: 768px) {
  .messages-section {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    height: auto;
  }

  .conversations-panel {
    display: none;
  }

  .chat-panel {
    border-radius: 0;
    height: calc(100vh - 200px);
  }

  .message {
    max-width: 85%;
  }

  .chat-header {
    padding: 1rem;
  }

  .message-input-area {
    padding: 1rem;
  }
}

/* Case Study Modal Styles */
.case-study-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fadeIn 0.3s ease-out;
}

.case-study-modal.active {
  display: flex;
}

.case-study-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 40, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1;
}

.case-study-modal-content {
  position: relative;
  background: linear-gradient(135deg, rgb(45 45 209 / 50%), rgba(31, 31, 52, 0.4));
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  border-radius: 24px;
  padding: 3rem;
  max-width: 1000px;
  width: 100%;
  height: auto;
  max-height: 85vh;
  overflow-y: auto;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 25px 50px rgba(99, 102, 241, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  z-index: 2;
  animation: modalPopIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalPopIn {
  0% {
    transform: scale(0.85) translateY(40px);
    opacity: 0;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

@keyframes modalPopOut {
  0% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
  100% {
    transform: scale(0.85) translateY(40px);
    opacity: 0;
  }
}

.case-study-modal-flex {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: flex-start;
}

.case-study-modal-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.case-study-media {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  background: #22223a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-study-media img,
.case-study-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Video controls styling */
.case-study-media video::cue {
  background: rgba(0, 0, 0, 0.8);
}

.case-study-modal-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.case-study-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: 1px;
}

.case-study-description {
  color: #e0e0ff;
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 0;
}

.case-detail-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem;
  background: rgba(127, 90, 240, 0.1);
  border-left: 3px solid #7f5af0;
  border-radius: 8px;
}

.case-detail-label {
  color: #a78bfa;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.case-study-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.close-modal-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(99, 102, 241, 0.3);
  border: 1px solid rgba(99, 102, 241, 0.5);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 3;
}

.close-modal-btn:hover {
  background: rgba(99, 102, 241, 0.5);
  border-color: rgba(99, 102, 241, 0.8);
  color: #d946ef;
}

/* Responsive Design */
@media (max-width: 900px) {
  .case-study-modal-flex {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .case-study-modal-content {
    padding: 2rem;
  }

  .case-study-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .case-study-modal {
    padding: 1rem;
  }

  .case-study-modal-content {
    padding: 1.5rem;
    max-height: 90vh;
  }

  .case-study-title {
    font-size: 1.5rem;
  }

  .case-study-description {
    font-size: 1rem;
  }

  .case-detail-row {
    padding: 0.75rem;
  }
}

/* Teams Page Styles */
.teams-hero {
  margin-top: 80px;
  padding: 60px 0;
  background: linear-gradient(135deg, #0a0e27 0%, #16213e 100%);
  color: #fff;
}

.teams-grid {
  margin: 40px 0;
}

.team-card {
  background: linear-gradient(135deg, #1a1f3a 0%, #2a1850 100%);
  border: 1px solid rgba(127, 90, 240, 0.2);
  border-radius: 12px;
  padding: 25px;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.team-card:hover {
  border-color: rgba(127, 90, 240, 0.6);
  box-shadow: 0 8px 25px rgba(127, 90, 240, 0.2);
  transform: translateY(-5px);
}

.team-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.team-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.team-badge {
  background: linear-gradient(135deg, #7f5af0 0%, #d946ef 100%);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

.team-content {
  flex-grow: 1;
}

.team-description {
  color: #e0e0ff;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.team-stats {
  display: flex;
  gap: 20px;
  margin: 15px 0;
  padding-top: 15px;
  border-top: 1px solid rgba(127, 90, 240, 0.2);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #7f5af0;
}

.stat-label {
  font-size: 0.8rem;
  color: #a78bfa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


/* Member Details Styles */
.member-hero {
  margin-top: 80px;
}

.member-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #1a1f3a 0%, #2a1850 100%);
}

.member-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.member-image-wrapper:hover .member-overlay {
  opacity: 1;
}

.member-card {
  background: linear-gradient(135deg, #1a1f3a 0%, #2a1850 100%);
  border: 1px solid rgba(127, 90, 240, 0.2);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.member-card:hover {
  border-color: rgba(127, 90, 240, 0.6);
  box-shadow: 0 8px 25px rgba(127, 90, 240, 0.2);
  transform: translateY(-5px);
}

.member-info {
  color: #fff;
}

.member-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 5px 0;
  color: #fff;
}

.member-role {
  font-size: 0.95rem;
  margin: 0 0 15px 0;
  color: #7f5af0;
  font-weight: 600;
}

.member-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.member-expertise .badge {
  font-size: 0.8rem;
  padding: 4px 10px;
  background: rgba(127, 90, 240, 0.3);
  border: 1px solid rgba(127, 90, 240, 0.5);
  color: #a78bfa;
}

.member-modal-image {
  max-width: 200px;
  border: 3px solid #7f5af0;
}

/* Responsive Design for Teams */
@media (max-width: 768px) {
  .teams-hero {
    padding: 40px 0;
    margin-top: 70px;
  }

  .team-card {
    padding: 20px;
  }

  .team-stats {
    gap: 15px;
  }

  .member-hero {
    padding: 40px 0;
  }
}

/* Tutorials Page Styles */
.tutorials-hero {
  margin-top: 80px;
  padding: 60px 0;
  /* background: linear-gradient(135deg, #0a0e27 0%, #16213e 100%); */
  color: #fff;
}

.filter-section {
  background: rgba(127, 90, 240, 0.08);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(127, 90, 240, 0.2);
  margin: 30px 0;
}

.filter-label {
  display: block;
  font-weight: 600;
  color: #a78bfa;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.software-filters,
.difficulty-filters {
  margin: 0;
}

.tutorial-filters {
  margin: 30px 0;
}

.filter-btn {
  border: 1px solid rgba(127, 90, 240, 0.5);
  color: #a78bfa;
  transition: all 0.3s ease;
  padding: 8px 20px;
  border-radius: 25px;
}

.filter-btn:hover,
.filter-btn.active {
  background: #7f5af0;
  border-color: #7f5af0;
  color: #fff;
}

.section-subtitle {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(127, 90, 240, 0.3);
}

.section-subtitle i {
  color: #7f5af0;
  margin-right: 10px;
}



.tutorial-card {
  background: linear-gradient(135deg, #1a1f3a 0%, #2a1850 100%);
  border: 1px solid rgba(127, 90, 240, 0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tutorial-card:hover {
  border-color: rgba(127, 90, 240, 0.6);
  box-shadow: 0 8px 25px rgba(127, 90, 240, 0.2);
  transform: translateY(-5px);
}

.video-card {
  cursor: pointer;
}

.tutorial-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-color: #0a0e27;
  overflow: hidden;
}

.tutorial-thumbnail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(127, 90, 240, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  z-index: 2;
  transition: all 0.3s ease;
  cursor: pointer;
}

.video-card:hover .play-button {
  background: #7f5af0;
  transform: translate(-50%, -50%) scale(1.1);
}

.project-icon,
.guide-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #7f5af0 0%, #d946ef 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #fff;
  margin: 0 auto 15px;
}

.tutorial-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.tutorial-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.tutorial-description {
  color: #e0e0ff;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 15px 0;
  flex-grow: 1;
}

.tutorial-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tutorial-meta .badge {
  font-size: 0.8rem;
}

.tutorial-stats {
  display: flex;
  gap: 15px;
  color: #a78bfa;
  font-size: 0.9rem;
}

.tutorial-stats i {
  margin-right: 5px;
  color: #7f5af0;
}

.project-info,
.guide-info {
  background: rgba(127, 90, 240, 0.1);
  padding: 15px;
  border-radius: 8px;
  border-left: 3px solid #7f5af0;
}

.project-info p,
.guide-info p {
  color: #a78bfa;
  margin: 5px 0;
}

.badge-success {
  background-color: #10b981 !important;
}

.badge-warning {
  background-color: #f59e0b !important;
  color: #fff !important;
}

.badge-danger {
  background-color: #ef4444 !important;
}

.badge-secondary {
  background-color: rgba(127, 90, 240, 0.4) !important;
  color: #a78bfa !important;
  border: 1px solid rgba(127, 90, 240, 0.6);
}

.badge-info {
  background-color: rgba(59, 130, 246, 0.4) !important;
  color: #93c5fd !important;
  border: 1px solid rgba(59, 130, 246, 0.6);
}

/* .modal-content {
  border: 1px solid rgba(127, 90, 240, 0.3);
  background: linear-gradient(135deg, #1a1f3a 0%, #2a1850 100%);
  color: #fff;
} */

.modal-content .modal-header {
  border-bottom-color: rgba(127, 90, 240, 0.3);
  padding: 20px;
}

.modal-content .modal-body {
  padding: 30px 20px;
}

.modal-content .modal-footer {
  border-top-color: rgba(127, 90, 240, 0.3);
  padding: 20px;
}

/* Responsive Design for Tutorials */
@media (max-width: 768px) {
  .tutorials-hero {
    padding: 40px 0;
    margin-top: 70px;
  }

  .tutorial-filters {
    flex-direction: column;
  }

  .filter-btn {
    width: 100%;
  }

  .section-subtitle {
    font-size: 1.4rem;
  }

  .tutorial-content {
    padding: 15px;
  }

  .tutorial-title {
    font-size: 1rem;
  }

  .tutorial-description {
    font-size: 0.85rem;
  }

  .project-icon,
  .guide-icon {
    width: 60px;
    height: 60px;
    font-size: 30px;
  }
}

/* Video Modal Styling */
#videoModal {
  z-index: 10001 !important;
}

#videoModal .modal-backdrop {
  z-index: 10000 !important;
}

#videoModal .modal-dialog {
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

#videoModal .modal-content {
  max-height: 90vh;
  overflow-y: auto;
}