/* ========================================= */
/* BASE STYLES & VARIABLES                   */
/* ========================================= */
:root {
  /* Default Dark Mode */
  --primary-bg: #1a1a1a;
  --text-color: #f1f1f1;
  --accent-color: #0EA5E9; /* Sky Blue */
  --accent-color-darker: #0C85C5;
  --gray-text: #a1a1a1;
  --card-bg: #2a2a2a;
  --shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  --border-color: #3a3a3a;
  --hover-shadow-glow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 8px color-mix(in srgb, var(--accent-color) 40%, transparent);
  --heading-gradient: linear-gradient(45deg, var(--accent-color), color-mix(in srgb, var(--accent-color) 70%, var(--text-color)));
  --fab-bg: var(--accent-color);
  --fab-text: white;
  --fab-item-bg: color-mix(in srgb, var(--card-bg) 95%, var(--accent-color) 5%);
  /* Background for the FAB menu panel */
  --fab-panel-bg: color-mix(in srgb, var(--card-bg) 90%, transparent 10%);
}

body.light-mode {
  --primary-bg: #F9FAFB;
  --text-color: #1E293B;
  --accent-color: #0EA5E9;
  --accent-color-darker: #0C85C5;
  --gray-text: #64748B;
  --card-bg: #FFFFFF;
  --shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  --border-color: #e5e7eb;
  --hover-shadow-glow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 0 8px color-mix(in srgb, var(--accent-color) 25%, transparent);
  --heading-gradient: linear-gradient(45deg, var(--accent-color), color-mix(in srgb, var(--accent-color) 70%, #334155));
  --fab-bg: var(--accent-color);
  --fab-text: white;
  --fab-item-bg: color-mix(in srgb, var(--card-bg) 95%, var(--accent-color) 5%);
  --fab-panel-bg: color-mix(in srgb, var(--card-bg) 90%, transparent 10%);
}

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

html, body {
    overflow-x: hidden; /* Prevent horizontal scrolling / zooming out */
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Adjust based on nav height */
}

body {
    font-family: 'Roboto', sans-serif;
    background: var(--primary-bg);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    transition: background-color 0.3s, color 0.3s;
    position: relative;
    min-width: 320px;
}

a { color: var(--accent-color); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--accent-color-darker); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.mobile-only { display: none; }
.desktop-only { display: block; }

/* ========================================= */
/* NAVIGATION (Desktop)                      */
/* ========================================= */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--card-bg);
  box-shadow: var(--shadow);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s, border-color 0.3s;
}
nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 20px;
  min-height: 90px;
}
.brand-container.logo-only { display: flex; align-items: center; }
.nav-logo { display: block; height: 5rem; width: auto; flex-shrink: 0; }
.nav-logo.logo-light { display: none; }
.nav-logo.logo-dark { display: block; }
body.light-mode .nav-logo.logo-light { display: block; }
body.light-mode .nav-logo.logo-dark { display: none; }
.brand-container.logo-only h1 { display: none; }
nav ul.desktop-nav { list-style: none; display: flex; align-items: center; gap: 25px; margin: 0; }
nav ul.desktop-nav li a { font-weight: 700; color: var(--text-color); transition: color 0.3s; padding-bottom: 5px; position: relative; font-size: 1rem; }
nav ul.desktop-nav li a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--accent-color); transition: width 0.3s; }
nav ul.desktop-nav li a:hover::after, nav ul.desktop-nav li a.active::after { width: 100%; }
nav ul.desktop-nav li a:hover, nav ul.desktop-nav li a.active { color: var(--accent-color); }
.hamburger { display: none; background: none; border: none; font-size: 24px; color: var(--text-color); cursor: pointer; padding: 5px; z-index: 1002; }
.hamburger i { pointer-events: none; }
.settings-group { display: flex; gap: 10px; align-items: center; }
#theme-toggle, #toggle-particles, #particle-settings-btn { background: none; border: none; font-size: 22px; color: var(--text-color); cursor: pointer; transition: color 0.3s; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; padding: 0; pointer-events: auto; }
#theme-toggle i, #toggle-particles i, #particle-settings-btn i { pointer-events: none; }
#theme-toggle:hover, #toggle-particles:hover, #particle-settings-btn:hover { color: var(--accent-color); }

/* ========================================= */
/* PARTICLE SETTINGS PANEL                   */
/* ========================================= */
#particle-settings { position: fixed; top: 70px; right: 20px; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 8px; box-shadow: var(--shadow); z-index: 1001; width: 320px; max-width: calc(100% - 40px); max-height: calc(100vh - 100px); transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s, border-color 0.3s; opacity: 0; transform: translateY(-5px) scale(0.95); pointer-events: none; display: flex; flex-direction: column; }
#particle-settings.show { display: flex; opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
#close-particle-settings { position: absolute; top: 10px; right: 10px; background: none; border: none; font-size: 20px; color: var(--text-color); cursor: pointer; pointer-events: auto; transition: color 0.3s; padding: 5px; z-index: 10; }
#close-particle-settings:hover { color: var(--accent-color); }
#close-particle-settings i { pointer-events: none; }
.settings-scroll-content { flex-grow: 1; overflow-y: auto; padding: 20px; padding-top: 35px; }
.apply-button-container { flex-shrink: 0; padding: 15px 20px 20px; border-top: 1px solid var(--border-color); background-color: var(--card-bg); transition: background-color 0.3s, border-color 0.3s; z-index: 5; }
#particle-settings label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; color: var(--gray-text); font-size: 14px; transition: color 0.3s; }
#particle-settings label span { color: var(--gray-text); font-size: 12px; margin-left: 10px; transition: color 0.3s; white-space: nowrap; }
#particle-settings input[type="range"], #particle-settings select, #particle-settings input[type="checkbox"] { width: 100%; padding: 8px; border: 1px solid var(--border-color); border-radius: 4px; background-color: var(--primary-bg); color: var(--text-color); margin-bottom: 15px; font-size: 14px; box-sizing: border-box; transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
#particle-settings input[type="range"] { -webkit-appearance: none; appearance: none; height: 8px; border-radius: 4px; background: var(--border-color); outline: none; cursor: pointer; padding: 0; }
#particle-settings input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-color); cursor: pointer; }
#particle-settings input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--accent-color); cursor: pointer; border: none; }
#particle-settings .setting-group { margin-bottom: 1rem; }
.settings-scroll-content .setting-group:last-child { margin-bottom: 0; }
.checkbox-container { display: flex; align-items: center; margin-bottom: 15px; }
#particle-settings input[type="checkbox"] { width: auto; margin-right: 8px; margin-bottom: 0; vertical-align: middle; }
#particle-settings label.checkbox-label { display: inline-block; vertical-align: middle; width: auto; margin-bottom: 0; }
#particle-settings #apply-particle-settings { background: var(--accent-color); color: white; border: none; padding: 10px 15px; border-radius: 5px; cursor: pointer; transition: background-color 0.3s, box-shadow 0.3s; font-size: 14px; width: 100%; box-sizing: border-box; font-weight: bold; }
#particle-settings #apply-particle-settings:hover { background: var(--accent-color-darker); box-shadow: 0 2px 4px rgba(14, 165, 233, 0.4); }

/* ========================================= */
/* HERO SECTION & GENERAL SECTION STYLES     */
/* ========================================= */
#hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; padding-top: 120px; padding-bottom: 40px; }
#particles-js { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
body.reduce-motion #particles-js { display: none; }
#hero .container { position: relative; z-index: 2; }
#hero .profile-img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; margin-bottom: 20px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); transition: transform 0.3s ease, box-shadow 0.3s ease; border: 4px solid var(--accent-color); }
#hero .profile-img:hover { transform: scale(1.05); box-shadow: 0 6px 15px rgba(14, 165, 233, 0.4); }
#hero h1 { font-family: 'Montserrat', sans-serif; font-size: 2.8rem; margin-bottom: 10px; color: var(--text-color); transition: color 0.3s; }
#hero #typewriter { font-size: 1.3rem; color: var(--gray-text); margin-bottom: 15px; min-height: 1.6em; font-weight: bold; transition: color 0.3s; }
#hero p:not(#typewriter) { font-size: 1.1rem; color: var(--gray-text); max-width: 600px; margin: 0 auto 25px; transition: color 0.3s; }
#hero .btn { background: var(--accent-color); color: white; padding: 12px 28px; border-radius: 8px; font-weight: 700; transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease; display: inline-block; margin-top: 1.5rem; box-shadow: var(--shadow); font-size: 1.1rem; border: none; }
#hero .btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 6px 12px rgba(14, 165, 233, 0.5); background: var(--accent-color-darker); }
#hero .btn:active { transform: translateY(0) scale(1); }
.social-links { margin-top: 30px; }
.social-links a { font-size: 24px; margin: 0 12px; color: var(--gray-text); transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease; display: inline-block; }
.social-links a:hover { transform: scale(1.2) translateY(-2px); color: var(--accent-color); text-shadow: 0 0 6px color-mix(in srgb, var(--accent-color) 60%, transparent); }
section { padding: 80px 0; }
section h2 { font-family: 'Montserrat', sans-serif; font-size: 2.5rem; margin-bottom: 50px; text-align: center; position: relative; display: inline-block; left: 50%; transform: translateX(-50%); padding-bottom: 15px; background: var(--heading-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--accent-color); transition: color 0.3s; }
section h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 4px; background-color: var(--accent-color); border-radius: 2px; transition: background-color 0.3s; }

/* ========================================= */
/* TIMELINE & ACCORDION STYLES               */
/* ========================================= */
.timeline { position: relative; padding: 20px 0; max-width: 800px; margin: 0 auto; }
.timeline:before { content: ''; position: absolute; top: 0; bottom: 0; left: 20px; width: 3px; background: var(--border-color); border-radius: 2px; z-index: 0; transition: background-color 0.3s; }
.timeline-item { position: relative; margin-bottom: 40px; padding-left: 50px; }
.timeline-item:before { content: ''; position: absolute; top: 22px; left: 11.5px; width: 18px; height: 18px; border-radius: 50%; background: var(--card-bg); border: 3px solid var(--accent-color); z-index: 1; transition: background-color 0.3s, border-color 0.3s; }
.accordion-item { margin-bottom: 20px; position: relative; }
.accordion-header { background-color: var(--card-bg); color: var(--text-color); padding: 18px 20px; border-radius: 8px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--border-color); transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; box-shadow: var(--shadow); position: relative; z-index: 2; }
.accordion-header:hover { background-color: color-mix(in srgb, var(--card-bg) 85%, var(--accent-color) 15%); border-color: var(--accent-color); box-shadow: var(--shadow), 0 0 8px color-mix(in srgb, var(--accent-color) 30%, transparent); }
body.light-mode .accordion-header:hover { background-color: color-mix(in srgb, var(--card-bg) 95%, var(--accent-color) 5%); box-shadow: var(--shadow), 0 0 8px color-mix(in srgb, var(--accent-color) 20%, transparent); }
.accordion-header h3 { font-size: 1.2rem; margin: 0; flex-grow: 1; margin-left: 15px; color: var(--text-color); transition: color 0.3s; }
.accordion-header .company { font-size: 1rem; color: var(--gray-text); margin-left: 15px; margin-right: auto; padding-right: 15px; flex-shrink: 0; text-align: right; transition: color 0.3s; }
.accordion-header > i { font-size: 22px; color: var(--accent-color); transition: color 0.3s ease; flex-shrink: 0; width: 30px; text-align: center; }
.accordion-header .icon-wrapper { display: flex; align-items: center; justify-content: center; min-width: 25px; flex-shrink: 0; }
.accordion-header .icon-wrapper i { font-size: 16px; color: var(--gray-text); transition: transform 0.3s ease, color 0.3s ease; pointer-events: none; }
.accordion-item.open .accordion-header .icon-wrapper i { transform: rotate(180deg); color: var(--accent-color); }
.accordion-content { padding: 0 20px; background-color: var(--card-bg); border-radius: 0 0 8px 8px; border: 1px solid var(--border-color); border-top: none; margin-top: -1px; overflow: hidden; max-height: 0; transition: max-height 0.5s ease-in-out, padding-top 0.5s ease-in-out, padding-bottom 0.5s ease-in-out, opacity 0.4s ease-in-out 0.1s; opacity: 0; color: var(--gray-text); box-sizing: content-box; }
.accordion-item.open .accordion-content { max-height: 1000px; opacity: 1; padding: 20px; }
.accordion-content ul { list-style: disc; margin-left: 20px; margin-top: 10px; padding-left: 5px; }
.accordion-content li { margin-bottom: 8px; }
.accordion-content p { margin-bottom: 0.8rem; font-size: 1rem; line-height: 1.7; }
.accordion-content p strong { color: var(--text-color); font-weight: 700; }
.accordion-item.open .accordion-header { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

/* ========================================= */
/* SKILLS SECTION STYLES (Fixed Size)        */
/* ========================================= */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.skill-category {
  padding: 25px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
}
.skill-category:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: var(--hover-shadow-glow);
}
.skill-category h3 {
  font-size: 1.4rem;
  color: var(--accent-color);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  transition: color 0.3s;
}
.skill-category h3 i {
  margin-right: 12px;
  font-size: 1.3rem;
  width: 25px;
  text-align: center;
}
.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 25px; /* Gap between circle skills */
  margin-bottom: 25px;
  justify-content: space-around; /* Distribute circles nicely */
}

/* Circle skill item */
.skill {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px; /* Gap between circle and text below */
  min-width: auto;
  flex: 1;
  max-width: 110px; /* Optional: control max width */
}

/* SVG Circle Chart - FIXED SIZE */
.skill .circle-chart {
  width: 80px;  /* Fixed size */
  height: 80px; /* Fixed size */
  transform: rotate(-90deg);
  flex-shrink: 0;
  display: block;
  margin: 0 auto;
}
.circle-chart-background,
.circle-chart-circle {
  fill: none;
  stroke-width: 3;
}
.circle-chart-background {
  stroke: var(--border-color);
  transition: stroke 0.3s;
}
.circle-chart-circle {
  stroke: var(--accent-color);
  stroke-linecap: round;
  transition: stroke-dasharray 1s ease-out, stroke 0.3s;
}

/* Percentage text inside circle - FIXED SIZE */
.circle-chart-text {
  font-size: 0.45em; /* Fixed pixel size as requested */
  /* Note: 5.5px is very small. Adjust if needed. */
  font-weight: bold;
  fill: var(--text-color);
  transition: fill 0.3s;
  text-anchor: middle; /* Center horizontally */
  dominant-baseline: text-top; /* Center vertically */
  transform: rotate(90deg); /* Counter-rotate text */
  transform-origin: center; /* Rotate around SVG center */
  pointer-events: none; /* Prevent text selection */
}

/* Skill name below circle */
.skill p {
  font-weight: 600;
  color: var(--text-color);
  font-size: 0.85rem;
  transition: color 0.3s;
  line-height: 1.3;
  margin-top: 0;
}

/* Container for skill pills */
.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  justify-content: center;
}

/* Individual skill pill styling */
.skill-pill {
  display: inline-block;
  padding: 6px 14px;
  background-color: color-mix(in srgb, var(--card-bg) 80%, var(--gray-text) 20%);
  color: var(--gray-text);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: default;
}

/* Hover effect for skill pills */
.skill-pill:hover {
  background-color: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 3px 6px rgba(14, 165, 233, 0.3);
}

/* ========================================= */
/* PROJECTS & RECOGNITION STYLES             */
/* ========================================= */
/* ... (Keep these sections the same as your previous full CSS) ... */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.achievement-card { background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 10px; padding: 25px; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease; min-height: 250px; }
.achievement-card:hover { transform: translateY(-5px); border-color: var(--accent-color); box-shadow: var(--hover-shadow-glow); }
.achievement-icon { font-size: 2rem; color: var(--accent-color); margin-bottom: 15px; display: block; text-align: center; transition: color 0.3s, transform 0.3s ease; }
.achievement-card:hover .achievement-icon { transform: scale(1.1); }
.achievement-title { font-family: 'Montserrat', sans-serif; font-size: 1.3rem; color: var(--text-color); text-align: center; margin-bottom: 20px; transition: color 0.3s; }
.achievement-list { list-style: none; padding-left: 0; margin: 0 0 15px 0; color: var(--gray-text); flex-grow: 1; }
.achievement-list li { margin-bottom: 10px; position: relative; padding-left: 20px; font-size: 0.95rem; line-height: 1.5; transition: color 0.2s ease-in-out, transform 0.2s ease-in-out; }
.achievement-list li strong { color: var(--text-color); font-weight: 700; }
.achievement-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 4px; color: var(--accent-color); font-size: 0.8rem; transition: color 0.3s; }
.achievement-list li:hover { color: var(--text-color); transform: translateX(3px); }
.achievement-list li:hover::before { transform: translateX(0); }
.achievement-project { margin-bottom: 15px; flex-grow: 1; display: flex; flex-direction: column; }
.achievement-project h4 { font-size: 1.1rem; color: var(--text-color); margin-bottom: 8px; font-weight: 700; }
.achievement-project p { font-size: 0.95rem; color: var(--gray-text); margin-bottom: 12px; flex-grow: 1; }
.achievement-project p strong { color: var(--text-color); font-weight: 700; }
.achievement-link { font-size: 0.9rem; font-weight: bold; color: var(--accent-color); display: inline-flex; align-items: center; gap: 6px; margin-top: auto; transition: color 0.2s ease-in-out, text-decoration 0.2s ease-in-out; }
.achievement-link i.fab, .achievement-link i.fas { font-size: 1em; }
.achievement-link i.fa-external-link-alt { font-size: 0.8em; transition: transform 0.2s ease; }
.achievement-link:hover { color: var(--accent-color-darker); text-decoration: underline; }
.achievement-link:hover i.fa-external-link-alt { transform: translateX(2px); }


/* ========================================= */
/* INTERESTS SECTION STYLES                  */
/* ========================================= */
/* ... (Keep these sections the same as your previous full CSS) ... */
.interests-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 25px; text-align: center; }
.interest-item { padding: 30px 20px; border-radius: 10px; box-shadow: var(--shadow); background: var(--card-bg); border: 1px solid var(--border-color); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.interest-item:hover { transform: translateY(-5px); border-color: var(--accent-color); box-shadow: var(--hover-shadow-glow); }
.interest-item i { font-size: 32px; color: var(--accent-color); margin-bottom: 15px; transition: transform 0.3s ease, color 0.3s ease; height: 35px; }
.interest-item:hover i { transform: scale(1.15); }
.interest-item p { font-size: 1.1rem; font-weight: bold; color: var(--text-color); transition: color 0.3s; }

/* ========================================= */
/* CONTACT SECTION STYLES                    */
/* ========================================= */
/* ... (Keep these sections the same as your previous full CSS) ... */
#contact form { max-width: 600px; margin: 30px auto 0 auto; display: flex; flex-direction: column; gap: 20px; }
#contact input, #contact textarea { padding: 15px; border: 1px solid var(--border-color); border-radius: 8px; transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s, color 0.3s; background-color: var(--card-bg); color: var(--text-color); font-size: 1rem; font-family: inherit; }
#contact input:focus, #contact textarea:focus { border-color: var(--accent-color); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color) 25%, transparent); }
#contact input:invalid:not(:placeholder-shown), #contact textarea:invalid:not(:placeholder-shown) { border-color: #EF4444; }
#contact input:invalid:not(:placeholder-shown):focus, #contact textarea:invalid:not(:placeholder-shown):focus { box-shadow: 0 0 0 3px color-mix(in srgb, #EF4444 25%, transparent); }
#contact button[type="submit"] { background: var(--accent-color); color: white; padding: 15px; border: none; border-radius: 8px; cursor: pointer; transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease; font-size: 1.1rem; font-weight: bold; }
#contact button[type="submit"]:hover { background: var(--accent-color-darker); box-shadow: 0 4px 8px rgba(14, 165, 233, 0.4); transform: translateY(-2px); }
#contact button[type="submit"]:active { transform: translateY(0); }
.social-links-footer { margin-top: 40px !important; padding-bottom: 20px; text-align: center; }

/* ========================================= */
/* FOOTER STYLES                             */
/* ========================================= */
/* ... (Keep these sections the same as your previous full CSS) ... */
footer { background: var(--card-bg); color: var(--gray-text); text-align: center; padding: 25px 20px; margin-top: 60px; font-size: 0.9rem; border-top: 1px solid var(--border-color); transition: background-color 0.3s, color 0.3s, border-color 0.3s; }

/* ========================================= */
/* ANIMATIONS (JS Intersection Observer Based) */
/* ========================================= */
/* ... (Keep these sections the same as your previous full CSS) ... */
[data-aos] { opacity: 0; transition-property: opacity, transform; transition-duration: 0.8s; transition-timing-function: ease-out; pointer-events: none; }
[data-aos="fade-up"] { transform: translateY(50px); }
[data-aos="fade-down"] { transform: translateY(-50px); }
[data-aos="fade-left"] { transform: translateX(50px); }
[data-aos="fade-right"] { transform: translateX(-50px); }
[data-aos="zoom-in"] { transform: scale(0.9); }
[data-aos].aos-animate { opacity: 1; transform: none; pointer-events: auto; }

/* ========================================= */
/* MOBILE FAB MENU                           */
/* ========================================= */
/* ... (Keep these sections the same as your previous full CSS) ... */
#mobile-fab-menu { position: fixed; bottom: 25px; right: 25px; z-index: 1050; display: none; }
#fab-toggle { width: 56px; height: 56px; border-radius: 50%; background-color: var(--fab-bg); color: var(--fab-text); border: none; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 0.3s ease, background-color 0.3s ease; z-index: 1051; position: relative; }
#fab-toggle:hover { transform: scale(1.05); background-color: var(--accent-color-darker); }
#fab-toggle i { font-size: 20px; transition: transform 0.3s ease; }
#fab-menu-items { position: absolute; bottom: 70px; right: 0; display: flex; flex-direction: column; align-items: flex-end; opacity: 0; transform: translateY(15px) scale(0.95); transform-origin: bottom right; transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s, box-shadow 0.3s; pointer-events: none; background-color: var(--fab-panel-bg); padding: 15px; border-radius: 12px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); max-width: calc(100vw - 50px); width: max-content; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
body.light-mode #fab-menu-items { box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); }
#fab-menu-items a { background-color: var(--fab-item-bg); color: var(--text-color); padding: 10px 15px; margin-bottom: 10px; border-radius: 8px; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: flex-end; text-decoration: none; font-size: 0.95rem; font-weight: bold; white-space: nowrap; transform: translateX(10px); opacity: 0; transition: background-color 0.3s, color 0.3s, transform 0.3s ease, opacity 0.3s ease; width: 100%; }
#fab-menu-items a:last-child { margin-bottom: 0; }
#fab-menu-items a i { margin-right: 10px; font-size: 1.1em; color: var(--accent-color); transition: color 0.3s; }
#fab-menu-items a span { display: inline-block; }
#fab-menu-items a:hover { background-color: var(--accent-color); color: var(--fab-text); }
#fab-menu-items a:hover i { color: var(--fab-text); }
#mobile-fab-menu.active #fab-toggle { transform: rotate(45deg); }
#mobile-fab-menu.active #fab-menu-items { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
#mobile-fab-menu.active #fab-menu-items a { transform: translateX(0); opacity: 1; }
#mobile-fab-menu.active #fab-menu-items a:nth-child(1) { transition-delay: 0.3s; }
#mobile-fab-menu.active #fab-menu-items a:nth-child(2) { transition-delay: 0.27s; }
#mobile-fab-menu.active #fab-menu-items a:nth-child(3) { transition-delay: 0.24s; }
#mobile-fab-menu.active #fab-menu-items a:nth-child(4) { transition-delay: 0.21s; }
#mobile-fab-menu.active #fab-menu-items a:nth-child(5) { transition-delay: 0.18s; }
#mobile-fab-menu.active #fab-menu-items a:nth-child(6) { transition-delay: 0.15s; }
#mobile-fab-menu.active #fab-menu-items a:nth-child(7) { transition-delay: 0.12s; }
#mobile-fab-menu.active #fab-menu-items a:nth-child(8) { transition-delay: 0.09s; }


/* ========================================= */
/* MEDIA QUERIES (RESPONSIVENESS)            */
/* ========================================= */
@media (max-width: 992px) {
  /* --- General Adjustments --- */
  section h2 { font-size: 2.2rem; }
  .content-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .accordion-header h3 { font-size: 1.1rem; }
  .accordion-header .company { font-size: 0.95rem; }

  /* --- Skills Adjustments --- */
  .skills-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .skill-pills { gap: 8px; }
  .skill-pill { padding: 5px 12px; font-size: 0.85rem; }
  /* REMOVED .skill .circle-chart size adjustment */
}

@media (max-width: 768px) {
  /* --- General Adjustments --- */
  html { scroll-padding-top: 90px; }
  nav ul.desktop-nav { display: none; }
  .hamburger { display: none !important; }
  .desktop-only { display: none; }
  .mobile-only { display: block; }
  #mobile-fab-menu { display: block; }
  .container { padding: 0 15px; }
  section { padding: 60px 0; }
  section h2 { font-size: 2rem; margin-bottom: 40px; padding-bottom: 10px; }
  section h2::after { width: 50px; height: 3px; }
  #hero { padding-top: 100px; min-height: 90vh; }
  #hero h1 { font-size: 2.2rem; }
  #hero #typewriter { font-size: 1.1rem; min-height: 1.4em; }
  #hero p:not(#typewriter) { font-size: 1rem; max-width: 90%; }
  #hero .profile-img { width: 130px; height: 130px; }
  #hero .btn { padding: 10px 24px; font-size: 1rem; }
  .social-links a { font-size: 22px; margin: 0 10px; }
  .skills-grid, .content-grid { grid-template-columns: 1fr; gap: 25px; }
  .interests-grid { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 15px; }
  .timeline:before { left: 15px; }
  .timeline-item { padding-left: 40px; }
  .timeline-item:before { top: 21px; left: 7.5px; width: 16px; height: 16px; }
  .accordion-header { padding: 15px; flex-wrap: wrap; row-gap: 5px; }
  .accordion-header h3 { font-size: 1.05rem; margin-left: 10px; flex-basis: 100%; order: 2; }
  .accordion-header .company { font-size: 0.9rem; margin-left: 10px; padding-right: 10px; text-align: left; flex-basis: calc(100% - 45px); order: 3; margin-right: 0; }
  .accordion-header > i { font-size: 20px; width: 25px; order: 1; margin-bottom: auto; }
  .accordion-header .icon-wrapper { font-size: 14px; position: absolute; top: 15px; right: 15px; order: 4; }
  .accordion-content { padding: 15px; }
  .accordion-item.open .accordion-content { padding: 15px; }
  .achievement-card { padding: 20px; min-height: auto; }
  .achievement-title { font-size: 1.2rem; }
  .achievement-list li, .achievement-project p { font-size: 0.9rem; }
  .achievement-project h4 { font-size: 1rem; }
  .achievement-link { font-size: 0.85rem; }
  .interest-item { padding: 20px 10px; }
  .interest-item i { font-size: 28px; }
  .interest-item p { font-size: 1rem; }
  #contact input, #contact textarea, #contact button[type="submit"] { padding: 12px; font-size: 0.95rem; }
  #particle-settings { top: 70px; right: 10px; left: 10px; width: auto; max-width: 340px; margin: 0 auto; }
  .settings-scroll-content { padding: 15px; padding-top: 35px; }
  .apply-button-container { padding: 15px; }
  footer { margin-bottom: 80px; }
  .nav-logo { height: 4rem; }
  nav .container { min-height: 70px; padding: 5px 15px; }

  /* --- Skills Adjustments --- */
  .skills-list { gap: 15px; margin-bottom: 20px; }
  .skill p { font-size: 0.75rem; }
  .skill-pills { margin-top: 20px; gap: 8px; }
  .skill-pill { padding: 4px 10px; font-size: 0.8rem; }
  /* REMOVED .skill .circle-chart size adjustment */
  /* REMOVED .circle-chart-text size adjustment */
}

@media (max-width: 480px) {
  /* --- General Adjustments --- */
  html { font-size: 15px; scroll-padding-top: 80px; }
  .nav-logo { height: 3.5rem; }
  nav .container { min-height: 60px; }
  #hero h1 { font-size: 1.9rem; }
  #hero #typewriter { font-size: 1rem; min-height: 1.3em; }
  #hero p:not(#typewriter) { font-size: 0.9rem; }
  #hero .profile-img { width: 110px; height: 110px; }
  .social-links a { font-size: 20px; margin: 0 8px; }
  section h2 { font-size: 1.8rem; }
  .accordion-header h3 { font-size: 1rem; }
  .achievement-title { font-size: 1.1rem; }
  .interest-item p { font-size: 0.9rem; }
  .timeline-item { padding-left: 35px; }
  .timeline:before { left: 12px; }
  .timeline-item:before { left: 4.5px; width: 15px; height: 15px; }
  #mobile-fab-menu { bottom: 15px; right: 15px; }
  #fab-toggle { width: 50px; height: 50px; }
  #fab-menu-items { bottom: 60px; padding: 10px; border-radius: 10px;}
  #fab-menu-items a { padding: 8px 12px; font-size: 0.9rem; margin-bottom: 8px;}
  footer { margin-bottom: 70px; }

   /* --- Skills Adjustments --- */
   .skill p { font-size: 0.7rem; }
   .skills-list { gap: 10px; }
   .skill-pills { gap: 6px; }
   .skill-pill { padding: 3px 8px; font-size: 0.75rem; }
   /* REMOVED .skill .circle-chart size adjustment */
   /* REMOVED .circle-chart-text size adjustment */
}