/* ============================================================================
   SIMPLE AND CLEAN PORTFOLIO LAYOUT
   ============================================================================ */

/* ============================================================================
   RESET AND BASE STYLES
   ============================================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================================
   NAVIGATION SECTION
   ============================================================================ */
.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  background: transparent;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.nav-logo a {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-logo a:hover {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: #1e293b;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #667eea;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #374151;
  margin: 3px 0;
  transition: 0.3s;
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.05) 0%,
    rgba(118, 75, 162, 0.05) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
  padding: 2rem 1rem;
}

.hero-animation {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  z-index: 5;
  position: relative;
}

.lottie-animation {
  filter: drop-shadow(0 10px 30px rgba(102, 126, 234, 0.3));
  z-index: 5;
  position: relative;
  width: 200px;
  height: 200px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease-out 0.5s both;
  position: relative;
  z-index: 5;
}

.hero h2 {
  font-size: 1.5rem;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out 0.7s both;
  position: relative;
  z-index: 5;
}

.hero p {
  font-size: 1.2rem;
  color: #64748b;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.9s both;
  line-height: 1.6;
  position: relative;
  z-index: 5;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  position: relative;
  z-index: 5;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 2px solid transparent;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-clip: padding-box;
  color: white;
}

.btn-primary::before,
.btn-secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s;
  z-index: 1;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
  left: 100%;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

/* ============================================================================
   SECTION BASE STYLES
   ============================================================================ */
section {
  padding: 5rem 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

section .container {
  position: relative;
  z-index: 3;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 3;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title p {
  font-size: 1.2rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: #1e293b;
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================================
   ABOUT SECTION
   ============================================================================ */
.about {
  background: #f8fafc;
  position: relative;
  z-index: 10;
  padding: 5rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 5;
}

.about-image {
  position: relative;
  z-index: 5;
}

.about-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 50px rgba(102, 126, 234, 0.2);
}

.about-text {
  position: relative;
  z-index: 5;
}

.about-text h3 {
  font-size: 2rem;
  color: #1e293b;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-intro {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 2rem;
}

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

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(102, 126, 234, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(102, 126, 234, 0.1);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.highlight-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.highlight-item i {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.highlight-item h4 {
  font-size: 1.1rem;
  color: #1e293b;
  margin-bottom: 0.3rem;
}

.highlight-item p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.about-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.skill-item {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 5;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.skill-item::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c);
  border-radius: 18px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.skill-item:hover::before {
  opacity: 1;
}

.skill-item:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
  background: rgba(255, 255, 255, 0.95);
}

.skill-item i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #667eea;
  transition: all 0.3s ease;
}

.skill-item:hover i {
  transform: scale(1.2) rotate(5deg);
  color: #764ba2;
}

.skill-item div {
  font-weight: 500;
  color: #1e293b;
  font-size: 0.9rem;
}

/* Contact info brief in about section */

/* ============================================================================
   EXPERIENCE SECTION
   ============================================================================ */
.experience-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: -3rem;
  width: 2px;
  background: #e2e8f0;
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-dot {
  width: 40px;
  height: 40px;
  background: #2563eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 2rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.2);
  box-shadow: 0 0 0 8px rgba(102, 126, 234, 0.3);
}

.timeline-dot i {
  color: white;
  font-size: 1.2rem;
}

.timeline-content {
  position: relative;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border-left: 4px solid #667eea;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.05) 0%,
    rgba(118, 75, 162, 0.05) 100%
  );
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.timeline-content:hover::before {
  opacity: 1;
}

.timeline-content:hover {
  transform: translateX(10px);
  box-shadow: 0 15px 45px rgba(102, 126, 234, 0.2);
}

.timeline-content h3 {
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.timeline-content .company {
  color: #2563eb;
  font-weight: 500;
  margin-bottom: 1rem;
}

.timeline-content .duration {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ============================================================================
   PORTFOLIO SECTION
   ============================================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.portfolio-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1) 0%,
    rgba(118, 75, 162, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.portfolio-item:hover::before {
  opacity: 1;
}

.portfolio-item:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(102, 126, 234, 0.25);
}

.portfolio-item img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.portfolio-content h3 {
  color: #1e293b;
  margin-bottom: 1rem;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  background: #e2e8f0;
  color: #475569;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
}

/* ============================================================================
   CONTACT SECTION
   ============================================================================ */
.contact {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
}

.contact .container {
  position: relative;
  z-index: 2;
}

.contact .section-title {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 20px;
  margin-bottom: 4rem;
}

.contact .section-title h2 {
  color: white !important;
  font-weight: 700;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: white !important;
  background-clip: unset !important;
}

.contact .section-title p {
  color: white !important;
  font-size: 1.2rem;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  text-decoration: none;
  color: white;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.contact-card:hover::before {
  transform: translateY(0);
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

.contact-card-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.contact-card:hover .contact-card-icon {
  background: white;
  color: #667eea;
  transform: scale(1.1) rotate(5deg);
}

.contact-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
}

.contact-card p {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.contact-card-arrow {
  display: inline-block;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.contact-card:hover .contact-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

.contact-cta {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
}

.cta-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
  background: white;
  color: #667eea;
  border: 2px solid white;
}

.cta-buttons .btn-secondary {
  background: transparent;
  color: white;
}

.cta-buttons .btn-primary:hover {
  background: #667eea;
  color: white;
  transform: translateY(-3px);
}

.cta-buttons .btn-secondary:hover {
  background: white;
  color: #667eea;
  transform: translateY(-3px);
}

/* ============================================================================
   FORM ELEMENTS & STATUS MESSAGES
   ============================================================================ */
.form-status {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  display: none;
}

.form-status.success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
  display: block;
}

.form-status.error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  display: block;
}

.form-status.loading {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #dbeafe;
  display: block;
}

/* ============================================================================
   BUTTON & LOADING STATES
   ============================================================================ */
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary .spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s ease-in-out infinite;
}

.btn-primary.loading .spinner {
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================================================
   FOOTER SECTION
   ============================================================================ */
.footer {
  background: #ffffff;
  color: #64748b;
  padding: 2.5rem 0 1.5rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #e2e8f0;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: #64748b;
  line-height: 1.6;
  max-width: 400px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  color: #1e293b;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-column a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #64748b;
  text-decoration: none;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.footer-column a:hover {
  color: #667eea;
  transform: translateX(5px);
}

.footer-column a i {
  font-size: 1rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}

.footer-bottom p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin: 0.5rem 0;
}

.footer-bottom i {
  color: #ef4444;
  animation: heartbeat 1.5s ease-in-out infinite;
}

.footer-bottom .fa-coffee {
  color: #a78bfa;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.2); }
  50% { transform: scale(1); }
}

/* Timeline Content Lists */
.timeline-content ul {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.timeline-content li {
  padding: 0.25rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.timeline-content li::before {
  content: "•";
  color: #2563eb;
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

/* ============================================================================
   EDUCATION SECTION
   ============================================================================ */
.education {
  background: #f8fafc;
}

.education-content h3 {
  font-size: 1.8rem;
  color: #1e293b;
  margin-bottom: 2rem;
  text-align: center;
}

.education-timeline {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.certifications-title {
  margin-top: 3rem !important;
}

/* ============================================================================
   CERTIFICATIONS SECTION
   ============================================================================ */
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.cert-item {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.cert-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(102, 126, 234, 0.1),
    transparent
  );
  transition: left 0.6s;
}

.cert-item:hover::before {
  left: 100%;
}

.cert-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.cert-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.cert-icon i {
  font-size: 1.8rem;
  color: white;
}

.cert-item:hover .cert-icon {
  transform: scale(1.1) rotate(5deg);
}

.cert-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.cert-link:hover {
  color: #764ba2;
  transform: translateX(5px);
}

.cert-id {
  display: inline-block;
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* ============================================================================
   TECH STACK SECTION
   ============================================================================ */
.tech-stack {
  padding: 5rem 0;
  background: #f8fafc;
  position: relative;
  z-index: 10;
}

.tech-category {
  margin-bottom: 4rem;
}

.tech-category:last-child {
  margin-bottom: 0;
}

.category-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #1e293b;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.category-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 5;
}

.tech-item {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 5;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tech-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(102, 126, 234, 0.1),
    transparent
  );
  transition: left 0.6s;
  z-index: 1;
}

.tech-item:hover::before {
  left: 100%;
}

.tech-item:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 25px 50px rgba(102, 126, 234, 0.2);
  background: rgba(255, 255, 255, 0.95);
}

.tech-icon {
  font-size: 3rem;
  color: #667eea;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 3;
}

.tech-item:hover .tech-icon {
  transform: scale(1.2) rotate(5deg);
  color: #764ba2;
}

.tech-item h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1e293b;
  transition: all 0.3s ease;
  position: relative;
  z-index: 3;
}

.tech-item p {
  color: #6b7280;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 3;
}

.tech-item::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(
    circle,
    rgba(102, 126, 234, 0.1) 0%,
    transparent 70%
  );
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: -1;
}

.tech-item:hover::after {
  width: 200px;
  height: 200px;
}

.stats-grid img:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

/* ============================================================================
   GLOBAL & UTILITY STYLES
   ============================================================================ */

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  z-index: 1001;
  transition: width 0.1s ease;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 55px;
  height: 55px;
  background: white;
  border: 2px solid #667eea;
  border-radius: 50%;
  color: #667eea;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top.on-white {
  background: white;
  border: 2px solid #667eea;
  color: #667eea;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top.on-gradient {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: white;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
}

.back-to-top.on-white:hover {
  background: #667eea;
  color: white;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.back-to-top.on-gradient:hover {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-primary:focus,
.btn-secondary:focus,
.back-to-top:focus {
  outline: 3px solid rgba(102, 126, 234, 0.5);
  outline-offset: 2px;
}

/* Enhanced Hover Effects */
.enhanced-hover {
  position: relative;
  overflow: hidden;
}

.enhanced-hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
  z-index: 1;
}

.enhanced-hover:hover::before {
  left: 100%;
}

/* CSS-only Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
    display: flex;
    gap: 1rem;
    z-index: 999;
  }

  .nav-menu-active {
    left: 0;
  }

  .nav-menu a {
    padding: 0.5rem;
    display: block;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

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

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .about-image img {
    max-width: 300px;
    margin: 0 auto;
  }

  .skill-item {
    padding: 1rem;
  }

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

  .tech-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }

  .tech-item {
    padding: 1.5rem;
  }

  .tech-icon {
    font-size: 2.5rem;
  }

  .stats-grid {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .stats-grid img {
    max-width: 100%;
    width: auto;
    height: auto;
  }

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

  .timeline-item {
    flex-direction: column;
  }

  .timeline-dot {
    margin-bottom: 1rem;
    margin-right: 0;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .nav-container {
    padding: 1rem 15px;
  }

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

  .lottie-animation {
    width: 120px;
    height: 120px;
  }

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

  .hero-animation {
    margin-bottom: 1rem;
  }

  .footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-content {
    margin-bottom: 2rem;
  }
}

/* AOS Animation Fallback Styles */
[data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: all 0.6s ease !important;
}

.aos-init[data-aos] {
  opacity: 1;
  transform: none;
}

.about-content,
.tech-grid,
.tech-item,
.skill-item {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

.tech-item {
  display: block !important;
  position: relative !important;
}

section {
  opacity: 1;
  visibility: visible;
}

.section-title {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

@media print {
  .navbar,
  .scroll-progress,
  .back-to-top {
    display: none !important;
  }

  section {
    page-break-inside: avoid;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .tech-item,
  .skill-item {
    break-inside: avoid;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (prefers-contrast: high) {
  .tech-item,
  .skill-item {
    border: 2px solid currentColor !important;
    background: white !important;
  }
}
