* { box-sizing: border-box; }
html,body { height: 100%; margin: 0; }

body {
  margin: 0;
  padding: 0;
  padding-top: 7rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background-color: #f8fafc;
  
}


/* -------------------------------------
  * HEADER / NAV STYLES
  * ------------------------------------- */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 60px;
  height: auto;
  margin-right: 10px;
}

.logo-text {
  font-size: 24px;
  font-weight: bold;
  color: #ff4500;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin-right: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
}

.nav-links a:hover {
  color: #1f1caf;
}

.dropdown-arrow {
  font-size: 12px;
}

.search-bar {
  flex-grow: 1;
  max-width: 300px;
  margin: 0 20px;
}

.search-input {
  width: 100%;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 20px;
  outline: none;
}

.user-actions {
  display: flex;
  align-items: center;
}

.account-icon, .cart-icon {
  font-size: 20px;
  margin-left: 15px;
  text-decoration: none;
  color: #333;
}

.account-icon:hover, .cart-icon:hover {
  color: #07328f;
}

/* -------------------------------------
  * MAIN STYLE
  * ------------------------------------- */
main {
  padding: 2rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* This wrapper holds main  */
.content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 90%;
  max-width: 1200px;
  margin: 1rem auto;
  padding: 0 1rem;
}

.terms-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 2rem 0;
  animation: fadeIn 0.6s ease-out;
}

/* Hero */
.terms-hero {
  text-align: center;
  margin-bottom: 3rem;
}
.termsTitle {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  color: #1e3a8a;
  margin-bottom: .5rem;
}
.termsIntro {
  font-size: 1.1rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.accordion-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,.07);
  transition: transform .2s, box-shadow .2s;
}
.accordion-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.1);
}

.accordion-header {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-size: 1.15rem;
}
.accordion-header .icon { font-size: 1.4rem; margin-right: .8rem; }
.accordion-header .chevron { transition: transform .3s; }
.accordion-item[aria-expanded="true"] .chevron { transform: rotate(180deg); }

.accordion-body {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  background: #f9fafb;
  font-size: 1rem;
  line-height: 1.6;
}
.accordion-item[aria-expanded="true"] .accordion-body {
  padding: 1.5rem;
  max-height: 1200px;
}

/* Icon fill animation */
.accordion-header .icon {
  position: relative;
  overflow: hidden;
}
.accordion-header .icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.3);
  transform: translateX(-100%);
  transition: transform .6s ease;
}
.accordion-item[aria-expanded="true"] .icon::after {
  transform: translateX(100%);
}

/* Copy email */
.email-link {
  color: #3b82f6;
  font-weight: 600;
  cursor: pointer;
}
.copy-feedback {
  margin-left: .5rem;
  color: #10b981;
  font-size: .85rem;
  opacity: 0;
  transition: opacity .3s;
}
.copy-feedback.show { opacity: 1; }

/* Dark Mode */
body.dark-mode {
  background-color: #111827;
  color: #e5e7eb;
}
body.dark-mode .terms-page,
body.dark-mode .accordion-item,
body.dark-mode .accordion-body { background: #1f2937; }
body.dark-mode .accordion-header { background: linear-gradient(135deg, #1e40af, #2563eb); }
body.dark-mode .termsTitle { color: #60a5fa; }
body.dark-mode a { color: #93c5fd; }

/* Dark Mode Toggle */
.dark-mode-toggle {
  text-align: center;
  margin: 3rem 0 2rem;
}
.dark-mode-toggle label {
  cursor: pointer;
  font-size: .95rem;
  color: #555;
}
.dark-mode-toggle input { display: none; }
.dark-mode-toggle label i { margin-right: .4rem; }

/* Fade In */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 640px) {
  .termsTitle { font-size: 2.2rem; }
  .accordion-header { font-size: 1rem; padding: 1rem; }
}

/* -------------------------------------
  * FOOTER STYLES
  * ------------------------------------- */

footer {
  background-color: #1e3a8a;
  color: #fff;
  margin-top: auto;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  flex-shrink: 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0 20px;
  box-sizing: border-box;}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
  border-bottom: 4px solid #3b82f6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-section p {
  color: #e2e8f0;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
}

.social-row {
  display: flex;
  gap: 12px;
  margin: 15px 0;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  color: white;
}

.social-icon:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.2);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background-color: #3b82f6;
  margin-top: 20px;
}

.contact-info p {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  color: #e2e8f0;
  font-size: 14px;
}

.contact-info i {
  margin-right: 8px;
  width: 16px;
}

.shop-categories {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 20px 20px;

  font-size: 14px;
  background-color:rgba(0, 0, 0, 0.432)


}

.footer-bottom p {
  color: #e2e8f0;
}

.footer-links {
  display: flex;
  gap: 15px;
}

.footer-links a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    background-color:rgba(0, 0, 0, 0.432)
  }
  
  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .footer-container {
    padding: 0 15px;
  }
  
  .footer-bottom {
    padding: 0 15px;
  }
  
  .footer-links {
    gap: 10px;
  }
}







