/* Main Stylesheet */
/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors */
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --accent: #F59E0B;
  --neutral-100: #FFFFFF;
  --neutral-200: #F3F4F6;
  --neutral-300: #E5E7EB;
  --neutral-800: #1F2937;
  --neutral-900: #111827;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #2563EB 0%, #4F46E5 100%);
  --gradient-accent: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Typography */
  --font-base: 'Outfit', sans-serif;
  --radius: 0.75rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-base);
  color: var(--neutral-800);
  background-color: var(--neutral-100);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--neutral-900);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary);
}

.bg-gray {
  background-color: var(--neutral-200);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  /* Pill shape */
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: 120px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #F0F4FF 0%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--neutral-800);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Features/Services */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--neutral-200);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--neutral-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: background 0.3s;
}

.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  color: white;
}

/* Products Section */
.products-wrapper {
  margin-top: 3rem;
}

.product-categories {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.category-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid var(--neutral-300);
  background: white;
  cursor: pointer;
  transition: all 0.3s;
}

.category-btn.active,
.category-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background: white;
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: center;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--neutral-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--neutral-300);
  border-radius: 0.5rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Footer */
footer {
  background: var(--neutral-900);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: block;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.copyright {
  border-top: 1px solid var(--neutral-800);
  padding-top: 2rem;
  text-align: center;
  color: var(--neutral-300);
}

/* Media Queries */
@media (max-width: 900px) {

  .hero-content,
  .about-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-image {
    order: -1;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }
}

/* Category Section Styles */
.category-card {
  position: relative;
  height: 250px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-card:hover img {
  transform: scale(1.1);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.category-title {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ===== Policy / Legal Pages ===== */
.policy-hero {
  padding-top: 120px;
  padding-bottom: 3rem;
  background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 50%, #C7D2FE 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.policy-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
}

.policy-hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(79, 70, 229, 0.06);
}

.policy-hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.policy-hero .policy-date {
  color: var(--neutral-800);
  font-size: 0.95rem;
  opacity: 0.7;
  position: relative;
  z-index: 1;
}

.policy-body {
  padding: 3rem 0 5rem;
  background: var(--neutral-200);
}

.policy-card {
  background: white;
  border-radius: 1rem;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--neutral-300);
  max-width: 900px;
  margin: 0 auto;
}

/* Content Styling inside policy */
.policy-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #EEF2FF;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.policy-card h2::before {
  content: '';
  width: 4px;
  height: 24px;
  background: var(--gradient-primary);
  border-radius: 4px;
  display: inline-block;
  flex-shrink: 0;
}

.policy-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--neutral-900);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.policy-card p {
  font-size: 1rem;
  line-height: 1.85;
  color: #4B5563;
  margin-bottom: 1.25rem;
}

.policy-card ul,
.policy-card ol {
  margin: 1rem 0 1.5rem 1.25rem;
  list-style: none;
}

.policy-card ul li,
.policy-card ol li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.75;
  color: #4B5563;
}

.policy-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-primary);
}

.policy-card ol {
  counter-reset: policy-counter;
}

.policy-card ol li {
  counter-increment: policy-counter;
}

.policy-card ol li::before {
  content: counter(policy-counter) '.';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--primary);
}

.policy-card strong {
  color: var(--neutral-900);
  font-weight: 600;
}

.policy-card a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-card a:hover {
  color: var(--primary-dark);
}

/* Policy Contact Box */
.policy-contact {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #EEF2FF;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}

.policy-contact p {
  margin-bottom: 0.25rem;
  color: var(--neutral-800);
}

/* Responsive */
@media (max-width: 768px) {
  .policy-hero h1 {
    font-size: 2rem;
  }

  .policy-card {
    padding: 1.5rem;
    border-radius: 0.75rem;
  }

  .policy-card h2 {
    font-size: 1.25rem;
  }
}