/* Professional Portfolio Styling for Shazia Saeed */

:root {
  --primary-color: #1e40af;
  --secondary-color: #1e3a8a;
  --accent-color: #3b82f6;
  --dark-color: #1e293b;
  --light-color: #f8fafc;
  --gray-color: #64748b;
  --text-dark: #334155;
  --text-light: #f8fafc;
  --white-color: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --gradient-primary: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--dark-color);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--white-color);
}

html {
  scroll-behavior: smooth;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar-professional {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 0.75rem 0;
  transition: var(--transition);
  z-index: 1000;
}

.navbar-professional.shadow-lg {
  box-shadow: var(--shadow-md);
}

.brand-name {
  font-size: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.navbar-nav .nav-link {
  color: var(--dark-color);
  font-weight: 600;
  padding: 0.5rem 1rem !important;
  transition: var(--transition);
  position: relative;
  font-size: 0.95rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  transition: var(--transition);
  border-radius: 2px;
}

.navbar-nav .nav-link:hover::after {
  width: 70%;
}

.navbar-toggler {
  border: 2px solid var(--primary-color) !important;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.25);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
  padding: 60px 0 40px;
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
  pointer-events: none;
}

/* Floating Icons */
.floating-icons {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-icon {
  position: absolute;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.2);
  animation: float 6s ease-in-out infinite;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.floating-icon:nth-child(1) { animation-delay: 0s; animation-duration: 5s; }
.floating-icon:nth-child(2) { animation-delay: 1s; animation-duration: 6s; }
.floating-icon:nth-child(3) { animation-delay: 2s; animation-duration: 7s; }
.floating-icon:nth-child(4) { animation-delay: 0.5s; animation-duration: 5.5s; }
.floating-icon:nth-child(5) { animation-delay: 1.5s; animation-duration: 6.5s; }
.floating-icon:nth-child(6) { animation-delay: 2.5s; animation-duration: 7.5s; }

@media (max-width: 768px) {
  .floating-icon {
    font-size: 1.5rem;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(5deg);
  }
  50% {
    transform: translateY(-40px) rotate(-5deg);
  }
  75% {
    transform: translateY(-20px) rotate(3deg);
  }
}

.min-vh-90 {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Hero Content */
.hero-content {
  color: white;
}

.hero-badge {
  display: inline-block;
  animation: fadeInDown 1s ease;
}

.badge-text {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.2;
  text-shadow: 1px 2px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
}

.glitch-text {
  position: relative;
}

.text-gradient {
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
  font-weight: 600;
}

@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

.hero-content .lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

@media (max-width: 768px) {
  .hero-content .lead {
    font-size: 0.95rem;
  }
}

.hero-stats .stat-item {
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: var(--transition);
}

.hero-stats .stat-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-stats .stat-item p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
}

@media (max-width: 768px) {
  .hero-stats .stat-item {
    padding: 0.65rem 1rem;
  }
  .hero-stats .stat-item h3 {
    font-size: 1.15rem;
  }
}

/* Hero Image Container */
.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 500px;
}

.image-float {
  position: relative;
  z-index: 2;
  display: inline-block;
}

@keyframes imageFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-profile-img {
  width: 350px;
  height: 350px;
  object-fit: cover;
  border-radius: 50%;
  border: none;
  box-shadow: 0 15px 50px rgba(30, 64, 175, 0.25);
  filter: brightness(1.05) contrast(1.05);
  position: relative;
  animation: imageFloat 6s ease-in-out infinite;
}

/* Half bottom circle frame - only visible at bottom */
.hero-profile-img::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 50px;
  border: 5px solid var(--primary-color);
  border-top: none;
  border-left: none;
  border-right: none;
  border-radius: 0 0 300px 300px / 0 0 50px 50px;
  box-shadow: 0 10px 25px rgba(30, 64, 175, 0.3);
  background: transparent;
  z-index: -1;
}

@media (max-width: 992px) {
  .hero-profile-img {
    width: 280px;
    height: 280px;
  }
  
  .hero-profile-img::after {
    bottom: -18px;
    width: 75%;
    height: 45px;
    border-width: 4px;
  }
}

@media (max-width: 768px) {
  .hero-profile-img {
    width: 240px;
    height: 240px;
  }
  
  .hero-profile-img::after {
    height: 38px;
    border-width: 4px;
    bottom: -15px;
    width: 75%;
  }
}

@media (max-width: 576px) {
  .hero-profile-img {
    width: 200px;
    height: 200px;
  }
  
  .hero-profile-img::after {
    height: 32px;
    border-width: 3px;
    bottom: -12px;
    width: 75%;
  }
}    bottom: -10px;
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 
      0 0 60px rgba(99, 102, 241, 0.6),
      0 0 100px rgba(139, 92, 246, 0.4),
      inset 0 0 60px rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 
      0 0 80px rgba(99, 102, 241, 0.8),
      0 0 120px rgba(139, 92, 246, 0.6),
      inset 0 0 80px rgba(255, 255, 255, 0.2);
  }
}

/* Orbiting Icons */
.orbit-icons {
  position: absolute;
  width: 450px;
  height: 450px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: rotateOrbit 20s linear infinite;
}

@keyframes rotateOrbit {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.orbit-item {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  border: 3px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: orbitFloat 3s ease-in-out infinite;
}

@media (max-width: 992px) {
  .orbit-item {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
}

@media (max-width: 768px) {
  .orbit-item {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
  }
}

@keyframes orbitFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.1);
  }
}

.orbit-1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}

.orbit-2 {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0.75s;
}

.orbit-3 {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  animation-delay: 1.5s;
}

.orbit-4 {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  animation-delay: 2.25s;
}

/* ============================================
   SECTIONS
   ============================================ */

section {
  padding: 2.5rem 0 !important;
}

@media (max-width: 992px) {
  section {
    padding: 2rem 0 !important;
  }
}

@media (max-width: 768px) {
  section {
    padding: 1.75rem 0 !important;
  }
}

@media (max-width: 576px) {
  section {
    padding: 1.5rem 0 !important;
  }
}

.section-header {
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 1.5rem;
  }
}

.section-title {
  position: relative;
  display: inline-block;
  color: var(--dark-color);
  font-weight: 700;
  font-size: 1.75rem;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.5rem;
  }
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-underline {
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  margin: 0.5rem auto;
  border-radius: 2px;
}

/* About Section */
.about-card {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid #e2e8f0;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.about-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-dark);
}

@media (max-width: 768px) {
  .about-card p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}

@media (max-width: 576px) {
  .about-card {
    border-radius: 10px;
  }
  .about-card p {
    font-size: 0.875rem;
  }
}

.about-card strong {
  color: var(--primary-color);
  font-weight: 600;
}

.strength-card {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid #e2e8f0;
}

.strength-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.strength-icon {
  transition: var(--transition);
}

.strength-card:hover .strength-icon i {
  transform: scale(1.1);
  color: var(--primary-color) !important;
}

/* ============================================
   EDUCATION TIMELINE
   ============================================ */

.timeline {
  position: relative;
  padding: 1rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

@media (max-width: 992px) {
  .timeline::before {
    left: 20px;
  }
}

.timeline-item {
  position: relative;
  padding-left: 90px;
  margin-bottom: 1.5rem;
}

@media (max-width: 992px) {
  .timeline-item {
    padding-left: 70px;
  }
}

@media (max-width: 768px) {
  .timeline-item {
    padding-left: 60px;
    margin-bottom: 1.25rem;
  }
}

.timeline-badge {
  position: absolute;
  left: 20px;
  width: 40px;
  height: 40px;
  background: white;
  border: 3px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: var(--transition);
}

@media (max-width: 992px) {
  .timeline-badge {
    left: 0;
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 768px) {
  .timeline-badge {
    width: 32px;
    height: 32px;
    border: 2px solid var(--primary-color);
  }
}

.timeline-badge i {
  color: var(--primary-color);
  font-size: 1rem;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .timeline-badge i {
    font-size: 0.9rem;
  }
}

.timeline-item:hover .timeline-badge {
  transform: scale(1.1);
  background: var(--primary-color);
}

.timeline-item:hover .timeline-badge i {
  color: white;
}

.timeline-card {
  background: white;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-left: 3px solid var(--primary-color);
}

.timeline-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(8px);
}

/* ============================================
   EXPERIENCE SECTION
   ============================================ */

.experience-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
  .experience-card {
    padding: 1.25rem;
    border-radius: 10px;
  }
}

@media (max-width: 576px) {
  .experience-card {
    padding: 1rem;
  }
}

.experience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.experience-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--light-color);
}

.company-logo {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .company-logo {
    width: 55px;
    height: 55px;
  }
}

@media (max-width: 576px) {
  .company-logo {
    width: 50px;
    height: 50px;
  }
}

.experience-card:hover .company-logo {
  transform: scale(1.05);
  background: var(--secondary-color);
}

.company-logo i {
  font-size: 1.75rem;
  color: white;
}

@media (max-width: 768px) {
  .company-logo i {
    font-size: 1.5rem;
  }
}

.position-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--light-color);
}

.position-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.position-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.responsibilities-list {
  list-style: none;
  padding-left: 0;
}

.responsibilities-list li {
  padding: 0.5rem 0 0.5rem 2rem;
  position: relative;
  color: var(--gray-color);
  transition: var(--transition);
}

.responsibilities-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2rem;
  transition: var(--transition);
}

.responsibilities-list li:hover {
  color: var(--dark-color);
  transform: translateX(5px);
}

.responsibilities-list li:hover::before {
  color: var(--secondary-color);
  transform: scale(1.3);
}

/* ============================================
   SKILLS SECTION
   ============================================ */

.skills-category {
  background: white;
  padding: 1.75rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.skills-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.skills-category:hover::before {
  transform: scaleX(1);
}

.skills-category:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(99, 102, 241, 0.2);
}

.skill-item {
  transition: var(--transition);
  position: relative;
}

.skill-item:hover {
  transform: translateX(10px);
}

.progress {
  background: var(--light-color);
  border-radius: 10px;
  overflow: visible;
  height: 12px;
  position: relative;
}

.progress-bar {
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 10px;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.progress-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  animation: shimmerProgress 2.5s infinite;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, transparent 50%, rgba(0, 0, 0, 0.1) 100%);
  border-radius: 10px;
}

@keyframes shimmerProgress {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.language-card {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.language-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.1), transparent);
  transition: left 0.6s ease;
}

.language-card:hover::before {
  left: 100%;
}

.language-card:hover {
  border-color: #06b6d4;
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(6, 182, 212, 0.3);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-info-card {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid #e2e8f0;
  height: 100%;
}

@media (max-width: 768px) {
  .contact-info-card {
    border-radius: 10px;
  }
}

.contact-info-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .contact-info-card:hover {
    transform: translateY(-3px);
  }
}

.contact-icon {
  transition: var(--transition);
}

.contact-info-card:hover .contact-icon i {
  transform: scale(1.1);
  color: var(--primary-color) !important;
}

.social-links-contact {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.social-link-item {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
  text-decoration: none;
}

@media (max-width: 768px) {
  .social-link-item {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .social-link-item {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
}

.social-link-item:hover {
  transform: translateY(-3px) scale(1.1);
  background: var(--secondary-color);
  box-shadow: var(--shadow-md);
  color: white;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  padding: 0.65rem 1.75rem;
  border-radius: 6px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .btn {
    padding: 0.55rem 1.25rem;
    font-size: 0.8rem;
  }
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: white;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  color: 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: white;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .btn-lg {
    padding: 0.7rem 1.75rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .btn-lg {
    padding: 0.65rem 1.5rem;
    font-size: 0.85rem;
  }
}

/* ============================================
   FOOTER
   ============================================ */

.footer-section {
  background: linear-gradient(135deg, var(--dark-color) 0%, #1e293b 100%);
  color: var(--text-light);
  border-top: 3px solid var(--primary-color);
  position: relative;
  overflow: hidden;
}

.footer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  box-shadow: 0 0 20px rgba(79, 70, 229, 0.6);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
  font-weight: 500;
}

@media (max-width: 576px) {
  .footer-section p {
    font-size: 0.9rem;
  }
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */

.scroll-top-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  z-index: 999;
}

.scroll-top-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

.scroll-top-btn.show {
  display: flex;
}

@media (max-width: 768px) {
  .scroll-top-btn {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 576px) {
  .scroll-top-btn {
    bottom: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */

[data-aos] {
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos].aos-animate {
  opacity: 1;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.75rem;
  }

  .hero-profile-img {
    width: 280px;
    height: 280px;
  }

  .orbit-icons {
    width: 350px;
    height: 350px;
  }

  .orbit-item {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .hero-image-container {
    height: 400px;
    margin-top: 2rem;
  }

  .floating-icon {
    font-size: 1.75rem;
  }

  section {
    padding: 2.5rem 0 !important;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-badge {
    left: 0;
  }

  .timeline-item {
    padding-left: 80px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0 50px;
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }

  .hero-content h2 {
    font-size: 1.35rem;
  }

  .hero-content .lead {
    font-size: 1rem;
  }

  .hero-profile-img {
    width: 240px;
    height: 240px;
  }

  .orbit-icons {
    width: 300px;
    height: 300px;
  }

  .orbit-item {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .hero-image-container {
    height: 320px;
    margin-top: 2.5rem;
  }

  .floating-icon {
    font-size: 1.5rem;
  }

  .section-header h2 {
    font-size: 1.85rem;
  }

  section {
    padding: 2rem 0 !important;
  }

  .experience-header {
    flex-direction: column;
    text-align: center;
  }

  .position-header {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .about-card p {
    font-size: 0.95rem;
  }

  .btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }

  .hero-stats {
    gap: 1rem !important;
  }
}

@media (max-width: 576px) {
  .navbar-brand .brand-name {
    font-size: 1.35rem;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem;
  }

  .hero-section {
    padding: 50px 0 40px;
  }

  .hero-content h1 {
    font-size: 1.85rem;
  }

  .hero-content h2 {
    font-size: 1.15rem;
  }

  .hero-content .lead {
    font-size: 0.95rem;
  }

  .hero-stats {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem !important;
  }

  .hero-stats .stat-item {
    width: 100%;
  }

  .hero-profile-img {
    width: 200px;
    height: 200px;
  }

  .orbit-icons {
    display: none;
  }

  .floating-icons {
    display: none;
  }

  .hero-image-container {
    height: 250px;
    margin-top: 2rem;
  }

  .scroll-top-btn {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .section-header h2 {
    font-size: 1.65rem;
  }

  .timeline-item {
    padding-left: 65px;
  }

  .btn-lg {
    padding: 0.75rem 1.75rem;
    font-size: 0.9rem;
  }

  .d-flex.gap-3 {
    gap: 0.75rem !important;
  }

  .strength-card,
  .language-card {
    margin-bottom: 1rem;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.bg-light {
  background-color: var(--light-color) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

.text-muted {
  color: var(--gray-color) !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.fw-semibold {
  font-weight: 600 !important;
}

/* Smooth scroll behavior */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 3px solid rgba(79, 70, 229, 0.5);
  outline-offset: 2px;
}

/* Selection styling */
::selection {
  background-color: var(--primary-color);
  color: white;
}

::-moz-selection {
  background-color: var(--primary-color);
  color: white;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--light-color);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 6px;
  border: 2px solid var(--light-color);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gradient-accent);
}

/* Loading animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Skeleton loader */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ============================================
   CERTIFICATES SECTION - PROFESSIONAL
   ============================================ */

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.certificate-card {
  position: relative;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(30, 64, 175, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.certificate-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(30, 64, 175, 0.2);
  border-color: var(--primary-color);
}

.certificate-card:hover .certificate-overlay {
  opacity: 1;
}

.certificate-img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  display: block;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  transition: all 0.4s ease;
}

.certificate-card:hover .certificate-img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.certificate-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.95) 0%, rgba(30, 58, 138, 0.95) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(8px);
}

.certificate-overlay i {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: zoomPulse 2s infinite;
}

.certificate-overlay p {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

@keyframes zoomPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.certificate-info {
  padding: 1.25rem 1.5rem;
  background: white;
  text-align: center;
  border-top: 3px solid var(--primary-color);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.certificate-info h6 {
  color: var(--dark-color);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.certificate-info p {
  color: var(--gray-color);
  font-size: 0.9rem;
  margin: 0;
}

/* Certificate Modal */
#certModal .modal-content {
  background: transparent;
  border: none;
}

#certModal .modal-body {
  overflow: hidden;
  border-radius: 8px;
}

#certModal .btn-close {
  background-color: white;
  opacity: 1;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  padding: 0;
  margin: 0.5rem;
}

#modalCertImg {
  display: block;
  max-height: 80vh;
  object-fit: contain;
  background: white;
}

/* Download CV Button Styling */
.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.3);
}

/* Responsive Certificates */
@media (max-width: 768px) {
  .certificates-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .certificate-img {
    height: 250px;
    padding: 1rem;
  }

  .certificate-info h6 {
    font-size: 1rem;
  }
  
  .certificate-info p {
    font-size: 0.85rem;
  }
  
  .certificate-overlay i {
    font-size: 2.5rem;
  }

  #modalCertImg {
    max-height: 70vh;
  }
}

@media (max-width: 576px) {
  .certificates-grid {
    gap: 1.25rem;
  }

  .certificate-img {
    height: 220px;
    padding: 0.75rem;
  }
  
  .certificate-info {
    padding: 1rem;
  }
  
  .certificate-overlay i {
    font-size: 2rem;
  }
  
  .certificate-overlay p {
    font-size: 0.9rem;
  }
}

/* Accessibility improvements */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  .navbar,
  .scroll-top-btn,
  #contact {
    display: none;
  }

  body {
    background: white;
  }

  .hero-section,
  .about-card,
  .timeline-card,
  .experience-card,
  .skills-category {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}
