/* ===== CSS VARIABLES ===== */
:root {
  /* Primary Colors */
  --primary-color: #4f46e5;
  --primary-light: #6366f1;
  --primary-dark: #3730a3;
  --accent-color: #10b981;
  --cyan-color: #06b6d4;

  /* Background Colors */
  --bg-color: #0f172a;
  --bg-light: #1e293b;
  --bg-dark: #020617;
  --card-bg: #1e293b;

  /* Text Colors */
  --text-color: #f8fafc;
  --text-light: #cbd5e1;
  --text-muted: #94a3b8;

  /* Border Colors */
  --border-color: #334155;

  /* Shadow */
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  --glow: 0 0 20px rgba(6, 182, 212, 0.3);
}

/* Light Theme */
[data-theme="light"] {
  --bg-color: #ffffff;
  --bg-light: #f8fafc;
  --bg-dark: #f1f5f9;
  --card-bg: #ffffff;
  --text-color: #1e293b;
  --text-light: #475569;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --glow: 0 0 20px rgba(6, 182, 212, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  transition: all 0.3s ease;
}

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

/* ===== HEADER ===== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

#header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cyan-color);
  text-decoration: none;
  text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

#navbar ul {
  display: flex;
  list-style: none;
  gap: 0.5rem;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  background: var(--cyan-color);
  color: white;
  box-shadow: var(--glow);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background: var(--text-color);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  background: var(--cyan-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 1001;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow);
}

.theme-toggle:hover {
  background: var(--primary-light);
  transform: translateY(-50%) scale(1.1);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-color) 50%, var(--bg-light) 100%);
  padding-top: 80px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(79, 70, 229, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text-color);
  background: linear-gradient(135deg, var(--cyan-color), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content h2 {
  font-size: 1.3rem;
  color: var(--cyan-color);
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-image {
  text-align: center;
}

.hero-image img {
  border-radius: 50%;
  width: 250px;
  height: 250px;
  object-fit: cover;
  border: 4px solid var(--cyan-color);
  box-shadow: var(--glow);
  transition: all 0.3s ease;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.primary-btn {
  background: linear-gradient(135deg, var(--cyan-color), var(--primary-color));
  color: white;
  box-shadow: var(--shadow-lg);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

.secondary-btn {
  background: transparent;
  color: var(--cyan-color);
  border: 2px solid var(--cyan-color);
}

.secondary-btn:hover {
  background: var(--cyan-color);
  color: white;
  box-shadow: var(--glow);
}

.accent-btn {
  background: var(--accent-color);
  color: white;
}

.accent-btn:hover {
  background: #059669;
  transform: translateY(-2px);
}

.small-btn {
  padding: 8px 16px;
  font-size: 0.9rem;
  background: transparent;
  color: var(--cyan-color);
  border: 1px solid var(--cyan-color);
}

.small-btn:hover {
  background: var(--cyan-color);
  color: white;
  box-shadow: var(--glow);
}

/* ===== SECTIONS ===== */
.section {
  padding: 70px 0;
  position: relative;
}

.section.bg-light {
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.8rem;
}

.underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color), var(--cyan-color));
  margin: 0 auto;
  border-radius: 2px;
}

.underline.cyan {
  background: var(--cyan-color);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.about-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow);
}

.about-card-title {
  font-size: 1.4rem;
  color: var(--cyan-color);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.about-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.role-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--bg-color);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.role-item:hover {
  background: var(--bg-dark);
}

.role-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--cyan-color), var(--primary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.hobbies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hobbies span {
  background: linear-gradient(135deg, var(--cyan-color), var(--primary-color));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.hobbies span:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

.education-item {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.education-item:last-child {
  border-bottom: none;
}

.education-item h4 {
  color: var(--text-color);
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.education-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.education-detail i {
  color: var(--cyan-color);
  width: 18px;
  font-size: 1.1rem;
}

.education-detail p {
  color: var(--text-light);
  margin: 0;
}

/* ===== EXPERIENCE SECTION ===== */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 3rem;
}

.experience-card {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.experience-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow);
}

.experience-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.company-logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan-color), var(--primary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.experience-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-weight: 600;
}

.experience-info h4 {
  color: var(--cyan-color);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.duration {
  font-size: 0.9rem;
  color: var(--text-muted);
  background: var(--bg-color);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
}

.experience-description {
  margin-bottom: 1.5rem;
}

.experience-description p {
  color: var(--text-light);
  line-height: 1.7;
}

.experience-highlight {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-color);
  border-radius: 8px;
  border-left: 4px solid var(--cyan-color);
}

.highlight-icon {
  width: 40px;
  height: 40px;
  background: var(--cyan-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.highlight-content h5 {
  color: var(--cyan-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.highlight-content p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

.experience-technologies {
  margin-top: 1.5rem;
}

.experience-technologies h5 {
  color: var(--text-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

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

.tech-tags span {
  background: var(--bg-color);
  color: var(--cyan-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border-color);
}

/* ===== SKILLS SECTION ===== */
.skills-section {
  background: var(--bg-color);
  position: relative;
}

.skills-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 40%, rgba(6, 182, 212, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(79, 70, 229, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.skill-category {
  background: var(--card-bg);
  padding: 1.8rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
}

.skill-category:hover {
  transform: translateY(-8px);
  box-shadow: var(--glow);
}

.skill-category.cybersecurity {
  border: 2px solid var(--cyan-color);
}

.skill-category-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.skill-category-icon {
  font-size: 1.5rem;
  color: var(--cyan-color);
}

.skill-category h3 {
  font-size: 1.2rem;
  color: var(--cyan-color);
  font-weight: 600;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1rem;
}

.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  background: var(--bg-color);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.skill-item:hover {
  transform: translateY(-5px);
  background: var(--bg-dark);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

.skill-icon {
  font-size: 2rem;
  color: var(--cyan-color);
  margin-bottom: 0.8rem;
  transition: all 0.3s ease;
}

.skill-name {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ===== PROJECTS SECTION ===== */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--border-color);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--cyan-color);
  color: white;
  border-color: var(--cyan-color);
  box-shadow: var(--glow);
}

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

.project-card {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow);
}

.project-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--text-color);
  font-weight: 600;
}

.project-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.project-tech span {
  background: var(--bg-color);
  color: var(--cyan-color);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid var(--border-color);
}

.project-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== CERTIFICATIONS SECTION ===== */
.certifications-container {
  margin-bottom: 4rem;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.cert-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow);
}

.cert-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-color), var(--primary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.cert-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: var(--text-color);
  font-weight: 600;
}

.cert-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.cert-meta {
  margin-bottom: 1.5rem;
}

.cert-meta span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.achievements-container h3 {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 2rem;
  text-align: center;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.achievement-card {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all 0.3s ease;
}

.achievement-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow);
}

.achievement-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  margin: 0 auto 1.5rem;
}

.achievement-content h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--text-color);
  font-weight: 600;
}

.achievement-content p {
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== CODING SECTION ===== */
.coding-section {
  background: var(--bg-color);
  position: relative;
}

.coding-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 30%, rgba(6, 182, 212, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.coding-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.coding-category {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.coding-category:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow);
}

.coding-category-title {
  font-size: 1.5rem;
  color: var(--cyan-color);
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 600;
}

.coding-platforms {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.platform-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: 1.2rem;
  background: var(--bg-color);
  border-radius: 10px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  min-width: 100px;
}

.platform-item:hover {
  transform: translateY(-5px);
  background: var(--bg-dark);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

.platform-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--cyan-color), var(--primary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.platform-name {
  color: var(--cyan-color);
  font-weight: 500;
  text-align: center;
  font-size: 0.9rem;
}

.ctf-platforms {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.ctf-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  padding: 1.5rem 2rem;
  background: var(--bg-color);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  min-width: 200px;
}

.ctf-item:hover {
  transform: translateY(-5px);
  background: var(--bg-dark);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.ctf-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.ctf-name {
  color: var(--text-light);
  font-weight: 500;
  font-size: 1rem;
}

/* ===== CONTACT SECTION ===== */
.contact-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-form {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.contact-form h3 {
  font-size: 1.8rem;
  color: var(--text-color);
  margin-bottom: 2rem;
  font-weight: 600;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-color);
  color: var(--text-color);
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cyan-color);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
}

.contact-info {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.contact-info h3 {
  font-size: 1.8rem;
  color: var(--text-color);
  margin-bottom: 2rem;
  font-weight: 600;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--bg-color);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.info-item:hover {
  background: var(--bg-dark);
}

.info-item i {
  color: var(--cyan-color);
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
}

.info-item a {
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
}

.info-item a:hover {
  color: var(--cyan-color);
}

.info-item p {
  color: var(--text-light);
  margin: 0;
}

/* ===== FOOTER ===== */
#footer {
  background: var(--bg-dark);
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.footer-logo h3 {
  color: var(--cyan-color);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.footer-logo p {
  color: var(--text-light);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-color), var(--primary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.footer-social a:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-light);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--cyan-color), var(--primary-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: var(--glow);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.5);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 5px rgba(6, 182, 212, 0.2);
  }
  50% {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
  }
}

.animate-on-scroll {
  animation: fadeInUp 0.6s ease forwards;
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--cyan-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* Add styles for regular hyperlinks */
a {
  color: var(--cyan-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  text-decoration: underline;
}

/* Update platform and CTF item styles */
.platform-name,
.ctf-name {
  color: var(--cyan-color);
  font-weight: 500;
  text-align: center;
  font-size: 0.9rem;
}

/* Update certificate button styles */
.cert-card .btn {
  background: transparent;
  color: var(--cyan-color);
  border: 1px solid var(--cyan-color);
}

.cert-card .btn:hover {
  background: var(--cyan-color);
  color: white;
}
