/* ====== RESET ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ====== BODY ====== */
/* ====== SOFT ELEGANT BACKGROUND ====== */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}
/* Decorative subtle dots for creativity */
body::before {
  content: "";
  position: fixed;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(130,180,255,0.2) 0%, transparent 70%);
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  bottom: -80px;
  left: -60px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(180,210,255,0.15) 0%, transparent 70%);
  z-index: -1;
}
/* ====== HERO SECTION – BLUE CRYSTAL MOTION THEME ====== */
.hero {
  background: linear-gradient(135deg, #00264d, #004c99);
  color: #ffffff;
  text-align: center;
  padding: 160px 20px 140px;
  position: relative;
  overflow: hidden;
}

/* Floating crystal glow orbs */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  animation: floatGlow 10s infinite ease-in-out alternate;
  z-index: 0;
}

.hero::before {
  top: -100px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: #66aaff;
  animation-delay: 1s;
}

.hero::after {
  bottom: -120px;
  right: -150px;
  width: 420px;
  height: 420px;
  background: #3399ff;
  animation-delay: 2s;
}

/* Motion fade for hero text */
.hero h1, 
.hero p {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 1.3s ease-out forwards;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #e6f2ff;
  text-shadow: 0 0 20px rgba(255,255,255,0.25);
  animation-delay: 0.2s;
}

.hero p:nth-of-type(1) {
  font-size: 1.3rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  animation-delay: 0.5s;
}

.hero p:nth-of-type(2) {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  animation-delay: 0.8s;
}

/* Floating CTA (optional button animation) */
.hero .btn {
  position: relative;
  z-index: 2;
  margin-top: 25px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #e6f2ff;
  backdrop-filter: blur(5px);
  border-radius: 25px;
  padding: 10px 25px;
  transition: 0.4s;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 1.2s ease-out forwards;
  animation-delay: 1.1s;
}

.hero .btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(102,170,255,0.5);
} 


/* ====== Animations ====== */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatGlow {
  0% { transform: translateY(0px) scale(1); }
  100% { transform: translateY(-20px) scale(1.05); }
}


/* ====== ABOUT ME SECTION ====== */
#about {
  background: linear-gradient(135deg, #ffffff, #eaf3ff);
  color: #00264d;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

/* Soft background glow (blue mist) */
#about::before,
#about::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  z-index: 0;
  animation: floatGlow 10s infinite alternate ease-in-out;
}

#about::before {
  top: -80px;
  left: -120px;
  width: 300px;
  height: 300px;
  background: #66aaff;
}

#about::after {
  bottom: -100px;
  right: -150px;
  width: 350px;
  height: 350px;
  background: #3399ff;
}

/* Section Title */
#about .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: #003366;
  position: relative;
  z-index: 2;
  text-shadow: 0 0 10px rgba(102,170,255,0.25);
  animation: fadeSlideUp 1s ease-out;
}

/* Content box */
#about .container {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 90, 200, 0.1);
  padding: 60px;
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: auto;
}

/* Paragraphs */
#about p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #003366;
  margin-bottom: 20px;
  animation: fadeSlideUp 1.3s ease-out;
}

#about .highlight {
  color: #0056cc;
  font-weight: 600;
}

/* Floating decorative line */
#about .container::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #66aaff, transparent);
  border-radius: 2px;
  opacity: 0.6;
  animation: glowPulse 3s infinite ease-in-out;
}

/* Animations */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: scaleX(1); }
  50% { opacity: 1; transform: scaleX(1.2); }
}

@keyframes floatGlow {
  0% { transform: translateY(0px) scale(1); }
  100% { transform: translateY(-15px) scale(1.05); }
}


/* Light texture and depth across sections */
.section {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 90px 40px;
  margin: 60px auto;
  width: 90%;
  max-width: 1200px;
  box-shadow: 0 8px 30px rgba(0, 30, 80, 0.05);
  transition: all 0.3s ease;
}

.section:hover {
  box-shadow: 0 12px 40px rgba(0, 60, 130, 0.08);
}

/* ====== HEADINGS ====== */
.section-title {
  font-size: 2.3rem;
  font-weight: 700;
  text-align: center;
  color: #12356b;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #3a86ff, #82b0ff);
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 3px;
}

/* ====== EXPERIENCE (Soft Timeline Cards) ====== */
#experience {
  background: linear-gradient(145deg, #f8faff 0%, #eef3ff 100%);
}

#experience .container {
  max-width: 1000px;
  margin: auto;
}

#experience p {
  background: #ffffff;
  border-left: 5px solid #7aa9ff;
  border-radius: 14px;
  padding: 25px 30px;
  margin-bottom: 25px;
  box-shadow: 0 5px 18px rgba(0, 80, 200, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#experience p:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 80, 200, 0.1);
}

#experience strong {
  color: #2a5bd7;
  font-weight: 600;
}



/* ====== TEXT ====== */
.highlight {
  color: #007bff;
  font-weight: 600;
}

/* ====== SKILLS ====== */
#skills .col-md-4 {
  background: #fff;
  border-radius: 15px;
  padding: 30px 20px;
  box-shadow: 0 4px 15px rgba(0, 68, 204, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#skills .col-md-4:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 68, 204, 0.15);
}

#skills h5 {
  color: #003399;
  font-weight: 600;
  margin-bottom: 15px;
}
/* ====== PROJECT SEGMENTS ====== */
.project-segment p {
  background: #fff;
  border-left: 5px solid #3a86ff;
  border-radius: 14px;
  padding: 25px 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 80, 200, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-size: 1.1rem;
  line-height: 1.8;
}

.project-segment p:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 80, 200, 0.15);
}

.project-segment strong {
  color: #2a5bd7;
  font-weight: 600;
  font-size: 1.2rem;
}

.project-segment a {
  color: #007bff;
  font-weight: 500;
  text-decoration: none;
}

.project-segment a:hover {
  text-decoration: underline;
}


/* ====== EXPERIENCE ====== */
#experience p {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 68, 204, 0.08);
  text-align: left;
}

/* ====== WEB3 WORK ====== */
#web3-work h5 {
  color: #003399;
  font-weight: 600;
}

#web3-work img {
  border: 2px solid #007bff;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

#web3-work img:hover {
  transform: scale(1.05);
}

/* ====== CONTACT SECTION – BLUE CRYSTAL THEME ====== */
#contact {
  background: linear-gradient(135deg, #00264d, #004c99);
  color: #ffffff;
  text-align: center;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

/* Soft glowing background layers */
#contact::before,
#contact::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  animation: floatGlow 10s infinite ease-in-out alternate;
}

#contact::before {
  top: -50px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: #66aaff;
}

#contact::after {
  bottom: -60px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: #3399ff;
}

/* Title styling */
#contact .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #e6f2ff;
  text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

/* Profile image styling */
#contact img {
  border: 3px solid rgba(255,255,255,0.4);
  box-shadow: 0 0 25px rgba(102,170,255,0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
#contact img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px rgba(102,170,255,0.5);
}

/* Text + Links */
#contact p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

#contact a {
  color: #cce5ff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

#contact a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255,255,255,0.6);
}

/* Floating glow animation */
@keyframes floatGlow {
  0% { transform: translateY(0px) scale(1); }
  100% { transform: translateY(-15px) scale(1.05); }
}

.page-content {
  flex: 1;
}
/* ====== FOOTER ====== */
footer {
  background: #001a66;
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-align: center;
  padding: 20px 0;
}

footer span {
  color: #007bff;
  font-weight: 600;
}
