/* PROFESSIONAL 2025 COLOR SYSTEM */
:root {
  --primary: #0a0e27;
  --secondary: #151d3a;
  --accent: #0647af;
  --accent-light: #08366f;
  --accent-alt: #063394;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-tertiary: #64748b;
  --bg-dark: #020617;
  --bg-surface: #0f172a;
  --bg-light: #1e293b;
  --border: #334155;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --transition: all 0.3s ease;
  --gradient-primary: linear-gradient(135deg, #1f4684 0%, #1f4684 100%);
  --gradient-dark: linear-gradient(135deg, #0a0e27 0%, #151d3a 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-primary);
  background: var(--bg-dark);
  line-height: 1.7;
  overflow-x: hidden;
  font-weight: 400;
  letter-spacing: 0.5px;
  font-smooth: antialiased;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes glow {
  0%,
  100% {
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
  }
  50% {
    text-shadow: 0 0 40px rgba(6, 182, 212, 0.6);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* NAVBAR */
.navbar {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 8px 32px rgba(6, 182, 212, 0.1);
  animation: slideInDown 0.6s ease-out;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  transition: var(--transition);
}

.nav-menu {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-link {
  padding: 8px 16px;
  border-radius: 6px;
  transition: var(--transition);
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 16px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: calc(100% - 32px);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}

/* HERO SECTION */
.hero {
  padding: 120px 0 140px;
  background: url("herobackground.webp");
  position: relative;
  overflow: hidden;
  animation: fadeIn 1s ease-in;
  background-size: cover;        /* Make image fill the whole div */
  background-position: center;   /* Center the image */
  background-repeat: no-repeat;
}

/* HERO WITH BACKGROUND IMAGE */
.hero.with-bg-image {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero.with-bg-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.8) 0%, rgba(21, 29, 58, 0.8) 100%);
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  top: -100px;
  right: -100px;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -50px;
  left: -50px;
  animation: float 8s ease-in-out infinite 1s;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
   font-family: 'Rajdhani', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1.5px;
  animation: fadeInUp 0.8s ease-out;
}


.subtitle {
   font-family: 'Exo 2', sans-serif;
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.7;
  font-weight: 500;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.subtext {
  font-family: 'Rajdhani', sans-serif;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.8;
  font-weight: 500;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn {
  font-family: 'Red Hat Display', sans-serif;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.3s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5);
}

.btn-outline {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background-color: rgba(6, 182, 212, 0.1);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  transition: var(--transition);
}

.contact-item:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-item a {
  color: inherit;
  transition: var(--transition);
}

/* HERO TECH STACK */
.hero-tech {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  animation: slideInRight 0.8s ease-out 0.3s both;
  box-shadow: 0 8px 32px rgba(6, 182, 212, 0.1);
}

.hero-tech h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--accent);
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-badge {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%);
  color: var(--accent-light);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--accent-light);
  transition: var(--transition);
}

.tech-badge:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}

/* FEATURED PROJECTS SECTION */
.featured {
  padding: 80px 0;
  background: var(--bg-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.featured h2,
.services h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 50px;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.project-card {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  animation: fadeInUp 0.6s ease-out;
  position: relative;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: 1;
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(6, 182, 212, 0.2);
  border-color: var(--accent);
}

.project-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--bg-light);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  filter: brightness(0.9);
}

.project-card:hover .project-image img {
  transform: scale(1.1);
  filter: brightness(1);
}

.project-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gradient-primary);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.project-tag.team {
  background: var(--accent-alt);
}

.project-card h3 {
  padding: 20px 20px 8px;
  font-size: 1.25rem;
  color: var(--accent);
}

.project-card p {
  padding: 0 20px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 500;
}

.project-footer {
  padding: 0 20px 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.center-button {
  text-align: center;
}

/* SERVICES SECTION */
.services {
  padding: 80px 0;
  background: var(--bg-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  padding: 40px;
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  transition: var(--transition);
  animation: fadeInUp 0.6s ease-out;
  position: relative;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.service-card:hover::after {
  opacity: 0.05;
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(6, 182, 212, 0.15);
  transform: translateY(-5px);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(139, 92, 246, 0.1));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--accent);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.service-icon svg {
  width: 30px;
  height: 30px;
}

.service-card h3 {
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 500;
}

/* CTA SECTION */
.cta {
  padding: 100px 0;
  background: url("projectInMind.jpg");
  background-size: cover;        /* Make image fill the whole div */
  background-position: center;   /* Center the image */
  background-repeat: no-repeat;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  top: -100px;
  right: -100px;
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0px auto 0 auto;
  animation: fadeInUp 0.8s ease-out;
  position: relative;
  z-index: 1;
  transform: translateY(-20px);
}

.cta h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta p {
  font-size: 1.125rem;
  margin-bottom: 32px;
  opacity: 0.98;
  line-height: 1.8;
  font-weight: 500;
}

.cta .btn-primary {
  background: white;
  color: var(--accent);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  padding: 8px 18px;    /* make button smaller */
  font-size: 0.75rem; 
  margin-top: 0px; 
}

.cta-text{
  margin-top: 30px;   /* moves the heading & paragraph down */
  margin-bottom: 0;
}

.cta .btn-primary:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

/* FOOTER */
.footer {
  background: var(--primary);
  color: white;
  padding: 60px 0 20px;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--accent);
}

.footer-section p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section a {
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--accent);
  transform: translateX(5px);
  display: inline-block;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .cta h2{
    font-size: 1.5rem !important;
    padding-top: 10px;
  }
 .cta .btn-primary {
    padding: 6px 12px;    /* smaller padding */
    font-size: 0.65rem;   /* smaller text */
    display: inline-block; /* prevent stretching */
    max-width: 200px;      /* limit button width */
    width: auto;           /* let it size to content */
  }
  .cta p{
    font-size: 1rem !important;
  }
  .menu-toggle {
    display: flex;
  }

  .menu-toggle span {
    transition: var(--transition);
  }

  /* Updated menu toggle animation for better visual feedback */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  /* Menu slides from right to left with smooth animation */
  .nav-menu {
    display: none;
    position: fixed;
    top: 70px;
    right: 0;
    width: 100%;
    max-width: 300px;
    height: calc(100vh - 70px);
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    border-left: 1px solid var(--border);
    padding: 16px 20px;
    gap: 4px;
    overflow-y: auto;
    transition: right 0.3s ease;
    z-index: 99;
  }

  .nav-menu.active {
    display: flex;
    right: 0;
  }

  .nav-link {
    padding: 12px 8px;
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    gap: 4px;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-link {
    padding: 12px 8px;
    display: block;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .featured h2,
  .services h2,
  .cta h2 {
    font-size: 2rem;
  }

  .contact-info {
    flex-direction: column;
  }

  .hero::before {
    width: 300px;
    height: 300px;
    top: -60px;
    right: -60px;
  }

  .hero::after {
    width: 250px;
    height: 250px;
    bottom: -30px;
    left: -30px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-tech {
    padding: 24px;
  }

  .footer-content {
    gap: 30px;
  }
}

/* STAGGER ANIMATIONS */
.projects-grid > *:nth-child(1) {
  animation-delay: 0s;
}

.projects-grid > *:nth-child(2) {
  animation-delay: 0.1s;
}

.projects-grid > *:nth-child(3) {
  animation-delay: 0.2s;
}

.services-grid > *:nth-child(1) {
  animation-delay: 0s;
}

.services-grid > *:nth-child(2) {
  animation-delay: 0.1s;
}

.services-grid > *:nth-child(3) {
  animation-delay: 0.2s;
}

/* PAGE HEADER SECTION */
.page-header {
  padding: 80px 0 60px;
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

/* BACKGROUND IMAGE VARIANTS */
.page-header.with-bg-image {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.page-header.with-bg-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.85) 0%, rgba(21, 29, 58, 0.85) 100%);
  z-index: 0;
}

.page-header::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  top: -50px;
  right: -50px;
  animation: float 8s ease-in-out infinite;
}

.page-header::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -50px;
  left: -50px;
  animation: float 10s ease-in-out infinite 1s;
}

.page-header h1 {
  font-size: 2.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  animation: fadeInDown 0.6s ease-out;
  position: relative;
  z-index: 1;
}

.page-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  animation: fadeInUp 0.6s ease-out 0.1s both;
  position: relative;
  z-index: 1;
}

/* ABOUT PAGE */
.about-section {
  padding: 80px 0;
  background: var(--bg-surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease-out;
}

.about-text h3 {
  font-size: 1.25rem;
  color: var(--accent);
  margin-top: 20px;
  margin-bottom: 12px;
  font-weight: 700;
}

.about-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
  font-weight: 500;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-box {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: var(--transition);
  animation: fadeInUp 0.6s ease-out;
  position: relative;
  overflow: hidden;
}

.stat-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.stat-box:hover::before {
  opacity: 0.05;
}

.stat-box:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(6, 182, 212, 0.15);
}

.stat-box h4 {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-box p {
  color: var(--text-secondary);
  font-weight: 600;
  margin: 0;
}

.stat-box[data-stat="1"] {
  animation-delay: 0s;
}
.stat-box[data-stat="2"] {
  animation-delay: 0.1s;
}
.stat-box[data-stat="3"] {
  animation-delay: 0.2s;
}
.stat-box[data-stat="4"] {
  animation-delay: 0.3s;
}

/* EXPERIENCE TIMELINE */
.experience-section {
  padding: 80px 0;
  background: var(--bg-dark);
}

.experience-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 60px;
  animation: fadeInUp 0.6s ease-out;
}

.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-alt) 100%);
}

.timeline-item {
  margin-bottom: 40px;
  animation: fadeInUp 0.6s ease-out;
}

.timeline-item:nth-child(odd) {
  margin-left: 0;
  text-align: right;
  padding-right: 52%;
}

.timeline-item:nth-child(even) {
  margin-left: 52%;
  padding-left: 48px;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--accent);
  border: 4px solid var(--bg-dark);
  border-radius: 50%;
  top: 20px;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
  transition: var(--transition);
}

.timeline-item:hover .timeline-marker {
  transform: translateX(-50%) scale(1.3);
  box-shadow: 0 0 40px rgba(6, 182, 212, 0.8);
}

.timeline-content {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: var(--transition);
}

.timeline-content:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(6, 182, 212, 0.15);
  transform: translateY(-5px);
}

.timeline-content h3 {
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.timeline-subtitle {
  color: var(--accent-alt);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 500;
}

/* CERTIFICATIONS */
.certifications-section {
  padding: 80px 0;
  background: var(--bg-surface);
}

.certifications-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 50px;
  animation: fadeInUp 0.6s ease-out;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.cert-card {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  transition: var(--transition);
  animation: fadeInUp 0.6s ease-out;
  position: relative;
}

.cert-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 12px 12px 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.cert-card:hover::before {
  transform: scaleX(1);
}

.cert-card:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(6, 182, 212, 0.15);
}

.cert-card h3 {
  font-size: 1.15rem;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 700;
}

.cert-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* INTERNATIONAL EXPERIENCE */
.international-section {
  padding: 80px 0;
  background: var(--bg-dark);
}

.international-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 50px;
  animation: fadeInUp 0.6s ease-out;
}

.international-card {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  max-width: 700px;
  margin: 0 auto;
  animation: fadeInUp 0.6s ease-out;
  transition: var(--transition);
}

.international-card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(6, 182, 212, 0.15);
  transform: translateY(-5px);
}

.international-card h3 {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.location {
  color: var(--accent-alt);
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.badge {
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--accent);
  transition: var(--transition);
}

.badge:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
}

/* SERVICES PAGE */
.services-detail {
  padding: 80px 0;
  background: var(--bg-surface);
}

.service-detail-item {
  margin-bottom: 80px;
  animation: fadeInUp 0.6s ease-out;
}

.service-detail-item[data-card="1"] {
  animation-delay: 0s;
}
.service-detail-item[data-card="2"] {
  animation-delay: 0.1s;
}
.service-detail-item[data-card="3"] {
  animation-delay: 0.2s;
}

.service-detail-item h2 {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.service-intro {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.service-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.detail-box {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: var(--transition);
}

.detail-box:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(6, 182, 212, 0.15);
  transform: translateY(-5px);
}

.detail-box h3 {
  color: var(--accent);
  font-size: 1.15rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.detail-box ul {
  list-style: none;
}

.detail-box ul li {
  color: var(--text-secondary);
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
  line-height: 1.6;
  transition: var(--transition);
}

.detail-box ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.detail-box:hover ul li {
  color: var(--text-primary);
  transform: translateX(5px);
}

/* TECH SECTION */
.tech-section {
  padding: 80px 0;
  background: var(--bg-dark);
}

.tech-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 60px;
  animation: fadeInUp 0.6s ease-out;
}

.tech-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.tech-category {
  animation: fadeInUp 0.6s ease-out;
}

.tech-category h3 {
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 700;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gradient-primary);
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tech-list span {
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--accent);
  transition: var(--transition);
  cursor: default;
}

.tech-list span:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}

/* PORTFOLIO PAGE */
.portfolio-section {
  padding: 80px 0;
  background: var(--bg-surface);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.portfolio-item {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  animation: fadeInUp 0.6s ease-out;
  position: relative;
}

.portfolio-item[data-project="1"] {
  animation-delay: 0s;
}
.portfolio-item[data-project="2"] {
  animation-delay: 0.1s;
}
.portfolio-item[data-project="3"] {
  animation-delay: 0.2s;
}
.portfolio-item[data-project="4"] {
  animation-delay: 0.3s;
}

.portfolio-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: 10;
}

.portfolio-item:hover::before {
  transform: scaleX(1);
}

.portfolio-item:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  box-shadow: 0 20px 50px rgba(6, 182, 212, 0.2);
}

.portfolio-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--bg-light);
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.15) rotate(2deg);
}

.status-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
  border: 1px solid;
  z-index: 5;
}

.status-badge.in-progress {
  background: rgba(6, 182, 212, 0.9);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
}

.status-badge.team {
  background: rgba(139, 92, 246, 0.9);
  color: white;
  border-color: var(--accent-alt);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.status-badge.university {
  background: rgba(16, 185, 129, 0.9);
  color: white;
  border-color: var(--success);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.portfolio-content {
  padding: 24px;
}

.portfolio-content h3 {
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.project-type {
  color: var(--accent-alt);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.portfolio-content .description {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
  font-weight: 500;
}

.portfolio-content .tech-list {
  margin-bottom: 20px;
}

.project-links {
  display: flex;
  gap: 12px;
}

.link-btn {
  flex: 1;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--accent);
}

.link-btn {
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent);
}

.link-btn:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.3);
}

.link-btn.secondary {
  border-color: var(--accent-alt);
  color: var(--accent-alt);
  background: rgba(139, 92, 246, 0.1);
}

.link-btn.secondary:hover {
  background: var(--accent-alt);
  color: white;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}

/* CONTACT PAGE */
.contact-section {
  padding: 80px 0;
  background: var(--bg-surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form-wrapper,
.contact-info-wrapper {
  animation: fadeInUp 0.6s ease-out;
}

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 32px;
  font-weight: 700;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: inherit;
  transition: var(--transition);
  font-size: 0.95rem;
}

.form-group select {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: inherit;
  transition: var(--transition);
  font-size: 0.95rem;
  cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-secondary);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
  background: rgba(30, 41, 59, 0.8);
}

.contact-info-card {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.contact-info-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(6, 182, 212, 0.15);
  transform: translateY(-5px);
}

.contact-info-card h3 {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.contact-info-card a {
  color: var(--accent);
  transition: var(--transition);
}

.contact-info-card a:hover {
  color: var(--accent-alt);
  text-decoration: underline;
}

.info-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 8px;
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--accent);
  font-weight: 600;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
  text-decoration: none;
}

.availability-card {
  background: var(--gradient-primary);
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  color: white;
  margin-top: 20px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.availability-card h3 {
  color: white;
  margin-bottom: 8px;
}

.availability-card p {
  color: rgba(255, 255, 255, 0.9);
}

/* FORM STATUS MESSAGE STYLING */
.form-status {
  padding: 16px 20px;
  border-radius: 8px;
  font-weight: 600;
  margin-bottom: 20px;
  border-left: 4px solid;
  animation: slideInDown 0.4s ease-out;
}

.form-status.success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border-color: var(--success);
}

.form-status.error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border-color: #ef4444;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2rem;
  }

  .about-grid,
  .contact-grid,
  .service-details-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    margin-left: 0;
    padding-left: 60px;
    padding-right: 0;
    text-align: left;
  }

  .timeline-marker {
    left: 20px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-item h2 {
    font-size: 1.5rem;
  }

  .tech-categories {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-header h1 {
    font-size: 1.75rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .stat-box {
    padding: 20px;
  }

  .stat-box h4 {
    font-size: 2rem;
  }

  .contact-grid {
    gap: 30px;
  }

  .project-links {
    flex-direction: column;
  }

  .link-btn {
    width: 100%;
  }
}
/* ADD PROJECT DETAIL PAGE STYLES */

/* PROJECT HERO SECTION */
.project-hero-section {
  padding: 80px 0 40px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  border-bottom: 1px solid var(--border);
}

.project-header-content {
  text-align: center;
}

.project-title {
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.project-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.project-meta {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-item strong {
  color: var(--accent);
}

/* PROJECT MAIN IMAGE */
.project-main-image {
  padding: 40px 0;
  background: var(--bg-dark);
}

.hero-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 500px;
  background: var(--bg-light);
}

.main-project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-wrapper:hover .main-project-image {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
}

.project-status-badge {
  background: var(--gradient-primary);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

/* PROJECT CONTENT SECTION */
.project-content-section {
  padding: 80px 0;
  background: var(--bg-dark);
}

.content-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
}

.main-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.content-block {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  transition: var(--transition);
}

.content-block:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(6, 182, 212, 0.15);
}

.content-block h2 {
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.content-block p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
}

.problem-solution-split,
.tech-details-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 20px;
}

.problem-col h3,
.solution-col h3,
.tech-col h3 {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.problem-col p,
.solution-col p,
.tech-col p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* FEATURES SHOWCASE */
.features-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.feature-item {
  background: rgba(6, 182, 212, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}

.feature-item:hover {
  border-color: var(--accent);
  background: rgba(6, 182, 212, 0.1);
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.feature-item h4 {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 8px;
}

.feature-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* GALLERY SHOWCASE */
.gallery-showcase {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.gallery-large {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 400px;
  border: 1px solid var(--border);
}

.gallery-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-large:hover img {
  transform: scale(1.08);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.1);
  border-color: var(--accent);
}

/* PROJECT SIDEBAR */
.project-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: var(--transition);
}

.sidebar-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(6, 182, 212, 0.15);
}

.sidebar-card h3 {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.sidebar-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.info-row .label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.info-row .value {
  color: var(--accent);
  font-weight: 600;
}

/* TECH TAGS */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(6, 182, 212, 0.2);
  transition: var(--transition);
}

.tech-tag:hover {
  background: rgba(6, 182, 212, 0.2);
  border-color: var(--accent);
}

/* ACTION BUTTONS */
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.action-btn {
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  display: block;
  text-decoration: none;
}

.action-btn.primary {
  background: var(--gradient-primary);
  color: white;
  border: none;
}

.action-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.action-btn.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.action-btn.secondary:hover {
  background: rgba(6, 182, 212, 0.1);
}

/* SKILLS BADGES */
.skills-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-badge {
  background: rgba(139, 92, 246, 0.1);
  color: #a78bfa;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

/* RELATED PROJECTS */
.related-projects-section {
  padding: 80px 0;
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
}

.related-projects-section h2 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 40px;
  text-align: center;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.related-card {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
}

.related-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(6, 182, 212, 0.2);
}

.related-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--bg-light);
}

.related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.related-card:hover .related-image img {
  transform: scale(1.1);
}

.related-card h4 {
  color: var(--accent);
  padding: 16px 16px 8px;
  font-size: 1.1rem;
}

.related-card p {
  color: var(--text-secondary);
  padding: 0 16px 16px;
  font-size: 0.9rem;
}

/* PROJECT DETAIL PAGE */
.project-detail {
  padding: 120px 0 80px;
  min-height: 100vh;
}

.project-header {
  text-align: center;
  margin-bottom: 60px;
}

.project-header h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.project-tag-large {
  display: inline-block;
  background: rgba(124, 92, 255, 0.9);
  color: var(--white);
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.project-meta {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.meta-item {
  text-align: center;
}

.meta-item h4 {
  font-size: 0.85rem;
  color: var(--text-lighter);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.meta-item p {
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 600;
}

.project-hero-image {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 80px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.project-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.project-content {
  max-width: 900px;
  margin: 0 auto;
}

.project-section {
  margin-bottom: 60px;
}

.project-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.project-section p {
  font-size: 1.1rem;
  color: var(--text-lighter);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.tech-badge {
  background: rgba(124, 92, 255, 0.1);
  color: #7c5cff;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(124, 92, 255, 0.3);
}

.features-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--text-lighter);
  font-size: 1.05rem;
}

.project-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.project-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.project-links .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 3rem;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: #7c5cff;
}

.back-link i {
  font-size: 0.9rem;
}

/* Added proper styling for project detail page sections */
.problem-solution-grid,
.tech-implementation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 20px;
}

.problem-solution-grid h3,
.tech-implementation-grid h3 {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.problem-solution-grid p,
.tech-implementation-grid p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.check-mark {
  color: var(--accent);
  margin-right: 12px;
  font-weight: bold;
}

.features-list li strong {
  color: #e0e0e0;
  display: block;
  margin-bottom: 4px;
}

.features-list li span {
  color: var(--text-secondary);
}

/* RESPONSIVE for project detail */
@media (max-width: 768px) {
  .project-header h1 {
    font-size: 2rem;
  }

  .project-meta {
    gap: 1.5rem;
  }

  .features-list {
    grid-template-columns: 1fr;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

  .project-section h2 {
    font-size: 1.5rem;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .project-title {
    font-size: 2rem;
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

  .project-sidebar {
    position: static;
  }

  .problem-solution-split,
  .tech-details-split {
    grid-template-columns: 1fr;
  }

  .features-showcase {
    grid-template-columns: 1fr;
  }

  .gallery-showcase {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-image-wrapper {
    height: 300px;
  }

  .project-meta {
    gap: 16px;
  }

  .problem-solution-grid,
  .tech-implementation-grid {
    grid-template-columns: 1fr;
  }

  .features-list {
    grid-template-columns: 1fr;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }
}

/* BACKGROUND IMAGE UTILITIES */
/* Use these classes for sections with background images */

.bg-cover {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.bg-contain {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.bg-fixed {
  background-attachment: fixed;
}

.bg-scroll {
  background-attachment: scroll;
}

/* Overlay for text readability over images */
.bg-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 39, 0.75);
  z-index: 1;
}

.bg-overlay.light::before {
  background: rgba(10, 14, 39, 0.5);
}

.bg-overlay.dark::before {
  background: rgba(10, 14, 39, 0.9);
}

/* Hero specific background image */
.hero-image {
  position: relative;
  z-index: 2;
}

/* Section backgrounds */
.section-bg {
  position: relative;
}

.section-bg.with-image {
  background-size: cover;
  background-position: center;
}

/* Gradient overlay for images (makes text readable) */
.gradient-overlay {
  position: relative;
}

.gradient-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 14, 39, 0.5) 100%);
  z-index: 1;
  pointer-events: none;
}

/* COURSES SECTION */
.courses-section {
  padding: 80px 0;
  background: var(--bg-dark);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.course-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.course-card:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
  transform: translateY(-5px);
}

.course-card.featured {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
  transform: scale(1.02);
}

.course-badge {
  background: var(--accent);
  color: var(--primary);
  padding: 6px 10px;
  border-radius: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
  display: inline-flex;
  align-items: center;
}

.course-header {
  padding: 30px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.course-level {
  display: inline-block;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.course-header h3 {
  font-size: 1.3rem;
  margin: 10px 0 0;
  color: var(--text-primary);
}

.course-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.course-description {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.course-includes {
  margin-bottom: 20px;
}

.course-includes h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--accent);
}

.course-includes ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.course-includes li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding-left: 20px;
  position: relative;
}

.course-includes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.course-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.course-stats {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.stat {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.course-price {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

.price-period {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  font-weight: 400;
}

/* FAQ SECTION */
.faq-section {
  padding: 80px 0;
  background: var(--bg-surface);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.faq-item {
  background: var(--bg-dark);
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid var(--accent);
}

.faq-item h4 {
  color: var(--text-primary);
  margin-bottom: 12px;
  font-size: 1rem;
}

.faq-item p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* SERVICE PACKAGES */
.service-packages {
  padding: 80px 0;
  background: var(--bg-dark);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.package-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.package-card:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
  transform: translateY(-5px);
}

.package-card.featured {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
  transform: scale(1.02);
}

.package-badge {
  background: var(--accent);
  color: var(--primary);
  padding: 6px 10px;
  border-radius: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
  display: inline-flex;
  align-items: center;
}

.package-header {
  padding: 30px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.package-header h3 {
  font-size: 1.3rem;
  margin: 0 0 10px;
  color: var(--text-primary);
}

.package-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}

.package-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.package-content > p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.package-features {
  list-style: none;
  margin-bottom: 20px;
  flex-grow: 1;
}

.package-features li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
}

.package-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

.package-features li:has(::before:contains("✗")) {
  opacity: 0.6;
}

@media (max-width: 768px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }

  .packages-grid {
    grid-template-columns: 1fr;
  }

  .course-card.featured {
    transform: scale(1);
  }

  .package-card.featured {
    transform: scale(1);
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* PROFESSIONAL HERO TWEAKS (overrides for refined copy) */
.hero-text h1 {
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  color: var(--text-primary);
  font-size: 2.6rem;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.hero-features {
  list-style: none;
  margin: 20px 0 28px;
  padding-left: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  display: grid;
  gap: 8px;
}

.hero-features li::before {
  content: "•";
  color: var(--accent);
  display: inline-block;
  width: 18px;
  margin-right: 8px;
}

.hero-note {
  margin-top: 18px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(226,232,240,0.08);
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 1.9rem;
  }
}

/* CARD ACTIONS: ensure CTAs sit consistently at the bottom of cards */
.course-actions,
.package-actions {
  margin-top: auto;
  padding: 18px 30px 24px;
  border-top: 1px solid var(--border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-actions .btn,
.package-actions .btn {
  width: 100%;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  padding: 12px 18px;
}

/* Reduce featured card scale to avoid layout shift and keep badges above content */
.course-card.featured,
.package-card.featured {
  transform: none;
}

.course-card .course-badge,
.package-card .package-badge {
  pointer-events: none;
}

@media (max-width: 480px) {
  .course-actions,
  .package-actions {
    padding: 14px 18px;
  }
}

