/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
}

/* ===== LIGHT THEME ===== */
body.light-theme {
  background-color: #f5f5f5;
  color: #111;
}

body.light-theme .navbar {
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(0, 0, 0, 0.2);
}

body.light-theme .navbar-item {
  color: #000;
}

body.light-theme .navbar-item:hover,
body.light-theme .navbar-item.active {
  background: rgba(255, 255, 255, 0.6);
}

body.light-theme .hero h1,
body.light-theme .hero p {
  color: #111;
}

body.light-theme .badge {
  background-color: rgba(0, 0, 0, 0.1);
  color: #333;
}

body.light-theme h2,
body.light-theme h3,
body.light-theme p {
  color: #111;
}

body.light-theme .section-subtitle {
  color: #555;
}

body.light-theme .portfolio-card {
  border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .featured-card,
body.light-theme .interest-card,
body.light-theme .skill-category {
  background: #fff;
  color: #111;
}

body.light-theme .footer {
  background: #fff;
  color: #111;
}

body.light-theme .footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  color: #666;
}

/* ===== GLASSMORPHISM NAVBAR ===== */
.navbar {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 5px 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 12px;
  left: 10%;
  right: 10%;
  z-index: 1000;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar-items {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.navbar-item {
  color: #fff;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 10px;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 400;
  text-transform: lowercase;
}

.navbar-item.active,
.navbar-item:hover {
  background: rgba(255, 255, 255, 0.2);
}

.navbar-icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
  flex-shrink: 0;
}

.theme-toggle-button {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

/* ===== HERO SECTION ===== */
.hero {
  text-align: center;
  padding: 120px 20px 60px;
  max-width: 800px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  padding: 5px 14px;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  border-radius: 999px;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-transform: lowercase;
}

.hero h1 {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
  margin: 15px 0;
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

.hero h1 .highlight {
  color: #22c55e;
  position: relative;
}

.hero p {
  font-size: 15px;
  color: #aaa;
  margin: 15px 0 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 8px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 400;
  font-size: 13px;
  transition: all 0.3s ease;
  display: inline-block;
  text-transform: lowercase;
}

.btn-primary {
  background: #22c55e;
  color: #fff;
  border: 1px solid #22c55e;
}

.btn-primary:hover {
  background: #16a34a;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(34, 197, 94, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

body.light-theme .btn-secondary {
  color: #111;
  border-color: rgba(0, 0, 0, 0.3);
}

body.light-theme .btn-secondary:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.5);
}

/* ===== PORTFOLIO GRID (Same style as GitInsights cards) ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-auto-rows: 150px;
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto 100px;
  padding: 0 20px;
}

.portfolio-card {
  border-radius: 20px;
  padding: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  border: 1px solid transparent;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.portfolio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  z-index: 0;
}

.card-content {
  position: relative;
  z-index: 1;
}

.portfolio-card.slide-up {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.15);
}

.portfolio-card h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 5px;
  text-transform: lowercase;
}

.portfolio-card p {
  font-size: 12px;
  opacity: 0.85;
  text-transform: lowercase;
}

/* Individual card colors */
.card-1 {
    grid-row: span 2;
    grid-column: span 1;
    background: linear-gradient(135deg, #667eea 0%, #8d8199 100%);
    position: relative;
    overflow: hidden;
}
.card-1::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('https://i.pinimg.com/736x/05/1f/74/051f745b09aa4e6afaeec849dcc30f74.jpg') center/cover no-repeat;
    opacity: 0.5;
    z-index: 0;
}
.card-1 .card-content {
    position: relative;
    z-index: 1;
}

.card-2 {
    grid-row: span 1;
    grid-column: span 1;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    position: relative;
    overflow: hidden;
}
.card-2::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('https://illustrations.popsy.co/sky/engineer.svg') center/cover no-repeat;
    opacity: 0.5;
    z-index: 0;
}
.card-2 .card-content {
    position: relative;
    z-index: 1;
}

.card-3 {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    position: relative;
    overflow: hidden;
}
.card-3::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('https://illustrations.popsy.co/amber/app-launch.svg') center/cover no-repeat;
    opacity: 0.5;
    z-index: 0;
}
.card-3 .card-content {
    position: relative;
    z-index: 1;
}

.card-4 {
    grid-row: span 1;
    grid-column: span 1;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    position: relative;
    overflow: hidden;
}
.card-4::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('https://illustrations.popsy.co/amber/business-analysis.svg') center/cover no-repeat;
    opacity: 0.5;
    z-index: 0;
}
.card-4 .card-content {
    position: relative;
    z-index: 1;
}

.card-5 {
    grid-column: span 1;
    grid-row: span 1;
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    position: relative;
    overflow: hidden;
}
.card-5::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('https://illustrations.popsy.co/amber/looking-at-the-map.svg') center/cover no-repeat;
    opacity: 0.5;
    z-index: 0;
}
.card-5 .card-content {
    position: relative;
    z-index: 1;
    color: #222; /* dark text for light image */
    text-shadow: 0 2px 8px rgba(255,255,255,0.7); /* subtle shadow for readability */
}
body.dark-theme .card-5 .card-content {
    color: #111;
    text-shadow: 0 2px 8px rgba(255,255,255,0.7);
}
body.light-theme .card-5 .card-content {
    color: #222;
    text-shadow: 0 2px 8px rgba(255,255,255,0.7);
}

.card-6 {
    grid-row: span 1;
    grid-column: span 1;
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    position: relative;
    overflow: hidden;
}
.card-6::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('https://illustrations.popsy.co/amber/man-with-short-hair-avatar.svg') center/cover no-repeat;
    opacity: 0.5;
    z-index: 0;
}
.card-6 .card-content {
    position: relative;
    z-index: 1;
}

/* ===== BLOG & NEWS CONTENT SECTION ===== */
.content-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.content-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
  align-items: start;
}

/* Recent Posts */
.recent-posts h2 {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 8px;
  text-transform: lowercase;
}

.section-subtitle {
  font-size: 14px;
  color: #999;
  margin-bottom: 30px;
  text-transform: lowercase;
}

body.light-theme .section-subtitle {
  color: #666;
}

.posts-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 25px;
}

.post-item {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 20px;
  transition: all 0.3s ease;
}

.post-item:hover {
  transform: translateX(5px);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

body.light-theme .post-item {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .post-item:hover {
  border-color: rgba(0, 0, 0, 0.3);
  background: #fafafa;
}

.post-date {
  font-size: 11px;
  color: #22c55e;
  font-weight: 500;
  text-transform: lowercase;
}

.post-item h3 {
  font-size: 18px;
  margin: 8px 0;
  font-weight: 500;
  color: #fff;
  text-transform: lowercase;
}

body.light-theme .post-item h3 {
  color: #111;
}

.post-item p {
  font-size: 13px;
  color: #aaa;
  margin-bottom: 12px;
  text-transform: lowercase;
}

body.light-theme .post-item p {
  color: #666;
}

.post-link {
  color: #22c55e;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.3s ease;
  text-transform: lowercase;
}

.post-link:hover {
  gap: 10px;
}

.view-all-btn {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-transform: lowercase;
}

.view-all-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

body.light-theme .view-all-btn {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.2);
  color: #111;
}

body.light-theme .view-all-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.4);
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Sidebar Grid for Achievements and Featured News */
.sidebar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* News Card */
.news-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 25px;
  transition: all 0.3s ease;
}

body.light-theme .news-card {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.1);
}

.news-card h3 {
  font-size: 18px;
  margin-bottom: 5px;
  font-weight: 500;
  text-transform: lowercase;
}

.news-subtitle {
  font-size: 12px;
  color: #999;
  margin-bottom: 20px;
  text-transform: lowercase;
}

body.light-theme .news-subtitle {
  color: #666;
}

.news-feed {
  margin-bottom: 15px;
  min-height: 140px;
}

.news-item {
  padding: 15px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

body.light-theme .news-item {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.05);
}

.news-source {
  font-size: 10px;
  color: #22c55e;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-item h4 {
  font-size: 15px;
  margin: 8px 0;
  font-weight: 500;
  color: #fff;
  text-transform: lowercase;
}

body.light-theme .news-item h4 {
  color: #111;
}

.news-item p {
  font-size: 12px;
  color: #aaa;
  margin-bottom: 10px;
  text-transform: lowercase;
}

body.light-theme .news-item p {
  color: #666;
}

.news-link {
  color: #22c55e;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.3s ease;
  text-transform: lowercase;
}

.news-link:hover {
  gap: 8px;
}

.refresh-news {
  width: 100%;
  padding: 10px 15px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 10px;
  color: #22c55e;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: lowercase;
}

.refresh-news:hover {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.5);
}

.refresh-news svg {
  width: 14px;
  height: 14px;
  stroke: #22c55e;
  stroke-width: 2;
}

/* Achievements Card */
.achievements-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 25px;
}

body.light-theme .achievements-card {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.1);
}

.achievements-card h3 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 500;
  text-transform: lowercase;
}

.achievement-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.achievement-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.achievement-item:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(5px);
}

body.light-theme .achievement-item {
  background: rgba(0, 0, 0, 0.02);
}

body.light-theme .achievement-item:hover {
  background: rgba(0, 0, 0, 0.05);
}

.achievement-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.achievement-item h4 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
  color: #fff;
  text-transform: lowercase;
}

body.light-theme .achievement-item h4 {
  color: #111;
}

.achievement-item p {
  font-size: 11px;
  color: #999;
  text-transform: lowercase;
}

body.light-theme .achievement-item p {
  color: #666;
}

/* Featured News Card with Image */
.featured-news-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 25px;
  transition: all 0.3s ease;
}

body.light-theme .featured-news-card {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.1);
}

.featured-news-card h3 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 500;
  text-transform: lowercase;
}

.featured-news-content {
  margin-bottom: 15px;
}

.news-thumbnail {
  width: 100%;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.03);
}

.news-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-thumbnail:hover img {
  transform: scale(1.05);
}

.news-details {
  padding: 0;
}

.news-details .news-source {
  font-size: 10px;
  color: #22c55e;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 8px;
}

.news-details h4 {
  font-size: 15px;
  margin: 0 0 8px 0;
  font-weight: 500;
  color: #fff;
  text-transform: lowercase;
  line-height: 1.4;
}

body.light-theme .news-details h4 {
  color: #111;
}

.news-details p {
  font-size: 12px;
  color: #aaa;
  margin-bottom: 10px;
  text-transform: lowercase;
}

body.light-theme .news-details p {
  color: #666;
}

.news-details .news-link {
  color: #22c55e;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.3s ease;
  text-transform: lowercase;
}

.news-details .news-link:hover {
  gap: 8px;
}

/* Remove old featured section styles */
.featured-section {
  display: none;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.featured-card {
  background: #1a1a1a;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.featured-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.featured-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
}

.featured-tag {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 11px;
  color: #fff;
  font-weight: 400;
  text-transform: lowercase;
}

.featured-info {
  padding: 18px;
  text-align: left;
}

.featured-info h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: #fff;
  font-weight: 500;
  text-transform: lowercase;
}

.featured-info p {
  color: #aaa;
  margin-bottom: 12px;
  font-size: 13px;
}

.tech-stack {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.tech-stack span {
  background: rgba(255, 255, 255, 0.1);
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 11px;
  color: #22c55e;
  font-weight: 400;
  text-transform: lowercase;
}

.project-link {
  color: #22c55e;
  text-decoration: none;
  font-weight: 400;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.3s ease;
  text-transform: lowercase;
}

.project-link:hover {
  gap: 8px;
}

/* ===== SKILLS SECTION ===== */
.skills-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

.skills-section h2 {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 35px;
  text-transform: lowercase;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.skill-category {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 20px;
  text-align: left;
  transition: transform 0.3s ease;
}

.skill-category:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
}

.skill-category h3 {
  font-size: 17px;
  margin-bottom: 15px;
  color: #22c55e;
  font-weight: 500;
  text-transform: lowercase;
}

.skill-category ul {
  list-style: none;
  padding: 0;
}

.skill-category ul li {
  padding: 6px 0;
  color: #ccc;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-transform: lowercase;
}

.skill-category ul li:last-child {
  border-bottom: none;
}

/* ===== INTERESTS SECTION ===== */
.interests-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

.interests-section h2 {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 8px;
  text-transform: lowercase;
}

.interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.interest-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 20px;
  transition: all 0.3s ease;
}

.interest-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.interest-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 12px;
}

.interest-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 500;
  text-transform: lowercase;
}

.interest-card p {
  font-size: 12px;
  color: #aaa;
  line-height: 1.5;
}

/* ===== FOOTER ===== */
.footer {
  background: #0a0a0a;
  padding: 50px 20px 18px;
  margin-top: 80px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h3 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 15px;
  color: #22c55e;
  text-transform: lowercase;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 12px;
  text-transform: lowercase;
}

.footer-section ul li a:hover {
  color: #fff;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #22c55e;
  transform: translateY(-2px);
}

.social-links svg {
  width: 15px;
  height: 15px;
  fill: #fff;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.newsletter-form input {
  flex: 1;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 12px;
  outline: none;
}

.newsletter-form input::placeholder {
  color: #666;
  text-transform: lowercase;
}

.newsletter-form button {
  padding: 7px 15px;
  background: #22c55e;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 12px;
  text-transform: lowercase;
}

.newsletter-form button:hover {
  background: #16a34a;
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #666;
  font-size: 11px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .card-3,
  .card-5 {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .navbar {
    left: 5%;
    right: 5%;
    padding: 8px 10px;
  }

  .navbar-item span {
    display: none;
  }

  .navbar-item {
    padding: 8px;
  }

  .hero {
    padding: 120px 20px 60px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-auto-rows: 130px;
    gap: 12px;
  }

  .portfolio-card {
    min-height: 130px;
  }

  .card-1,
  .card-2,
  .card-4,
  .card-5,
  .card-6 {
    grid-row: span 1;
    grid-column: span 1;
  }

  .card-3 {
    grid-column: span 2;
    grid-row: span 1;
  }

  /* Blog & News Content - Stack Vertically */
  .content-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .recent-posts h2 {
    font-size: 24px;
  }

  .sidebar-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .news-card,
  .achievements-card,
  .featured-news-card {
    padding: 20px;
  }

  .featured-section h2,
  .skills-section h2,
  .interests-section h2 {
    font-size: 32px;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 24px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 120px;
    gap: 10px;
  }

  .portfolio-card {
    min-height: 120px;
    padding: 15px;
  }

  .portfolio-card h3 {
    font-size: 16px;
  }

  .card-1,
  .card-2,
  .card-3,
  .card-4,
  .card-5,
  .card-6 {
    grid-row: span 1;
    grid-column: span 1;
  }
}
