/* Typography System */
body {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Smooth scroll padding for fixed headers */
html {
  scroll-padding-top: 80px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

h2:hover, h3:hover {
  color: #0066FF;
}

h1, .h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

h2, .h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

h3, .h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.2px;
}

h4, .h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

h5, .h5 {
  font-size: 1.1rem;
  font-weight: 600;
}

h6, .h6 {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Paragraph */
p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
}

p.lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: #666;
}

/* Text Utilities */
.text-small {
  font-size: 0.875rem;
  line-height: 1.6;
}

.text-muted {
  color: #888 !important;
  font-weight: 500;
}

/* Links */
a {
  color: #0066FF;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #0052CC;
  text-decoration: underline;
}

/* Lists */
ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  line-height: 1.8;
}

li {
  margin-bottom: 0.5rem;
}

/* Typewriter Animation */
@keyframes typewriter {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink {
  0%, 49% {
    border-right-color: #0066FF;
  }
  50%, 100% {
    border-right-color: transparent;
  }
}

.typewriter {
  overflow: hidden;
  display: inline-block;
  white-space: nowrap;
  border-right: 3px solid #0066FF;
  animation: typewriter 2.5s cubic-bezier(0.23, 1, 0.320, 1) 0.5s forwards, 
             blink 0.75s step-end infinite 3s;
  font-size: 1.15rem;
  color: #0066FF;
  font-weight: 500;
}

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

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

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

/* AnimatePresence-style animations */
.animate-presence {
  animation: smoothFade 0.4s cubic-bezier(0.23, 1, 0.320, 1) forwards;
}

.animate-presence-exit {
  animation: exitFade 0.3s cubic-bezier(0.23, 1, 0.320, 1) forwards;
}

.timeline-card {
  animation: staggerFadeIn 0.5s cubic-bezier(0.23, 1, 0.320, 1) both;
}

.timeline-card:nth-child(1) { animation-delay: 0.1s; }
.timeline-card:nth-child(2) { animation-delay: 0.2s; }
.timeline-card:nth-child(3) { animation-delay: 0.3s; }
.timeline-card:nth-child(4) { animation-delay: 0.4s; }
.timeline-card:nth-child(5) { animation-delay: 0.5s; }
.timeline-card:nth-child(6) { animation-delay: 0.6s; }

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

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

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes smoothFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes iconBounce {
  0%, 100% {
    transform: translateY(-3px) scale(1.1);
  }
  50% {
    transform: translateY(-8px) scale(1.15);
  }
}
/* Button Animations */
@keyframes buttonHoverGlow {
  0% {
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
  }
  50% {
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.5);
  }
  100% {
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
  }
}

@keyframes buttonScale {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Progress bar animations */
@keyframes progressFill {
  from {
    width: 0%;
    background: linear-gradient(90deg, #0066FF, #0052CC);
  }
  to {
    background: linear-gradient(90deg, #0052CC, #004ACC);
  }
}

/* Link hover animations */
@keyframes linkUnderline {
  from {
    width: 0;
    left: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes linkGlow {
  0%, 100% {
    text-shadow: 0 0 0px rgba(0, 102, 255, 0);
  }
  50% {
    text-shadow: 0 0 8px rgba(0, 102, 255, 0.6);
  }
}

/* Form focus animations */
@keyframes formFocusRing {
  from {
    box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.5);
  }
  to {
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
  }
}

/* Rotate and pulse animations */
@keyframes rotateInFade {
  from {
    opacity: 0;
    transform: rotateY(-90deg);
  }
  to {
    opacity: 1;
    transform: rotateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

/* Text animations */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Perspective animations */
@keyframes flipIn {
  from {
    opacity: 0;
    transform: perspective(400px) rotateY(90deg);
  }
  to {
    opacity: 1;
    transform: perspective(400px) rotateY(0deg);
  }
}

/* Expand animations */
@keyframes expandWidth {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 100%;
    opacity: 1;
  }
}

/* Slide and fade */
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Spin animation */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.cover {
  border-radius: 10px;
  animation: slideInUp 0.8s ease-out;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.avatar {
  max-width: 216px;
  max-height: 216px;
  margin-top: 60px;
  text-align: left;
  margin-left: 0;
  margin-right: auto;
  border-radius: 5px;
  transition: none;
  cursor: default;
  overflow: hidden;
}

.avatar:hover {
  transform: none;
  box-shadow: none;
}

.cover-bg h2 {
  animation: slideInLeft 0.8s ease-out 0.1s both;
  letter-spacing: -0.5px;
  font-size: 2.8rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cover-bg > .row > .col-lg-8 p {
  animation: slideInLeft 0.8s ease-out 0.2s both;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
}

.cover-bg .d-print-none {
  animation: slideInUp 0.8s ease-out 0.3s both;
}

.cover-bg .btn {
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  position: relative;
  overflow: hidden;
  transform-origin: center;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.cover-bg .btn:hover {
  animation: buttonScale 0.6s cubic-bezier(0.23, 1, 0.320, 1), buttonHoverGlow 2s ease-in-out infinite;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 102, 255, 0.4);
}

.cover-bg .btn:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s cubic-bezier(0.23, 1, 0.320, 1), height 0.6s cubic-bezier(0.23, 1, 0.320, 1);
  z-index: -1;
}

.cover-bg .btn:hover:before {
  width: 300px;
  height: 300px;
}

.cover-bg .btn-light:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.cover-bg .btn[style*="background-color: #0066FF"]:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 102, 255, 0.5);
}

/* Timeline custom component */
.timeline {
  border-left: 3px solid #0066FF;
  padding: 1rem 0;
  position: relative;
}

.timeline-card {
  position: relative;
  margin-left: 31px;
  border-left: 4px solid #0066FF;
  margin-bottom: 2rem;
  overflow: visible !important;
  padding-left: 1rem;
}

.timeline-card:last-child {
  margin-bottom: 1rem;
}

.timeline-card:before {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  background-color: #fff !important;
  border-radius: 50% !important;
  width: 14px !important;
  height: 14px !important;
  top: 24px !important;
  left: -43px !important;
  border: 3px solid #0066FF !important;
  z-index: 999 !important;
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1) !important;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1) !important;
}

.timeline-card:hover:before {
  transform: scale(1.3);
  border-width: 3px !important;
}

.timeline-card .card-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: #0066FF;
  border-radius: 8px 0 0 0;
  transition: width 0.5s cubic-bezier(0.23, 1, 0.320, 1);
}

.timeline-card:hover .card-body::before {
  width: 60px;
}

.timeline-card-primary {
  border-left-color: #0066FF;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
}

.timeline-card-primary:before {
  border-color: #0066FF !important;
  background-color: #fff !important;
}

.timeline-card-primary:after {
  background-color: #0066FF;
}

.timeline-card-success {
  border-left-color: #0066FF;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
}

.timeline-card-success:before {
  border-color: #0066FF !important;
  background-color: #fff !important;
}

.timeline-card-success:after {
  background-color: #0066FF;
}

/* CONSISTENT FONT SIZING SYSTEM */

/* Section Level Headings */
.work-experience-section h2,
.education-section h2,
.skills-section h2,
.contant-section h2,
.about-section h2,
section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  position: relative;
  padding-bottom: 15px;
}

.work-experience-section h2::after,
.education-section h2::after,
.skills-section h2::after,
.contant-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #0066FF, #0052CC);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 102, 255, 0.3);
}

/* Subsection Text (intro/descriptive) */
.work-experience-section > .text-muted,
.education-section > .text-muted,
.skills-section > .text-muted {
  font-size: 1rem;
  line-height: 1.7;
  color: #666 !important;
  margin-bottom: 1.5rem;
}

/* Card Titles (Job Titles, Skills, etc.) */
.timeline-card h5,
.timeline-card .h5 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

/* Card Descriptions and Content */
.timeline-card .text-muted,
.timeline-card .text-small,
.timeline-card .card-body > div:not(.h5) {
  font-size: 0.95rem !important;
  line-height: 1.8 !important;
  color: #666 !important;
  margin-bottom: 0 !important;
}

/* Specific for timeline-card-success descriptions */
.timeline-card-success .text-muted.text-small {
  font-size: 0.95rem !important;
  line-height: 1.8 !important;
  color: #666 !important;
  font-weight: 400 !important;
  display: block !important;
  margin-bottom: 0 !important;
}

/* Card Subtitles (Company, Dates, Categories) */
.timeline-card .text-small {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0066FF;
  display: inline-block;
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* Card Body Content */
.timeline-card .card-body > div:not(.h5):not(.text-small):not(.text-muted):last-child,
.card-body p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 0;
}

/* Information Labels (Date of Birth, Phone, etc.) */
.about-section .pb-1:first-child,
.contant-section .col:last-child h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

/* Information Values */
.about-section .pb-1:not(:first-child),
.contant-section .text-secondary {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 0.75rem;
}

/* Form Labels and Helper Text */
.form-control::placeholder,
.contant-section label {
  font-size: 0.95rem;
  color: #999;
}

/* Button Text */
.btn {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Small Text */
.text-small,
small {
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Card and Timeline Styling */
.timeline-card {
  border-radius: 12px;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-left: 4px solid #0066FF;
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  position: relative;
  overflow: visible !important;
}

.timeline-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  animation: iconBounce 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.timeline-card .card-body {
  padding: 1.5rem;
  position: relative;
  z-index: 1;
}

.timeline-card .card-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, #0066FF, #0052CC);
  border-radius: 12px 0 0 0;
  transition: width 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  box-shadow: 0 0 10px rgba(0, 102, 255, 0.5);
}

.timeline-card:hover .card-body::before {
  width: 80px;
}

.timeline-card .card-body h5,
.timeline-card .card-body .h5 {
  color: #1a1a1a;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
  position: relative;
  z-index: 2;
}

.timeline-card .card-body h5 a,
.timeline-card .card-body .h5 a {
  color: #0066FF;
  font-weight: 500;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  position: relative;
  display: inline-block;
}

.timeline-card .card-body h5 a:hover,
.timeline-card .card-body .h5 a:hover {
  color: #0052CC;
  text-decoration: underline;
  animation: linkGlow 0.6s ease-in-out;
  transform: translateX(3px);
}

.timeline-card .card-body .text-small {
  color: #0066FF;
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.timeline-card .card-body > div:not(.h5):not(.text-small):last-child {
  color: #666;
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Work Experience Section */
.work-experience-section h2 {
  animation: slideInUp 0.8s ease-out;
}

.timeline {
  border-left-color: #E6E9ED;
  animation: slideInLeft 0.8s ease-out 0.1s both;
  padding: 1rem 0;
}

.timeline-card {
  animation: slideInUp 0.6s ease-out;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
}

.timeline-card:nth-child(2) {
  animation-delay: 0.1s;
}

.timeline-card:nth-child(3) {
  animation-delay: 0.2s;
}

.timeline-card:nth-child(4) {
  animation-delay: 0.3s;
}

/* Skills Section */
.skills-section h2 {
  animation: slideInUp 0.8s ease-out;
}

.skills-section .mb-2 {
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

.skills-section .mb-2:hover {
  color: #0066FF;
  transform: translateX(5px);
}

.progress {
  height: 8px;
  background-color: #E6E9ED;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  cursor: pointer;
}

.progress:hover {
  transform: scaleY(1.2);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 102, 255, 0.15);
}

.progress-bar {
  background: linear-gradient(90deg, #0066FF, #0052CC);
  border-radius: 10px;
  transition: width 1.2s cubic-bezier(0.23, 1, 0.320, 1), filter 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  box-shadow: 0 0 10px rgba(0, 102, 255, 0.4);
  animation: progressFill 1.5s cubic-bezier(0.23, 1, 0.320, 1) forwards;
}

.progress:hover .progress-bar {
  filter: brightness(1.15);
  box-shadow: 0 0 15px rgba(0, 102, 255, 0.6);
}

/* Education Section */
.education-section h2 {
  animation: slideInUp 0.8s ease-out;
}

.education-section > .text-muted {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #666 !important;
}

.education-section .timeline-card {
  border-left-color: #0066FF;
  margin-bottom: 2rem;
  padding: 1.5rem;
}

.education-section .timeline-card:before {
  border-color: #0066FF !important;
  background-color: #fff !important;
}

.education-section .timeline-card h5 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.education-section .timeline-card .text-small {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.education-section .timeline-card .card-body > div:last-child {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #666;
}

/* About Section */
.about-section h2 {
  color: #1a1a1a;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about-section p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.about-section .pb-1 {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.about-section .pb-1:first-child {
  color: #1a1a1a;
  font-weight: 600;
  font-size: 0.95rem;
}

.about-section a {
  color: #0066FF;
  text-decoration: none;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  font-weight: 500;
  position: relative;
  display: inline-block;
}

.about-section a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #0066FF, #0052CC);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

.about-section a:hover {
  color: #0052CC;
  transform: translateX(2px);
  text-shadow: 0 0 8px rgba(0, 102, 255, 0.3);
}

.about-section a:hover::after {
  width: 100%;
}

/* Page Break */
.page-break {
  margin: 1.5rem 0;
  opacity: 0;
}

/* HR element spacing */
hr {
  margin: 1.5rem 0;
  opacity: 0.3;
}

.site-title {
  font-size: 1.25rem;
  line-height: 2.5rem;
  font-weight: 700;
  color: #434a54;
}

.nav-link {
  padding: 0;
  font-size: 1.25rem;
  line-height: 2.5rem;
  color: rgba(0, 0, 0, 0.5);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  display: inline-block;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  transform: translateX(-50%);
}

.nav-link:hover,
.nav-link:focus,
.active .nav-link {
  transform: translateY(-5px) scale(1.15);
  animation: iconBounce 0.6s cubic-bezier(0.23, 1, 0.320, 1);
  filter: drop-shadow(0 5px 10px rgba(0, 102, 255, 0.3));
}

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

/* LinkedIn - Blue */
.nav-item:nth-child(1) .nav-link:hover,
.nav-item:nth-child(1) .nav-link:focus {
  color: #0077B5;
}

/* Behance - Blue */
.nav-item:nth-child(2) .nav-link:hover,
.nav-item:nth-child(2) .nav-link:focus {
  color: #1769FF;
}

/* Dribbble - Pink */
.nav-item:nth-child(3) .nav-link:hover,
.nav-item:nth-child(3) .nav-link:focus {
  color: #EA4C89;
}

/* Email - Red */
.nav-item:nth-child(4) .nav-link:hover,
.nav-item:nth-child(4) .nav-link:focus {
  color: #FF6B6B;
}

@keyframes iconBounce {
  0%, 100% {
    transform: translateY(-3px) scale(1.1);
  }
  50% {
    transform: translateY(-8px) scale(1.15);
  }
}

.nav-item + .nav-item {
  margin-left: 1rem; }

.cover {
  border-radius: 10px; }

.cover-bg {
  background-color: #0066FF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.25'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  border-radius: 10px 10px 0 0;
}

.avatar img {
  border-radius: 8px;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contact Section Styling */
.contant-section h2 {
  animation: slideInUp 0.8s ease-out;
}

.contant-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
}

.contant-section .form-control {
  border: 2px solid #E6E9ED;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 0.95rem;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  background-color: #fff;
}

.contant-section .form-control:focus {
  background-color: #fff;
  border-color: #0066FF;
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.15);
  outline: none;
  transform: translateY(-2px);
  animation: formFocusRing 0.5s cubic-bezier(0.23, 1, 0.320, 1);
}

.contant-section .form-control::placeholder {
  color: #999;
}

.contant-section .btn-primary {
  background: linear-gradient(135deg, #0066FF, #0052CC);
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  position: relative;
  overflow: hidden;
}

.contant-section .btn-primary:hover {
  animation: buttonHoverGlow 1.5s ease-in-out, buttonScale 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  transform: translateY(-3px);
}

.contant-section .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
}

.contant-section .btn-primary:active {
  transform: translateY(0);
}

.contant-section .col-md-7 {
  animation: slideInLeft 0.8s ease-out 0.1s both;
}

.contant-section .col:last-child {
  animation: slideInRight 0.8s ease-out 0.2s both;
  padding-left: 2rem;
}

.contant-section .col:last-child h3 {
  color: #1a1a1a;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 12px;
}

.contant-section .col:last-child h3:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 18px;
  background: #0066FF;
  border-radius: 2px;
}

.contant-section .col:last-child h3:first-child {
  margin-top: 0;
}

.contant-section .col:last-child a {
  color: #0066FF;
  text-decoration: none;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  font-weight: 500;
  display: inline-block;
  position: relative;
}

.contant-section .col:last-child a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

.contant-section .col:last-child a:hover {
  color: #0052CC;
  transform: translateY(-3px);
  filter: drop-shadow(0 5px 10px rgba(0, 102, 255, 0.3));
}

.contant-section .col:last-child a:hover::after {
  width: 100%;
}

.contant-section .text-secondary {
  color: #666 !important;
  font-size: 0.95rem;
}

#result {
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 500;
}

#result .alert {
  border: none;
  border-radius: 8px;
  animation: slideInUp 0.4s ease-out;
}

footer a:not(.nav-link) {
  color: inherit;
  border-bottom: 1px dashed;
  text-decoration: none;
  cursor: pointer; }

@media (min-width: 48em) {
  .site-title {
    float: left; }
  .site-nav {
    float: right; }
  .avatar {
    margin-bottom: -80px;
    margin-left: 0; } }

@media print {
  body {
    background-color: #fff; }
  .container {
    width: auto;
    max-width: 100%;
    padding: 0; }
  .cover, .cover-bg {
    border-radius: 0; }
  .cover.shadow-lg {
    box-shadow: none !important; }
  .cover-bg {
    padding: 5rem !important;
    padding-bottom: 10px !important; }
  .avatar {
    margin-top: -10px; }
  .about-section {
    padding: 6.5rem 5rem 2rem !important; }
  .skills-section,
  .work-experience-section,
  .education-section,
  .contant-section {
    padding: 1.5rem 5rem 2rem !important; }
  .page-break {
    padding-top: 5rem;
    page-break-before: always; } }
