/* Legal Page (formatted original styles only; no design changes) */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f8f9fa;
}

.container {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #024173 0%, #1a5490 100%);
  color: #fff;
  text-align: center;
  padding: 4rem 0; 
  position: relative;
  overflow: hidden;
  height: min-content;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="legal-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M10,0 L20,10 L10,20 L0,10 Z" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23legal-pattern)"/></svg>');
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

.hero-content { position: relative; z-index: 2; }

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, #C8A451, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.hero p {
  font-size: 1.3rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200, 164, 81, 0.2);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  border: 2px solid rgba(200, 164, 81, 0.3);
  font-weight: 600;
}

/* Main Content */
.main-content { padding: 0; }

.section-intro { text-align: center; margin-bottom: 4rem; }

.section-intro h2 {
  font-size: 2.5rem;
  color: #024173;
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-intro p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Legal Sections Grid */
.legal-grid {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 4rem;
}

.legal-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  margin: 0 0 30px 0;
  box-shadow: 0 15px 40px rgba(2, 65, 115, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid rgba(200, 164, 81, 0.1);
}

.legal-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(2, 65, 115, 0.15);
  border-color: rgba(200, 164, 81, 0.3);
}

.legal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #024173, #C8A451);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #024173, #1a5490);
  color: #fff;
  border-radius: 15px;
  font-size: 1.5rem;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #024173;
}

.card-content ul { list-style: none; padding: 0; }

.card-content li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  padding: 0.8rem;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 3px solid #C8A451;
}

.card-content li i {
  color: #024173;
  margin-top: 0.2rem;
  font-size: 0.9rem;
}

.card-content li strong { color: #024173; }

/* Special Sections */
.governance-section {
  background: linear-gradient(135deg, #024173 0%, #1a5490 100%);
  color: #fff;
  border-radius: 25px;
  padding: 3rem;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}

.governance-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(200, 164, 81, 0.1) 0%, transparent 70%);
  animation: rotate 30s linear infinite;
}

@keyframes rotate { from { transform: rotate(0); } to { transform: rotate(360deg); } }

.governance-content { position: relative; z-index: 2; }

.governance-title {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 700;
}

.governance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.governance-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.governance-item i {
  font-size: 2.5rem;
  color: #C8A451;
  margin-bottom: 1rem;
}

.governance-item h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Rights Section */
.rights-section {
  background: #fff;
  border-radius: 25px;
  padding: 3rem;
  margin: 3rem 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.rights-title {
  text-align: center;
  font-size: 2.5rem;
  color: #024173;
  margin-bottom: 3rem;
  font-weight: 700;
}

.rights-grid { 
   display: grid; 
   grid-template-columns: 1fr;
 }

.rights-category {
  border: 2px solid #f0f0f0;
  border-radius: 20px;
  padding: 2rem;
   margin: 0 0 20px 0;
  transition: all 0.3s ease;
}

.rights-category:hover {
  border-color: #C8A451;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(200, 164, 81, 0.1);
}

.rights-category h4 {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.3rem;
  color: #024173;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.rights-category i { font-size: 1.5rem; color: #C8A451; }

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .hero p { font-size: 1.1rem; }
  .legal-grid { grid-template-columns: 1fr; gap: 2rem; }
  .legal-card { padding: 2rem; }
  .governance-section { padding: 2rem; }
  .rights-section { padding: 2rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 15px; }
  .hero { padding: 4rem 0 3rem; }
  .hero h1 { font-size: 2rem; }
  .legal-card { padding: 1.5rem; }
  .governance-section { padding: 1.5rem; }
  .rights-section { padding: 1.5rem; }
}
