/* Personalized Greeting Styles */
.personal-greeting {
  width: 100%;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1976d2;
  letter-spacing: 0.5px;
  margin: 1.2rem 0 0.2rem 0;
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(.4,2,.6,1);
  z-index: 10;
}
/* SVG Divider Styles */
.svg-divider {
  width: 100%;
  line-height: 0;
  position: relative;
  z-index: 2;
  margin-bottom: -2px;
}
.svg-divider svg {
  display: block;
  width: 100%;
  height: 100px;
  min-height: 60px;
  max-height: 120px;
}
/* Theme Customizer Styles */
.theme-customizer-toggle {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 2000;
  background: #fff;
  color: #1976d2;
  border: 2px solid #1976d2;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.7rem;
  box-shadow: 0 2px 12px rgba(33,150,243,0.10);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s, transform 0.2s;
}
.theme-customizer-toggle:hover {
  background: #1976d2;
  color: #fff;
  border-color: #2196f3;
  transform: scale(1.08);
}
.theme-customizer-panel {
  position: fixed;
  bottom: 90px;
  right: 28px;
  z-index: 2100;
  background: #fff;
  color: #222;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(33,150,243,0.13);
  padding: 1.3rem 1.5rem 1.1rem 1.5rem;
  min-width: 240px;
  max-width: 320px;
  border: 1.5px solid #e3f2fd;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  animation: fadeInPanel 0.25s cubic-bezier(.4,2,.6,1);
}
.theme-customizer-panel h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 1.15rem;
  color: #1976d2;
}
.theme-customizer-panel label {
  font-size: 1rem;
  color: #1976d2;
  margin-bottom: 0.2rem;
}
.theme-customizer-panel input[type="color"] {
  margin-left: 0.7rem;
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  cursor: pointer;
}
.theme-customizer-panel select {
  margin-left: 0.5rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #e3f2fd;
  padding: 0.2rem 0.5rem;
}
.theme-customizer-close {
  margin-top: 1.1rem;
  background: #1976d2;
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 0.5rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.theme-customizer-close:hover {
  background: #2196f3;
}
@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}
/* Breakout Game Styles */
.breakout-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 0 1.2rem 0;
}
#breakout-canvas {
  background: #111;
  display: block;
  margin: 0 auto 1rem auto;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(33,150,243,0.13);
  border: 2px solid #1976d2;
}
.breakout-instructions {
  margin-top: 0.5rem;
  color: #888;
  font-size: 1.05rem;
}
.breakout-start-btn {
  background: #1976d2;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 24px;
  padding: 0.7rem 2.2rem;
  margin-bottom: 0.5rem;
  margin-top: 0.2rem;
  box-shadow: 0 2px 8px rgba(33,150,243,0.10);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.breakout-start-btn:hover {
  background: #2196f3;
  color: #fff;
  transform: scale(1.05);
}
/* Theme toggle button */
#theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.6rem;
  margin-left: 1.2rem;
  color: #1976d2;
  transition: color 0.2s;
  outline: none;
}
#theme-toggle:hover {
  color: #ff5722;
}

html {
  transition: background 0.4s, color 0.4s;
}

body, .section, .hero-section, header, footer {
  transition: background 0.4s, color 0.4s, box-shadow 0.4s;
}

/* Dark theme styles */
.dark-theme {
  --accent-color: #90caf9;
  --bg-main: #181c24;
  --bg-section: #23283a;
  --bg-hero: linear-gradient(120deg, #23283a 0%, #181c24 100%);
  --text-main: #e3f2fd;
  --text-secondary: #b0bec5;
  --nav-bg: #23283a;
  --footer-bg: #181c24;
  --project-bg: #23283a;
  --project-border: #263238;
  --cta-bg: #1976d2;
  --cta-color: #fff;
}
.dark-theme body {
  background: var(--bg-main);
  color: var(--text-main);
}
.dark-theme header {
  background: var(--nav-bg);
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.08);
}

/* --- DARK THEME FIXES --- */
.dark-theme body,
.dark-theme .section,
.dark-theme .hero-section,
.dark-theme #home.hero-section {
  background: var(--bg-section) !important;
  color: var(--text-main) !important;
}
.dark-theme .hero-section,
.dark-theme #home.hero-section {
  background: var(--bg-hero) !important;
}
.dark-theme .section {
  background: var(--bg-section) !important;
  color: var(--text-main) !important;
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.04);
}
.dark-theme .project {
  background: var(--project-bg) !important;
  border-color: var(--project-border) !important;
  color: var(--text-main) !important;
}
.dark-theme .project h3, .dark-theme .project strong {
  color: var(--accent-color) !important;
}
.dark-theme .project a {
  color: #4dd0e1 !important;
}
.dark-theme .project a:hover {
  color: var(--accent-color) !important;
}
.dark-theme .cta-btn, .dark-theme button[type="submit"] {
  background: var(--cta-bg) !important;
  color: var(--cta-color) !important;
}
.dark-theme .cta-btn:hover, .dark-theme button[type="submit"]:hover {
  background: #1565c0 !important;
  color: #fff !important;
}
.dark-theme .footer-social a svg {
  fill: var(--accent-color) !important;
}
.dark-theme footer {
  background: var(--footer-bg) !important;
  color: var(--text-main) !important;
}
.dark-theme .about-container, .dark-theme .contact-links, .dark-theme .skills-list {
  background: transparent !important;
}
.dark-theme input, .dark-theme textarea {
  background: #23283a !important;
  color: #e3f2fd !important;
  border-color: #263238 !important;
}
.dark-theme input::placeholder, .dark-theme textarea::placeholder {
  color: #b0bec5 !important;
}
.dark-theme nav a {
  color: #e3f2fd !important;
}
.dark-theme nav a:hover {
  color: var(--accent-color) !important;
}
.dark-theme nav ul li a.active {
  color: var(--accent-color) !important;
  border-bottom: 2.5px solid var(--accent-color) !important;
  background: rgba(25,118,210,0.07) !important;
}
.dark-theme .hero-value,
.dark-theme .hero-content h2,
.dark-theme .hero-tagline,
.dark-theme .hero-desc,
.dark-theme .hero-mission {
  color: var(--text-main) !important;
  text-shadow: none !important;
}
.dark-theme .project p {
  color: var(--text-secondary) !important;
}
.dark-theme .project-list {
  background: transparent !important;
}
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Particle background for hero section */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}



.hero-value {
    font-size: 1.25rem;
    color: #0d16be;
    font-weight: 600;
    margin-bottom: 0.7rem;
    margin-top: 0.2rem;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.07);
}
.cta-btn + .cta-btn {
    margin-left: 1rem;
}
nav ul li a.active {
    color: var(--accent-color, #1976d2);
    font-weight: bold;
    border-bottom: 2.5px solid var(--accent-color, #1976d2);
    background: rgba(255,87,34,0.07);
    border-radius: 2px;
    transition: all 0.2s;
}
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 8px rgba(33,150,243,0.04);
}
:root {
    --accent-color: #ff5722;
}

.cta-btn, button[type="submit"] {
    background: var(--accent-color);
    color: #fff;
    border: none;
    transition: background 0.3s, color 0.3s;
}
.cta-btn:hover, button[type="submit"]:hover {
    background: #e64a19;
    color: #fff;
}
/* Hero CTA Button Animation */
.cta-btn {
    background: #1976d2;
    color: #fff;
    padding: 0.9rem 2.2rem;
    border: none;
    border-radius: 32px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(33,150,243,0.10);
    transition: all 0.3s cubic-bezier(.4,2,.6,1);
    margin-top: 1.2rem;
    display: inline-block;
}
.cta-btn:hover {
    background: #2196f3;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(33,150,243,0.18);
}

/* Improved Hero Background Image */
.hero-bg-anim {
    background: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    opacity: 0.3;
    will-change: background-position;
    transition: background-position 0.2s cubic-bezier(.4,2,.6,1);
}

/* Hero Heading Typography */
.hero-content h2 {
    font-size: 3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
@media (max-width: 700px) {
    .hero-content h2 {
        font-size: 2rem;
    }
}
/* Featured Skills Section */
.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem 2rem;
    justify-content: center;
    margin: 2rem 0 1rem 0;
}
.skill {
    flex: 1 1 220px;
    max-width: 260px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(33,150,243,0.08);
    padding: 1.2rem 1rem 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 180px;
}
.skill-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 0.7rem;
}
.skill-name {
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #1976d2;
    font-size: 1.1rem;
}
.skill-bar {
    width: 100%;
    height: 12px;
    background: #e3f2fd;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 0.2rem;
}
.skill-level {
    height: 100%;
    background: linear-gradient(90deg, #1976d2 60%, #64b5f6 100%);
    border-radius: 8px 0 0 8px;
    transition: width 1s cubic-bezier(.4,2,.6,1);
}
.js { width: 90%; }
.react { width: 80%; }
.html5 { width: 95%; }
.css3 { width: 90%; }
.uiux { width: 85%; }
/* Profile Picture Styling */
.about-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto 1rem auto;
    flex-wrap: wrap;
}

.profile-pic {
    width: 140px;
    height: 140px;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(33,150,243,0.12);
    border: 4px solid #e3f2fd;
    margin: 0;
    flex-shrink: 0;
    display: block;
}

.about-text {
    flex: 1;
    min-width: 220px;
}
/* Contact Section Enhancements */
.contact-message {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: #1976d2;
    text-align: center;
}
.contact-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.contact-link {
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.7rem 1.5rem;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(33,150,243,0.06);
}
.contact-link:hover {
    background: #1976d2;
    color: #fff;
}
/* Hero Section Background Animation */
.hero-section {
    position: relative;
    overflow: hidden;
}
.hero-bg-anim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: url('https://images.unsplash.com/photo-1465101046530-73398c7f28ca?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
    opacity: 0.25;
    animation: heroFade 12s ease-in-out infinite alternate;
}
@keyframes heroFade {
    0% { opacity: 0.25; }
    100% { opacity: 0.45; }
}
.hero-content {
    position: relative;
    z-index: 1;
}
.hero-mission {
    font-size: 1.1rem;
    color: #e3f2fd;
    margin-bottom: 1.5rem;
    font-style: italic;
}
/* Footer Social Icons */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
}
.footer-social a svg {
    transition: fill 0.2s, transform 0.2s;
}
.footer-social a:hover svg {
    fill: #1976d2;
    transform: scale(1.15);
}
/* Enhanced Projects Section */
.project-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center;
}
.project {
    flex: 1 1 300px;
    background: #f5faff;
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: 0 2px 12px rgba(33,150,243,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    max-width: 320px;
    min-width: 240px;
    text-align: center;
    border: 1px solid #e3f2fd;
}
.project:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(33,150,243,0.16);
    border-color: #90caf9;
}
.project h3 {
    margin-top: 0.5rem;
    margin-bottom: 0.4rem;
    color: #1976d2;
    font-size: 1.1rem;
    font-weight: 700;
}
.project p {
    color: #333;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    line-height: 1.4;
}
.project strong {
    color: #1976d2;
}
.project a {
    color: #00bcd4;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}
.project a:hover {
    color: #1976d2;
    text-decoration: underline;
}
body {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(120deg, #00bcd4 0%, #2196f3 100%);
    color: #fff;
    padding: 2.5rem 1rem 2rem 1rem;
    text-align: center;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 4px 24px rgba(33,150,243,0.08);
    margin-bottom: 1.5rem;
}
.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
}
.hero-tagline {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
    letter-spacing: 0.5px;
}
.hero-desc {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: #e3f2fd;
}
.cta-btn {
    display: inline-block;
    background: #fff;
    color: #2196f3;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s, color 0.2s;
    margin: 0.4rem;
}
.cta-btn:hover {
    background: #2196f3;
    color: #fff;
}
/* Project icon styling */
.project-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    margin-bottom: 8px;
    display: block;
}
body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f9f9f9;
    color: #222;
}
header {
    background: #222;
    color: #fff;
    padding: 1rem 0;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}
nav h1 {
    font-size: 1.5rem;
    letter-spacing: 2px;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}
nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
nav a:hover {
    color: #00bcd4;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Section backgrounds for visual distinction */
#home.hero-section {
    background: linear-gradient(120deg, #1976d2 0%, #64b5f6 100%);
    color: #fff;
}
#about.section {
    background: #f5faff;
}
#projects.section {
    background: #e3f2fd;
}
#contact.section {
    background: #f5faff;
}
.section {
    max-width: 900px;
    margin: 1.5rem auto;
    padding: 1.5rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.project-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.project {
    flex: 1 1 300px;
    background: #f1f1f1;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.project h3 {
    margin-top: 0;
}
form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
input, textarea {
    padding: 0.6rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.95rem;
}
button {
    background: #00bcd4;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}
button:hover {
    background: #0097a7;
}
footer {
    text-align: center;
    padding: 1rem 0;
    background: #222;
    color: #fff;
    margin-top: 2rem;
}
@media (max-width: 700px) {
    nav ul {
        gap: 0.75rem;
    }
    .section {
        padding: 1rem;
    }
    .project-list {
        flex-direction: column;
    }
}
