/* Importing fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Global Variables */
:root {
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --secondary: #1e293b;
  --accent: #f59e0b;
  --text: #334155;
  --light: #f8fafc;
  --gradient: linear-gradient(135deg, var(--primary), var(--primary-light));
}

/* Global Body Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f1f5f9;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Animated Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.1) 0%, rgba(255, 255, 255, 0) 30%),
              radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.1) 0%, rgba(255, 255, 255, 0) 30%);
  z-index: -1;
  animation: float 15s infinite alternate;
}

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

/* Container using Flexbox for centering */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
}

/* Profile Card Styling */
.profileCard {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  width: 100%;
  max-width: 900px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.profileCard:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.profileCard::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: var(--gradient);
  border-radius: 0 0 0 100%;
  z-index: -1;
}

/* Profile Header using Flexbox */
.profileHeader {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

/* Profile Picture with Hover Effect */
.profilePicture {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 5px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  object-fit: cover;
}

.profilePicture:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
  border-color: var(--primary-light);
}

/* Profile Details Alignment */
.profileDetails {
  flex: 1;
  min-width: 250px;
}

/* Main Title Styling */
.Title1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin: 0;
  color: var(--secondary);
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

/* Status Text Styling */
.CurrentStatus {
  font-size: 1.1rem;
  margin-top: 0.5rem;
  color: var(--primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.CurrentStatus::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: var(--accent);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.7; }
  100% { transform: scale(0.95); opacity: 1; }
}

/* Customized Horizontal Rule */
hr {
  border: none;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--primary), transparent);
  margin: 1.5rem 0;
  border-radius: 5px;
  opacity: 0.5;
}

/* Introduction Heading */
.IntroHeading {
  font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--secondary);
  position: relative;
  display: inline-block;
  width: 100%;
}

.IntroHeading::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
}

/* Motive Article Styling */
.Motive {
  font-size: 1.1rem;
  text-align: center;
  line-height: 1.8;
  margin: 0 auto;
  max-width: 700px;
  padding: 1rem;
  position: relative;
}

.Motive::before,
.Motive::after {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--primary-light);
  opacity: 0.3;
  position: absolute;
}

.Motive::before {
  top: -10px;
  left: -15px;
}

.Motive::after {
  bottom: -30px;
  right: -15px;
}

/* Social Links */
.socialLinks {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.socialLink {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  color: var(--primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.socialLink:hover {
  background: var(--gradient);
  color: white;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .profileHeader {
    flex-direction: column;
    text-align: center;
  }
  
  .profileDetails {
    margin-top: 1rem;
  }
  
  .Title1 {
    font-size: 2rem;
  }
  
  .profileCard {
    padding: 1.5rem;
  }
}

/* Floating Animation */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.floating {
  animation: float 3s ease-in-out infinite;
}

/* Education Section */
.EduSection {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: rgba(248, 250, 252, 0.7);
    border-radius: 15px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
  }
  
  .EduSection:hover {
    background: rgba(248, 250, 252, 0.9);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }
  
  .TitleEdu {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
  }
  
  .TitleEdu::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
  }
  
  .educationContainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  
  .EducationData {
    margin-bottom: 0.8rem;
    font-size: 1rem;
    position: relative;
    padding-left: 1.8rem;
    line-height: 1.6;
  }
  
  .EducationData i {
    position: absolute;
    left: 0;
    top: 0.2rem;
    color: var(--primary);
    width: 1.5rem;
    text-align: center;
  }
  
  #EducationLast {
    margin-bottom: 0;
  }
  
  /* Responsive adjustments for education section */
  @media (max-width: 768px) {
    .educationContainer {
      grid-template-columns: 1fr;
    }
    
    .EduSection {
      padding: 1.2rem;
    }
    
    .TitleEdu {
      font-size: 1.5rem;
    }
  }

  /* Projects and Skills Section */
/* .ProjectSkillSection {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: rgba(248, 250, 252, 0.7);
    border-radius: 15px;
    border-left: 4px solid var(--accent);
    transition: all 0.3s ease;
  }
  
  .ProjectSkillSection:hover {
    background: rgba(248, 250, 252, 0.9);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }
  
  .TitlePS {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    position: relative;
  }
  
  .TitlePS::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
  }
  
  .projectCard {
    margin-bottom: 2rem;
    padding: 1.2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
  }
  
  .projectCard:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .projectLink {
    text-decoration: none;
    color: inherit;
  }
  
  .projectName {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .projectYear, .projectStatus {
    font-size: 0.9rem;
    color: var(--text);
    opacity: 0.8;
    font-weight: normal;
  }
  
  .projectDescription {
    margin-bottom: 1rem;
    color: var(--text);
    line-height: 1.6;
  }
  
  .skillTag {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
  }
  
  .skillTag span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
    min-width: 60px;
  }
  
  .Progress {
    flex-grow: 1;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
  }
  
  .Progress-bar {
    height: 100%;
    background: var(--gradient);
    border-radius: 4px;
    transition: width 1s ease;
  }
  
/* Project Categories Flexbox */
.categoryContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.categoryBox {
  flex: 1 1 300px;
  min-height: 200px;
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.categoryBox::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
}

.categoryBox:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.categoryTitle {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.categoryDesc {
  color: var(--text);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.skillsPreview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skillsPreview span {
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
}

/* Category-specific colors */
.diy {
  border-top: 5px solid #F59E0B;
}
.diy::after {
  background: #F59E0B;
}
.diy .categoryTitle {
  color: #F59E0B;
}

.fullstack {
  border-top: 5px solid #3B82F6;
}
.fullstack::after {
  background: #3B82F6;
}
.fullstack .categoryTitle {
  color: #3B82F6;
}

.extensions {
  border-top: 5px solid #10B981;
}
.extensions::after {
  background: #10B981;
}
.extensions .categoryTitle {
  color: #10B981;
}

.scripting {
  border-top: 5px solid #8B5CF6;
}
.scripting::after {
  background: #8B5CF6;
}
.scripting .categoryTitle {
  color: #8B5CF6;
}

.cpp {
  border-top: 5px solid #EF4444;
}
.cpp::after {
  background: #EF4444;
}
.cpp .categoryTitle {
  color: #EF4444;
}

.csharp {
  border-top: 5px solid #EC4899;
}
.csharp::after {
  background: #EC4899;
}
.csharp .categoryTitle {
  color: #EC4899;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .categoryBox {
    flex: 1 1 100%;
  }
}

  /* Certifications Section */
  .CertiSection {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: rgba(248, 250, 252, 0.7);
    border-radius: 15px;
    border-left: 4px solid var(--primary-light);
    transition: all 0.3s ease;
  }
  
  .CertiSection:hover {
    background: rgba(248, 250, 252, 0.9);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }
  
  .TitleCerti {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    position: relative;
  }
  
  .TitleCerti::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100px;
    height: 3px;
    background: var(--primary-light);
    border-radius: 3px;
  }
  
  .Certificates {
    list-style-type: none;
  }
  
  .Certificates li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
  }
  
  /* Future Projects Section */
  .FutureSection {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: rgba(248, 250, 252, 0.7);
    border-radius: 15px;
    border-left: 4px solid #10b981;
    transition: all 0.3s ease;
  }
  
  .FutureSection:hover {
    background: rgba(248, 250, 252, 0.9);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }
  
  .TitleFuture {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    position: relative;
  }
  
  .TitleFuture::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100px;
    height: 3px;
    background: #10b981;
    border-radius: 3px;
  }
  
  .future .projectName {
    color: #10b981;
  } */
  
  /* Work Experience Section */
  .WESection {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: rgba(248, 250, 252, 0.7);
    border-radius: 15px;
    border-left: 4px solid #8b5cf6;
    transition: all 0.3s ease;
  }
  
  .WESection:hover {
    background: rgba(248, 250, 252, 0.9);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }
  
  .TitleWE {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    position: relative;
  }
  
  .TitleWE::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100px;
    height: 3px;
    background: #8b5cf6;
    border-radius: 3px;
  }
  
  .experienceCard {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  }
  
  .jobTitle {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  .jobDuration {
    font-size: 0.9rem;
    color: var(--text);
    opacity: 0.8;
    font-weight: normal;
  }
  
  .experiencePoints {
    list-style-type: none;
  }
  
  .experiencePoints li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
  }
  
  