/* Nimra's Professional Portfolio CSS */

:root {
  /* Enhanced Color Palette - Professional & Modern */
  --primary-color: #7C6BAE;          /* Rich lavender */
  --secondary-color: #A995D5;        /* Soft purple */
  --accent-color: #C5B3E8;           /* Light purple */
  --gradient-primary: linear-gradient(135deg, #7C6BAE 0%, #A995D5 50%, #C5B3E8 100%);
  --gradient-secondary: linear-gradient(135deg, #A995D5 0%, #C5B3E8 100%);
  --text-primary: #2A2542;           /* Deep purple-gray */
  --text-secondary: #4A4462;         /* Medium purple-gray */
  --text-light: #7A7991;             /* Light purple-gray */
  --background-light: #FDFDFF;       /* Pure white with hint of lavender */
  --background-section: #F7F5FF;     /* Very light lavender */
  --background-card: #FAFAFF;        /* Card background */
  --white: #FFFFFF;
  --success: #6BCF7F;                 /* Fresh green */
  --warning: #FFB74D;                 /* Warm orange */
  --info: #42A5F5;                    /* Sky blue */
  --danger: #EF5350;                  /* Coral red */
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-secondary: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --section-padding: 100px 0;
  --container-padding: 0 20px;
  
  /* Border Radius */
  --border-radius-sm: 6px;
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 30px;
  
  /* Shadows - Enhanced */
  --shadow-sm: 0 2px 12px rgba(124, 107, 174, 0.08);
  --shadow: 0 8px 25px rgba(124, 107, 174, 0.12);
  --shadow-lg: 0 15px 45px rgba(124, 107, 174, 0.15);
  --shadow-xl: 0 25px 60px rgba(124, 107, 174, 0.2);
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background-light);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* Global Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(139, 127, 184, 0.3); }
  50% { box-shadow: 0 0 40px rgba(139, 127, 184, 0.6); }
}

@keyframes slideInUp {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Section Badge */
.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  padding: 0.5rem 1.2rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  padding: 1rem 0;
}

.navbar-brand {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color) !important;
  text-decoration: none;
}

.nav-link {
  font-weight: 500;
  color: var(--text-secondary) !important;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem !important;
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color) !important;
  background-color: rgba(139, 127, 184, 0.1);
}

.btn-contact {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white) !important;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: var(--white) !important;
}

/* Home Section */
.home-section {
  background: linear-gradient(135deg, var(--background-light) 0%, var(--background-section) 100%);
  padding: 40px 0 0 0;
  margin-top: 76px;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: visible;
}

.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.shape-1 {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  top: 20%;
  left: 10%;
  animation: float 6s ease-in-out infinite;
}

.shape-2 {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  top: 60%;
  right: 20%;
  animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  bottom: 20%;
  left: 15%;
  animation: float 7s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: var(--primary-color);
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(139, 127, 184, 0.2);
}

.hero-badge i {
  margin-right: 0.5rem;
  color: var(--warning);
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 550px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-secondary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.profile-img-container {
  position: relative;
  display: inline-block;
  margin: 20px 0;
}

.profile-ring {
  position: absolute;
  top: -30px;
  left: -30px;
  right: -30px;
  bottom: -30px;
  border: 3px solid transparent;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  background-clip: padding-box;
  animation: rotate 20s linear infinite;
}

.profile-img {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  object-fit: cover;
  border: 8px solid var(--white);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  position: relative;
  z-index: 2;
}

.profile-img:hover {
  transform: scale(1.05);
  animation: pulse-glow 2s ease-in-out infinite;
}

.floating-badge {
  position: absolute;
  background: var(--white);
  color: var(--primary-color);
  padding: 0.8rem 1.2rem;
  border-radius: 25px;
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: float 4s ease-in-out infinite;
  z-index: 10;
  border: 2px solid var(--background-section);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.floating-badge:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.badge-1 {
  top: 15%;
  left: -30px;
  animation-delay: 0s;
}

.badge-2 {
  bottom: 15%;
  right: -30px;
  animation-delay: 2s;
}

.floating-badge i {
  color: var(--success);
  font-size: 1rem;
}

/* Mobile Responsive for Floating Badges */
@media (max-width: 992px) {
  .floating-badge {
    display: none;
  }
}

@media (min-width: 993px) and (max-width: 1200px) {
  .badge-1 {
    left: -15px;
  }
  
  .badge-2 {
    right: -15px;
  }
}

/* About Section */
.about-section {
  padding: 0px 0 80px 0;
  background-color: var(--white);
  position: relative;
  margin-top: 0;
}

.about-img-wrapper {
  position: relative;
  display: inline-block;
}

.about-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.decoration-1, .decoration-2, .decoration-3 {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}

.decoration-1 {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  top: -20px;
  right: -20px;
  animation: float 5s ease-in-out infinite;
}

.decoration-2 {
  width: 40px;
  height: 40px;
  background: var(--secondary-color);
  bottom: 50px;
  left: -15px;
  animation: float 6s ease-in-out infinite reverse;
}

.decoration-3 {
  width: 30px;
  height: 30px;
  background: var(--accent-color);
  top: 30%;
  left: -25px;
  animation: float 4s ease-in-out infinite;
}

.about-img {
  width: 350px;
  height: 450px;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  position: relative;
  z-index: 2;
}

.about-img:hover {
  transform: scale(1.02) rotate(1deg);
}

.experience-badge {
  position: absolute;
  bottom: 20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  text-align: center;
  z-index: 3;
  animation: slideInUp 1s ease-out;
}

.badge-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-secondary);
}

.badge-text {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-content {
  padding-left: 2rem;
}

.section-header {
  margin-bottom: 2rem;
}

.profession-tags {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.profession-tag {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: var(--border-radius-lg);
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.profession-tag:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.about-highlights {
  margin-bottom: 2.5rem;
}

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

.highlight-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.highlight-content h6 {
  color: var(--text-primary);
  margin-bottom: 0.3rem;
  font-size: 1rem;
  font-weight: 600;
}

.highlight-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

.about-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--background-section);
  color: var(--primary-color);
  border-radius: 50%;
  text-decoration: none;
  transition: var(--transition);
  font-size: 1.3rem;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  transition: var(--transition);
  z-index: 1;
}

.social-link:hover::before {
  left: 0;
}

.social-link i {
  position: relative;
  z-index: 2;
}

.social-link:hover {
  color: var(--white);
  transform: translateY(-3px);
}

/* Skills Section */
.skills-section {
  padding: var(--section-padding);
  background: var(--background-section);
  position: relative;
}

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

.skill-card {
  background: var(--white);
  padding: 1.5rem 1rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  transition: var(--transition);
}

.skill-card:hover::before {
  left: 0;
}

.skill-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--primary-color);
}

.skill-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.3rem;
  transition: var(--transition);
}

.skill-card:hover .skill-icon {
  transform: rotate(10deg) scale(1.1);
}

.skill-card h6 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.skill-card p {
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.4;
  margin: 0;
}

.skills-bottom {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.skills-cta h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.skills-cta p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 1rem;
}

/* Mobile Skills Layout */
@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .skill-card {
    padding: 1.2rem 0.8rem;
  }
  
  .skill-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
  
  .skill-card h6 {
    font-size: 0.9rem;
  }
  
  .skill-card p {
    font-size: 0.75rem;
  }
}

@media (max-width: 576px) {
  .skills-grid {
    gap: 0.8rem;
  }
  
  .skill-card {
    padding: 1rem 0.6rem;
  }
}

/* Projects Section */
.projects-section {
  padding: var(--section-padding);
  background: var(--white);
}

.project-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.project-img {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover .project-img img {
  transform: scale(1.1);
}

.project-content {
  padding: 1.5rem;
}

.project-content h5 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.project-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.project-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.project-role {
  color: var(--text-light);
}

.project-value {
  color: var(--primary-color);
  font-weight: 600;
}

/* Education Section */
.education-section {
  padding: var(--section-padding);
  background: var(--background-section);
}

.education-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.education-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.education-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
}

.education-card h5 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.institution {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.education-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.status {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: var(--border-radius-lg);
  font-size: 0.8rem;
  font-weight: 500;
}

.status.completed {
  background: var(--success);
  color: var(--white);
}

.status.pursuing {
  background: var(--warning);
  color: var(--white);
}

/* Experience Section */
.experience-section {
  padding: var(--section-padding);
  background: var(--white);
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--secondary-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 80px;
}

.timeline-marker {
  position: absolute;
  left: 21px;
  top: 0;
  width: 18px;
  height: 18px;
  background: var(--primary-color);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.timeline-content {
  background: var(--background-section);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.timeline-period {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.timeline-content h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.timeline-content h5 {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-weight: 500;
  font-size: 1rem;
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.timeline-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline-content li {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.timeline-content li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Contact Section */
.contact-section {
  padding: var(--section-padding);
  background: var(--background-section);
}

.contact-info {
  height: 100%;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.contact-header h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.6rem;
  font-weight: 600;
}

.contact-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-features {
  margin-bottom: 2.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--background-section);
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
}

.feature-item:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateX(5px);
}

.feature-item:hover .feature-icon {
  background: var(--white);
  color: var(--primary-color);
}

.feature-icon {
  width: 45px;
  height: 45px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.feature-content h5 {
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.feature-content p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.9;
}

.contact-methods h4 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  border-bottom: 2px solid var(--background-section);
  padding-bottom: 0.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
}

.contact-item:hover {
  background: var(--background-section);
  transform: translateX(5px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.2rem;
  transition: var(--transition);
}

.contact-item:hover .contact-icon {
  transform: scale(1.1);
}

.contact-item h5 {
  color: var(--text-primary);
  margin-bottom: 0.2rem;
  font-size: 1rem;
  font-weight: 600;
}

.contact-item a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.contact-item:hover a {
  color: var(--primary-color);
}

.contact-form-wrapper {
  height: 100%;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.form-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  padding: 2rem;
  text-align: center;
}

.form-header h4 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.form-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.95rem;
}

.contact-form {
  padding: 2rem;
  background: var(--white);
  border: none;
  box-shadow: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-label {
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.form-control {
  border: 2px solid var(--background-section);
  border-radius: var(--border-radius-sm);
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--background-light);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(139, 127, 184, 0.25);
  background: var(--white);
}

.form-control::placeholder {
  color: var(--text-light);
  font-size: 0.9rem;
}

.form-note {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-light);
  background: var(--background-section);
  padding: 0.8rem;
  border-radius: var(--border-radius-sm);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    margin-bottom: 2rem;
  }
}

/* Footer */
.footer-section {
  background: var(--text-primary);
  color: var(--white);
}

.footer-cta {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-cta h2 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.footer-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.footer-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
}

.footer-info h5 {
  color: var(--white);
  margin-bottom: 0.2rem;
  font-size: 1.1rem;
}

.footer-info p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.2rem;
  font-size: 0.9rem;
}

.footer-info a {
  color: var(--secondary-color);
  text-decoration: none;
}

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

.footer-social h6 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Buttons */
.btn {
  font-family: var(--font-secondary);
  font-weight: 500;
  border-radius: var(--border-radius);
  padding: 0.75rem 1.5rem;
  transition: var(--transition);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: var(--white);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Enhanced Responsive Design */
@media (max-width: 992px) {
  .hero-stats {
    justify-content: center;
  }
  
  .about-content {
    padding-left: 0;
    margin-top: 2rem;
  }
  
  .profile-img {
    width: 320px;
    height: 320px;
  }
  
  .floating-badge {
    display: none;
  }
}

@media (max-width: 768px) {
  .home-section {
    min-height: calc(100vh - 76px);
    padding: 80px 0 0 0;
    overflow: visible;
  }
  
  .about-section {
    padding: 30px 0 70px 0;
    margin-top: 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
    text-align: center;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-description {
    text-align: center;
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-badge {
    margin: 0 auto 1.5rem auto;
    display: block;
    width: fit-content;
  }
  
  .hero-stats {
    justify-content: center;
    gap: 1.5rem;
  }
  
  .profile-img {
    width: 280px;
    height: 280px;
  }
  
  .about-img {
    width: 100%;
    max-width: 300px;
    height: 350px;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    padding-left: 60px;
  }
  
  .timeline-marker {
    left: 11px;
  }
  
  .about-actions {
    justify-content: center;
  }
  
  .footer-profile {
    justify-content: center;
    margin-bottom: 2rem;
  }
  
  .navbar-nav {
    text-align: center;
    margin-top: 1rem;
  }
  
  .btn-contact {
    margin-top: 1rem;
  }
  
  .skills-bottom .row {
    text-align: center;
  }
  
  .skills-bottom .col-md-6:last-child {
    margin-top: 1rem;
  }
}

@media (max-width: 576px) {
  .home-section {
    min-height: 100vh;
    margin-top: 0;
    padding: 100px 0 0 0;
    overflow: visible;
  }
  
  .about-section {
    padding: 20px 0 60px 0;
    margin-top: 0;
  }
  
  .hero-title {
    font-size: 2rem;
    text-align: center;
  }
  
  .hero-description {
    text-align: center;
    font-size: 1rem;
  }
  
  .hero-badge {
    margin: 0 auto 1rem auto;
    display: block;
    width: fit-content;
  }
  
  .hero-stats {
    flex-direction: row;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 1.5rem 0;
  }
  
  .stat-item {
    flex: 1;
    text-align: center;
  }
  
  .stat-number {
    font-size: 1.3rem;
  }
  
  .stat-label {
    font-size: 0.7rem;
  }
  
  .profile-img {
    width: 240px;
    height: 240px;
  }
  
  .timeline-content {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .about-img {
    height: 300px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 220px;
    font-size: 0.9rem;
  }
  
  .floating-shapes .shape {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.9rem;
  }
  
  .profile-img {
    width: 200px;
    height: 200px;
  }
  
  .about-img {
    height: 250px;
  }
  
  .hero-stats {
    gap: 0.8rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .stat-label {
    font-size: 0.75rem;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background-section);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* Loading Animation for Images */
img {
  opacity: 0;
  animation: fadeInImage 0.5s ease-in-out forwards;
}

@keyframes fadeInImage {
  to {
    opacity: 1;
  }
}