/* ========== PROFESSIONAL POLICY PAGE STYLING ========== */

main {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
}

/* Policy Hero Section - Enterprise Design */

.policy-hero-section {
  position: relative;
  background: linear-gradient(135deg, #2b2a95 0%, #1e3a8a 50%, #0078d7 100%);
  padding: 120px 0 100px 0;
  overflow: visible;
  color: white;
}

.policy-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 188, 242, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  animation: backgroundShift 15s ease-in-out infinite;
  z-index: 0;
}

@keyframes backgroundShift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-20px, 20px) scale(1.05);
  }
}

.policy-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 2;
  text-align: center;
}

.policy-logo-container {
  margin-bottom: 50px;
  animation: fadeInScale 1s ease-out;
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.6) translateY(40px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.policy-logo-wrapper {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 10;
}

.shield-icon-ring {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 140px;
  height: 140px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 35px;
  backdrop-filter: blur(10px);
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.2);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: visible;
}

.shield-icon-ring::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  background: linear-gradient(135deg, rgba(0, 188, 242, 0.3), rgba(255, 255, 255, 0.1));
  border-radius: 35px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.shield-icon-ring:hover {
  transform: translateY(-15px) scale(1.08);
  box-shadow:
    0 35px 90px rgba(0, 0, 0, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.shield-icon-ring:hover::before {
  opacity: 1;
}

.shield-icon-ring i {
  font-size: 70px;
  color: white;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

.policy-content-hero {
  position: relative;
  z-index: 2;
}

.policy-title {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #ffffff 0%, #00bcf2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
  line-height: 1.2;
  animation: fadeInUp 1s ease-out 0.2s both;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.policy-subtitle {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.5px;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.policy-description {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
  max-width: 850px;
  margin: 0 auto 60px;
  text-align: justify;
  animation: fadeInUp 1s ease-out 0.4s both;
}

/* Enhanced Professional Stats Section */

.policy-stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out 0.5s both;
}

.stat-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 35px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.1),
    inset 0 1px 2px rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 188, 242, 0.8), transparent);
  transition: left 0.5s ease;
}

.stat-card:hover {
  transform: translateY(-12px) scale(1.02);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(0, 188, 242, 0.5);
  box-shadow:
    0 20px 60px rgba(0, 188, 242, 0.2),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.stat-card:hover::before {
  left: 100%;
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(0, 188, 242, 0.3), rgba(0, 188, 242, 0.1));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: #00bcf2;
  transition: all 0.4s ease;
  box-shadow: 0 5px 20px rgba(0, 188, 242, 0.2);
}

.stat-card:hover .stat-icon {
  background: linear-gradient(135deg, rgba(0, 188, 242, 0.5), rgba(0, 188, 242, 0.2));
  transform: scale(1.1) rotateY(360deg);
  box-shadow: 0 8px 30px rgba(0, 188, 242, 0.4);
}

.stat-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-number {
  font-size: 44px;
  font-weight: 900;
  color: #00bcf2;
  display: block;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-label {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin: 8px 0 0 0;
}

.stat-description {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin-top: 8px;
  text-align: center;
}

/* Policy Main Content Section */

.policy-main-content {
  padding: 80px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.policies-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Professional Tab Navigation */

.policy-tabs-wrapper {
  background: white;
  border-radius: 25px;
  box-shadow: 0 15px 50px rgba(43, 42, 149, 0.1);
  overflow: hidden;
  margin-bottom: 50px;
  border: 2px solid rgba(43, 42, 149, 0.08);
}

.policy-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 0;
  border-bottom: 3px solid #f0f0f0;
}

.policy-tabs button {
  flex: 1;
  padding: 20px 25px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  background: white;
  color: #495057;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.policy-tabs button::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, #2b2a95, #00bcf2);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.policy-tabs button:hover {
  background: rgba(43, 42, 149, 0.05);
  color: #2b2a95;
}

.policy-tabs button:hover::before {
  width: 100%;
}

.policy-tabs button.active {
  background: linear-gradient(135deg, #2b2a95, #1e3a8a);
  color: white;
}

.policy-tabs button.active::before {
  width: 100%;
}

/* Policy Content Sections - Card Style */

.policy-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.policy-content.active {
  display: block;
}

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

/* Policy Content Card */

.policy-card {
  background: white;
  border-radius: 25px;
  padding: 50px;
  box-shadow: 0 20px 60px rgba(43, 42, 149, 0.12);
  border: 2px solid rgba(43, 42, 149, 0.08);
  transition: all 0.4s ease;
}

.policy-card:hover {
  box-shadow: 0 30px 80px rgba(43, 42, 149, 0.18);
  border-color: #00bcf2;
  transform: translateY(-5px);
}

.policy-card h2 {
  font-size: 36px;
  font-weight: 800;
  color: #2b2a95;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  letter-spacing: -0.5px;
}

.policy-card h2::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 36px;
  background: linear-gradient(180deg, #2b2a95, #00bcf2);
  border-radius: 3px;
}

.policy-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1e3a8a;
  margin-top: 30px;
  margin-bottom: 15px;
  letter-spacing: -0.3px;
}

.policy-card h3:first-of-type {
  margin-top: 0;
}

.policy-card p {
  font-size: 15px;
  line-height: 2;
  color: #495057;
  text-align: justify;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.policy-card strong {
  color: #2b2a95;
  font-weight: 700;
}

/* Policy Highlight Box */

.policy-highlight-box {
  background: linear-gradient(135deg, rgba(43, 42, 149, 0.05), rgba(0, 188, 242, 0.05));
  border-left: 5px solid #00bcf2;
  padding: 25px 30px;
  border-radius: 15px;
  margin: 30px 0;
  box-shadow: 0 10px 30px rgba(43, 42, 149, 0.06);
}

.policy-highlight-box p {
  margin: 0;
  color: #2c3e50;
  font-weight: 600;
}

/* Section Divider */

.policy-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #dee2e6, transparent);
  margin: 40px 0;
}

/* Responsive Design */

@media (max-width: 992px) {
  .policy-hero-section {
    padding: 100px 0 80px 0;
  }

  .shield-icon-ring {
    width: 130px;
    height: 130px;
    border-radius: 32px;
  }

  .shield-icon-ring i {
    font-size: 65px;
  }

  .policy-title {
    font-size: 42px;
  }

  .policy-subtitle {
    font-size: 20px;
  }

  .policy-description {
    font-size: 15px;
    max-width: 750px;
    margin: 0 auto 50px;
  }

  .policy-stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-card {
    padding: 30px;
  }

  .stat-number {
    font-size: 40px;
  }

  .stat-label {
    font-size: 15px;
  }

  .stat-description {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .policy-hero-section {
    padding: 80px 0 60px 0;
  }

  .policy-hero-container {
    padding: 0 20px;
  }

  .policy-logo-container {
    margin-bottom: 40px;
  }

  .shield-icon-ring {
    width: 120px;
    height: 120px;
    border-radius: 30px;
    padding: 20px;
  }

  .shield-icon-ring i {
    font-size: 60px;
  }

  .policy-title {
    font-size: 32px;
  }

  .policy-subtitle {
    font-size: 18px;
  }

  .policy-description {
    font-size: 14px;
    line-height: 1.8;
    margin: 0 auto 40px;
  }

  .policy-stats-container {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .stat-card {
    padding: 25px;
    border-radius: 18px;
  }

  .stat-icon {
    width: 55px;
    height: 55px;
    font-size: 26px;
    margin: 0 auto 18px;
  }

  .stat-number {
    font-size: 36px;
  }

  .stat-label {
    font-size: 14px;
    letter-spacing: 1px;
  }

  .stat-description {
    font-size: 12px;
    line-height: 1.4;
  }
}

@media (max-width: 768px) {
  .policies-container {
    padding: 0 15px;
  }

  .policy-tabs-wrapper {
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 12px 40px rgba(43, 42, 149, 0.1);
  }

  .policy-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-bottom: 2px solid #f0f0f0;
  }

  .policy-tabs button {
    padding: 16px 12px;
    font-size: 13px;
    font-weight: 600;
    word-wrap: break-word;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: none;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  .policy-tabs button i {
    font-size: 16px;
    margin: 0 !important;
  }

  .policy-tabs button::before {
    bottom: -2px;
    height: 3px;
  }

  .policy-card {
    padding: 35px;
    border-radius: 22px;
    box-shadow: 0 15px 50px rgba(43, 42, 149, 0.1);
  }

  .policy-card h2 {
    font-size: 26px;
    margin-bottom: 25px;
    gap: 12px;
  }

  .policy-card h2::before {
    height: 26px;
  }

  .policy-card h3 {
    font-size: 19px;
    margin-top: 25px;
    margin-bottom: 14px;
  }

  .policy-card p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 18px;
    text-align: justify;
  }

  .policy-highlight-box {
    padding: 22px 26px;
    margin: 28px 0;
    border-radius: 14px;
    border-left: 4px solid #00bcf2;
  }

  .policy-highlight-box p {
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
  }

  .policy-main-content {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .policy-hero-section {
    padding: 60px 0 50px 0;
  }

  .policy-hero-container {
    padding: 0 15px;
  }

  .policy-logo-container {
    margin-bottom: 35px;
  }

  .shield-icon-ring {
    width: 110px;
    height: 110px;
    border-radius: 28px;
    padding: 18px;
    border: 2px solid rgba(255, 255, 255, 0.25);
  }

  .shield-icon-ring i {
    font-size: 54px;
  }

  .policy-title {
    font-size: 26px;
    margin-bottom: 12px;
  }

  .policy-subtitle {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .policy-description {
    font-size: 13px;
    line-height: 1.7;
    margin: 0 auto 35px;
    text-align: justify;
  }

  .policy-stats-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stat-card {
    padding: 22px;
    border-radius: 16px;
    gap: 10px;
  }

  .stat-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
    margin: 0 auto 15px;
  }

  .stat-number {
    font-size: 32px;
    margin-bottom: 5px;
  }

  .stat-label {
    font-size: 13px;
    letter-spacing: 0.8px;
  }

  .stat-description {
    font-size: 11px;
    line-height: 1.4;
    margin-top: 6px;
  }

  .policies-container {
    padding: 0 12px;
  }

  .policy-tabs-wrapper {
    border-radius: 18px;
    margin-bottom: 35px;
    box-shadow: 0 10px 35px rgba(43, 42, 149, 0.1);
  }

  .policy-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .policy-tabs button {
    padding: 14px 10px;
    font-size: 11px;
    font-weight: 700;
    word-wrap: break-word;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-bottom: none;
    min-height: 65px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    line-height: 1.1;
  }

  .policy-tabs button i {
    font-size: 14px;
    margin: 0 !important;
  }

  .policy-tabs button::before {
    bottom: -3px;
    height: 2px;
  }

  .policy-card {
    padding: 28px;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(43, 42, 149, 0.1);
  }

  .policy-card h2 {
    font-size: 24px;
    margin-bottom: 22px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .policy-card h2::before {
    width: 5px;
    height: 24px;
    min-width: 5px;
  }

  .policy-card h3 {
    font-size: 18px;
    margin-top: 22px;
    margin-bottom: 13px;
  }

  .policy-card h3:first-of-type {
    margin-top: 8px;
  }

  .policy-card p {
    font-size: 13px;
    line-height: 1.75;
    margin-bottom: 16px;
    text-align: justify;
    color: #495057;
  }

  .policy-highlight-box {
    padding: 20px 22px;
    margin: 25px 0;
    border-radius: 12px;
    border-left: 4px solid #00bcf2;
    background: linear-gradient(135deg, rgba(43, 42, 149, 0.06), rgba(0, 188, 242, 0.06));
  }

  .policy-highlight-box p {
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
    color: #2c3e50;
  }

  .policy-main-content {
    padding: 50px 0;
  }
}

@media (max-width: 360px) {
  .policy-hero-section {
    padding: 50px 0 40px 0;
  }

  .policy-hero-container {
    padding: 0 12px;
  }

  .shield-icon-ring {
    width: 100px;
    height: 100px;
    border-radius: 25px;
    padding: 15px;
  }

  .shield-icon-ring i {
    font-size: 50px;
  }

  .policy-title {
    font-size: 24px;
  }

  .stat-number {
    font-size: 28px;
  }

  .policies-container {
    padding: 0 10px;
  }

  .policy-tabs-wrapper {
    border-radius: 16px;
  }

  .policy-tabs button {
    padding: 12px 8px;
    font-size: 10px;
    min-height: 60px;
  }

  .policy-tabs button i {
    font-size: 12px;
  }

  .policy-card {
    padding: 24px;
  }

  .policy-card h2 {
    font-size: 22px;
  }

  .policy-card h3 {
    font-size: 16px;
  }

  .policy-card p {
    font-size: 12px;
  }

  .policy-highlight-box {
    padding: 18px 20px;
    margin: 20px 0;
  }

  .policy-highlight-box p {
    font-size: 11px;
  }
}
