/* CSS Variables for Theme */
:root {
  --bg-color: #000000;
  --text-color: #ffffff;
  --heading-color: #3b82f6;
  --nav-bg: rgba(0, 0, 0, 0.95);
  --card-bg: #111827;
  --border-color: rgba(255, 255, 255, 0.1);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] {
  --bg-color: #f8fafc;
  --text-color: #000000;
  --heading-color: #3b82f6;
  --nav-bg: rgba(248, 250, 252, 0.95);
  --card-bg: #ffffff;
  --border-color: rgba(0, 0, 0, 0.1);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  transition: all 0.3s ease;
}

/* Theme Toggle Button */
.theme-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  margin-left: auto;
  margin-right: 1rem;
  z-index: 1001;
}

.theme-toggle:hover {
  background: rgba(59, 130, 246, 0.1);
  transform: scale(1.1);
}

/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--nav-bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 0.8rem 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar h1 {
  color: var(--heading-color);
  font-size: 1.8rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

.navbar ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.navbar a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
}

.navbar a:hover {
  color: #3b82f6;
}

.navbar a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #3b82f6;
  transition: width 0.3s;
}

.navbar a:hover::after {
  width: 100%;
}

/* Hamburger Menu (Hidden by default) */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-color);
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

/* Home Section */
.home {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding-top: 80px;
}

.home h1 {
  font-size: 3.5rem;
  color: var(--heading-color);
  font-family: 'Poppins', sans-serif;
  margin-bottom: 1.5rem;
  animation: fadeInDown 1s ease;
}

.home p {
  color: var(--text-color);
  margin: 1.5rem 0;
  max-width: 700px;
  font-size: 1.1rem;
  animation: fadeIn 1.5s ease;
}

.home a {
  background-color: #3b82f6;
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 1.1rem;
  animation: fadeInUp 1s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.home a:hover {
  background-color: #2563eb;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* About Section */
.about {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

.about img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
  border: 3px solid #3b82f6;
  transition: all 0.5s ease;
  animation: fadeInLeft 1s ease;
}

.about img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.5);
}

.about-content {
  max-width: 600px;
  animation: fadeInRight 1s ease;
}

.about h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
  font-family: 'Poppins', sans-serif;
}

.about p {
  color: var(--text-color);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about a {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.7rem 1.8rem;
  background-color: #3b82f6;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.about a:hover {
  background-color: #2563eb;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Projects Section */
.projects {
  padding: 4rem 2rem;
  background-color: var(--card-bg);
  border-radius: 15px;
  margin: 2rem auto;
  box-shadow: var(--shadow);
}

.projects h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3rem;
  color: var(--heading-color);
  font-family: 'Poppins', sans-serif;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  border: 1px solid var(--border-color);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  border-color: rgba(59, 130, 246, 0.3);
}

.project-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.project-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.8));
}

.project-1 .project-image {
  background-image: url('./assets/AI.png');
}

.project-2 .project-image {
  background-image: url('./assets/iot.png');
}

.project-3 .project-image {
  background-image: url('https://prudenceashokvihar.com/images/payonline.jpg');
}

.project-4 .project-image {
  background-image: url('https://designnotes.blog.gov.uk/wp-content/uploads/sites/53/2020/06/Portfolio-Desk.jpg')
}

.project-5 .project-image {
  background-image: url('https://thinkexam.com/blog/wp-content/uploads/2022/04/remote-proctoring-process.jpg');
} 

.project-6 .project-image {
  background-image: url('https://www.cloudways.com/blog/wp-content/uploads/ecommerce-website-checklist-b-.jpg');
} 

.project-8 .project-image {
  background-image: url('https://www.ischool.berkeley.edu/sites/default/files/styles/facebook_image/public/sproject_teaser_image/reversed.jpg?itok=SuizhEmV');
}

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: var(--heading-color);
}

.project-content p {
  color: var(--text-color);
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.project-link {
  display: inline-block;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  font-size: 0.95rem;
}

.project-link:hover {
  color: #93c5fd;
  transform: translateX(5px);
}

.project-link i {
  margin-left: 5px;
  transition: all 0.3s;
}

.project-link:hover i {
  transform: translateX(3px);
}

/* Skills Section */
.skills {
  padding: 4rem 2rem;
  text-align: center;
}

.skills h2 {
  font-size: 2.2rem;
  margin-bottom: 3rem;
  color: var(--heading-color);
  font-family: 'Poppins', sans-serif;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.skill-item {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  transition: all 0.4s ease;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(5px);
}

.skill-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.3);
  background: var(--card-bg);
}

.skill-item i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.skill-item:hover i {
  transform: scale(1.2);
  text-shadow: 0 0 15px currentColor;
}

.skill-item p {
  font-weight: 500;
  color: var(--text-color);
}

.fa-react {
  color: #61dafb;
}

.fa-node-js {
  color: #68a063;
}

.fa-python {
  color: #3776ab;
}

.fa-java {
  color: #f89820;
}

.fa-html5 {
  color: #e34f26;
}

.fa-css3-alt {
  color: #2965f1;
}

.fa-envelope {
  color: #743449;
}

.fa-windows {
  color: #0078D6;
}

.fa-paper-plane {
  color: #FF6C37;
}

.fa-sms {
  color: #F22F46;
}

/* Contact Section */
.contact {
  padding: 4rem 2rem;
  text-align: center;
  background-color: var(--card-bg);
  border-radius: 15px;
  margin: 2rem auto;
  box-shadow: var(--shadow);
}

.contact h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: var(--heading-color);
  font-family: 'Poppins', sans-serif;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 500px;
  margin: auto;
}

.contact input,
.contact textarea {
  padding: 0.9rem;
  border-radius: 8px;
  border: none;
  background-color: var(--card-bg);
  color: var(--text-color);
  font-size: 1rem;
  transition: all 0.3s;
  border: 1px solid var(--border-color);
}

.contact input:focus,
.contact textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px #3b82f6;
  background-color: var(--card-bg);
}

.contact textarea {
  resize: vertical;
  min-height: 150px;
}

.contact button {
  background-color: #3b82f6;
  color: #fff;
  padding: 0.9rem;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1rem;
  margin-top: 0.5rem;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.contact button:hover {
  background-color: #2563eb;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Footer */
footer {
  text-align: center;
  color: #9ca3af;
  font-size: 0.9rem;
  padding: 3rem 2rem;
  background-color: var(--card-bg);
  border-radius: 15px;
  margin: 2rem auto;
  text-decoration: none;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-icons a {
  color: var(--text-color);
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.2);
}

.footer-icons a:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-icons a[href*="github"]:hover i {
  color: #181717;
}

.footer-icons a[href*="linkedin"]:hover i {
  color: #0077b5;
}

.footer-icons a[href*="leetcode"]:hover i {
  color: #d37212;
}

.footer-icons a[href*="codechef"]:hover i {
  color: #a4a144;
}

.footer-icons a[href^="mailto"]:hover i {
  color: #ea4335;
}

.footer-icons a[href*="instagram"]:hover i {
  color: #e1306c;
}

.footer-icons a[href*="wa.me"]:hover i {
  color: #25d366;
}

footer p {
  margin-top: 1rem;
  color: #9ca3af;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

[data-aos] {
  opacity: 0;
  transition: all 0.8s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translate(0) !important;
}

/* Certifications */
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.cert-card {
  background-color: var(--card-bg);
  color: var(--text-color);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.cert-card:hover {
  transform: translateY(-5px);
}

.cert-card h3 {
  margin-bottom: 0.5rem;
  color: var(--heading-color);
}

#viewMoreBtn {
  display: block;
  margin: 1rem auto;
  background-color: #3b82f6;
  color: white;
  padding: 0.7rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
}

/* Skill Icons */
.skill-item i.fa-html5 { color: #e34c26; }
.skill-item i.fa-css3-alt { color: #2965f1; }
.skill-item i.fa-js-square { color: #f0db4f; }
.skill-item i.fa-react { color: #61dafb; }
.skill-item i.fa-node-js { color: #68a063; }
.skill-item i.fa-java { color: #f89820; }
.skill-item i.fa-python { color: #3776ab; }
.skill-item i.fa-leaf { color: #4DB33D; }       
.skill-item i.fa-database { color: #f29111; }    
.skill-item i.fa-cloud { color: #6db33f; }       
.skill-item i.fa-code-branch { color: #f1502f; } 
.skill-item i.fa-users { color: #00bcd4; }
.skill-item i.fa-microphone { color: #d63384; }
.skill-item i.fa-comments { color: #17a2b8; }
.skill-item i.fa-lightbulb { color: #ffc107; }
.skill-item i.fa-baseball-ball { color: #c0392b; }
.skill-item i.fa-futbol { color: #27ae60; }
.skill-item i.fa-table-tennis { color: #f39c12; }
.skill-item i.fa-basketball-ball { color: #e67e22; }
.skill-item i.fa-gamepad { color: #9b59b6; }
.skill-item i.fa-film { color: #e74c3c; }
.skill-item i.fa-globe { color: #3498db; }
.skill-item i.fa-tv { color: #95a5a6; }

.skill-item img.custom-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.skill-item:hover img.custom-icon {
  transform: scale(1.2);
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.6));
}

.fa-file-excel {
  color: #217346; 
}

.fa-file-word {
  color: #2B579A;
}

.custom-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 2px #3b82f6);
}

.skill-item:hover .custom-icon {
  transform: scale(1.2);
}

.creative-icon {
  color: #facc15; 
}

.time-icon {
  color: #10b981; 
}

.thinking-icon {
  color: #8b5cf6; 
}

.leadership-icon {
  color: #f97316; 
}

.adaptability-icon {
  color: #06b6d4; 
}

.teamwork-icon {
  color: #3b82f6;
}

.cert-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.cert-card h3 {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.cert-card p {
  color: var(--text-color);
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.view-link {
  color: #3b82f6;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  width: fit-content;
  transition: color 0.3s ease;
}

.view-link:hover {
  color: #60a5fa;
  text-decoration: underline;
}

.hidden {
  display: none;
}

/* =========================================== */
/* RESPONSIVE DESIGN WITH HAMBURGER MENU */
/* =========================================== */

/* Extra large screens (4K and above) */
@media screen and (min-width: 1921px) {
  body {
    max-width: 1920px;
    margin: 0 auto;
  }
  
  .navbar, .projects, .contact, footer {
    max-width: 1920px;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Large laptops and desktops (1200px - 1920px) */
@media screen and (max-width: 1200px) {
  .home h1 {
    font-size: 3rem;
  }
  
  .about {
    gap: 2rem;
  }
  
  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* Tablets (768px - 1199px) */
@media screen and (max-width: 1024px) {
  .navbar ul {
    gap: 1.5rem;
  }
  
  .home h1 {
    font-size: 2.8rem;
  }
  
  .home p {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .about {
    padding: 3rem 1.5rem;
  }
  
  .about img {
    width: 250px;
    height: 250px;
  }
  
  .about-content {
    padding: 0 1rem;
  }
  
  .projects, .skills, .contact {
    padding: 3rem 1.5rem;
  }
  
  .projects-grid {
    gap: 1.5rem;
  }
  
  .skills-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  
  .certifications-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* Mobile devices (768px and below) - HAMBURGER MENU ACTIVATES HERE */
@media screen and (max-width: 768px) {
  /* Show hamburger menu */
  .hamburger {
    display: block;
    order: 3;
  }
  
  /* Hide regular menu by default */
  .navbar ul {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--nav-bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    z-index: 999;
    backdrop-filter: blur(10px);
  }
  
  /* When menu is active */
  .navbar ul.active {
    display: flex;
  }
  
  /* Close button inside mobile menu */
  .navbar ul .close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
  }
  
  .navbar {
    justify-content: space-between;
    padding: 1rem;
  }
  
  .navbar h1 {
    font-size: 1.5rem;
    order: 1;
    margin-right: auto;
  }
  
  .theme-toggle {
    order: 2;
    margin-right: 0.5rem;
    font-size: 1.3rem;
  }
  
  .home {
    padding-top: 100px;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .home h1 {
    font-size: 2.5rem;
  }
  
  .about {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem;
  }
  
  .about img {
    width: 200px;
    height: 200px;
  }
  
  .about p {
    text-align: left;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .skills-container {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-icons a {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
}

/* Large mobile devices (576px - 767px) */
@media screen and (max-width: 767px) {
  .navbar h1 {
    font-size: 1.4rem;
  }
  
  .home h1 {
    font-size: 2.3rem;
    margin-bottom: 1rem;
  }
  
  .home p {
    font-size: 0.95rem;
    margin: 1rem 0;
    line-height: 1.5;
  }
  
  .home a {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
  }
  
  .about h2 {
    font-size: 1.8rem;
  }
  
  .about p {
    font-size: 1rem;
  }
  
  .projects h2,
  .skills h2,
  .contact h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  
  .project-card {
    margin: 0 auto;
    max-width: 100%;
  }
  
  .skills-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .skill-item {
    padding: 1rem 0.5rem;
  }
  
  .skill-item i {
    font-size: 2rem;
  }
  
  .skill-item img.custom-icon {
    width: 35px;
    height: 35px;
  }
  
  .contact form {
    width: 100%;
    padding: 0 0.5rem;
  }
  
  .certifications-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-icons {
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .footer-icons a {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  footer p {
    font-size: 0.8rem;
    padding: 0 1rem;
  }
}

/* Small mobile devices (375px - 575px) */
@media screen and (max-width: 575px) {
  .navbar h1 {
    font-size: 1.3rem;
  }
  
  .home h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .home p {
    font-size: 0.9rem;
    padding: 0;
  }
  
  .about h2 {
    font-size: 1.6rem;
  }
  
  .about p {
    font-size: 0.9rem;
    text-align: center;
  }
  
  .about a {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .projects, .skills, .contact {
    padding: 2rem 1rem;
    margin: 1rem;
    border-radius: 10px;
  }
  
  .project-content h3 {
    font-size: 1.2rem;
  }
  
  .project-content p {
    font-size: 0.9rem;
  }
  
  .tech {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
  }
  
  .skills-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .skill-item {
    padding: 1rem 0.5rem;
  }
  
  .skill-item p {
    font-size: 0.85rem;
  }
  
  .contact input,
  .contact textarea {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
  
  .contact button {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
  
  footer {
    padding: 2rem 1rem;
    margin: 1rem;
    border-radius: 10px;
  }
}

/* Extra small devices (less than 375px) */
@media screen and (max-width: 374px) {
  .navbar h1 {
    font-size: 1.2rem;
  }
  
  .home h1 {
    font-size: 1.8rem;
  }
  
  .home a {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .about img {
    width: 180px;
    height: 180px;
  }
  
  .skills-container {
    grid-template-columns: 1fr;
  }
  
  .footer-icons {
    gap: 0.8rem;
  }
  
  .footer-icons a {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

/* Other responsive styles (unchanged) */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .home {
    height: auto;
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 3rem;
  }
  
  .about {
    flex-direction: row;
    text-align: left;
  }
  
  .about img {
    width: 220px;
    height: 220px;
  }
  
  .about-content {
    max-width: 400px;
  }
}

@media screen and (max-width: 915px) and (orientation: landscape) {
  .home {
    height: auto;
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 2rem;
  }
  
  .home h1 {
    font-size: 2.2rem;
  }
  
  .about {
    padding: 2rem 1rem;
  }
  
  .about img {
    width: 180px;
    height: 180px;
  }
  
  .skills-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Remove conflicting media queries */
/* DELETE THESE LINES IF THEY EXIST IN YOUR ORIGINAL CSS */
/*
@media (prefers-color-scheme: dark) {
  [data-theme="light"] {
    --bg-color: #000000;
    --text-color: #ffffff;
    --heading-color: #3b82f6;
    --nav-bg: rgba(0, 0, 0, 0.95);
    --card-bg: #111827;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  }
}

@media (prefers-color-scheme: light) {
  :root {
    --bg-color: #f8fafc;
    --text-color: #000000;
    --heading-color: #3b82f6;
    --nav-bg: rgba(248, 250, 252, 0.95);
    --card-bg: #ffffff;
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  }
}
*/

