/* Polished Material Store styles (complete) */

/* Reset + base */
* { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
:root{
  --bg:#fbfbfc; --surface:#2c2424; --muted:#0e0f11; --accent:#e54b57; --accent-2:#ff8a65;
  --glass: rgba(255,255,255,0.6); --card-shadow: 0 8px 30px rgba(16,24,40,0.06);
  --radius:12px; --max-width:1200px; --transition:260ms cubic-bezier(.2,.9,.3,1);
  --focus-ring: 3px solid rgba(229,75,87,0.18);
}
body.dark{
  --bg:#0b0b0c; --surface:#2b2f31; --muted:#454a52; --accent:#ff7b89; --accent-2:#ff9e7a;
  --glass: rgba(20, 16, 16, 0.03); --card-shadow:0 10px 40px rgba(2,6,23,0.7);
}

html,body{ height:100%; font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial; background:linear-gradient(180deg,var(--bg),rgba(0,0,0,0)); color:#0f1720; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; transition:background var(--transition), color var(--transition); line-height:1.5; margin: 0; padding: 0 ; box-sizing: border-box; }

/* Default Light Mode */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: rgb(143, 132, 132); /* soft dim background */
  color: #222; /* dark text */
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Dark Mode */
body.dark-mode {
  background-color: #121212; /* deep dark background */
  color: #886e6e; /* bright text */
}

/* Example header + card adjustments */
header, .card, .footer {
  transition: background-color 0.4s ease, color 0.4s ease;
}

body.dark-mode header nav ul li a {
color: #ffffff;
}

body.dark-mode header nav ul li a:hover {
  color: #ff7b89;
}

body.dark-mode .card,
body.dark-mode .footer {
  background-color: #645a5a;
  color: #fff;
}

body header, 
body .card,
body .footer {
  background-color: #918585; /* dimmed white */
  color: #222;
}

/* Sections (to blend with dimmed background) */
.section {
  background: rgba(189, 178, 178, 0.9); /* slightly see-through white */
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  transition: background 0.4s ease;
}

h1,h2,h3{ font-family:"Playfair Display",serif; color:inherit; }
h1{ font-size:2.25rem; letter-spacing:-0.02em; }
h2{ font-size:1.6rem; margin-bottom:0.6rem; }
.kicker { font-size:1.5rem; color:var(--muted); margin-bottom:0.5rem; align-items: center;text-align: center; }
.section-heading { font-size: 2rem; text-align: center; color: var(--muted);margin-top: 50px; }

/* container helper */
.container{ max-width:var(--max-width); margin:0 auto; padding:0 1.25rem; }

/* header / navbar */
header{ position:fixed; top:0; gap: 20px; justify-content: space-around; z-index:1100; backdrop-filter: blur(6px); background:linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,255,255,0.6)); border-bottom:1px solid rgba(0,0,0,0.04); transition:background var(--transition), border-color var(--transition); position: fixed; top: 0; width: 100%; z-index: 1000; box-shadow: var(--shadow); padding: 0 0.875rem;}
body.dark header{ background:linear-gradient(180deg, rgba(100, 104, 109, 0.7), rgba(8,10,12,0.5)); border-bottom:1px solid rgba(255,255,255,0.03);}
body.dark .navbar a{ color: whitesmoke; }
section{ margin: 0 auto; padding: 0 4.25rem; }

.navbar{ display:flex; align-items:center; justify-content:space-between; gap:1.2rem; padding:0.875rem 0; }
.logo{ font-weight:800; font-size:1.5rem; color:var(--muted); display: flex; align-items: center; gap: 0.1rem;-spacing:-0.5px;display: flex; flex-direction: row; padding-right: 40px; }
.logo span{ color:#0b0b0c; font-weight:600; font-size:1.5rem; letter-spacing:-0.5px;  }
/* .logo-badge{ width:36px; height:36px; border-radius:8px; background:linear-gradient(135deg,var(--accent),var(--accent-2)); box-shadow:0 6px 20px rgba(229,75,87,0.18); } */
.logo-image{ width: 60px; height: 60px; object-fit:cover; border-radius:50px;font-size: 15px; }    
/* nav links */
.nav-links{ display:flex; gap:1.25rem; list-style:none; align-items:center; padding-left: 10px; }
.nav-links a{ text-decoration:none; color:var(--muted); padding:0.45rem 0.6rem; border-radius:8px; transition: color var(--transition), transform 160ms; font-weight:600; font-size:0.95rem; }
.nav-links a:hover, .nav-links a:focus{ color:var(--accent); transform:translateY(-2px); outline:none; }
.logo-tagline{ font-size:1rem; color:rgb(20, 19, 19); font-weight:400; margin-top:0.25rem; text-decoration: solid; font-style: italic;}
body.dark .logo-tagline{
  color: whitesmoke;
}
.logo-main{
  color: #0b0b0c;
}

/* icons */
.icons{ display:flex; gap:0.6rem; align-items:center; }
#theme-toggle, .menu-toggle{ background:var(--muted); border:1px solid rgba(0,0,0,0.04); height:42px; width:42px; display:inline-grid; place-items:center; border-radius:10px; box-shadow:var(--card-shadow); transition:transform var(--transition), background var(--transition), box-shadow var(--transition); padding:0; }
#theme-toggle:focus, .menu-toggle:focus{ box-shadow:var(--focus-ring); outline:none; transform: translateY(-1px); }
.menu-toggle{ display:none; }
/* hero */
#hero{ padding:4.25rem 2rem; margin: 0 auto;}
.hero-content{ display:grid; grid-template-columns:1fr 1fr; gap:2.25rem; align-items:center; }
.hero-image img{ border-radius:14px; box-shadow:var(--card-shadow); transform-origin:center; transition:transform 450ms cubic-bezier(.2,.9,.3,1); height: 500px ; width: 100%; margin-top: 6rem;}
.hero-image img:hover{ transform: translateY(-6px) scale(1.01); }
.hero-text h1{ font-size: clamp(1.6rem, 3.6vw, 2.6rem); margin-bottom:0.6rem; }
.hero-text p{ color:var(--muted); margin-bottom:1rem; font-size:1.05rem; }
.hero-text{ margin-top:1.70rem; }

/* about */
#about{ padding:3rem 1rem; }
/* buttons */
.btn{ display:inline-flex; align-items:center;justify-content: center; gap:.6rem; background:linear-gradient(90deg,var(--accent),var(--accent-2)); color:#fff; padding:0.75rem 1.15rem; border-radius:10px; border:none; font-weight:700; box-shadow:0 8px 26px rgba(229,75,87,0.14); transition:transform var(--transition), opacity 220ms; text-decoration:none; text-align: center; }
.btn:hover{ transform:translateY(-3px); opacity:.98; }
.btn.ghost{ background:transparent; color:var(--muted); border:1px solid rgba(0,0,0,0.04); }
.btn.ghost:hover{ color:var(--accent); }
.btn:disabled{ opacity:.5; cursor:not-allowed; }
.about-text{ margin-top: 1rem; text-align:center ;}
strong{ font-weight: 800; color: black;font-size: 1.2rem; }
.value{ font-weight: 800; color: black;font-size: 2rem; margin-right: 10rem; margin-bottom: 1rem; text-align: center; }


/* About fabrics */
#about .intro {
  max-width: 820px;
  margin: 0.8rem auto 2rem;
  color: black;
  font-size: 1.05rem;
  text-align: center;
}
body.dark #about p.intro {
  color: whitesmoke;
}
.fabric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.fabric-card {
  background: linear-gradient(180deg, var(--surface), var(--glass));
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: whitesmoke;
}

.fabric-card h3 {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.fabric-card p {
  color: black;
  font-size: 0.95rem;
  line-height: 1.5;
}
body.dark .fabric-card p{
  color: whitesmoke;
}
.fabric-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(16, 24, 40, 0.12);
}

/* showcase */
#showcase{ padding:3rem 1rem; }
.showcase-gallery{ display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin-top:1.25rem; padding: 0;}
.showcase-gallery img{ width:100%; height:220px; object-fit:cover; border-radius:12px; box-shadow:var(--card-shadow); transition:transform 420ms ease, box-shadow 320ms; cursor:zoom-in; }
.showcase-gallery img:hover{ transform:translateY(-6px) scale(1.02); box-shadow:0 18px 50px rgba(16,24,40,0.12); }

/* products */
#products{ padding:3.25rem 0; text-align:center; margin: 0 auto; max-width: 1200px; justify-content: space-around; }
.product-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:1.1rem; margin-top:1.25rem; }
@media (max-width:1200px){ .product-grid{ grid-template-columns: repeat(4,1fr); } }
@media (max-width:1000px){ .product-grid{ grid-template-columns: repeat(3,1fr); } }
@media (max-width:700px){ .product-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width:420px){ .product-grid{ grid-template-columns: 1fr; } }
@media (max-width:420px){ .showcase-gallery{ grid-template-columns: 1fr; } }
.product-grid {
  display: grid;
  grid-template-columns: repeat(200, 1fr); /* exactly 3 per row */
    margin-top: 1.25rem;
    justify-content: space-around;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.25rem;
}

@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: 2fr; /* 2 per row on tablets */
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr; /* 1 per row on mobile */
  }
}
.products-section {
  background: var(--bg, #2e2a2a);
  text-align: center;
}

.products-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text, #222);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: var(--card, #fff);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card h3 {
  font-size: 1.1rem;
  margin: 0.8rem 0 0.3rem;
}

.product-card .price {
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--accent, #e63946);
}

.product-card:hover,
.product-card:focus {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.product-card:hover img {
  transform: scale(1.15);
}

h1 {
  color: #333;
}

/* --- Manage Images Drawer --- */
.manage-btn {
  display: block;
  margin: 40px auto;
  padding: 12px 25px;
  background: #222;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}
.manage-btn:hover {
  background: #444;
}

/* Hidden by default */
#image-manager {
  position: fixed;
  left: 0;
  bottom: -100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
  transition: bottom 0.4s ease-in-out;
  z-index: 999;
  padding: 20px 10px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

/* Show when active */
#image-manager.active {
  bottom: 0;
}

.manager-box {
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}

.manager-box h3 {
  margin-bottom: 10px;
  color: #333;
}

.manager-box input[type="file"],
.manager-box input[type="text"] {
  width: 90%;
  padding: 8px;
  margin: 6px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}

.manager-box button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  margin: 8px 5px;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s, background 0.3s;
}

.manager-box button:hover {
  transform: scale(1.05);
}

#uploadBtn {
  background: #008cba;
  color: white;
}
#deleteBtn {
  background: #e74c3c;
  color: white;
}
#close-manager {
  background: #555;
  color: white;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .manager-box {
    width: 95%;
  }
  .manage-btn {
    width: 80%;
  }
}


.product{ background:linear-gradient(180deg,var(--surface),var(--glass)); border-radius:var(--radius); padding:0.95rem 1.25rem; text-align:left; box-shadow:var(--card-shadow); transition:transform 320ms var(--transition), box-shadow 320ms; cursor:pointer; display:flex; flex-direction:column; gap:0.7rem; min-height:260px; position:relative; min-width: none;}
.product:hover, .product:focus-within{ transform:translateY(-6px); box-shadow:0 20px 50px rgba(2,6,23,0.08); }
.product img{ border-radius:10px; height:150px; object-fit:cover; }
.product h3{ font-size:1rem; margin-top:0.2rem; }
.price-row{ display:flex; align-items:center; justify-content:space-between; gap:0.5rem; margin-top:auto; flex-direction: column; }
.price{ color:var(--accent); font-weight:800; font-size:1rem; display: flex; align-items: center; gap: 0.3rem; flex-direction: column;}
.buy-btn{ background:transparent; border:1px solid rgba(0,0,0,0.06); padding:0.5rem 0.8rem; border-radius:9px; font-weight:700; }
.buy-btn:hover{ background:linear-gradient(90deg,var(--accent),var(--accent-2)); color:#fff; }

/* product details (JS-created) */
.product-details{ margin-top:0.6rem; color:var(--muted); font-size:0.95rem; line-height:1.4; border-top:1px dashed rgba(0,0,0,0.04); padding-top:0.7rem; }

/* contact form */
#contact{ padding:3.25rem 1rem; }
#contact form{ max-width:720px; margin:.6rem auto 0; display:grid; gap:0.9rem; background:linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.4)); padding:1.15rem; border-radius:12px; box-shadow:var(--card-shadow); }
body.dark #contact form{ background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); }
.input-row{ display:grid; grid-template-columns:1fr 1fr; gap:0.75rem; }
@media (max-width:700px){ .input-row{ grid-template-columns:1fr; } }
input[type="text"], input[type="email"], input[type="tel"], textarea{ padding:0.9rem; border-radius:10px; border:1px solid rgba(16,24,40,0.06); background:transparent; resize:vertical; font-size:0.95rem; }
input:focus, textarea:focus{ box-shadow:var(--focus-ring); outline:none; border-color:rgba(229,75,87,0.12); }
textarea{ min-height:120px; }
#contact button{ justify-self:end; background:linear-gradient(90deg,var(--accent),var(--accent-2)); color:#fff; padding:0.75rem 1.1rem; border-radius:10px; border:none; font-weight:800; box-shadow:0 10px 30px rgba(229,75,87,0.12); }

/* footer */
footer{ margin-top:2.5rem; padding:1.25rem 0; text-align:center; color:var(--muted); font-size:0.95rem; border-top:1px solid rgba(16,24,40,0.03); background:transparent; background-color: #353d4b; color: #f4f4f4; }

/* modal */
.image-modal{ position:fixed; inset:0; display:flex; align-items:center; justify-content:center; background:rgba(2,6,23,0.6); padding:2rem; z-index:2200; opacity:0; visibility:hidden; transition:opacity 180ms ease, visibility 180ms; }
.image-modal.show{ opacity:1; visibility:visible; }
.image-modal .modal-card{ width:100%; max-width:920px; border-radius:14px; overflow:hidden; position:relative; background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); box-shadow:0 30px 80px rgba(2,6,23,0.6); }
.image-modal img{ width:100%; display:block; height:auto; object-fit:cover; }
.close-btn{ position:absolute; top:12px; right:12px; z-index:10; background:rgba(255,255,255,0.9); border:none; width:40px; height:40px; border-radius:50%; display:grid; place-items:center; cursor:pointer; font-weight:800; }

/* scroll animations */
.section{ opacity:0; transform:translateY(28px); transition: all 700ms cubic-bezier(.2,.9,.3,1);  padding: 4rem 2rem;}
.section.visible{ opacity:1; transform:translateY(0); }

/* small responsive tweaks */
@media (max-width:900px){ .hero-content{ grid-template-columns:1fr; text-align:center; } .hero-text{ order:2; } }
@media (max-width:768px){
  .nav-links{ position:fixed; right:12px; top:72px; width:220px; display:flex; flex-direction:column; background:linear-gradient(180deg,var(--surface),var(--glass)); border-radius:12px; padding:0.75rem; box-shadow:0 20px 60px rgba(2,6,23,0.12); transform-origin:top right; opacity:0; visibility:hidden; transform:translateY(-8px) scale(.98); transition:opacity 220ms, transform 220ms, visibility 220ms; }
  .nav-links.active{ opacity:1; visibility:visible; transform:translateY(0) scale(1); }
  .nav-links a{ padding:0.75rem 0.9rem; border-radius:10px; color:var(--muted); }
  .menu-toggle{ display:inline-grid; }
  .icons{ gap:0.4rem; }
  section{ padding:0 1.25rem; }
  #hero{ padding:3.25rem 1rem; }
  #about{ padding:2.25rem 1rem; }
  #showcase-gallary{ padding:2.25rem 0; }
  #products{ padding:2.25rem 0; }
  #contact{ padding:2.25rem 1rem; }
  footer{ padding:1.25rem 1rem; }
  .product-grid{ grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); }
  .product{ padding:10px; }
  .product img{ height:150px; }
  #theme-toggle{ display:none; }
  #nav-links li a{color: rgb(22, 8, 8);}
  .value{ margin-right: 0rem; font-size: 2rem; }
}

/* focus-visible */
:focus-visible{ outline:none; box-shadow:var(--focus-ring); border-radius:8px; }


.container {
  max-width: 1200px;
  margin: auto;
}

h2 {
  text-align: center;
  margin-bottom: 20px;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.product {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.product img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.product h3 {
  margin: 10px 0;
}

.price {
  font-weight: bold;
  color: #333;
}

.details-btn {
  margin-top: 10px;
  padding: 10px 15px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.details-btn:hover {
  background: #0056b3;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
}

.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
  text-align: center;
}

.modal-content img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

/* -------------------
   RESPONSIVENESS
------------------- */

/* Small phones */
@media (max-width: 480px) {
  body {
    padding: 0 ;
    font-size: 14px;
    margin: 0 ;
  }

  .product img {
    height: 150px;
  }

  .modal-content {
    width: 95%;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

/* Large desktops */
@media (min-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* ===== VIDEO PAGE STYLES ===== */
/* ----------------- Toast Notifications ----------------- */
.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  min-width: 220px;
  max-width: 320px;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
  opacity: 0;
  transform: translateX(120%);
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast.info {
  background: #3498db;
}
.toast.success {
  background: #2ecc71;
}
.toast.error {
  background: #e74c3c;
}

/* ----------------- Form Error Messages ----------------- */
.error-message {
  font-size: 0.8rem;
  color: #e74c3c;
  margin-top: 0.25rem;
}

input.invalid,
textarea.invalid {
  border: 2px solid #e74c3c !important;
  outline: none;
  animation: shake 0.3s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-4px); }
}

/* ----------------- Section Reveal Animation ----------------- */
.section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== VIDEO PAGE STYLES ===== */
.video-section {
  padding: 60px 20px;
  background: #f0f0f0;  /* light gray background */
}

.video-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #222;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.video-card {
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0px 6px 16px rgba(0,0,0,0.15);
}

.video-card video {
  width: 100%;
  height: 200px;          /* keeps all videos same size */
  object-fit: cover;      /* makes sure video fills frame */
  border-radius: 10px;
}

/* Video title */
.video-card h3 {
  margin: 12px 0 6px;
  font-size: 1.2rem;
  color: #333;
  font-weight: 600;
}

/* Price tag */
.video-card p {
  font-size: 1rem;
  font-weight: 500;
  color: #009688; /* teal accent */
  margin-bottom: 5px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .video-section {
    padding: 40px 15px;
  }

  .video-card video {
    height: 180px;
  }

  .video-card h3 {
    font-size: 1.1rem;
  }

  .video-card p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .video-section h2 {
    font-size: 1.6rem;
  }

  .video-card video {
    height: 160px;
  }
}
/* ----------------- Scroll Down Arrow ----------------- */
.scroll-down {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: slideDown 1.5s ease-in-out infinite;
}
.scroll-down:hover {
  background: var(--accent-2);
}


@keyframes slideDown {
  0% { transform: translateY(-10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Footer Styling */
footer {
  background: linear-gradient(180deg, var(--surface), var(--glass));
  padding: 2rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.08);
}

footer p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
footer p.dark-mode {
  color: var(--surface);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.2rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.social-links a:hover {
  background: var(--accent-2);
  transform: translateY(-4px);
}
/* Contact Section */
.contact-section {
  padding: 60px 20px;
  text-align: center;
  background: #f9f9f9;
  border-radius: 12px;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #222;
}

.contact-section p {
  margin-bottom: 25px;
  color: #555;
}

#contact-form {
  max-width: 600px;
  margin: auto;
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
}

.input-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.input-row input {
  flex: 1;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

textarea {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  margin-bottom: 15px;
}

button {
  width: 100%;
  padding: 14px;
  background: #0077cc;
  color: white;
  font-size: 1.1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #005fa3;
}

/* Toast */
#toast {
  visibility: hidden;
  min-width: 250px;
  margin-left: -125px;
  background: #333;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 12px;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 30px;
  font-size: 16px;
}

#toast.show {
  visibility: visible;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

#toast.success { background: #28a745; }
#toast.error { background: #dc3545; }

@keyframes fadein {
  from { bottom: 0; opacity: 0; }
  to { bottom: 30px; opacity: 1; }
}

@keyframes fadeout {
  from { bottom: 30px; opacity: 1; }
  to { bottom: 0; opacity: 0; }
}
/* Scroll Down Arrow */