/* Font Face Declarations */
@font-face {
  font-family: 'Gudea';
  src: url('../fonts/Gudea-Bold.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'FiraSans';
  src: url('../fonts/FiraSans-Regular.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'AlegreyaSans';
  src: url('../fonts/AlegreyaSans-Bold.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Regular.ttf') format('truetype');
  font-display: swap;
}

/* Base Styles - Fixed horizontal scrolling */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  height: 100%;
}

html {
  overflow-y: auto; /* single vertical scrollbar on root */
}

body {
  background: #f5f6fa;
  color: #222;
  font-family: 'FiraSans', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  position: relative;
  width: 100%;
  overflow-y: visible; /* prevent second vertical scrollbar */
  min-height: 100vh;
}

/* Prevent media-driven horizontal overflow */
img, picture, video, canvas, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography */
a {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

h1 {
  font-family: 'AlegreyaSans', sans-serif;
  font-size: 35px;
  margin: 0;
}

h2 {
  font-family: 'Gudea', sans-serif;
  font-size: 30px;
  margin: 0;
}

h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 25px;
  margin: 0;
}

h4 {
  font-family: 'JosefinSans', sans-serif;
  font-size: 20px;
  margin: 0;
}

p {
  font-family: 'FiraSans', sans-serif;
  margin: 0;
}

/* Enhanced Page Header */
.page-header {
  position: relative;
  background: linear-gradient(135deg, #000066 0%, #1a1a8c 50%, #3333cc 100%);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0;
  width: 100%;
}

.header-background {
  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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  width: 100%;
  height: 100%;
}

.decoration-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.circle-1 {
  width: 80px;
  height: 80px;
  top: 20px;
  left: 10%;
  animation-delay: 0s;
}

.circle-2 {
  width: 120px;
  height: 120px;
  top: 60px;
  right: 15%;
  animation-delay: 2s;
}

.circle-3 {
  width: 60px;
  height: 60px;
  bottom: 40px;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px;
  text-align: center;
  color: white;
  width: 100%;
  overflow-x: hidden;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
  font-size: 16px;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.breadcrumb-item:hover {
  color: white;
}

.breadcrumb-item.current {
  color: white;
  font-weight: 600;
}

.breadcrumb-icon {
  width: 20px;
  height: 20px;
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
}

/* Header Title Section */
.header-title-section {
  margin-bottom: 40px;
}

.page-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  color: white;
}

.title-icon {
  width: 48px;
  height: 48px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.page-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

/* Header Stats */
.header-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 200px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-icon {
  width: 48px;
  height: 48px;
  color: #c5c5fc;
}

.stat-content {
  text-align: left;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 4px;
}

/* Main Content */
.main-content {
  padding: 40px 0;
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

.content-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

/* Privacy Policy Section */
.privacy-policy-section {
  width: 100%;
  margin-top: 40px;
}

.privacy-policy {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 2px solid #e5e7eb;
  border-radius: 24px;
  padding: 48px;
  overflow-wrap: break-word;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out;
}

.privacy-policy:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  border-color: #c5c5fc;
}

.policy-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  align-items: start;
}

.left-content {
  text-align: left;
}

.left-content p {
  font-size: 18px;
  color: #374151;
  line-height: 1.7;
}

.right-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.right-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.right-content img:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.policy-section {
  margin: 32px 0;
}

.policy-title {
  font-size: 28px;
  color: #000066;
  text-decoration: underline;
  text-align: left;
  margin: 32px 0 20px 0;
  font-weight: 700;
  position: relative;
}

.policy-title.center {
  text-align: center;
}

.policy-title.center::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(135deg, #000066 0%, #1a1a8c 100%);
  border-radius: 2px;
}

.policy-box {
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
  border: 2px solid #c5c5fc;
  border-radius: 20px;
  margin: 24px 0;
  padding: 24px;
  transition: all 0.3s ease;
}

.policy-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.policy-box p {
  font-size: 18px;
  color: #374151;
  text-align: center;
  line-height: 1.7;
  margin: 0;
}

.policy-text {
  margin: 0 0 20px 0;
  font-size: 18px;
  color: #4a5568;
  text-align: justify;
  line-height: 1.7;
}

.policy-footer {
  background: linear-gradient(135deg, #000066 0%, #1a1a8c 100%);
  color: #ffffff;
  font-size: 18px;
  margin: 32px 0 0 0;
  padding: 32px;
  text-align: justify;
  border-radius: 20px;
  border: 2px solid #e5e7eb;
  transition: all 0.3s ease;
}

.policy-footer:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.policy-footer p {
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
}



/* Responsive Media Queries */
@media (max-width: 1200px) {
  .privacy-policy {
    max-width: 900px;
    padding: 40px;
  }
  
  .page-title {
    font-size: 42px;
  }
  
  .title-icon {
    width: 42px;
    height: 42px;
  }
  
  .stat-card {
    min-width: 180px;
    padding: 20px;
  }
  
  .stat-value {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .content-container {
    padding: 0 16px;
    width: 100%;
  }
  
  .privacy-policy {
    padding: 32px 24px;
    margin-top: 20px;
  }
  
  .policy-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .left-content {
    text-align: center;
  }
  
  .policy-title {
    font-size: 24px;
    margin: 24px 0 16px 0;
  }
  
  .policy-title.center {
    text-align: center;
  }
  
  .policy-box {
    padding: 20px;
    margin: 20px 0;
  }
  
  .policy-box p,
  .policy-text {
    font-size: 16px;
  }
  
  .policy-footer {
    padding: 24px;
    margin: 24px 0 0 0;
  }
  
  .policy-footer p {
    font-size: 16px;
  }
  
  .page-header {
    min-height: 250px;
    width: 100%;
  }
  
  .header-content {
    padding: 30px 20px;
    width: 100%;
  }
  
  .page-title {
    font-size: 32px;
    flex-direction: column;
    gap: 12px;
  }
  
  .title-icon {
    width: 32px;
    height: 32px;
  }
  
  .page-subtitle {
    font-size: 16px;
  }
  
  .header-stats {
    gap: 20px;
    width: 100%;
  }
  
  .stat-card {
    min-width: 160px;
    padding: 20px;
    flex-direction: column;
    text-align: center;
  }
  
  .stat-content {
    text-align: center;
  }
  
  .stat-value {
    font-size: 20px;
  }
  
  .breadcrumbs {
    font-size: 14px;
    gap: 8px;
  }
  
  .breadcrumb-icon {
    width: 16px;
    height: 16px;
  }
  
  .decoration-circle {
    display: none;
  }
  
  
}

@media (max-width: 480px) {
  .header-content {
    padding: 24px 16px;
  }
  
  .page-title {
    font-size: 28px;
  }
  
  .title-icon {
    width: 28px;
    height: 28px;
  }
  
  .page-subtitle {
    font-size: 16px;
  }
  
  .stat-card {
    min-width: 140px;
    padding: 16px;
  }
  
  .stat-value {
    font-size: 20px;
  }
  
  .stat-label {
    font-size: 12px;
  }
  
  .content-container {
    padding: 0 12px;
  }
  
  .privacy-policy {
    padding: 24px 16px;
    margin-top: 16px;
  }
  
  .policy-title {
    font-size: 22px;
    margin: 20px 0 12px 0;
  }
  
  .policy-box {
    padding: 16px;
    margin: 16px 0;
  }
  
  .policy-box p,
  .policy-text {
    font-size: 15px;
  }
  
  .policy-footer {
    padding: 20px;
    margin: 20px 0 0 0;
  }
  
  .policy-footer p {
    font-size: 15px;
  }
  
  
}

/* Focus Styles for Accessibility */
a:focus,
.policy-title:focus {
  outline: 2px solid #000066;
  outline-offset: 2px;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}
