/* ============================================
   R. SIVAPRASAD - Portfolio Styles
   Elegant Light Theme
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --bg-primary: #f8f7f4;
  --bg-secondary: #f0efeb;
  --bg-white: #ffffff;
  --indigo: #4f46e5;
  --indigo-light: #eef2ff;
  --indigo-glow: rgba(79, 70, 229, 0.12);
  --purple: #7c3aed;
  --purple-light: #f5f3ff;
  --purple-glow: rgba(124, 58, 237, 0.1);
  --amber: #f59e0b;
  --amber-light: #fffbeb;
  --pink: #ec4899;
  --pink-light: #fdf2f8;
  --cyan: #06b6d4;
  --cyan-light: #ecfeff;
  --emerald: #10b981;
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-muted: #9ca3af;
  --border-light: #e5e4e0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.08);
  --gradient-main: linear-gradient(135deg, var(--indigo), var(--purple));
  --gradient-warm: linear-gradient(135deg, var(--amber), var(--pink));
  --gradient-soft: linear-gradient(135deg, #eef2ff, #f5f3ff);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1200px;
  --section-padding: 100px 0;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--indigo) var(--bg-primary);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: var(--gradient-main);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--indigo); }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition-smooth); }
ul { list-style: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section-subtitle {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 12px;
  position: relative;
}
.section-subtitle::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--gradient-main);
  margin-left: 12px;
  vertical-align: middle;
  opacity: 0.5;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 580px;
  line-height: 1.8;
}
section { padding: var(--section-padding); position: relative; }

/* ---------- Glass Card (Light) ---------- */
.glass-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}
.glass-card:hover {
  border-color: var(--indigo);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* ---------- Gradient Button ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 4px 16px var(--indigo-glow);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--indigo-glow);
}
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-light);
}
.btn-secondary:hover {
  border-color: var(--indigo);
  color: var(--indigo);
  transform: translateY(-3px);
}
.btn-sm { padding: 10px 24px; font-size: 0.85rem; }

/* ---------- Soft Background Pattern ---------- */
.bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, var(--indigo-light) 0%, transparent 50%),
                    radial-gradient(circle at 80% 70%, var(--purple-light) 0%, transparent 50%);
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition-smooth);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}
.nav-logo span { font-weight: 300; color: var(--text-muted); -webkit-text-fill-color: var(--text-muted); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gradient-main);
  transition: var(--transition-smooth);
  border-radius: 2px;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }
.nav-links .nav-cta {
  background: var(--gradient-main);
  padding: 10px 24px;
  border-radius: 50px;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 12px var(--indigo-glow);
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px var(--indigo-glow); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.hamburger span {
  width: 28px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background: linear-gradient(135deg, #f8f7f4 0%, #eef2ff 40%, #f5f3ff 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 50%, rgba(79,70,229,0.06) 0%, transparent 50%),
                    radial-gradient(circle at 85% 30%, rgba(124,58,237,0.05) 0%, transparent 50%),
                    radial-gradient(circle at 50% 80%, rgba(245,158,11,0.04) 0%, transparent 50%);
  z-index: 0;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  color: var(--indigo);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  animation: fadeInUp 0.6s ease;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--emerald);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 8px;
  color: var(--text-primary);
  animation: fadeInUp 0.6s ease 0.1s both;
}
.hero-content h1 .highlight {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease 0.2s both;
}
.hero-subtitle .typing-text {
  color: var(--indigo);
  font-weight: 600;
  border-right: 2px solid var(--indigo);
  padding-right: 4px;
  animation: blink 0.8s step-end infinite;
}
@keyframes blink { 50% { border-color: transparent; } }
.hero-desc {
  color: var(--text-secondary);
  font-size: 1.02rem;
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 36px;
  animation: fadeInUp 0.6s ease 0.3s both;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.4s both;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  animation: fadeInUp 0.6s ease 0.5s both;
}
.hero-stat h3 {
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat p { font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.8s ease 0.3s both;
}
.hero-visual .profile-frame {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  border: 3px solid var(--bg-white);
  box-shadow: 0 0 0 6px var(--indigo-light), 0 20px 60px rgba(79,70,229,0.15);
}
.hero-visual .profile-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-ring {
  position: absolute;
  border-radius: 50%;
  animation: spin 20s linear infinite;
}
.hero-ring:nth-child(1) {
  width: 480px; height: 480px;
  border: 1.5px solid rgba(79,70,229,0.15);
  animation-duration: 25s;
}
.hero-ring:nth-child(2) {
  width: 330px; height: 330px;
  border: 1.5px solid rgba(124,58,237,0.15);
  animation-duration: 20s;
  animation-direction: reverse;
}
.hero-ring:nth-child(3) {
  width: 440px; height: 440px;
  border: 1.5px dashed rgba(245,158,11,0.2);
  animation-duration: 30s;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about { background: var(--bg-white); }
.about .container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.about-image { position: relative; }
.about-image .about-img-frame {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}
.about-image .about-img-frame img { width: 100%; height: 450px; object-fit: cover; }
.about-image .about-exp {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gradient-main);
  padding: 20px 28px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 30px var(--indigo-glow);
  color: #fff;
}
.about-image .about-exp h3 { font-size: 1.6rem; font-weight: 700; }
.about-image .about-exp p { font-size: 0.82rem; opacity: 0.9; }
.about-content h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.about-content p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.8; }
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.about-tags span {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}
.about-tags span:hover {
  border-color: var(--indigo);
  color: var(--indigo);
  background: var(--indigo-light);
}

/* ============================================
   SKILLS SECTION
   ============================================ */
.skills { background: var(--bg-primary); }
.skills-header { text-align: center; margin-bottom: 60px; }
.skills-header .section-desc { margin: 0 auto; }
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.skill-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}
.skill-card:hover {
  border-color: var(--indigo);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.skill-card .skill-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  background: var(--bg-primary);
}
.skill-card h4 { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 16px; color: var(--text-primary); }
.skill-item { margin-bottom: 14px; }
.skill-item:last-child { margin-bottom: 0; }
.skill-item .skill-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  margin-bottom: 6px;
  color: var(--text-secondary);
}
.skill-bar {
  height: 6px;
  background: var(--bg-primary);
  border-radius: 10px;
  overflow: hidden;
}
.skill-bar .skill-progress {
  height: 100%;
  border-radius: 10px;
  background: var(--gradient-main);
  transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 0;
}
.skill-bar .skill-progress.animated { }

/* ============================================
   SERVICES LIGHT THEME (Main page)
   ============================================ */
.services-light {
  background: var(--bg-white);
  padding: var(--section-padding);
}
.section-subtitle-light {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 12px;
}
.section-subtitle-light::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--gradient-main);
  margin-left: 12px;
  vertical-align: middle;
  opacity: 0.5;
}
.section-title-light {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.section-desc-light {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 580px;
  line-height: 1.8;
}
.services-header { text-align: center; margin-bottom: 60px; }
.services-header .section-desc-light { margin: 0 auto; }
.services-grid-light {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.service-card-light {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.service-card-light::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}
.service-card-light:hover::before { transform: scaleX(1); }
.service-card-light:hover {
  border-color: var(--indigo);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  background: var(--bg-white);
}
.service-card-light .scl-icon {
  width: 70px; height: 70px;
  margin: 0 auto 20px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  transition: all 0.4s ease;
}
.service-card-light:hover .scl-icon { transform: scale(1.1) rotate(-5deg); }
.service-card-light h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.service-card-light p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}
.service-card-light .scl-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--indigo);
  font-weight: 600;
  transition: all 0.3s ease;
}
.service-card-light:hover .scl-tag { letter-spacing: 0.5px; }

/* ============================================
   SPECIALTY SECTIONS
   ============================================ */
.specialty { position: relative; overflow: hidden; background: var(--bg-primary); }
.specialty:nth-child(even) { background: var(--bg-white); }
.specialty .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.specialty.reverse .container { direction: rtl; }
.specialty.reverse .container > * { direction: ltr; }
.specialty-visual {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}
.specialty-visual img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: var(--transition-smooth);
}
.specialty-visual:hover img { transform: scale(1.05); }
.specialty-content h3 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.specialty-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}
.specialty-features {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}
.specialty-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}
.specialty-features li i {
  color: var(--indigo);
  font-size: 0.9rem;
  width: 20px;
  text-align: center;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio-header { text-align: center; margin-bottom: 40px; }
.portfolio-header .section-desc { margin: 0 auto; }
.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.portfolio-filters button {
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}
.portfolio-filters button:hover,
.portfolio-filters button.active {
  background: var(--gradient-main);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px var(--indigo-glow);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.portfolio-item {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-light);
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}
.portfolio-item:hover img { transform: scale(1.1); }
.portfolio-item .portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(79,70,229,0.95), rgba(79,70,229,0.2));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: var(--transition-smooth);
  color: #fff;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h4 { font-family: var(--font-heading); font-size: 1.15rem; margin-bottom: 6px; }
.portfolio-overlay p { font-size: 0.85rem; opacity: 0.9; margin-bottom: 12px; }
.portfolio-overlay .portfolio-tag {
  display: inline-block;
  font-size: 0.72rem;
  padding: 4px 14px;
  border-radius: 50px;
  background: rgba(255,255,255,0.2);
  color: #fff;
  width: fit-content;
  backdrop-filter: blur(4px);
}

/* ============================================
   CERTIFICATIONS SECTION
   ============================================ */
.certifications {
  background: var(--bg-primary);
  overflow: hidden;
}
.cert-header { text-align: center; margin-bottom: 60px; }
.cert-header .section-desc { margin: 0 auto; }
.cert-slider { position: relative; overflow: hidden; }
.cert-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cert-card {
  min-width: calc(33.333% - 16px);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}
.cert-card:hover {
  border-color: var(--indigo);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.cert-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-light);
}
.cert-card .cert-body { padding: 24px; }
.cert-card .cert-body h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.cert-card .cert-body p { color: var(--text-secondary); font-size: 0.82rem; }
.cert-card .cert-body .cert-date {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--indigo);
  font-weight: 600;
}
.slider-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}
.slider-nav button {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
}
.slider-nav button:hover {
  border-color: var(--indigo);
  background: var(--indigo-light);
  color: var(--indigo);
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border-light);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.slider-dot.active { background: var(--indigo); width: 28px; border-radius: 5px; }

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials { overflow: hidden; background: var(--bg-white); }
.testimonials-header { text-align: center; margin-bottom: 60px; }
.testimonials-header .section-desc { margin: 0 auto; }
.testimonial-slider { position: relative; overflow: hidden; }
.testimonial-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.testimonial-card {
  min-width: calc(50% - 12px);
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 36px;
  flex-shrink: 0;
  transition: var(--transition-smooth);
  position: relative;
}
.testimonial-card:hover {
  border-color: var(--purple);
  box-shadow: var(--shadow-lg);
}
.testimonial-card .quote-icon {
  font-size: 2rem;
  color: var(--purple-light);
  margin-bottom: 16px;
}
.testimonial-card .testimonial-text {
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 24px;
}
.testimonial-card .testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.testimonial-card .testimonial-author img {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg-white);
  box-shadow: var(--shadow-sm);
}
.testimonial-card .testimonial-author h5 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text-primary);
}
.testimonial-card .testimonial-author p {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.testimonial-card .testimonial-stars {
  color: var(--amber);
  margin-top: 4px;
  font-size: 0.82rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  background: var(--bg-primary);
  position: relative;
}
.contact .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.contact-info p { color: var(--text-secondary); margin-bottom: 32px; }
.contact-details { display: grid; gap: 20px; margin-bottom: 32px; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-detail .cd-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--indigo-light);
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail h5 { font-size: 0.92rem; color: var(--text-primary); }
.contact-detail p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0; }
.contact-detail a { color: var(--indigo) !important; }
.contact-social {
  display: flex;
  gap: 12px;
}
.contact-social a {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}
.contact-social a:hover {
  background: var(--gradient-main);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--indigo-glow);
}
.contact-form {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.contact-form .form-group { margin-bottom: 20px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px var(--indigo-glow);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); }
.contact-form .btn { width: 100%; justify-content: center; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 40px 0;
  background: var(--bg-white);
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer p { color: var(--text-muted); font-size: 0.85rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-muted); font-size: 0.85rem; }
.footer-links a:hover { color: var(--indigo); }

/* ============================================
   CTA BANNER (Conversion)
   ============================================ */
.cta-banner {
  background: var(--gradient-main);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 14px;
  color: #fff;
}
.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.02rem;
  max-width: 580px;
  margin: 0 auto 24px;
}
.cta-banner .cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-banner .cta-btn-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}
.cta-banner .cta-btn-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}
.cta-banner .cta-divider {
  color: rgba(255,255,255,0.3);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.9); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-main);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px var(--indigo-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-smooth);
  z-index: 999;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--indigo-glow);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-content .hero-desc { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual .profile-frame { width: 280px; height: 280px; }
  .hero-ring:nth-child(1) { width: 360px; height: 360px; }
  .hero-ring:nth-child(2) { width: 250px; height: 250px; }
  .hero-ring:nth-child(3) { width: 320px; height: 320px; }
  .about .container { grid-template-columns: 1fr; }
  .specialty .container { grid-template-columns: 1fr; gap: 40px; }
  .contact .container { grid-template-columns: 1fr; }
  .cert-card { min-width: calc(50% - 12px); }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 100px 36px 40px;
    gap: 20px;
    transition: right 0.4s ease;
    border-left: 1px solid var(--border-light);
    box-shadow: -10px 0 40px rgba(0,0,0,0.06);
  }
  .nav-links.open { right: 0; }
  .hamburger { display: flex; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-visual .profile-frame { width: 220px; height: 220px; }
  .hero-ring:nth-child(1) { width: 280px; height: 280px; }
  .hero-ring:nth-child(2) { width: 200px; height: 200px; }
  .hero-ring:nth-child(3) { width: 250px; height: 250px; }
  .testimonial-card { min-width: calc(100%); }
  .cert-card { min-width: calc(100%); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .services-grid-light { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .contact-form { padding: 24px; }
  .footer .container { flex-direction: column; text-align: center; }
  .about-image .about-exp { right: 10px; bottom: -10px; padding: 16px 20px; }
  .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; font-size: 1rem; }
  .cta-banner .cta-actions { flex-direction: column; }
  .cta-banner .cta-divider { display: none; }
}

@media (max-width: 480px) {
  .hero-visual .profile-frame { width: 180px; height: 180px; }
  .hero-ring:nth-child(1) { width: 230px; height: 230px; }
  .hero-ring:nth-child(2) { width: 165px; height: 165px; }
  .hero-ring:nth-child(3) { width: 210px; height: 210px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .section-title-light,
  .section-title { font-size: 1.7rem; }
}
