@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ========================================
   CSS CUSTOM PROPERTIES
   ======================================== */
:root {
  --color-brown-dark: #3D2B1F;
  --color-brown: #5C3D2E;
  --color-brown-medium: #7B5B4C;
  --color-brown-light: #A68B7B;
  --color-cream: #FFF8F0;
  --color-cream-dark: #F5E6D3;
  --color-cream-medium: #EDD9C4;
  --color-accent: #C4956A;
  --color-accent-light: #D4A574;
  --color-text: #2D1F14;
  --color-text-light: #6B5B4F;
  --color-white: #FFFFFF;
  --color-shadow: rgba(61, 43, 31, 0.1);
  --color-shadow-deep: rgba(61, 43, 31, 0.2);
}

/* ========================================
   RESET & BASE
   ======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

.info-text,
.info-text a,
.hero-intro {
  overflow-wrap: break-word;
  word-break: break-word;
  text-align: justify;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--color-text);
  background: var(--color-cream);
  overflow-x: hidden;
}

section {
  min-height: 100vh;
  position: relative;
}

.section-padding {
  padding: 5rem 8%;
  max-width: 1400px;
  margin: 0 auto;
}

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

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-brown-dark);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  transition: background 0.3s, backdrop-filter 0.3s;
}

.navbar.scrolled {
  background: rgba(61, 43, 31, 0.95);
  box-shadow: 0 4px 20px var(--color-shadow-deep);
  backdrop-filter: blur(10px);
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-cream);
  text-decoration: none;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--color-cream);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 12px;
  margin: -12px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--color-cream);
  transition: all 0.3s;
}

/* ========================================
   LANDING SECTION
   ======================================== */
#landing {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, #4A3528 0%, #3D2B1F 40%, #2D1F14 100%);
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 2rem;
}

.hero-logo {
  font-size: 5rem;
  font-weight: 900;
  color: var(--color-accent);
  margin-bottom: 1rem;
  letter-spacing: 4px;
}

.hero-name {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-cream);
  margin-bottom: 1rem;
  letter-spacing: -1px;
  line-height: 1.1;
}

.hero-designations {
  color: var(--color-accent-light);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.hero-intro {
  color: rgba(255, 248, 240, 0.8);
  line-height: 1.8;
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}

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

.btn-primary {
  background: var(--color-accent);
  color: var(--color-brown-dark);
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--color-accent-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(196, 149, 106, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--color-cream);
  padding: 14px 32px;
  border-radius: 50px;
  border: 2px solid var(--color-cream);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: var(--color-cream);
  color: var(--color-brown-dark);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.social-icons a {
  color: var(--color-cream);
  font-size: 1.3rem;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 248, 240, 0.2);
}

.social-icons a:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  transform: scale(1.15);
}

/* ========================================
   ABOUT SECTION
   ======================================== */
#about {
  background: var(--color-cream);
}

.about-content {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.about-text {
  flex: 1.4;
}

.about-photo-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.about-photo-wrapper img {
  width: 280px;
  height: 370px;
  object-fit: cover;
  border-radius: 20px;
  border: 4px solid var(--color-accent);
  box-shadow: 0 20px 60px var(--color-shadow-deep);
}

.about-description {
  font-size: 1rem;
  text-align: justify;
  line-height: 1.9;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

.mission-vision {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.mv-card {
  flex: 1;
  background: var(--color-white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px var(--color-shadow);
  perspective: 1000px;
}

.mv-card h3 {
  font-size: 1.1rem;
  color: var(--color-brown);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mv-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-text-light);
}

.view-work-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.view-work-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 25px;
  border: 1.5px solid var(--color-brown-light);
  color: var(--color-brown);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.view-work-btn::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 10%;
  width: 0;
  height: 1.5px;
  background: var(--color-accent);
  transition: width 0.3s;
}

.view-work-btn:hover::after {
  width: 80%;
}

.view-work-btn:hover {
  color: var(--color-brown-dark);
  border-color: var(--color-accent);
}

.view-work-btn:hover .btn-icon {
  transform: translateX(4px);
}

.btn-icon {
  transition: transform 0.3s;
}

/* ========================================
   EXPERIENCE SECTION
   ======================================== */
#experience {
  background: var(--color-cream);
}

.experience-card {
  display: flex;
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-white);
  box-shadow: 0 4px 20px var(--color-shadow);
  margin-bottom: 2rem;
  transition: all 0.4s;
}

.experience-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px var(--color-shadow-deep);
}

.exp-dark-panel {
  width: 220px;
  min-width: 220px;
  background: var(--color-brown-dark);
  color: var(--color-cream);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  overflow: hidden;
}

.exp-dark-panel .company-name {
  font-size: 1.1rem;
  font-weight: 700;
}

.exp-dark-panel .employment-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 15px;
  background: rgba(255, 248, 240, 0.15);
  font-size: 0.75rem;
  font-weight: 500;
}

.exp-dark-panel .location,
.exp-dark-panel .duration {
  font-size: 0.8rem;
  color: rgba(255, 248, 240, 0.7);
}

.exp-content {
  padding: 2rem;
  flex: 1;
}

.exp-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-brown-dark);
  margin-bottom: 1rem;
}

.exp-content h4 {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.exp-content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.exp-content li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-light);
}

/* ========================================
   EDUCATION SECTION
   ======================================== */
#education {
  background: var(--color-cream-dark);
}

.edu-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 2rem;
  border-left: 4px solid var(--color-accent);
  box-shadow: 0 4px 20px var(--color-shadow);
  margin-bottom: 2rem;
  transition: all 0.4s;
}

.edu-card:hover {
  box-shadow: 0 0 0 3px var(--color-accent), 0 8px 30px var(--color-shadow-deep);
}

.edu-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.edu-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-brown-dark);
}

.edu-header .edu-duration {
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 600;
  background: var(--color-cream);
  padding: 4px 12px;
  border-radius: 15px;
}

.edu-institution {
  font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.edu-mode {
  font-size: 0.85rem;
  color: var(--color-brown-medium);
  margin-bottom: 1rem;
  font-style: italic;
}

.edu-highlights {
  padding-left: 1.25rem;
}

.edu-highlights li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-light);
}

.edu-icon {
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.edu-card:hover .edu-icon {
  animation: toss 0.6s ease;
}

/* ========================================
   PROJECTS SECTION
   ======================================== */
#projects {
  background: var(--color-cream);
}

.project-card {
  display: flex;
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-white);
  box-shadow: 0 4px 20px var(--color-shadow);
  margin-bottom: 2rem;
  transition: all 0.4s;
}

.project-dark-panel {
  width: 35%;
  background: var(--color-brown-dark);
  color: var(--color-cream);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.4s;
}

.project-dark-panel h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  transition: letter-spacing 0.3s;
}

.project-card:hover .project-dark-panel h3 {
  letter-spacing: 2px;
}

.project-card:hover .project-dark-panel {
  box-shadow: inset 0 0 30px rgba(196, 149, 106, 0.2);
}

.project-type-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 15px;
  background: rgba(255, 248, 240, 0.15);
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}

.project-duration {
  font-size: 0.8rem;
  color: rgba(255, 248, 240, 0.7);
}

.project-content {
  padding: 2.5rem;
  flex: 1;
}

.project-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.project-outcomes {
  margin-bottom: 1.5rem;
}

.outcome-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 8px;
  background: var(--color-cream);
  transition: all 0.3s;
}

.outcome-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.outcome-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text-light);
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 20px;
  background: var(--color-cream-dark);
  color: var(--color-brown);
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s;
}

.tech-tag:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-cream-dark);
}

.project-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 50px;
  border: 2px solid var(--color-brown-dark);
  color: var(--color-brown-dark);
  background: transparent;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.project-link-btn:hover {
  background: var(--color-brown-dark);
  color: var(--color-cream);
  transform: translateY(-2px);
}

.project-link-live {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.project-link-live:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.more-projects-cta {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

/* ========================================
   SKILLS SECTION
   ======================================== */
#skills {
  background: var(--color-cream-dark);
}

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

.skill-category-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 4px 20px var(--color-shadow);
  transition: all 0.4s;
}

.skill-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--color-shadow-deep);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.category-icon {
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s;
}

.skill-category-card:hover .category-icon {
  animation: spin 1s linear;
}

.category-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-brown-dark);
}

.skill-item {
  margin-bottom: 1rem;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.skill-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
}

.skill-percentage {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-brown);
}

.progress-bar-track {
  height: 8px;
  background: var(--color-cream-dark);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-brown) 0%, var(--color-accent) 100%);
  border-radius: 4px;
  width: 0;
  transition: width 1.2s ease-out;
}

/* ========================================
   CERTIFICATIONS SECTION
   ======================================== */
#certifications {
  background: var(--color-cream);
}

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

.cert-card {
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--color-shadow);
  transition: all 0.4s;
  cursor: pointer;
}

.cert-card:hover {
  background: var(--color-cream-dark);
  box-shadow: 0 12px 40px var(--color-shadow-deep);
}

.cert-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s;
}

.cert-card:hover .cert-image {
  transform: scale(1.05);
}

.cert-info {
  padding: 1.25rem;
}

.cert-info h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-brown-dark);
  margin-bottom: 0.5rem;
}

.cert-provider {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 15px;
  background: var(--color-cream);
  font-size: 0.8rem;
  color: var(--color-brown-medium);
  font-weight: 500;
}

/* ========================================
   ACHIEVEMENTS SECTION
   ======================================== */
#achievements {
  background: var(--color-cream-dark);
}

.stats-counters {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 1.5rem 2rem;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 4px 20px var(--color-shadow);
  min-width: 150px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-brown);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-weight: 500;
  margin-top: 4px;
}

.achievement-card {
  display: flex;
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-white);
  box-shadow: 0 4px 20px var(--color-shadow);
  margin-bottom: 2rem;
  transition: all 0.4s;
}

.achievement-card:hover {
  box-shadow: 0 0 0 3px var(--color-accent), 0 12px 40px var(--color-shadow-deep);
}

.achievement-image {
  width: 40%;
  min-height: 250px;
  overflow: hidden;
}

.achievement-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* animation: kenBurns 20s infinite alternate; */
  /* animate-on-scroll: zoom-in; */
}

.achievement-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.achievement-badge {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  width: fit-content;
  margin-bottom: 1rem;
}

.badge-professional {
  background: rgba(196, 149, 106, 0.15);
  color: var(--color-accent);
}

.badge-academic {
  background: rgba(92, 61, 46, 0.1);
  color: var(--color-brown);
}

.achievement-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-brown-dark);
  margin-bottom: 0.5rem;
}

.achievement-year {
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.achievement-institution {
  font-size: 0.9rem;
  color: var(--color-brown-medium);
  margin-bottom: 0.75rem;
}

.achievement-description {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-text-light);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
#contact {
  background: var(--color-cream);
}

.contact-wrapper {
  display: flex;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px var(--color-shadow-deep);
  max-width: 1000px;
  margin: 0 auto;
}

.contact-form-panel {
  flex: 1;
  background: var(--color-white);
  padding: 3rem;
}

.contact-info-panel {
  width: 380px;
  background: var(--color-brown-dark);
  color: var(--color-cream);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-panel h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.form-group {
  position: relative;
  margin-bottom: 2.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: none;
  border-bottom: 2px solid var(--color-cream-dark);
  padding: 14px 0 8px;
  font-size: 1rem;
  font-family: inherit;
  background: transparent;
  color: var(--color-text);
  outline: none;
  transition: border-color 0.3s;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group label {
  position: absolute;
  top: 14px;
  left: 0;
  font-size: 0.95rem;
  color: var(--color-text-light);
  transition: all 0.3s;
  pointer-events: none;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -10px;
  font-size: 0.75rem;
  color: var(--color-accent);
  font-weight: 600;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--color-accent);
}

.form-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.4s;
}

.form-group input:focus ~ .form-underline,
.form-group textarea:focus ~ .form-underline {
  width: 100%;
}

.btn-send {
  width: 100%;
  padding: 14px;
  background: var(--color-brown);
  color: var(--color-cream);
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.btn-send:hover {
  background: var(--color-brown-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--color-shadow-deep);
}

.btn-send::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.6s;
}

.btn-send:hover::before {
  left: 100%;
}

.contact-info-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 248, 240, 0.1);
  transition: all 0.3s;
  cursor: pointer;
}

.contact-info-row:hover {
  transform: translateX(8px);
}

.contact-info-row:hover .info-icon {
  color: var(--color-accent);
}

.info-icon {
  font-size: 1.2rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 248, 240, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
  flex-shrink: 0;
}

.info-text {
  font-size: 0.9rem;
  color: rgba(255, 248, 240, 0.85);
}

.info-text a {
  color: rgba(255, 248, 240, 0.85);
  text-decoration: none;
}

.info-text a:hover {
  color: var(--color-accent);
}

.contact-social {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-social a {
  color: var(--color-cream);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 248, 240, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  font-size: 1.1rem;
}

.contact-social a:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  transform: scale(1.1);
}

/* ========================================
   FOOTER
   ======================================== */
footer {
  background: var(--color-brown-dark);
  color: var(--color-cream);
  padding: 2rem 5%;
  text-align: center;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
}

.footer-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--color-accent-light);
  margin-bottom: 1rem;
  overflow-wrap: break-word;
  word-break: break-word;
  
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-social a {
  color: var(--color-cream);
  transition: color 0.3s;
  font-size: 1.1rem;
}

.footer-social a:hover {
  color: var(--color-accent);
}

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(255, 248, 240, 0.5);
}

/* ========================================
   SCROLL TO TOP
   ======================================== */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-brown);
  color: var(--color-cream);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px var(--color-shadow-deep);
  transition: all 0.3s;
  z-index: 999;
}

.scroll-top.visible {
  display: flex;
}

.scroll-top:hover {
  background: var(--color-brown-dark);
  transform: translateY(-3px);
}

/* ========================================
   KEYFRAME ANIMATIONS
   ======================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounceIn {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-80px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideRight {
  from { opacity: 0; transform: translateX(80px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes flipIn {
  from { opacity: 0; transform: perspective(800px) rotateY(90deg); }
  to { opacity: 1; transform: perspective(800px) rotateY(0); }
}

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-100px) rotate(-3deg); }
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

@keyframes riseUp {
  from { opacity: 0; transform: translateY(100px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes popIn {
  0% { opacity: 0; transform: scale(0.5); }
  70% { transform: scale(1.1); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes elasticBounce {
  0% { opacity: 0; transform: translateY(20px); }
  60% { transform: translateY(-5px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes gridWave {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes waterfall {
  from { opacity: 0; transform: translateY(-40px) rotate(var(--initial-rotation, -2deg)); }
  to { opacity: 1; transform: translateY(0) rotate(0deg); }
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

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

@keyframes kenBurns {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.1) translate(-2%, -1%); }
  100% { transform: scale(1) translate(0, 0); }
}

@keyframes curtainOpen {
  from { max-width: 0; padding: 0; opacity: 0; }
  to { max-width: 220px; padding: 2rem; opacity: 1; }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(196, 149, 106, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(196, 149, 106, 0); }
}

@keyframes shadowBloom {
  from { box-shadow: 0 0 0 rgba(196, 149, 106, 0); }
  to { box-shadow: 0 20px 60px rgba(61, 43, 31, 0.2); }
}

@keyframes toss {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-10px) rotate(15deg); }
}

@keyframes traceBorder {
  from { box-shadow: 0 0 0 0 var(--color-accent); }
  to { box-shadow: 0 0 0 3px var(--color-accent); }
}

@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 5px rgba(196, 149, 106, 0.3); }
  50% { box-shadow: 0 0 20px rgba(196, 149, 106, 0.6); }
}

@keyframes slideFromBL {
  from { opacity: 0; transform: translate(-40px, 40px) rotate(2deg); }
  to { opacity: 1; transform: translate(0, 0) rotate(0); }
}

@keyframes slideFromBR {
  from { opacity: 0; transform: translate(40px, 40px) rotate(-2deg); }
  to { opacity: 1; transform: translate(0, 0) rotate(0); }
}

@keyframes underlineDraw {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes gentlePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); box-shadow: 0 0 20px rgba(196, 149, 106, 0.3); }
}

@keyframes blurToSharp {
  from { filter: blur(10px); opacity: 0; }
  to { filter: blur(0); opacity: 1; }
}

/* ========================================
   ANIMATION TRIGGER CLASSES
   ======================================== */
.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.1s;
}

.animate-on-scroll.animated {
  opacity: 1;
}

.animated.fade-up { animation: fadeUp 0.8s ease forwards; }
.animated.bounce-in { animation: bounceIn 0.6s ease forwards; }
.animated.slide-left { animation: slideLeft 0.8s ease forwards; }
.animated.slide-right { animation: slideRight 0.8s ease forwards; }
.animated.flip-in { animation: flipIn 0.8s ease forwards; }
.animated.drop-in { animation: dropIn 0.8s ease forwards; }
.animated.rise-up { animation: riseUp 0.8s ease forwards; }
.animated.pop-in { animation: popIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards; }
.animated.elastic-bounce { animation: elasticBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards; }
.animated.grid-wave { animation: gridWave 0.6s ease forwards; }
.animated.waterfall { animation: waterfall 0.6s ease forwards; }
.animated.zoom-in { animation: zoomIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.animated.slide-from-bl { animation: slideFromBL 0.8s ease forwards; }
.animated.slide-from-br { animation: slideFromBR 0.8s ease forwards; }
.animated.blur-to-sharp { animation: blurToSharp 0.8s ease forwards; }
.animated.curtain-open { animation: curtainOpen 0.8s ease forwards; }

/* ========================================
   RESPONSIVE - TABLET / LARGE PHONE (max-width: 768px)
   ======================================== */
@media (max-width: 768px) {
  .hero-name { font-size: 2.5rem !important; }
  .hero-logo { font-size: 3.5rem !important; }

  .about-content { flex-direction: column; }
  .about-photo-wrapper { width: 100%; }
  .about-text { width: 100%; }

  .mission-vision { flex-direction: column; }

  .experience-card { flex-direction: column; }
  .exp-dark-panel { width: 100% !important; min-width: unset !important; padding: 1.5rem !important; }
  .exp-content { padding: 1.5rem; }

  .project-card { flex-direction: column; }
  .project-dark-panel { width: 100% !important; padding: 1.75rem !important; }
  .project-content { width: 100% !important; padding: 1.75rem; }

  .achievement-card { flex-direction: column; }
  .achievement-image { width: 100%; min-height: 200px; }
  .achievement-content { padding: 1.5rem; }

  .contact-wrapper { flex-direction: column; }
  .contact-info-panel { width: 100% !important; border-radius: 0 0 16px 16px !important; padding: 2rem !important; }
  .contact-form-panel { border-radius: 16px 16px 0 0 !important; padding: 2rem !important; }

  .edu-card { padding: 1.5rem; }

  .stats-counters { gap: 1rem; }
  .stat-item { min-width: 130px; padding: 1rem; flex: 1 1 130px; }
  .stat-number { font-size: 2rem; }

  .navbar { padding: 1rem 5%; }

  .nav-links {
    display: none !important;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    background: var(--color-brown-dark);
    flex-direction: column;
    padding: 0.5rem 2rem 1.5rem;
    gap: 0.25rem;
    box-shadow: 0 4px 20px var(--color-shadow-deep);
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.active { display: flex !important; }
  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 248, 240, 0.08);
  }
  .hamburger { display: flex !important; }

  .section-padding { padding: 4rem 5%; }

  .skills-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .skill-category-card { padding: 1.5rem; }

  .view-work-buttons { justify-content: center; }

  .edu-header { flex-direction: column; align-items: flex-start; }

  .btn-primary, .btn-secondary {
    padding: 13px 28px;
    font-size: 0.9rem;
  }
}

/* ========================================
   RESPONSIVE - PHONE (max-width: 600px)
   ======================================== */
@media (max-width: 600px) {
  .section-padding { padding: 3.5rem 5%; }

  .hero-content { padding: 1.5rem; }
  .hero-intro { font-size: 0.95rem; }

  .about-photo-wrapper img { width: 240px; height: 320px; }

  .contact-form-panel, .contact-info-panel { padding: 1.75rem !important; }
  .form-group { margin-bottom: 2rem; }

  .project-content, .project-dark-panel { padding: 1.5rem !important; }
  .exp-content, .exp-dark-panel { padding: 1.25rem !important; }

  .outcome-box { padding: 8px; gap: 10px; }
  .outcome-text { font-size: 0.85rem; }
}

/* ========================================
   RESPONSIVE - SMALL PHONE (max-width: 480px)
   ======================================== */
@media (max-width: 480px) {
  .hero-name { font-size: 2rem !important; }
  .hero-logo { font-size: 2.5rem !important; }
  .hero-designations { font-size: 0.9rem; }

  .section-padding { padding: 3rem 4%; }
  .section-title { font-size: 1.75rem; }
  .section-subtitle { font-size: 1rem; }

  .cta-buttons { flex-direction: column; align-items: center; }

  .about-photo-wrapper img { width: 200px; height: 280px; }

  .mv-card { padding: 1.25rem; }

  .stats-counters { gap: 0.75rem; }
  .stat-item { flex: 1 1 calc(50% - 0.5rem); min-width: unset; padding: 0.9rem 0.5rem; }
  .stat-number { font-size: 1.6rem; }
  .stat-label { font-size: 0.75rem; }

  .project-dark-panel h3 { font-size: 1.2rem; }
  .exp-content h3 { font-size: 1.15rem; }
  .edu-header h3 { font-size: 1.1rem; }

  .tech-tag { font-size: 0.75rem; padding: 4px 12px; }
  .project-type-badge, .employment-badge { font-size: 0.7rem; }

  .view-work-btn { font-size: 0.8rem; padding: 8px 14px; }
  .project-link-btn { font-size: 0.8rem; padding: 8px 16px; }

  .contact-info-row { gap: 0.75rem; }
  .info-icon { width: 32px; height: 32px; font-size: 1rem; }

  .scroll-top { width: 40px; height: 40px; bottom: 1.25rem; right: 1.25rem; font-size: 1rem; }

  .logo { font-size: 1.25rem; }
}

/* ========================================
   RESPONSIVE - EXTRA SMALL PHONE (max-width: 380px)
   ======================================== */
@media (max-width: 380px) {
  .hero-name { font-size: 1.75rem !important; }
  .hero-logo { font-size: 2.1rem !important; }

  .section-padding { padding: 2.5rem 4%; }
  .section-title { font-size: 1.5rem; }

  .about-photo-wrapper img { width: 170px; height: 240px; }

  .stat-item { flex: 1 1 100%; }

  .btn-primary, .btn-secondary { padding: 12px 20px; font-size: 0.85rem; }

  .project-dark-panel, .project-content,
  .exp-dark-panel, .exp-content { padding: 1.1rem !important; }

  .contact-form-panel, .contact-info-panel { padding: 1.25rem !important; }
}

/* ========================================
   RESPONSIVE - SHORT VIEWPORT / LANDSCAPE PHONE
   ======================================== */
@media (max-width: 900px) and (max-height: 520px) and (orientation: landscape) {
  #landing { min-height: auto; padding: 6rem 0 3rem; }
  section { min-height: auto; }
  .hero-content { padding: 1rem; }
}