:root {
  --primary-color: #6e45e2;
  --secondary-color: #88d3ce;
  --accent-1: #ff7e5f;
  --accent-2: #f9d423;
  --accent-3: #a18cd1;
  --dark-color: #1a1a2e;
  --light-color: #f8f9fa;
  --white: #fff;
  --black: #000;
  --gray: #6c757d;
  --light-gray: #e9ecef;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  text-align: center;
}

.btn:hover {
  background: #3a41b0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--white);
}

.btn-large {
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
}

/* Header Styles - Updated */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(26, 26, 46, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

header.scrolled {
  background-color: rgba(26, 26, 46, 0.98);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--accent-2);
  font-size: 2.2rem;
  margin-right: 0.3rem;
  transition: all 0.3s ease;
}

.logo:hover span {
  transform: rotate(15deg);
}

.nav__menu {
  display: flex;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__link {
  padding: 0.8rem 1.2rem;
  margin: 0 0.2rem;
  font-weight: 500;
  color: var(--white);
  transition: all 0.3s ease;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.nav__link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav__link:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__link i {
  margin-right: 0.5rem;
  color: var(--accent-2);
  transition: all 0.3s ease;
}

.nav__link:hover {
  color: var(--accent-2);
}

.nav__link:hover i {
  transform: rotate(15deg);
}

.resume-btn {
  background: var(--primary-color);
  color: var(--white);
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.resume-btn:hover {
  background: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--white);
  background: var(--primary-color);
  border: none;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background: var(--accent-1);
  transform: rotate(90deg);
}

/* Animated Background Elements */
.lightning {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><path d="M0,0 L100,100 M50,0 L150,100 M100,0 L200,100" stroke="rgba(255,255,255,0.03)" stroke-width="1" /></svg>');
  z-index: -1;
  animation: lightning 15s infinite linear;
}

.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><circle cx="10%" cy="20%" r="2" fill="rgba(110,69,226,0.1)"/><circle cx="30%" cy="50%" r="1" fill="rgba(255,126,95,0.1)"/><circle cx="70%" cy="30%" r="1.5" fill="rgba(249,212,35,0.1)"/><circle cx="85%" cy="70%" r="2" fill="rgba(161,140,209,0.1)"/><circle cx="15%" cy="80%" r="1" fill="rgba(136,211,206,0.1)"/></svg>');
  z-index: -1;
  animation: particles 20s infinite linear;
}

.floating-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><rect x="5%" y="10%" width="30" height="30" fill="none" stroke="rgba(110,69,226,0.05)" stroke-width="1"/><circle cx="80%" cy="15%" r="20" fill="none" stroke="rgba(255,126,95,0.05)" stroke-width="1"/><polygon points="60%,80% 70%,90% 50%,90%" fill="none" stroke="rgba(249,212,35,0.05)" stroke-width="1"/></svg>');
  z-index: -1;
  animation: float 25s infinite ease-in-out;
}

/* Color Layers for Section Backgrounds */
.color-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.1;
}

.layer-1 {
  background: radial-gradient(circle at 20% 30%, var(--primary-color), transparent 70%);
  animation: colorPulse1 15s infinite alternate;
}

.layer-2 {
  background: radial-gradient(circle at 70% 60%, var(--accent-1), transparent 70%);
  animation: colorPulse2 18s infinite alternate;
}

.layer-3 {
  background: radial-gradient(circle at 40% 80%, var(--accent-2), transparent 70%);
  animation: colorPulse3 20s infinite alternate;
}

/* Section Styles */
.section {
  position: relative;
  padding: 5rem 2rem;
  overflow: hidden;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  margin: 0 auto;
  border-radius: 2px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('Background\ Image.png') no-repeat center center/cover;
  opacity: 0.4;
}

.hero-content {
  max-width: 800px;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

.hero h1 span {
  color: var(--accent-2);
  position: relative;
  display: inline-block;
}

.hero h2 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
}

/* About Section with Enhanced Photo Frame */
.about {
  background: linear-gradient(135deg, var(--dark-color), #16213e);
  color: var(--white);
}

.about__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about__photo {
  display: flex;
  justify-content: center;
  position: relative;
}

.photo-frame {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.5s ease;
  position: relative;
  background: linear-gradient(135deg, rgba(185, 10, 22, 0.95), rgba(216, 27, 140, 0.877), rgba(238, 238, 23, 0.95), rgba(222, 159, 14, 0.8), rgba(19, 212, 15, 0.85) );
  background-size: 300% 300%;
  animation: gradientBG 4s ease infinite;
}

.photo-frame img {
  width: 335px;
  height: 335px;
  object-fit:cover;
  transition: transform 0.5s ease;
  position: relative;
  z-index: 1;
  border-radius: 50%;
  transform: scale(0.93);
}

.photo-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-color), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
  animation: pulseGlow 4s infinite;
}

.photo-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><circle cx="27%" cy="30%" r="4.5" fill="rgba(255,255,255,0.3)"/><circle cx="75%" cy="20%" r="5.5" fill="rgba(255,255,255,0.3)"/><circle cx="20%" cy="70%" r="5" fill="rgba(255,255,255,0.3)"/><circle cx="80%" cy="60%" r="4.5" fill="rgba(255,255,255,0.3)"/><circle cx="25%" cy="40%" r="4.5" fill="rgba(255,255,255,0.3)"/><circle cx="80%" cy="55%" r="4.5" fill="rgba(255,255,255,0.3)"/><circle cx="15%" cy="85%" r="4.5" fill="rgba(255,255,255,0.3)"/><circle cx="17" cy="60%" r="4.5" fill="rgba(255,255,255,0.3)"/><circle cx="20%" cy="90%" r="4.5" fill="rgba(255,255,255,0.3)"/><circle cx="85%" cy="20%" r="5.5" fill="rgba(255,255,255,0.3)"/><circle cx="90%" cy="45%" r="4.5" fill="rgba(255,255,255,0.3)"/><circle cx="89%" cy="60%" r="5.5" fill="rgba(255,255,255,0.3)"/><circle cx="10%" cy="50%" r="5" fill="rgba(255,255,255,0.3)"/><circle cx="7%" cy="47" r="5.5" fill="rgba(255,255,255,0.3)"/><circle cx="75%" cy="40%" r="4.5" fill="rgba(255,255,255,0.3)"/><circle cx="16%" cy="75%" r="4.5" fill="rgba(255,255,255,0.3)"/><circle cx="90%" cy="30%" r="5.5" fill="rgba(255,255,255,0.3)"/><circle cx="92%" cy="65%" r="5" fill="rgba(255,255,255,0.3)"/><circle cx="22%" cy="30%" r="5.5" fill="rgba(255,255,255,0.3)"/><circle cx="20%" cy="20%" r="5" fill="rgba(255,255,255,0.3)"/><circle cx="17%" cy="25%" r="5.5" fill="rgba(255,255,255,0.3)"/><circle cx="21%" cy="53%" r="5.5" fill="rgba(255,255,255,0.3)"/></svg>');
  z-index: 0;
  animation: float 3s infinite linear;
}

.photo-frame:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(110, 69, 226, 0.6);
}

.photo-frame:hover .photo-glow {
  opacity: 0.5;
}

.photo-frame:hover img {
  transform: scale(0.98);
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulseGlow {
  0% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.05); }
  100% { opacity: 0.3; transform: scale(1); }
}

.about__content {
  text-align: left;
}

.about__content p {
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.8);
}

.about-details {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  background: rgba(255,255,255,0.1);
  padding: 0.8rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.detail-item:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

.detail-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

/* Skills Section */
.skills {
  background: linear-gradient(135deg, #16213e, #0f3460);
  color: var(--white);
}

.skills-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.skill-category {
  background: rgba(255,255,255,0.1);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}

.skill-category::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
      to bottom right,
      transparent,
      transparent,
      transparent,
      rgba(255,255,255,0.1),
      transparent,
      transparent,
      transparent
  );
  transform: rotate(30deg);
  animation: shine 3s infinite;
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.skill-category h3 {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-2);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.skill-item {
  background: rgba(255,255,255,0.05);
  padding: 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.skill-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background: rgba(255,255,255,0.1);
}

.skill-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.skill-item:hover .skill-icon {
  transform: scale(1.2);
  color: var(--accent-2);
}

.skill-bar {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  margin-top: 0.5rem;
  overflow: hidden;
  position: relative;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 4px;
  position: relative;
  transition: width 1.5s ease;
}

.skill-sparkle {
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.8), transparent);
  animation: sparkle 2s infinite;
}

/* Projects Section */
.projects {
  background: linear-gradient(135deg, #0f3460, #533d7b);
  color: var(--white);
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.project-card {
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.5s ease;
  position: relative;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      135deg,
      rgba(110,69,226,0.1),
      rgba(255,126,95,0.1),
      rgba(249,212,35,0.1)
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}

.project-card:hover::before {
  opacity: 1;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.project-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.2), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-card:hover .project-glow {
  opacity: 0.5;
}

.project-content {
  padding: 1.5rem;
  position: relative;
  z-index: 1;
}

.project-content h3 {
  margin-bottom: 1rem;
  color: var(--white);
}

.project-content p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.project-tech span {
  background: rgba(255,255,255,0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--white);
  transition: all 0.3s ease;
}

.project-tech span:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-orb {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-1), transparent 70%);
  filter: blur(20px);
  opacity: 0.3;
  z-index: 0;
  animation: floatOrb 10s infinite ease-in-out;
}

.project-card:nth-child(2) .project-orb {
  background: radial-gradient(circle, var(--accent-2), transparent 70%);
  animation-delay: 2s;
}

/* Resume Section */
.resume {
  background: linear-gradient(135deg, #533d7b, #6e45e2);
  color: var(--white);
}

.resume-container {
  display: flex;
  justify-content: center;
}

.resume-card {
  background: rgba(255,255,255,0.1);
  padding: 3rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  max-width: 500px;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
}

.resume-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.resume-icon {
  font-size: 3rem;
  color: var(--accent-2);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.icon-pulse {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  background: var(--accent-2);
  opacity: 0;
  z-index: -1;
  animation: pulse 2s infinite;
}

.resume-card h3 {
  margin-bottom: 1rem;
}

.resume-card p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
}

.resume-sparkles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--white);
  border-radius: 50%;
  opacity: 0;
  animation: sparklePop 3s infinite;
}

.sparkle:nth-child(1) {
  top: 20%;
  left: 15%;
  animation-delay: 0s;
}

.sparkle:nth-child(2) {
  top: 70%;
  left: 80%;
  animation-delay: 1s;
}

.sparkle:nth-child(3) {
  top: 40%;
  left: 50%;
  animation-delay: 2s;
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, #6e45e2, #88d3ce);
  color: var(--white);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: rgba(255,255,255,0.1);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
  color: var(--accent-2);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--white);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--accent-2);
  color: var(--dark-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  font-family: inherit;
  color: var(--white);
  transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(255, 126, 95, 0.3);
  background: rgba(255,255,255,0.2);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.form-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><circle cx="10%" cy="20%" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="30%" cy="50%" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="70%" cy="30%" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="85%" cy="70%" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="15%" cy="80%" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
  z-index: -1;
  animation: float 15s infinite linear;
}

.contact-orb {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-1), transparent 70%);
  filter: blur(30px);
  opacity: 0.2;
  bottom: -50px;
  right: -50px;
  z-index: -1;
  animation: floatOrb 8s infinite ease-in-out;
}

/* Footer */
footer {
  background: var(--dark-color);
  color: var(--white);
  padding: 3rem 0 0;
  position: relative;
  overflow: hidden;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-content .logo {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.footer-content .logo span {
  color: var(--primary-color);
}

.footer-content p {
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-social a {
  color: var(--white);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  color: var(--primary-color);
  transform: translateY(-3px) scale(1.2);
}

.footer-bottom {
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.footer-lightning {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><path d="M0,50 L20,70 M40,30 L60,50 M80,10 L100,30" stroke="rgba(110,69,226,0.1)" stroke-width="1" /></svg>');
  z-index: 0;
  animation: lightning 10s infinite linear;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: var(--accent-1);
  transform: translateY(-3px) scale(1.1);
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 1rem;
}

.theme-toggle:hover {
  background: rgba(255,255,255,0.2);
  transform: rotate(30deg);
}

/* Animations */
@keyframes lightning {
  0% { opacity: 0; }
  10% { opacity: 0.1; }
  20% { opacity: 0; }
  30% { opacity: 0.05; }
  40% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes particles {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100px); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes colorPulse1 {
  0% { transform: scale(1); opacity: 0.1; }
  50% { transform: scale(1.2); opacity: 0.15; }
  100% { transform: scale(1); opacity: 0.1; }
}

@keyframes colorPulse2 {
  0% { transform: scale(1) translateX(0); opacity: 0.1; }
  50% { transform: scale(1.1) translateX(20px); opacity: 0.15; }
  100% { transform: scale(1) translateX(0); opacity: 0.1; }
}

@keyframes colorPulse3 {
  0% { transform: scale(1) translateY(0); opacity: 0.1; }
  50% { transform: scale(1.1) translateY(20px); opacity: 0.15; }
  100% { transform: scale(1) translateY(0); opacity: 0.1; }
}

@keyframes sparkle {
  0% { transform: translateX(0); }
  100% { transform: translateX(100px); }
}

@keyframes shine {
  0% { transform: rotate(30deg) translate(-30%, -30%); }
  100% { transform: rotate(30deg) translate(30%, 30%); }
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0; }
  50% { transform: scale(1.2); opacity: 0.3; }
  100% { transform: scale(0.8); opacity: 0; }
}

@keyframes sparklePop {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0); opacity: 0; }
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(20px, -20px); }
  50% { transform: translate(0, -40px); }
  75% { transform: translate(-20px, -20px); }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about__container {
      grid-template-columns: 1fr;
  }
  
  .about__photo {
      margin-bottom: 2rem;
  }
  
  .contact-container {
      grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
      display: block;
  }
  
  .nav__menu {
      position: fixed;
      top: 70px;
      left: -100%;
      width: 100%;
      height: calc(100vh - 70px);
      background: var(--dark-color);
      flex-direction: column;
      align-items: center;
      padding: 2rem 0;
      transition: all 0.3s ease;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  
  .nav__menu.active {
      left: 0;
  }
  
  .nav__list {
      flex-direction: column;
      width: 100%;
  }
  
  .nav__link {
      width: 80%;
      text-align: center;
      padding: 1rem;
      margin: 0.5rem 0;
  }
  
  .hero h1 {
      font-size: 2.5rem;
  }
  
  .hero h2 {
      font-size: 1.5rem;
  }
  
  .section {
      padding: 3rem 1rem;
  }
  
  .projects-container {
      grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero h1 {
      font-size: 2rem;
  }
  
  .section-title h2 {
      font-size: 2rem;
  }
  
  .about-details {
      grid-template-columns: 1fr;
  }
  
  .project-links {
      flex-direction: column;
  }
  
  .btn {
      width: 100%;
  }
}
.certifications {
  background: linear-gradient(135deg, #0f3460, #3a3f69);
  color: var(--white);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.cert-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  cursor: pointer;
  position: relative;
}

.cert-card:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 40px rgba(5, 169, 41, 0.395);
}

.cert-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: 0.3s ease;
}

.cert-card:hover img {
  filter: brightness(1.5) saturate(1.3);
}

.cert-info {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
}

.cert-info h4 {
  color: var(--accent-2);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.cert-info p {
  color: var(--accent-1);
  font-size: 0.95rem;
}
