* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: white;
}

/* Hero Section */
#hero {
  padding: 40px 0 20px 0;
  background: white;
  color: #333;
}

#hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
  color: #333;
}

#hero h1 span {
  color: #1e73be;
}

#hero h2 {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 30px;
  line-height: 1.8;
  color: #000;
}

#hero img {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Hero Projects Combined Section */
#hero-projects {
  background: white;
  padding: 100px 0 40px 0;
}

.hero-projects-section {
  background: white;
}

.projects-container {
  background: white;
  padding: 40px 0;
  border-radius: 10px;
}

.btn-get-started {
  display: inline-block;
  padding: 12px 35px;
  background-color: #1e73be;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-get-started:hover {
  background-color: #155a9e;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(30, 115, 190, 0.3);
}

/* Clients/Major Projects Section */
#clients {
  padding: 80px 0;
  background: white;
}

#clients h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #1e73be;
}

.project-category {
  padding: 25px;
  background: white;
  border-radius: 10px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
}

.project-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(30, 115, 190, 0.15);
  border-color: #1e73be;
}

.project-category .icon {
  font-size: 2.8rem;
  color: #1e73be;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.project-category:hover .icon {
  transform: scale(1.1);
}

.project-category h5 {
  font-weight: 600;
  color: #333;
  font-size: 1.1rem;
}

.clients-line {
  font-size: 1rem;
  color: #666;
  font-style: italic;
  line-height: 1.7;
}

/* About Section */
#about {
  padding: 80px 0;
  background: white;
}

#about h3 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: #1e73be;
}

#about p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #666;
}

/* Services Section */
#services {
  padding: 80px 0;
  background: white;
}

#services h3 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 50px;
  text-align: center;
  color: #1e73be;
}

.service-box {
  padding: 35px 25px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  border: 1px solid #f0f0f0;
}

.service-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(30, 115, 190, 0.15);
  border-color: #1e73be;
}

.service-box .icon {
  font-size: 3.2rem;
  color: #1e73be;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.service-box:hover .icon {
  transform: scale(1.1);
}

.service-box h4 {
  font-weight: 600;
  color: #333;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.service-box p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Projects Section */
#projects {
  padding: 0px 0 20px 0;
  background: white;
}

.projects-heading {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  color: #1e73be;
  letter-spacing: -0.5px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 15px;
  padding: 0 10px;
}

.project-category-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

@media (max-width: 1200px) {
  .project-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .project-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 5px;
  }
}

/* Project Cards */
.project-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 200px;
  overflow: hidden;
  border: 2px solid #cbd5e0;
  position: relative;
}

.project-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: #1e73be;
  transition: width 0.4s ease;
}

.project-card:hover {
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
  border-color: #a0aec0;
  transform: none !important;
}

.project-card:hover::after {
  width: 100%;
}

/* Card Header - Logo side, Title centered */
.project-card-header {
  display: grid;
  grid-template-columns: 45px 1fr 45px;
  align-items: center;
  padding: 15px 15px;
  border-radius: 16px 16px 0 0;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.1) 0%, transparent 100%);
  pointer-events: none;
}

/* Gradient variants */
.grad-1, .grad-2, .grad-3, .grad-4, .grad-5, .grad-6, .grad-7, .grad-8 { 
  background: linear-gradient(135deg, #1e73be, #004a8c); 
}

/* Logo inside header - absolute static */
.project-card-logo {
  width: 45px;
  height: 45px;
  object-fit: contain;
  background: white;
  border-radius: 12px;
  padding: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transform: none !important;
  transition: none !important;
}



/* Title inside header - centered */
.project-card-title {
  grid-column: 2;
  font-weight: 700;
  font-size: 1.1rem;
  color: white;
  margin: 0;
  text-align: center;
  letter-spacing: 0.3px;
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* Description below header */
.project-card-desc {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 12px 15px 15px;
  margin: 0;
  flex-grow: 1;
  font-weight: 500;
  background: linear-gradient(to bottom, white 0%, #fafafa 100%);
}


/* Contact Section */
.contact-section {
  padding: 80px 0;
  background: white;
  color: #333;
}

.contact-section h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
  text-align: center;
  color: #1e73be;
}

.info-box {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

.contact-item {
  margin-bottom: 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.icon-circle {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e73be;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.icon-circle.small {
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
}

.contact-item h5 {
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 1.1rem;
  color: #333;
}

.contact-item p {
  margin: 0;
  font-size: 0.95rem;
  color: #666;
}

.contact-form {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

.contact-form input,
.contact-form textarea {
  background: white;
  border: 1px solid #e5e7eb;
  padding: 12px 15px;
  border-radius: 6px;
  font-size: 0.95rem;
  color: #333;
  transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #999;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background: white;
  border-color: #1e73be;
  box-shadow: 0 0 0 3px rgba(30, 115, 190, 0.1);
}

/* Footer */
footer {
  background: #2d3748;
  color: white;
  padding: 50px 0 30px 0;
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 0.95rem;
  color: #cbd5e0;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-circle {
  width: 45px;
  height: 45px;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e73be;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.3rem;
}

.social-circle:hover {
  background: #f0f8ff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Navbar Styling */
.navbar {
  background: white !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 3px solid #1e73be;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: white;
  padding-top: 70px;
}

.navbar-brand {
  font-weight: 700;
  color: #1e73be !important;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.navbar-brand:hover {
  color: #155a9e !important;
}

.navbar-logo {
  height: 45px;
  width: auto;
  object-fit: contain;
  margin-right: 10px;
}

.navbar-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.navbar-brand-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e73be;
  margin: 0 !important;
  letter-spacing: 0.5px;
}

.navbar-brand-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  color: #1e73be;
  margin: 0 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.85;
}

.navbar-brand-hospital {
  font-size: 0.7rem;
  font-weight: 500;
  color: #1e73be;
  margin: 0 !important;
  letter-spacing: 0.3px;
  opacity: 0.9;
}

.navbar-brand-line {
  font-size: 0.75rem;
  font-weight: 600;
  color: #1e73be;
  margin: 0 !important;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.nav-link {
  font-weight: 600;
  transition: all 0.3s ease;
  color: #333 !important;
  margin: 0 12px;
  position: relative;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.nav-link:hover {
  color: #1e73be !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 3px;
  background: #1e73be;
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: 2px solid #1e73be;
}

.btn-get-started-nav {
  background: #1e73be;
  color: #ffffff !important;
  padding: 10px 28px;
  border-radius: 25px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: 2px solid #1e73be;
  text-decoration: none !important;
  display: inline-block;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(30, 115, 190, 0.2);
}

.btn-get-started-nav:hover {
  background: white;
  color: #1e73be !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 115, 190, 0.3);
  text-decoration: none !important;
}

.btn-get-started-nav:focus {
  color: #1e73be !important;
  text-decoration: none !important;
}

/* Responsive */
@media (max-width: 768px) {
  #hero h1 {
    font-size: 2rem;
  }

  #hero h2 {
    font-size: 0.95rem;
  }

  #hero, #clients, #about, #services, #projects, .contact-section {
    padding: 50px 0;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .contact-section .row {
    flex-direction: column;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}


/* Coming Soon Badge */
.coming-soon-badge {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-left: 10px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.coming-soon-link {
  cursor: not-allowed;
  opacity: 0.6;
  pointer-events: none;
}

.coming-soon-link:hover {
  color: #1e73be !important;
  transform: none !important;
}

.coming-soon-tooltip {
  position: relative;
}

.coming-soon-tooltip:hover::after {
  content: "Coming Soon";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #667eea;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  white-space: nowrap;
  margin-bottom: 8px;
  z-index: 1000;
}

.coming-soon-tooltip:hover::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #667eea;
  margin-bottom: -6px;
  z-index: 1000;
}

/* Splash Screen Styles */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeOutSplash 0.5s ease-in-out 2s forwards;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

@keyframes fadeOutSplash {
  0% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

.splash-container {
  position: relative;
  text-align: center;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.splash-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 115, 190, 0.2);
  z-index: 2;
}

.splash-center-loader {
  position: relative;
  z-index: 20;
  animation: fadeIn 0.6s ease-out;
  text-align: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.splash-brand-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  margin: 0;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  letter-spacing: 1px;
  animation: slideUp 0.8s ease-out both;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.splash-loader {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.loader-dot {
  width: 14px;
  height: 14px;
  background: white;
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.loader-dot:nth-child(1) {
  animation-delay: 0s;
}

.loader-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.loader-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%, 80%, 100% {
    opacity: 0.7;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-15px);
  }
}

/* Responsive Splash Screen */
@media (max-width: 768px) {
  .loader-dot {
    width: 12px;
    height: 12px;
  }

  .splash-loader {
    gap: 12px;
  }
}

/* Custom Modal Styling */
.custom-modal-content {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.custom-modal-header {
  background: linear-gradient(135deg, #1e73be, #004a8c);
  color: white;
  padding: 20px 25px;
  border-bottom: none;
}

.custom-modal-header .modal-title {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.custom-modal-body {
  padding: 40px 30px;
  background: #fff;
}

.modal-icon-accent {
  font-size: 4rem;
  background: linear-gradient(135deg, #1e73be, #004a8c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 15px;
}

.custom-modal-footer {
  border-top: 1px solid #f0f0f0;
  padding: 15px 25px;
  background: #fcfcfc;
}

.btn-modal-action {
  background: linear-gradient(135deg, #1e73be, #004a8c);
  border: none;
  padding: 8px 25px;
  border-radius: 8px;
  font-weight: 600;
  color: white;
  transition: all 0.3s ease;
}

.btn-modal-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(30, 115, 190, 0.3);
  color: white;
}

/* Modal Project Grid */
.modal-project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 10px 0;
}

@media (max-width: 992px) {
  .modal-project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .modal-project-grid {
    grid-template-columns: 1fr;
  }
}

/* Adjust card behavior inside modal */
.custom-modal-body .project-card {
  min-height: 280px; /* Slightly more compact for modal */
}

/* Innovation Section Styles */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e73be;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.innovation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.innovation-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.innovation-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(30, 115, 190, 0.15);
    border-color: #1e73be;
}

.lottie-container {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.innovation-content h4 {
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.innovation-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Glassmorphism effect for Innovation Cards */
.bg-light .innovation-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Innovation Showcase Styles */
.innovation-showcase {
    background: white;
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(30, 115, 190, 0.1);
    display: inline-block;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30, 115, 190, 0.05);
}

.lottie-main-container {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease-in-out;
}

#innovation-player {
    width: 100%;
    height: 100%;
    transition: opacity 0.4s ease-in-out;
}

.innovation-info-box {
    padding-left: 40px;
}

.innovation-content-active {
    transition: opacity 0.4s ease-in-out;
}

#innovation-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

#innovation-desc {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
}

.innovation-steps {
    display: flex;
    gap: 12px;
}

.innovation-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.innovation-dot.active {
    background: #1e73be;
    width: 30px;
    border-radius: 6px;
}

.innovation-dot:hover {
    background: #1e73be;
}

@media (max-width: 992px) {
    .innovation-info-box {
        padding-left: 0;
        margin-top: 40px;
        text-align: center;
    }
    .innovation-info-box .section-title {
        text-align: center !important;
    }
    .innovation-steps {
        justify-content: center;
    }
    .lottie-main-container {
        height: 300px;
    }
}

/* Hero Lottie Showcase */
.hero-lottie-wrapper {
    background: transparent;
    border-radius: 20px;
    padding: 10px;
    transition: all 0.5s ease-in-out;
}

#hero-lottie-player {
    transition: opacity 0.5s ease-in-out;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}


/* Adjusted Hero Lottie Sizing */
.hero-lottie-wrapper {
    max-width: 600px;
    margin: 0 auto;
}


/* Project Card Button Styles */
.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card-body {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.btn-view-project {
    display: inline-block;
    padding: 8px 15px;
    background: #f8f9fa;
    color: #1e73be;
    border: 1px solid #1e73be;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    align-self: flex-start;
}

.project-card:hover .btn-view-project {
    background: #1e73be;
    color: white;
}

.btn-view-project i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.project-card:hover .btn-view-project i {
    transform: translateX(5px);
}

.project-card-header-link {
    text-decoration: none !important;
    display: block;
    color: inherit;
}

.project-card-header-link:hover {
    text-decoration: none !important;
    color: inherit;
}

/* Gradient moving text effect */
.gradient-moving-text {
    background: linear-gradient(270deg, #1e73be, #00c6ff, #1e73be, #0072ff);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 6s ease infinite;
    display: inline-block;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animated-headline {
    animation: slideUpFade 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}
/* Black floating text effect */
.floating-text {
    color: #000 !important;
    display: inline-block;
    animation: pulseText 3s ease-in-out infinite;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

@keyframes pulseText {
    0% { transform: scale(1); }
    50% { transform: scale(1.04); }
    100% { transform: scale(1); }
}
/* Shimmering text effect */
.shine-text {
    color: #1e73be;
    background: linear-gradient(120deg, #1e73be 40%, #56ccf2 50%, #1e73be 60%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
    display: inline-block;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}
/* Enhanced Hero Graphics Container */
.hero-graphics-container {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.hero-blob {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(30,115,190,0.2) 0%, rgba(0,198,255,0.05) 70%, transparent 100%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 0;
    animation: blobPulse 4s infinite alternate ease-in-out;
}

@keyframes blobPulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

/* Floating Glass Badges */
.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: badgeFloat 3s ease-in-out infinite;
}

.floating-badge.badge-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.floating-badge.badge-2 {
    bottom: 15%;
    right: -10%;
    animation-delay: 1.5s;
}

@keyframes badgeFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
/* Tech Circles Background */
.tech-circles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    z-index: 0;
}

.tech-circles .circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.tech-circles .circle-1 {
    width: 100%;
    height: 100%;
    border: 2px dashed rgba(30,115,190,0.4);
    animation: spin 25s linear infinite;
}

.tech-circles .circle-2 {
    width: 75%;
    height: 75%;
    border: 2px solid rgba(0,198,255,0.2);
    animation: spin-reverse 20s linear infinite;
}

.tech-circles .circle-3 {
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(30,115,190,0.1) 0%, transparent 70%);
}

@keyframes spin {
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes spin-reverse {
    100% { transform: translate(-50%, -50%) rotate(-360deg); }
}
/* Hero Showcase Card */
.hero-showcase-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    position: relative;
    max-width: 480px;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}
/* Mac Window Showcase UI */
.mac-window-showcase {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    border: 1px solid #e1e4e8;
    overflow: hidden;
    max-width: 500px;
    margin: 0 auto;
    /* 3D tilt effect */
    transform: perspective(1000px) rotateY(-6deg) rotateX(4deg);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
}

.mac-window-showcase:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-8px);
    box-shadow: 0 35px 65px rgba(0, 0, 0, 0.15);
}

.mac-window-header {
    background: #f6f8fa;
    border-bottom: 1px solid #e1e4e8;
    padding: 12px 15px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.mac-window-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.mac-window-header .dot.red { background: #ff5f56; }
.mac-window-header .dot.yellow { background: #ffbd2e; }
.mac-window-header .dot.green { background: #27c93f; }

.mac-window-body {
    padding: 10px;
    background: #fcfcfc;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Floating Projection Showcase */
.floating-lottie-showcase {
    position: relative;
    max-width: 450px;
    margin: 0 auto;
    padding-bottom: 20px;
    animation: gentleFloat 4s ease-in-out infinite;
}

.floor-shadow {
    width: 60%;
    height: 25px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0) 70%);
    margin: -10px auto 0 auto;
    border-radius: 50%;
    animation: shadowPulse 4s ease-in-out infinite;
}

@keyframes gentleFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

@keyframes shadowPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.85); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}
/* Clean Showcase Box */
.clean-showcase-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    max-width: 450px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.clean-showcase-box:hover {
    transform: translateY(-4px);
}
/* ===== Colorful Hero Showcase ===== */
.colorful-hero-wrap {
    position: relative;
    max-width: 460px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(135deg, #e0f7fa 0%, #e8eaf6 40%, #fce4ec 80%, #fff9c4 100%);
    box-shadow: 0 10px 40px rgba(110,130,255,0.18), 0 2px 12px rgba(255,100,130,0.10);
    padding: 10px;
}

/* Decorative blurred circles */
.color-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(45px);
    z-index: 0;
    opacity: 0.7;
}

.cc-1 {
    width: 180px;
    height: 180px;
    background: rgba(99, 179, 237, 0.55);
    top: -40px;
    left: -40px;
    animation: ccDrift1 6s ease-in-out infinite alternate;
}

.cc-2 {
    width: 160px;
    height: 160px;
    background: rgba(252, 129, 74, 0.4);
    bottom: -30px;
    right: -30px;
    animation: ccDrift2 7s ease-in-out infinite alternate;
}

.cc-3 {
    width: 130px;
    height: 130px;
    background: rgba(154, 230, 180, 0.5);
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    animation: ccDrift3 5s ease-in-out infinite alternate;
}

@keyframes ccDrift1 {
    from { transform: translate(0,0); }
    to { transform: translate(20px, 20px); }
}

@keyframes ccDrift2 {
    from { transform: translate(0,0); }
    to { transform: translate(-20px, -20px); }
}

@keyframes ccDrift3 {
    from { transform: translate(-50%, -50%) scale(1); }
    to { transform: translate(-50%, -50%) scale(1.2); }
}
/* ===== Neon Animated Border Card ===== */
.neon-card-outer {
    max-width: 460px;
    margin: 0 auto;
    padding: 4px;
    border-radius: 24px;
    background: linear-gradient(270deg, #6c63ff, #00c9a7, #ff6584, #f7b733, #6c63ff);
    background-size: 400% 400%;
    animation: neonBorderMove 5s linear infinite;
    box-shadow: 0 0 30px rgba(108, 99, 255, 0.3), 0 0 60px rgba(0, 201, 167, 0.15);
}

.neon-card-inner {
    background: #ffffff;
    border-radius: 20px;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

@keyframes neonBorderMove {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* ===== Show More Projects Button ===== */
.projects-count-badge {
    background: #e8f0fe;
    color: #1e73be;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(30,115,190,0.2);
}

.extra-projects-grid {
    animation: fadeSlideDown 0.4s ease forwards;
}

@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.btn-show-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #1e73be, #0ea5e9);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(30,115,190,0.25);
    transition: all 0.3s ease;
}

.btn-show-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30,115,190,0.35);
}

.btn-show-more i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-show-more.expanded i {
    transform: rotate(45deg);
}
/* Gap between first and extra project rows */
.extra-projects-grid {
    margin-top: 16px !important;
}
