/* Code of Conduct Page Styles */

:root {
  --conduct-primary: #02859F;
  --conduct-text: #000000;
  --conduct-text-muted: rgba(0, 0, 0, 0.7);
  --conduct-bg: #ffffff;
  --conduct-border: rgba(0, 0, 0, 0.1);
  --conduct-hover: rgba(2, 133, 159, 0.05);
}

/* ===== CONTAINER ===== */

.container {
  width: 92%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.conduct-hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
  max-width: none;
}

/* ===== BREADCRUMB NAVIGATION ===== */

.breadcrumb-nav {
  background: var(--conduct-bg);
  padding: 1rem 0;
  border-bottom: 1px solid var(--conduct-border);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--conduct-text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.breadcrumb-link:hover,
.breadcrumb-link:focus {
  color: var(--conduct-primary);
  outline: none;
}

.breadcrumb-link:focus {
  border-radius: 4px;
  box-shadow: 0 0 0 2px rgba(2, 133, 159, 0.3);
}

.breadcrumb-link svg {
  flex-shrink: 0;
}

.breadcrumb-divider {
  color: var(--conduct-border);
  font-weight: 300;
  margin: 0 0.25rem;
}

.breadcrumb-current {
  color: var(--conduct-text);
  font-weight: 600;
}

/* ===== HERO SECTION ===== */

.conduct-hero {
  /* position: relative; */
  padding: 0;
  background: var(--conduct-bg);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 20%, rgba(2, 133, 159, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(2, 133, 159, 0.06) 0%, transparent 50%),
              linear-gradient(135deg, rgba(2, 133, 159, 0.02) 0%, transparent 100%);
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.floating-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--conduct-primary);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

.dot-1 {
  top: 20%;
  left: 15%;
  animation-delay: 0s;
}

.dot-2 {
  top: 60%;
  right: 20%;
  animation-delay: 2s;
}

.dot-3 {
  bottom: 30%;
  left: 25%;
  animation-delay: 4s;
}

.dot-4 {
  top: 40%;
  right: 15%;
  animation-delay: 1s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-20px) scale(1.1);
    opacity: 0.6;
  }
}

.hero-content {
  /* position: relative; */
  z-index: 2;
  text-align: center;
  max-width: 900px;
  width: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-header {
  margin-bottom: 3rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(2, 133, 159, 0.08);
  color: var(--conduct-primary);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
  border: 2px solid rgba(2, 133, 159, 0.15);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.hero-badge:hover {
  background: rgba(2, 133, 159, 0.12);
  border-color: rgba(2, 133, 159, 0.25);
  transform: translateY(-2px);
}

.badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--conduct-primary);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.hero-title {
  margin-bottom: 0;
}

.title-main {
  display: block;
  font-size: 4rem;
  font-weight: 800;
  color: var(--conduct-text);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.title-accent {
  display: block;
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--conduct-primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.hero-body {
  max-width: 750px;
  margin: 0 auto;
}

.hero-description {
  font-size: 1.4rem;
  color: var(--conduct-text-muted);
  line-height: 1.6;
  margin-bottom: 3rem;
  font-weight: 400;
}

.hero-highlights {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  width: 100%;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--conduct-text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.highlight-item:hover {
  color: var(--conduct-primary);
  transform: translateY(-2px);
}

.highlight-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(2, 133, 159, 0.1);
  border-radius: 8px;
  color: var(--conduct-primary);
  transition: all 0.3s ease;
}

.highlight-item:hover .highlight-icon {
  background: var(--conduct-primary);
  color: white;
  transform: scale(1.1);
}

/* ===== CONTENT SECTION ===== */

.conduct-content {
  padding: 4rem 0 6rem;
  background: var(--conduct-bg);
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.content-section {
  margin-bottom: 3rem;
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 650;
  color: var(--conduct-text);
  margin-bottom: 0.75rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--conduct-text-muted);
  font-style: italic;
  margin: 0;
  font-weight: 400;
  line-height: 1.5;
}

.section-content {
  line-height: 1.7;
}

.section-content p {
  color: var(--conduct-text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 400;
}

.section-content p:last-child {
  margin-bottom: 0;
}

/* ===== POLICY ITEMS ===== */

.policy-item {
  background: var(--conduct-bg);
  border: 1px solid var(--conduct-border);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.policy-item:hover {
  border-color: rgba(2, 133, 159, 0.2);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.policy-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--conduct-primary);
  color: #ffffff;
  border-radius: 12px;
  flex-shrink: 0;
}

.policy-header h3 {
  font-size: 1.6rem;
  font-weight: 650;
  color: var(--conduct-text);
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.policy-content {
  color: var(--conduct-text-muted);
  line-height: 1.7;
}

.policy-content p {
  margin-bottom: 1.4rem;
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 400;
}

.policy-content p:last-child {
  margin-bottom: 0;
}

/* ===== POLICY LISTS ===== */

.policy-list {
  margin-top: 1.5rem;
}

.policy-list h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--conduct-text);
  margin-bottom: 1rem;
}

.policy-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.policy-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--conduct-text-muted);
  line-height: 1.6;
}

.policy-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 6px;
  height: 6px;
  background: var(--conduct-primary);
  border-radius: 50%;
  transform: translateY(-50%);
}

.policy-list li:last-child {
  margin-bottom: 0;
}

/* ===== PROFESSIONALISM ITEMS ===== */

.professionalism-items {
  margin-top: 1.5rem;
}

.sub-policy {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(2, 133, 159, 0.02);
  border: 1px solid rgba(2, 133, 159, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.sub-policy:hover {
  background: rgba(2, 133, 159, 0.05);
  border-color: rgba(2, 133, 159, 0.15);
}

.sub-policy:last-child {
  margin-bottom: 0;
}

.sub-policy h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--conduct-text);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.sub-policy p {
  color: var(--conduct-text-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.sub-policy p:last-child {
  margin-bottom: 0;
}

/* ===== FINAL SECTION ===== */

.final-section {
  border-color: var(--conduct-primary);
  border-width: 2px;
  background: rgba(2, 133, 159, 0.02);
}

.final-section:hover {
  background: rgba(2, 133, 159, 0.05);
  box-shadow: 0 8px 25px rgba(2, 133, 159, 0.1);
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */

/* Focus styles for better keyboard navigation */
.policy-item:focus-within {
  border-color: var(--conduct-primary);
  box-shadow: 0 0 0 3px rgba(2, 133, 159, 0.1);
}

/* Improved contrast for better readability */
@media (prefers-contrast: high) {
  :root {
    --conduct-text-muted: rgba(0, 0, 0, 0.85);
    --conduct-border: rgba(0, 0, 0, 0.2);
  }
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .policy-item,
  .sub-policy,
  .breadcrumb-link {
    transition: none;
  }
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 992px) {
  .conduct-hero {
    min-height: 90vh;
  }
  
  .conduct-hero .container {
    min-height: 90vh;
  }
  
  .title-main {
    font-size: 3.5rem;
  }
  
  .title-accent {
    font-size: 2.25rem;
  }
  
  .hero-description {
    font-size: 1.3rem;
  }
  
  .hero-highlights {
    gap: 2rem;
  }
  
  .content-wrapper {
    max-width: 95%;
  }
}

@media (max-width: 768px) {
  .breadcrumb-nav {
    padding: 0.75rem 0;
  }
  
  .breadcrumb-list {
    font-size: 0.85rem;
  }
  
  .breadcrumb-link svg {
    width: 14px;
    height: 14px;
  }
  
  .conduct-hero {
    min-height: 80vh;
  }
  
  .conduct-hero .container {
    min-height: 80vh;
  }
  
  .hero-header {
    margin-bottom: 2.5rem;
  }
  
  .hero-badge {
    padding: 0.875rem 1.75rem;
    font-size: 0.9rem;
    margin-bottom: 2rem;
  }
  
  .badge-icon {
    width: 28px;
    height: 28px;
  }
  
  .title-main {
    font-size: 2.75rem;
  }
  
  .title-accent {
    font-size: 1.875rem;
  }
  
  .hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
  }
  
  .hero-highlights {
    gap: 1.5rem;
    justify-content: center;
  }
  
  .highlight-item {
    gap: 0.5rem;
    font-size: 0.9rem;
  }
  
  .highlight-icon {
    width: 32px;
    height: 32px;
  }
  
  .conduct-content {
    padding: 3rem 0 4rem;
  }
  
  .content-section {
    margin-bottom: 2.5rem;
  }
  
  .section-header h2 {
    font-size: 1.75rem;
  }
  
  .policy-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .policy-header {
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }
  
  .policy-icon {
    width: 40px;
    height: 40px;
  }
  
  .policy-header h3 {
    font-size: 1.25rem;
  }
  
  .sub-policy {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }
  
  .policy-list li {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: 95%;
    padding: 0 0.75rem;
  }
  
  .breadcrumb-nav {
    padding: 0.5rem 0;
  }
  
  .breadcrumb-list {
    font-size: 0.8rem;
    flex-wrap: wrap;
    gap: 0.25rem;
  }
  
  .breadcrumb-link {
    gap: 0.25rem;
  }
  
  .conduct-hero {
    min-height: 70vh;
  }
  
  .conduct-hero .container {
    min-height: 70vh;
  }
  
  .hero-header {
    margin-bottom: 2rem;
  }
  
  .hero-badge {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
    margin-bottom: 1.75rem;
    gap: 0.5rem;
  }
  
  .badge-icon {
    width: 24px;
    height: 24px;
  }
  
  .title-main {
    font-size: 2.25rem;
    line-height: 1.1;
  }
  
  .title-accent {
    font-size: 1.5rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .hero-highlights {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .highlight-item {
    gap: 0.5rem;
    font-size: 0.85rem;
  }
  
  .highlight-icon {
    width: 28px;
    height: 28px;
  }
  
  .floating-dot {
    width: 6px;
    height: 6px;
  }
  
  .conduct-content {
    padding: 8rem 0 3.5rem;
  }
  
  .section-header h2 {
    font-size: 1.5rem;
    line-height: 1.2;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .policy-item {
    padding: 1.25rem;
    border-radius: 8px;
  }
  
  .policy-header {
    gap: 0.75rem;
    margin-bottom: 1rem;
  }
  
  .policy-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }
  
  .policy-header h3 {
    font-size: 1.15rem;
    line-height: 1.2;
  }
  
  .sub-policy {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.25rem;
  }
  
  .sub-policy h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .sub-policy p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .policy-list li {
    font-size: 0.9rem;
    padding-left: 1.25rem;
  }
  
  .policy-list li::before {
    width: 5px;
    height: 5px;
    top: 0.7rem;
  }
}