/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

:root {
  --primary-color: #111111;
  --secondary-color: #ffffff;
  --accent-color: #ff6b35;
  --gray-light: #f5f5f5;
  --gray-medium: #8e8e8e;
  --gray-dark: #3a3a3a;
}

.dark {
  --primary-color: #f8f9fa;
  --secondary-color: #121212;
  --accent-color: #bb86fc;
  --gray-light: #1e1e1e;
  --gray-medium: #6c757d;
  --gray-dark: #adb5bd;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  color: var(--primary-color);
  background-color: var(--secondary-color);
}

/*Overlay*/

.project-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: none; /* Hidden by default */
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.overlay-content {
  background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Rest of the CSS remains the same as before */
.overlay-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dev-badge {
  background: linear-gradient(135deg, #ff6b35, #ff8535);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
}

.close-overlay {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
}

.close-overlay:hover {
  background: rgba(255, 107, 53, 0.3);
  transform: rotate(90deg);
}

.overlay-body {
  padding: 25px;
}

.project-icon {
  text-align: center;
  margin-bottom: 20px;
}

.project-icon i {
  font-size: 60px;
  color: #ff6b35;
  background: rgba(255, 107, 53, 0.1);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 2px solid rgba(255, 107, 53, 0.3);
}

.project-title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}

.project-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  margin-bottom: 25px;
}

.project-description {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 25px;
}

.project-description p {
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  margin-bottom: 20px;
}

.tech-stack {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

.tech-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 10px 16px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-weight: 600;
}

.tech-item i {
  font-size: 20px;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.feature i {
  color: #4ade80;
}

.explore-cta {
  background: rgba(255, 107, 53, 0.1);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 107, 53, 0.2);
}

.explore-cta p {
  color: white;
  font-weight: 600;
  margin-bottom: 15px;
  text-align: center;
}

.explore-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.explore-options span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  text-align: center;
}

.contact-section {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  margin-bottom: 20px;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-btn {
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-btn.github {
  background: rgba(36, 41, 46, 0.8);
}

.contact-btn.linkedin {
  background: rgba(10, 102, 194, 0.8);
}

.overlay-footer {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.explore-btn {
  background: linear-gradient(135deg, #ff6b35, #ff8535);
  color: white;
  border: none;
  padding: 18px 40px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 15px;
}

.explore-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.notice {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

@media (max-width: 768px) {
  .overlay-content {
    max-height: 90vh;
  }

  .features-list,
  .explore-options {
    grid-template-columns: 1fr;
  }

  .contact-links {
    flex-direction: column;
    align-items: center;
  }

  .contact-btn {
    width: 180px;
    justify-content: center;
  }
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
header {
  background-color: var(--secondary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  letter-spacing: -1px;
}

.logo span {
  color: var(--accent-color);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-icons li {
  margin-left: 30px;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  cursor: pointer;
}

nav ul li a:hover {
  color: var(--accent-color);
}

.nav-icons {
  display: flex;
  align-items: center;
}

.nav-icons a,
.nav-icons li {
  color: var(--primary-color);
  margin-left: 20px;
  font-size: 18px;
  transition: color 0.3s;
}

.nav-icons a:hover {
  color: var(--accent-color);
}

.mobile-menu-btn {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-color);
}

.cart-icon {
  position: relative;
  margin-left: 18px;
}

.cart-icon:hover {
  cursor: pointer;
}

.cart-count i {
  color: var(--primary-color);
  font-size: 24px;
  transition: color 0.3s;
}

.cart-count {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--accent-color);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  background-color: black;
  color: var(--secondary-color);
  padding: 120px 20px;
  text-align: center;
  z-index: 20;
}

.hero-content {
  position: relative;
  max-height: 800px;
  margin: 0 auto;
  z-index: 23;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 22;
}

.hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 21;
}

.hero h1 {
  color: #f5f5f5;
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero p {
  font-size: 20px;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
}

.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--secondary-color);
  padding: 15px 40px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 30px;
  transition: all 0.3s;
}

.btn:hover {
  background-color: #ff8535;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Featured Products */

#products {
  text-align: center;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin: 80px 0 40px;
  text-transform: uppercase;
}

.load-btn {
  padding: 12px 24px;
  border: 2px solid;
  border-radius: 5px;
  background: var(--secondary-color);
  color: var(--accent-color);
  font-weight: 600;
  font-size: 1.7rem;
  cursor: pointer;
  width: auto;
  margin: auto;
  transition: 0.5s ease-in-out;
}

.load-btn.loading::after {
  content: "";
  width: 22px;
  height: 22px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.load-btn:hover {
  border: none;
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.load-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
/* ===== GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.8rem;
  margin-bottom: 5%;
}

/* ===== PRODUCT CARD ===== */
.product-card {
  background: var(--secondary-color);
  color: var(--primary-color);
  padding: 1rem;
  border-radius: 5px;
  opacity: 0;
  transform: translateY(40px) scale(0.94);
  animation: productSnap 0.55s cubic-bezier(0.25, 1.25, 0.5, 1) forwards;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top,
    rgba(255, 255, 255, 0.25),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.product-card:hover::after {
  opacity: 1;
}

@keyframes productSnap {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.product-image img {
  width: 100%;
  border-radius: 5px;
  display: block;
}

.product-category {
  font-size: 0.75rem;
  opacity: 0.6;
}

.product-name {
  font-size: 1rem;
  margin: 0.4rem 0;
}

.product-price {
  font-weight: 600;
  transition: color 0.3s ease, letter-spacing 0.3s ease;
  color: var(--accent-color);
}

.product-image {
  overflow: hidden;
}

.product-image img {
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.product-card:hover img {
  transform: scale(1.08);
}

.product-info {
  transition: transform 0.4s ease;
}

.product-card:hover .product-price {
  letter-spacing: 0.5px;
}

.skeleton {
  animation: pulse 1.4s ease-in-out infinite alternate;
}

@keyframes pulse {
  0% {
    opacity: 0.5;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0.5;
    transform: scale(0.98);
  }
}

.skeleton-img {
  height: 200px;
  background: #ddd;
}

.skeleton-text {
  height: 14px;
  background: #ddd;
  margin-top: 10px;
  width: 70%;
}

.error-text {
  color: red;
  font-weight: 600;
}
/* Features Section */
.features {
  background-color: var(--gray-light);
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-card {
  text-align: center;
  padding: 30px;
}

.feature-icon {
  font-size: 48px;
  color: var(--accent-color);
  margin-bottom: 25px;
}

.feature-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

.feature-desc {
  color: var(--gray-dark);
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
  text-align: center;
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial-slide {
  display: none;
  animation: fadeIn 1s;
}

@keyframes fadeIn {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

.testimonial-text {
  font-size: 22px;
  font-style: italic;
  margin-bottom: 30px;
  color: var(--gray-dark);
}

.testimonial-author {
  font-weight: 700;
  font-size: 18px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 8px;
  background-color: #ddd;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active,
.dot:hover {
  background-color: var(--accent-color);
}

/* Newsletter */
.newsletter {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 80px 0;
  text-align: center;
}

/*Pics */
.customers-verdict {
  padding: 4rem 2rem;
  background: transparent;
  text-align: center;
}

.customers-verdict .section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.verdicts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.verdict-card {
  position: relative;
  background: var(--secondary-color);
  padding: 1.5rem;
  border: 1.5px solid var(--accent-color);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transform: rotate(calc(-7deg + 2deg * var(--i, 0)));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* PIN DOT */
.verdict-card::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.verdict-card:hover {
  transform: rotate(0deg) scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.verdict-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.verdict-text {
  font-size: 0.95rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.verdict-name {
  font-weight: bold;
  font-size: 0.9rem;
  color: var(--accent-color);
}

/* Responsiveness*/
@media (max-width: 600px) {
  .verdicts-grid {
    grid-template-columns: 1fr;
  }

  .verdict-card {
    transform: rotate(0deg);
  }
}

.newsletter h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.newsletter p {
  max-width: 600px;
  margin: 0 auto 40px;
  color: var(--secondary-color);
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
}

.newsletter-form input {
  flex: 1;
  padding: 18px 20px;
  border: none;
  font-size: 16px;
  border-radius: 30px 0 0 30px;
}

.newsletter-form button {
  background-color: var(--accent-color);
  color: var(--secondary-color);
  border: none;
  padding: 0 35px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0 30px 30px 0;
  cursor: pointer;
  transition: background-color 0.3s;
}

.newsletter-form button:hover {
  background-color: #ff8535;
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
}

.newsletter-form input {
  flex: 1;
  padding: 18px 20px;
  border: none;
  font-size: 16px;
  border-radius: 30px 0 0 30px;
}

.newsletter-form button {
  position: relative;
  overflow: hidden;
  color: #fff;
  border: none;
  padding: 0 35px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0 30px 30px 0;
  cursor: pointer;
  transition: background-color 0.3s;
}

button.loading .btn-text {
  opacity: 0;
}

button.loading .loader {
  display: block;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

#subscribe-btn {
  position: relative;
}

#subscribe-btn .loader {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

#subscribe-btn.loading .btn-text {
  visibility: hidden;
}

#subscribe-btn.loading .loader {
  display: block !important;
}

.fa-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#response-msg {
  font-size: 14px;
  text-align: center;
  transition: all 0.3s;
}

#response-msg {
  text-align: center;
  margin-top: 15px;
  font-weight: 500;
}

.getin {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: #fff;
}

/* Background video */
.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -2;
}

/* Dark overlay */
.getin .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: -1;
}

/* Content */
.getin .container {
  max-width: 600px;
  padding: 20px;
}

/* Heading */
.getin a {
  text-decoration: none;
  font-size: 3rem;
  margin-bottom: 10px;
  border: none;
  cursor: pointer;
  background-color: transparent;
  color: var(--accent-color);
  padding: 3%;
  border-radius: 5px;
  transition: 0.3s ease-in-out;
}

.getin a:hover {
  border: 5px dotted gray;
}

/* Text */
.getin p {
  font-size: 1rem;
  margin-bottom: 25px;
  opacity: 0.9;
}

/* Footer */
footer {
  background-color: #0a0a0a;
  color: var(--accent-color);
  padding: 60px 0 30px;
}

#me {
  text-decoration: none;
  color: var(--accent-color);
  font-size: 1.2rem;
}

#me:hover {
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 18px;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--accent-color);
}

.social-icons {
  display: flex;
  margin-top: 20px;
}

.social-icons a {
  color: white;
  font-size: 20px;
  margin-right: 20px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: var(--accent-color);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 42px;
  }

  .hero p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--secondary-color);
    flex-direction: column;
    padding: 20px 0;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    margin: 0;
    text-align: center;
    padding: 15px 0;
  }

  .hero {
    padding: 80px 20px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  .section-title {
    font-size: 30px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    border-radius: 30px;
    margin-bottom: 15px;
  }

  .newsletter-form button {
    border-radius: 30px;
    padding: 18px;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 30px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 26px;
  }
}
