:root {
  --primary: #4f46e5;
  --accent: #22d3ee;
  --light-bg: #f9fafb;
  --dark-bg: #111827;
  --light-text: #1f2937;
  --dark-text: #f3f4f6;
}
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:'Poppins', sans-serif; transition: background 0.3s, color 0.3s; }
.light-mode { background: var(--light-bg); color: var(--light-text); }
.dark-mode { background: var(--dark-bg); color: var(--dark-text); }

/* Navbar */
.navbar { display:flex; justify-content:space-between; align-items:center; padding:1rem 2rem; position:sticky; top:0; background:inherit; z-index:1000; }
.logo { font-size:1.5rem; font-weight:700; color: var(--primary); text-decoration:none; }
.nav-menu a { margin:0 1rem; text-decoration:none; color:inherit; position:relative; }
.nav-menu a::after { content:''; position:absolute; width:0; height:2px; background:var(--accent); bottom:-3px; left:0; transition:width .3s; }
.nav-menu a:hover::after { width:100%; }
.mode-toggle { font-size:1.2rem; background:none; border:none; cursor:pointer; }

/* Shop Button (Single Declaration) */
.shop-btn {
  background: linear-gradient(to right, #4f46e5, #06b6d4);
  color: white !important;
  font-weight: bold;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  margin-top: 20px;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shop-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  background: linear-gradient(45deg, #4338ca, #06b6d4);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 70%;
  height: 100vh;
  background-color: var(--dark-bg);
  color: var(--dark-text);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem 1.5rem;
  z-index: 999;
  transition: transform 0.3s ease;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
  border-radius: 15px 0 0 15px;
  transform: translateX(100%);
  pointer-events: none;
  opacity: 0;
}

.mobile-nav.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}

.mobile-nav a {
  margin: 1rem 0;
  color: inherit;
  text-decoration: none;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  transition: background 0.3s;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Show toggle button and hide menu on mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
  }

  .nav-menu {
    display: none;
  }
}




.home-section {
  display: flex;
  justify-content: center; /* center horizontally */
  align-items: center;     /* center vertically */
  height: 100vh;           /* full viewport height */
  padding-left: 10%;       /* shift slightly right */
  box-sizing: border-box;
  text-align: left;        /* text aligned left inside */
  background-color: #fff;  /* optional */
}

.typing-animation {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  white-space: nowrap;
  overflow: hidden;
  border-right: none;
  color: #D4145A;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  
  /* Important initial state */
  width: 0;
  opacity: 1;
  transform-origin: left center;

  /* Animations */
  animation: typing 3s steps(17) forwards,
             fadeScale 1.5s ease forwards 3s;
}

.gradient-name {
  background: linear-gradient(to right, #D4145A, #FBB03B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

/* Typing animation: reveal text */
@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 17ch;
  }
}

/* Fade and scale up after typing */
@keyframes fadeScale {
  from {
    opacity: 0.8;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}





/* Sections */
.section { padding:4rem 2rem; text-align:center; }
.home-section { padding-top:6rem; }
.big-title { font-size:2.5rem; margin-bottom:2rem; }


/* About */
.about-content { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:2rem; }
.about-photo { max-width:200px; border-radius:50%; border:4px solid var(--accent); }

/* Skills */
.skills-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:1rem; }
.skill { text-align:left; }
.bar { height:1rem; border-radius:5px; background:#ddd; margin-top:.5rem; }
.bar.html { width:90%; background:#e34c26; }
.bar.css { width:85%; background:#1572b6; }
.bar.js  { width:75%; background:#f7df1e; }
.bar.react { width:70%; background:#61dafb; }
.bar.node { width:65%; background:#68a063; }
.bar.python { width:80%; background:#3776ab; }
.bar.django { width:70%; background:#092e20; }
.bar.git { width:85%; background:#f34f29; }


  /* Basic reset */
  * {
    box-sizing: border-box;
  }
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #111;
    color: #eee;
    margin: 0;
    padding: 40px 20px;
  }

  #projects {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    perspective: 1500px; /* For 3D hover */
  }

  .project-card {
    background: #222;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 20px #0008;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.4s ease;
    opacity: 0; /* Start hidden for animation */
    will-change: transform, opacity;
    position: relative;
  }

  .project-card:hover {
    transform: rotateY(10deg) rotateX(5deg) scale(1.05);
  }

  .project-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
  }

  .project-info h3 {
    margin: 0 0 8px;
    font-weight: 700;
    font-size: 1.3rem;
  }
  .project-info p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #ccc;
  }

  /* Expanded modal styles */
  #modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 1000;
  }
  #modal.active {
    opacity: 1;
    pointer-events: auto;
  }
  #modal .modal-content {
    background: #222;
    border-radius: 12px;
    max-width: 700px;
    width: 100%;
    padding: 25px;
    box-shadow: 0 0 40px #000;
    position: relative;
    transform-style: preserve-3d;
  }
  #modal .modal-content img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
  }
  #modal .modal-content h2 {
    margin-top: 0;
  }
  #modal .modal-content p {
    color: #ddd;
    font-size: 1rem;
    line-height: 1.5;
  }
  #modal .close-btn {
    position: absolute;
    top: 15px; right: 15px;
    background: #444;
    border: none;
    color: #eee;
    font-size: 1.5rem;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  #modal .close-btn:hover {
    background: #666;
  }

  /* Responsive */
  @media (max-width: 600px) {
    body {
      padding: 20px 10px;
    }
    #projects {
      grid-template-columns: 1fr;
      gap: 20px;
    }
  }

/* Contact */
.contact-section form { max-width:500px; margin:0 auto; display:flex; flex-direction:column; gap:1rem; }
.contact-section input, .contact-section textarea { padding:.75rem; border:1px solid #ccc; border-radius:5px; }
.contact-section textarea { resize:vertical; min-height:120px; }
.contact-section button { padding:.75rem; border:none; background:var(--primary); color:#fff; cursor:pointer; border-radius:5px; transition:background .3s; }
.contact-section button:hover { background:var(--accent); }

/* Footer Container Styling */
.site-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 40px 20px;
}

.footer-container {
  background-color: var(--footer-box-bg);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-width: 1000px;
  margin: auto;
  padding: 30px;
}

/* Useful Links Section */
.footer-top {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
}

.useful-links h3 {
  color: var(--link-title, #00eaff);
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.useful-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.useful-links li {
  margin-bottom: 10px;
}

.useful-links a {
  color: inherit;
  text-decoration: none;
  margin-left: 8px;
  transition: color 0.3s;
}

.useful-links a:hover {
  color: #1e90ff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  text-align: center;
  font-size: 0.85rem;
}

.footer-bottom i,
.useful-links i {
  color: var(--icon-color, #ccc);
}

/* Dark and Light Mode Variables */
body.dark-mode {
  --footer-bg: #0a0f1a;
  --footer-box-bg: #0f172a;
  --footer-text: #e0e0e0;
  --link-title: #00eaff;
  --icon-color: #ccc;
}

body.light-mode {
  --footer-bg: #f1f5f9;
  --footer-box-bg: #ffffff;
  --footer-text: #1e293b;
  --link-title: #007acc;
  --icon-color: #333;
}

/* Responsive */
@media (max-width: 600px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
/* Full Footer Background */
.site-footer {
  background-color: var(--footer-bg);
  padding: 60px 20px;
  color: var(--footer-text);
}

/* Inner Boxed Footer */
.footer-container {
  background-color: var(--footer-box-bg);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-width: 1000px;
  margin: auto;
  padding: 30px;
}



/* Responsive tweak */
@media (max-width: 600px) {
  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}


/* Interactive Hover */
a, button { transition:.3s ease; }
a:hover, button:hover { transform:scale(1.05); color:var(--accent); }

/* Responsive */
@media(max-width:768px){
  .nav-menu { display:none; flex-direction:column; }
  .nav-menu.mobile-active { display:flex; }
}
/* Floating social icons */
.social-floating {
  position: fixed; top: 50%; left: 1rem; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: .5rem; z-index: 1000;
}
.fab { width:2.5rem; height:2.5rem; display:flex; align-items:center;
  justify-content:center; color:#fff; border-radius:50%;
  font-size:1.2rem; text-decoration:none; transition:transform .3s ease;
}
.fab:hover{transform:scale(1.1);}
.fb { background:#4267B2;}
.tt { background:#010101;}
.yt { background:#FF0000;}

/* Lens cursor */
#lens {
  position: fixed; width: 40px; height: 40px; border: 2px solid var(--primary);
  border-radius: 50%; pointer-events: none; transition: transform .1s;
  transform: translate(-50%, -50%);
}

/* Follow section */
.follow-section { text-align:center; padding:2rem; }
.follow-buttons { display:flex; justify-content:center; gap:2rem; align-items:center; }
#yt-subscribe { background:#FF0000; color:#fff; padding: .75rem 1.5rem; border:none; border-radius:5px; cursor: pointer; }
#tt-follow { font-size:1.1rem; }

/* Shopping page grid */
.products-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap:1.5rem; padding:1rem; }
.product-card { border:1px solid #ddd; border-radius:8px; padding:1rem; text-align:center; }
.product-card img { width:100%; max-height:150px; object-fit:cover; border-radius:5px; }
.product-card button { background:var(--primary); color:#fff; border:none; padding:.5rem 1rem; border-radius:5px; cursor:pointer; }
.product-card button:hover { background:var(--accent); }

/* Reuse existing dark/light styles and responsive settings */
/* Follow-section widgets */
.follow-widgets {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2rem;
}
.widget {
  background: var(--light-bg);
  color: var(--light-text);
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  width: 260px;
}
.fb-widget iframe {
  width: 100% !important;
  height: 300px;
  border: none;
}

/* Horizontal Scroll Video Section */

.video-slider-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 100%;
  overflow: hidden;
}

.youtube-scroll {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding: 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.youtube-scroll iframe {
  flex: 0 0 auto;
  width: 320px;
  height: 180px;
  border: none;
  border-radius: 10px;
  scroll-snap-align: start;
}

.youtube-scroll::-webkit-scrollbar {
  display: none;
}
.youtube-scroll {
  -ms-overflow-style: none; /* IE/Edge */
  scrollbar-width: none;    /* Firefox */
}
.arrow-btn {
  background: linear-gradient(135deg, #ff6a00, #ee0979);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 0.3rem 1rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s ease, transform 0.2s ease;
  z-index: 10;
}

.arrow-btn:hover {
  background: linear-gradient(135deg, #ee0979, #ff6a00);
  transform: scale(1.1);
}

.arrow-btn.left {
  position: absolute;
  left: -10px;
}

.arrow-btn.right {
  position: absolute;
  right: -10px;
}



/* Recent Video Styling */


#recent-video h2 {
  font-size: 2rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  align-items: center;
  
}

#recent-video h2::after {
  content: '';
  width: 60px;
  height: 3px;
  background: var(--accent);
  display: block;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.nav-menu .home-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(90deg, #ff9800, #ffc107);
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0 8px rgba(255, 193, 7, 0.4);
  transition: all 0.3s ease;
}

.nav-menu .home-link:hover {
  background: linear-gradient(90deg, #ffa000, #ffca28);
  color: #fff;
  transform: scale(1.05);
}

.home-icon {
  margin-right: 0.3rem;
}
/* Gallery Section */
#gallery h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.slider {
  position: relative;
  max-width: 700px;
  margin: 2rem auto;
  overflow: hidden;
  border: 6px solid var(--light-bg);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  background: white;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
  will-change: transform;
}

.slide {
  flex-shrink: 0;
  width: 100%;
  height: 400px;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
  border-radius: 5px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.gallery-img {
  width: 100%;
  height: 220px; /* make it smaller */
  object-fit: contain; /* or cover if you prefer full coverage */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.gallery-section h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}



/* Navigation buttons */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  padding: 1rem;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: background 0.3s ease;
}
.prev:hover, .next:hover {
  background: rgba(0, 0, 0, 0.7);
}
.prev { left: 15px; }
.next { right: 15px; }

/* Responsive */
@media (max-width: 668px) {
  .slide {
    height: 250px;
  }
  .prev, .next {
    font-size: 1.5rem;
    padding: 0.5rem;
  }
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 10000;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255,255,255,0.1);
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
}

.arrow {
  position: absolute;
  top: 50%;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  background: rgba(0,0,0,0.3);
  user-select: none;
  transform: translateY(-50%);
  z-index: 10001;
}

.arrow:hover {
  background: rgba(0,0,0,0.6);
}

.arrow.left { left: 30px; }
.arrow.right { right: 30px; }

/* More Button */
.more-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  background: var(--primary);
  color: #007BFF;
  text-decoration: underline;
  border-radius: 6px;
  transition: background 0.3s ease;
   cursor: pointer;
}

.more-btn:hover {
  background: var(--accent);
}

/* INITIAL state for fade+slide animation */
.gallery-img, .preview-img,
.section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* WHEN VISIBLE - animation triggers */
.gallery-img.visible, .preview-img.visible,
.section.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Zoom on hover for images */
.gallery-img:hover, .preview-img:hover {
  transform: scale(1.05);
  z-index: 1;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease;
}
html {
  scroll-behavior: smooth;
}

/*  Styling */
  .contact-section {
    background: #f4f4f4;
    padding: 60px 20px;
    text-align: center;
  }

  .contact-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
  }

  .contact-section form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .contact-section input,
  .contact-section textarea {
    padding: 14px 18px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    resize: vertical;
  }

  .contact-section textarea {
    min-height: 120px;
  }

  .contact-section button {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    padding: 14px;
    font-size: 16px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s ease, transform 0.2s;
  }

  .contact-section button:hover {
    background: linear-gradient(135deg, #43a047, #1b5e20);
    transform: translateY(-2px);
  }

  .contact-section button i {
    font-size: 18px;
  }
.logo svg {
  max-height: 50px;
}

.navbar .logo {
  padding: 0;
  margin-left: 10px;
}
/* What I Offer Section */
.services-section h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.service-card i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.service-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Dark mode support */
.dark-mode .service-card {
  background: #1f2937;
  color: var(--dark-text);
  border-color: #333;
}

.dark-mode .service-card p {
  color: #d1d5db;
}
/* Make entire service card clickable */
.service-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Reuse existing more-btn with service tweaks */
.service-btn {
  margin-top: 2rem;
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.service-btn:hover {
  background: var(--accent);
}

/* Updated product card for shopping page */
.product-card {
  background: var(--light-bg);
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.product-card img {
  max-width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 1rem;
  border-radius: 8px;
}

.product-card h3 {
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

.product-card .price {
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

/* Quantity controls */
.quantity-control {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.qty-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.4rem 0.8rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.qty-btn:hover {
  background: var(--accent);
}

.qty-input {
  width: 50px;
  padding: 0.4rem;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

/* Add to Cart / Buy Button */
.buy-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.75rem 1.2rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.buy-btn:hover {
  background: var(--accent);
  transform: scale(1.05);
}

/* Cart Section Styling */
.cart-section {
  background: #f4f4f4;
  padding: 2rem;
  margin: 2rem auto;
  border-radius: 12px;
  max-width: 600px;
}

.cart-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

#cart-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

#cart-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1rem;
  background: white;
  margin-bottom: 0.5rem;
Success!
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.remove-btn {
  background: red;
  color: white;
  border: none;
  padding: 0.3rem 0.6rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.85rem;
}

/* Total Price */
#cart-total {
  font-weight: bold;
  font-size: 1.2rem;
  text-align: right;
  color: var(--primary);
}

/* Responsive */
@media (max-width: 600px) {
  .product-card {
    padding: 1rem;
  }

  .cart-section {
    padding: 1rem;
  }
}
.hidden {
  display: none;
}













