:root {
  --primary-color: #ff6b6b;
  --secondary-color: #4ecdc4;
  --dark-bg: #2d3436;
  --light-bg: #ffffff;
  --dark-text: #2d3436;
  --light-text: #ffffff;
  --gradient: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  transition: var(--transition);
  background-color: var(--light-bg);
  color: var(--dark-text);
}

body.dark-mode {
  background-color: var(--dark-bg);
  color: var(--light-text);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Common Styles */
section {
  padding: 100px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

h1 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--gradient);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  transition: var(--transition);
}

.btn:hover {
  transform: translateY(-5px);
}

/* Header Styles */
header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-links a {
  font-size: 1.1rem;
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  border-radius: 20px;
}

.nav-links a:hover {
  background: var(--gradient);
  color: white;
  transform: translateY(-2px);
}

/* Enhanced Home Background */
#home {
  background: linear-gradient(135deg, #f5f7fa 0%, #30cfd0 100%),
    url("../assets/profile.jpg") no-repeat center center/cover;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#home::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,224L48,213.3C96,203,192,181,288,192C384,203,480,245,576,240C672,235,768,181,864,160C960,139,1056,149,1152,160C1248,171,1344,181,1392,186.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E")
    no-repeat;
  background-size: cover;
  z-index: 1;
}

/* Dark mode adjustments */
body.dark-mode header {
  background: rgba(15, 23, 42, 0.9);
}

body.dark-mode .nav-links a:hover {
  color: var(--primary-color);
}

/* Home Section */
.home-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.home-content {
  flex: 1;
  max-width: 600px;
}

.home-image {
  flex: 0 0 400px;
  position: relative;
}

.home-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.home-image:hover img {
  transform: translateY(-10px);
}

/* Animation Classes */
.animate-text {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card Styles */
.card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: 15px;
  padding: 25px;
  transition: var(--transition);
  box-shadow: var(--card-shadow);
}

.card:hover {
  transform: translateY(-10px);
}

/* Logo Styles */
.logo {
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
}

/* Theme Toggle Button */
#theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--dark-text);
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  box-shadow: var(--card-shadow);
}

#theme-toggle:hover {
  transform: rotate(45deg);
  background: var(--gradient);
  color: white;
}

/* Light Mode Home Background */
.background-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
}

.floating-circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(
    45deg,
    rgba(78, 205, 196, 0.1),
    rgba(255, 107, 107, 0.1)
  );
  backdrop-filter: blur(5px);
}

/* Dark Mode Adjustments */
body.dark-mode #home {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

body.dark-mode header {
  background: rgba(15, 23, 42, 0.9);
}

body.dark-mode #theme-toggle {
  color: var(--light-text);
  background: rgba(255, 255, 255, 0.05);
}

body.dark-mode .logo {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.dark-mode .nav-links a:hover {
  color: var(--primary-color);
}

/* Home Section */
.home-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.home-content {
  flex: 1;
  max-width: 600px;
}

.home-image {
  flex: 0 0 400px;
  position: relative;
}

.home-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.home-image:hover img {
  transform: translateY(-10px);
}

/* Animation Classes */
.animate-text {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card Styles */
.card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: 15px;
  padding: 25px;
  transition: var(--transition);
  box-shadow: var(--card-shadow);
}

.card:hover {
  transform: translateY(-10px);
}

/* Dark Mode Adjustments */
body.dark-mode #home {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

body.dark-mode header {
  background: rgba(45, 52, 54, 0.95);
}

body.dark-mode .card {
  background: rgba(255, 255, 255, 0.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  h1 {
    font-size: 2rem;
  }

  .home-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .home-image {
    flex: 0 0 300px;
    margin: 0 auto;
  }
}

/* Keep existing root and base styles ... */

/* Add these styles after your existing home section styles */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

/* Add back the animations */
@keyframes floatAnimation {
  from {
    transform: rotate(0deg) translate(50px) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translate(50px) rotate(-360deg);
  }
}

/* Add these animations */
@keyframes gradientText {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes slideInFade {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Add wave effect */
.wave {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 88.7'%3E%3Cpath d='M800 56.9c-155.5 0-204.9-50-405.5-49.9-200 0-250 49.9-394.5 49.9v31.8h800v-.2-31.6z' fill='%23FFF'/%3E%3C/svg%3E");
  animation: wave 15s linear infinite;
}

.wave:nth-child(2) {
  animation-delay: -5s;
  opacity: 0.2;
}

.wave:nth-child(3) {
  animation-delay: -10s;
  opacity: 0.1;
}

@keyframes wave {
  0% {
    transform: translateX(0) translateZ(0) scaleY(1);
  }
  50% {
    transform: translateX(-25%) translateZ(0) scaleY(0.8);
  }
  100% {
    transform: translateX(-50%) translateZ(0) scaleY(1);
  }
}

/* Add info card styles */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.info-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-10px);
}

.info-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Add tab content styles */
.tab-content > div {
  display: none;
}

#personal:checked ~ .tab-content #personal-content,
#education:checked ~ .tab-content #education-content,
#tech:checked ~ .tab-content #tech-content {
  display: block;
}

/* Add education card details */
.edu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.year {
  color: var(--primary-color);
  font-weight: bold;
}

/* Dark mode enhancements */
body.dark-mode .info-card {
  background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .info-card i {
  color: var(--primary-color);
}

body.dark-mode #personal:checked ~ .tabs-labels label[for="personal"],
body.dark-mode #education:checked ~ .tabs-labels label[for="education"],
body.dark-mode #tech:checked ~ .tabs-labels label[for="tech"] {
  background: var(--primary-color);
  color: var(--light-text);
}

.description.animate-text {
  animation: slideInFade 0.8s forwards;
  animation-delay: 0.6s;
}

/* Social and Download buttons */
.social-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--dark-text);
  transition: var (--transition);
  box-shadow: var(--card-shadow);
}

.social-links {
  display: flex;
  gap: 15px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

/* About Section Enhanced Styles */
#about {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
  position: relative;
  overflow: hidden;
}

#about h1 {
  font-size: 4rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 10px;
}

#about .subtitle {
  text-align: center;
  font-size: 1.5rem;
  color: #636e72;
  margin-bottom: 40px;
}

/* Tab Labels Enhancement */
.tabs-labels {
  margin-top: 20px;
}

.tab-label {
  font-size: 1.1rem;
  padding: 15px 30px;
  background: white;
  border-radius: 30px;
  transition: var(--transition);
}

.tab-label i {
  font-size: 1.2rem;
  margin-right: 8px;
}

/* Dark mode adjustments */
body.dark-mode #about .subtitle {
  color: #dfe6e9;
}

.about-description {
  max-width: 800px;
  margin: 0 auto;
  text-align: justify;
  line-height: 1.8;
  position: relative;
  z-index: 2;
}

.about-description p {
  margin-bottom: 20px;
  color: #636e72;
}

/* Enhanced Tab Styles */
#personal:checked ~ .tabs-labels label[for="personal"],
#education:checked ~ .tabs-labels label[for="education"],
#tech:checked ~ .tabs-labels label[for="tech"] {
  background: var(--gradient);
  color: white;
  transform: translateY(-5px);
}

/* Skills Section Enhanced */
#skills {
  background: linear-gradient(135deg, #e4e9f2 0%, #f5f7fa 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

#skills h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 50px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.skill-category {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: 20px;
  padding: 30px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: none; /* Removed hover transition */
  position: relative;
  z-index: 1;
}

.skill-category:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.3);
  z-index: 1;
}

.skill-category h3 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: var(--primary-color);
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 107, 107, 0.2);
}

.skill-cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 10px;
}

.skill-card:last-child {
  margin-bottom: 0;
}

.skill-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 2px solid var(--secondary-color);
}

.skill-card:hover {
  transform: translateY(-5px) scale(1.05);
  border-color: var(--primary-color);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2),
    rgba(78, 205, 196, 0.2)
  );
}

.skill-card i {
  font-size: 3rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.4s ease;
}

.skill-card:hover i {
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

/* Dark mode adjustments */
body.dark-mode .skill-category {
  background: rgba(255, 255, 255, 0.05);
}

body.dark-mode .skill-card {
  background: rgba(255, 255, 255, 0.08);
}

.skill-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 2px solid var(--secondary-color);
}

.skill-card:hover {
  transform: translateY(-5px) scale(1.05);
  border-color: var(--primary-color);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2),
    rgba(78, 205, 196, 0.2)
  );
}

.skill-card i {
  font-size: 3rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.4s ease;
}

.skill-card:hover i {
  transform: scale(1.2);
}

.skill-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.skill-card p {
  color: #636e72;
  position: relative;
  z-index: 2;
}

/* Dark mode enhancements */
body.dark-mode #about,
body.dark-mode #skills {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

body.dark-mode .skill-card {
  background: rgba(255, 255, 255, 0.05);
}

body.dark-mode .skill-card p,
body.dark-mode .about-description p {
  color: #dfe6e9;
}

body.dark-mode .skill-card:hover::before {
  opacity: 0.2;
}

.description.animate-text {
  animation: slideInFade 0.8s forwards;
  animation-delay: 0.6s;
}

/* Social and Download buttons */
.social-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--dark-text);
  transition: var(--transition);
  box-shadow: var(--card-shadow);
}

.social-links {
  display: flex;
  gap: 15px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* About Section Styles */

/* Blog Section Styles */
#blog {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
}

#blog h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 50px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.blog-content {
  padding: 25px;
}

.blog-date {
  color: var(--primary-color);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.blog-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.blog-excerpt {
  color: #636e72;
  margin-bottom: 20px;
  line-height: 1.6;
}

.blog-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.blog-tag {
  background: var(--gradient);
  color: white;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.read-more:hover {
  gap: 12px;
}

/* Contact Section Styles */
#contact {
  padding: 80px 0;
  background: white;
}

#contact h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 50px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-form input,
.contact-form textarea {
  padding: 20px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  width: 100%;
  font-size: 1rem;
  margin-bottom: 20px;
}

.contact-form textarea {
  height: 200px;
  resize: vertical;
}
.contact-form .btn {
  padding: 15px 40px;
  font-size: 1.2rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.contact-form button {
  background: var(--gradient);
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.contact-form button:hover {
  transform: translateY(-3px);
}

/* Dark Mode Section Backgrounds */
body.dark-mode #about,
body.dark-mode #skills,
body.dark-mode #projects,
body.dark-mode #blog,
body.dark-mode #contact {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: var(--light-text);
}

body.dark-mode .skill-card,
body.dark-mode .project-card,
body.dark-mode .blog-card,
body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .blog-excerpt,
body.dark-mode .project-description,
body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea {
  color: #dfe6e9;
}

body.dark-mode footer {
  background: #1a1a2e;
  color: var(--light-text);
}

#projects {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
  padding: 100px 0;
}

#projects h1 {
  text-align: center;
  margin-bottom: 10px;
}

#projects .subtitle {
  text-align: center;
  color: #636e72;
  font-size: 1.2rem;
  margin-bottom: 50px;
}

.projects-grid {
  display: grid;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-content h3 {
  font-size: 2rem;
  color: var(--dark-text);
  margin-bottom: 20px;
}

.project-description {
  color: #636e72;
  line-height: 1.8;
  margin-bottom: 25px;
}

body.dark-mode #projects {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
}

body.dark-mode .project-card {
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--light-text);
}

body.dark-mode .project-content h3,
body.dark-mode .project-description,
body.dark-mode .project-features li {
  color: var(--light-text) !important;
}

.tech-stack {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.tech-tag {
  background: var(--gradient);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
}

.project-features ul {
  list-style: none;
  margin-bottom: 30px;
}

.project-features li {
  color: #636e72;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.project-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.project-links {
  display: flex;
  gap: 20px;
}

.project-btn {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Dark Mode Adjustments */
body.dark-mode #projects {
  background: var(--dark-bg);
}

body.dark-mode .project-card {
  background: rgba(255, 255, 255, 0.05);
}

body.dark-mode .project-content h3,
body.dark-mode .project-description,
body.dark-mode .project-features li {
  color: var(--light-text);
}

.description.animate-text {
  animation: slideInFade 0.8s forwards;
  animation-delay: 0.6s;
}

/* Social and Download buttons */
.social-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--dark-text);
  transition: var(--transition);
  box-shadow: var(--card-shadow);
}

.social-links {
  display: flex;
  gap: 15px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* About Section Styles */
.tabs {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.tabs input[type="radio"] {
  display: none;
}

.tabs-labels {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.tab-label {
  padding: 12px 24px;
  background: white;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Education Timeline */
.education-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.education-card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.education-card:hover {
  transform: translateX(10px);
}

/* Tech Stack Grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 25px;
  padding: 20px;
}

.tech-card {
  background: white;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: var (--transition);
}

.tech-card:hover {
  transform: translateY(-10px);
  background: var(--primary-color);
  color: white;
}

/* Additional Dark Mode Adjustments */
body.dark-mode .tech-card,
body.dark-mode .education-card,
body.dark-mode .tab-label {
  background: rgba(255, 255, 255, 0.1);
  color: var(--light-text);
}

body.dark-mode .social-btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--light-text);
}

body.dark-mode .social-btn:hover {
  background: var(--primary-color);
}

#home h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  text-align: center;
}

#home h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  text-align: center;
}

#home p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 25px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

#certifications {
  background: linear-gradient(135deg, #e4f9f5 0%, #30cfd0 100%);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh; /* Ensures it takes the full height of the viewport */
}

.certification-list {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.certification-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  padding: 20px;
  border: 2px solid rgba(224, 224, 224, 0.8);
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: linear-gradient(135deg, #ffffff, #f0f0f0);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.certification-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(-10px);
  background: linear-gradient(135deg, #ffffff, #e6f7ff);
}

.certification-item i {
  font-size: 3rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.certification-item span {
  font-size: 1.6rem;
  color: var(--dark-text);
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  flex-grow: 1;
  margin-left: 20px;
}
