/*
Theme Name: NTS Rider Recruit
Theme URI: https://ntsrider.com/
Author: NTS Revelation + AI
Author URI: https://ntsrevelation.com/
Description: Modern, responsive theme for rider recruitment. Features job listings, province taxonomy, Block Theme support, and Thai language optimization.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ntsrider
Network: false
*/
/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root{
  --pri:#22c55e; /* เขียวหลัก NTS Rider */
  --pri-dark:#16a34a; /* เขียวเข้ม */
  --acc:#f97316; /* ส้ม accent */
  --acc-dark:#ea580c; /* ส้มเข้ม */
  --bg:#ffffff; /* พื้นหลังขาว */
  --card:#f8fafc; /* การ์ดสีขาวอ่อน */
  --muted:#64748b; /* สีเทาอ่อน */
  --text:#1e293b; /* ข้อความสีเทาเข้ม */
  --text-light:#64748b; /* ข้อความสีเทาอ่อน */
  --border:#e2e8f0; /* เส้นขอบ */
  --yellow:#f59e0b;
  --red:#ef4444;
  --success:#22c55e;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}

/* Typography */
body {
  font-family: 'Noto Sans Thai', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Apply Card Responsive Styles */
.apply-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.apply-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15) !important;
}

/* Apply Button Hover Effect */
.apply-card .btn:hover {
  background: #218838 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4) !important;
}

/* Qualifications Grid Responsive */
.qualifications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.qualification-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qualification-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15) !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .qualifications-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px;
  }
  
  .apply-card {
    padding: 40px 30px !important;
    margin: 0 20px !important;
  }
  
  .apply-card h2 {
    font-size: 2rem !important;
  }
  
  .qualification-card {
    padding: 25px !important;
  }
  
  .qualification-card h3 {
    font-size: 1.1rem !important;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .qualifications-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text);
  letter-spacing: -0.025em;
}

h1 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
}

h2 {
  font-size: 3rem;
  font-weight: 600;
}

h3 {
  font-size: 2rem;
  font-weight: 600;
}

h4 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
  color: var(--text);
  font-size: 1.1rem;
}

.text-large {
  font-size: 1.125rem;
  line-height: 1.6;
}

.text-small {
  font-size: 0.875rem;
  line-height: 1.5;
}

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

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

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

a {
  color: var(--acc);
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
}

a:hover {
  color: var(--acc-dark);
  text-decoration: underline;
}
.container{max-width:1120px;margin:0 auto;padding:0 16px}
.grid{display:grid;gap:16px}
.btn{display:inline-flex;align-items:center;gap:.5rem;padding:14px 28px;border-radius:8px;background:linear-gradient(135deg,var(--pri),var(--pri-dark));color:white;font-weight:600;box-shadow:0 4px 12px rgba(34,197,94,.25);border:none;cursor:pointer;transition:all 0.2s ease;font-size:1.1rem;text-decoration:none;}
.btn:hover{transform:translateY(-2px);background:linear-gradient(135deg,var(--pri-dark),var(--pri));box-shadow:0 6px 20px rgba(34,197,94,.35)}
.btn-secondary{background:linear-gradient(135deg,var(--acc),var(--acc-dark));box-shadow:0 4px 12px rgba(249,115,22,.25);}
.btn-secondary:hover{background:linear-gradient(135deg,var(--acc-dark),var(--acc));box-shadow:0 6px 20px rgba(249,115,22,.35)}
.btn-group{display:flex;gap:16px;margin-top:32px;flex-wrap:wrap}
.badge{display:inline-block;padding:1rem 1.5rem;border:2px solid var(--pri);border-radius:25px;color:white;font-size:1.2rem;background:linear-gradient(135deg,var(--pri),var(--pri-dark));font-weight:600;box-shadow:0 4px 12px rgba(34,197,94,.25);margin-bottom:1.5rem;}
.card{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:24px;box-shadow:0 2px 8px rgba(0,0,0,.08);transition:box-shadow 0.2s ease;}
.card:hover{box-shadow:0 4px 16px rgba(0,0,0,.12)}
.hero{padding:120px 0 80px;background:
 linear-gradient(135deg, var(--bg) 0%, #f8fafc 100%);
 position:relative;min-height:80vh;display:flex;align-items:center;overflow:hidden;}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-content {
  max-width: 600px;
  text-align: left;
}

.hero-image {
  position: relative;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hero-image:hover .hero-img {
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(34, 197, 94, 0.1), rgba(249, 115, 22, 0.1));
  pointer-events: none;
}
.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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%2322c55e" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');opacity:0.3;}
.hero .container{position:relative;z-index:1;}
.hero h1{font-size:clamp(40px,6vw,64px);line-height:1.2;margin:0 0 16px;font-weight:700;color:var(--text)}
.hero p{color:var(--text-light);max-width:600px;font-size:1.3rem;margin-bottom:32px}
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-top:40px}
.stat{background:white;border:1px solid var(--border);border-radius:12px;padding:24px;text-align:center;box-shadow:0 2px 8px rgba(0,0,0,.05)}
.stat b{font-size:40px;color:var(--pri);display:block;margin-bottom:8px;font-weight:700}
.stat span{color:var(--text-light);font-size:1.1rem}
.kicker{letter-spacing:.1em;font-size:.8rem;color:var(--text-light);text-transform:uppercase;font-weight:600}
.footer{padding:48px 0 32px;color:var(--text-light);border-top:1px solid var(--border);margin-top:64px;background:var(--card)}

/* New Footer Styles */
.footer-new {
  background: #2c3e50;
  color: #ffffff;
  padding: 40px 0 20px;
  margin-top: 64px;
}

.footer-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
  margin-bottom: 24px;
}

.footer-company h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: #ffffff;
  line-height: 1.3;
}

.footer-company p {
  font-size: 1rem;
  color: #bdc3c7;
  margin: 0;
}

.footer-contact p {
  font-size: 1rem;
  color: #ecf0f1;
  margin: 0;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-nav a,
.footer-nav-menu a {
  color: #ecf0f1;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-nav-menu a:hover {
  color: #3498db;
}

.footer-nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-nav-menu li {
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid #34495e;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: #95a5a6;
  margin: 0;
}

/* Responsive Design for New Footer */
@media (max-width: 768px) {
  .footer-new {
    padding: 32px 0 16px;
  }
  
  .footer-company h2 {
    font-size: 1.2rem;
  }
  
  .footer-nav {
    gap: 20px;
  }
  
  .footer-nav-menu {
    gap: 20px;
  }
  
  .footer-contact p,
  .footer-nav a,
  .footer-nav-menu a {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .footer-company h2 {
    font-size: 1.1rem;
    line-height: 1.4;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }
  
  .footer-nav-menu {
    flex-direction: column;
    gap: 16px;
  }
}
.job-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px;margin-top:32px}
.job-card{background:white;border:1px solid var(--border);border-radius:12px;padding:24px;transition:all 0.2s ease}
.job-card:hover{box-shadow:0 4px 16px rgba(0,0,0,.1);transform:translateY(-2px)}
.job-card h3{margin:0 0 12px;color:var(--text);font-size:1.2rem}
.meta{font-size:.9rem;color:var(--text-light);margin-bottom:16px}
.table{width:100%;border-collapse:collapse;background:white;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.05)}
.table th,.table td{border-bottom:1px solid var(--border);padding:16px;text-align:left}
.table th{background:var(--card);font-weight:600;color:var(--text)}
.notice{padding:16px;border:1px solid var(--border);border-radius:8px;background:rgba(34,197,94,.05);color:var(--text);border-left:4px solid var(--pri)}
.checkbox{display:flex;align-items:center;gap:12px}
input,select,textarea{width:100%;background:white;border:1px solid var(--border);color:var(--text);border-radius:8px;padding:12px;transition:border-color 0.2s ease}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--pri);box-shadow:0 0 0 3px rgba(34,197,94,.1)}
label{font-weight:600;font-size:.95rem;color:var(--text);margin-bottom:6px;display:block}
.form{display:grid;gap:16px}
.faq{background:white;border-radius:12px;padding:32px;margin-top:32px;box-shadow:0 2px 8px rgba(0,0,0,.05)}
.faq dt{font-weight:700;margin-top:20px;color:var(--text);font-size:1.1rem}
.faq dt:first-child{margin-top:0}
.faq dd{margin:8px 0 0 0;color:var(--text-light);line-height:1.6}
.tag{background:var(--card);border:1px solid var(--border);padding:6px 12px;border-radius:20px;font-size:.8rem;color:var(--text-light);display:inline-block}

/* เพิ่มสไตล์สำหรับ Header และ Navigation */
.site-header{background:white;border-bottom:1px solid var(--border);box-shadow:0 2px 8px rgba(0,0,0,.05);position:sticky;top:0;z-index:100}
.site-header .container{display:flex;align-items:center;justify-content:space-between;padding:16px}
.site-logo img{height:40px;width:auto}
.main-nav ul{display:flex;list-style:none;margin:0;padding:0;gap:32px}
.main-nav a{color:var(--text);font-weight:500;padding:8px 0;transition:color 0.2s ease}
.main-nav a:hover{color:var(--pri)}

/* ปรับปรุง Section Spacing */
.section{padding:64px 0}
.section-title{font-size:2.5rem;font-weight:700;text-align:center;margin-bottom:16px;color:var(--text)}
.section-subtitle{font-size:1.2rem;color:var(--text-light);text-align:center;margin-bottom:48px;max-width:600px;margin-left:auto;margin-right:auto}

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

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pri), var(--acc));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.15);
  border-color: var(--acc);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Call to Action Section */
.cta-section{background:linear-gradient(135deg,var(--pri),var(--pri-dark));color:white;text-align:center;padding:80px 0}
.cta-section h2{font-size:2.5rem;margin-bottom:16px;font-weight:700}
.cta-section p{font-size:1.2rem;margin-bottom:32px;opacity:0.9}
.cta-section .btn{background:white;color:var(--pri);font-weight:700}
.cta-section .btn:hover{background:rgba(255,255,255,0.95);transform:translateY(-2px)}

/* Contact Page Styles */
.contact-page {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.contact-hero {
  background: linear-gradient(135deg, var(--pri) 0%, #16a34a 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.contact-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.contact-info {
  padding: 4rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pri), var(--acc));
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--pri), #16a34a);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 1.5rem;
}

.contact-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.contact-content p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

/* LINE Card Specific */
.line-card .contact-icon {
  background: linear-gradient(135deg, #00c300, #00b300);
}

.line-btn {
  background: linear-gradient(135deg, #00c300, #00b300);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
}

.line-btn:hover {
  background: linear-gradient(135deg, #00b300, #00a300);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 195, 0, 0.3);
}

/* Phone Card */
.phone-numbers {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.phone-btn {
  background: linear-gradient(135deg, var(--acc), #ea580c);
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
}

.phone-btn:hover {
  background: linear-gradient(135deg, #ea580c, #dc2626);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

/* Working Hours */
.working-hours {
  space-y: 1rem;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.hours-item:last-child {
  border-bottom: none;
}

.day {
  font-weight: 500;
  color: #374151;
}

.time {
  font-weight: 600;
  color: var(--pri);
}

.hours-note {
  font-size: 0.875rem;
  color: #6b7280;
  font-style: italic;
  margin-top: 1rem;
  padding: 0.75rem;
  background: #f9fafb;
  border-radius: 8px;
  border-left: 4px solid var(--acc);
}

/* Service Areas */
.service-areas p {
  line-height: 1.6;
  color: #374151;
}

/* Application Section */
.application-section {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  padding: 4rem 0;
}

.application-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.application-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

.application-content > p {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

.application-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.benefit-item {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.benefit-icon {
  font-size: 1.5rem;
}

.application-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container { 
    max-width: 100%; 
    padding: 0 2rem; 
  }
  
  .hero {
    padding: 100px 0 60px;
  }
  
  .hero-wrapper {
    gap: 3rem;
  }
  
  .hero-image {
    height: 400px;
  }
  
  .hero h1 { 
    font-size: 3rem; 
  }
  
  .features-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 1.5rem;
  }
  
  .stats { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 1.5rem;
  }
  
  .contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .container { 
    padding: 0 1rem; 
  }
  
  .hero {
    padding: 80px 0 40px;
  }
  
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-content {
    text-align: center;
    order: 2;
  }
  
  .hero-image {
    order: 1;
    height: 300px;
    margin: 0 auto;
    max-width: 400px;
  }
  
  .hero h1 { 
    font-size: 2.5rem; 
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .hero p { 
    font-size: 1rem; 
    margin-bottom: 2rem;
  }
  
  .hero .btn-group {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
  }
  
  .hero .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .stats { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .features-grid { 
    grid-template-columns: 1fr; 
    gap: 1.5rem;
  }
  
  .job-grid { 
    grid-template-columns: 1fr; 
  }
  
  .header {
    padding: 1rem 0;
  }
  
  .header nav { 
    display: none; 
  }
  
  .header .menu-toggle { 
    display: block; 
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .contact-hero h1 {
    font-size: 2.5rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .application-content h2 {
    font-size: 2rem;
  }
  
  .application-benefits {
    grid-template-columns: 1fr;
  }
  
  .application-cta {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .hero h1 { 
    font-size: 1.75rem; 
    line-height: 1.1;
  }
  
  .hero-image {
    height: 250px;
  }
  
  .hero p {
    font-size: 0.95rem;
  }
  
  .hero .stats { 
    grid-template-columns: 1fr; 
    gap: 1rem;
  }
  
  .stat-item {
    padding: 1rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .btn { 
    padding: 0.75rem 1.5rem; 
    font-size: 0.9rem; 
    width: 100%;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .feature-icon {
    font-size: 2.5rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .contact-hero {
    padding: 3rem 0;
  }
  
  .contact-hero h1 {
    font-size: 2rem;
  }
  
  .contact-card {
    padding: 1.5rem;
  }
  
  .application-content h2 {
    font-size: 1.75rem;
  }
}

/* Privacy Policy Page Styles */
.privacy-page {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 100vh;
}

.privacy-hero {
  background: linear-gradient(135deg, var(--pri) 0%, #16a34a 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.privacy-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="privacy-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23privacy-grid)"/></svg>');
  opacity: 0.3;
}

.privacy-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.privacy-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.privacy-hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.privacy-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.last-updated {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
}

.privacy-content {
  padding: 4rem 0;
}

.privacy-wrapper {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Table of Contents */
.privacy-toc {
  position: sticky;
  top: 2rem;
  height: fit-content;
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border);
}

.privacy-toc h3 {
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--pri);
}

.privacy-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.privacy-toc li {
  margin-bottom: 0.75rem;
}

.privacy-toc a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  display: block;
  border-radius: 8px;
  padding-left: 1rem;
  transition: all 0.3s ease;
  position: relative;
}

.privacy-toc a:hover {
  color: var(--pri);
  background: rgba(34, 197, 94, 0.05);
  transform: translateX(4px);
}

.privacy-toc a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--pri);
  border-radius: 2px;
  transition: height 0.3s ease;
}

.privacy-toc a:hover::before {
  height: 20px;
}

/* Main Content */
.privacy-main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.privacy-section {
  scroll-margin-top: 2rem;
}

.privacy-section h2 {
  color: var(--text);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--pri);
  position: relative;
}

.privacy-section h2::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--acc);
  border-radius: 2px;
}

.privacy-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.privacy-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.privacy-card h4 {
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.privacy-card p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.privacy-card ul {
  color: var(--text-light);
  line-height: 1.6;
  padding-left: 1.5rem;
}

.privacy-card li {
  margin-bottom: 0.5rem;
}

/* Company Info */
.company-info {
  background: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.company-info h4 {
  color: var(--pri);
  margin-bottom: 1rem;
}

.company-info ul {
  list-style: none;
  padding: 0;
}

.company-info li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(34, 197, 94, 0.1);
}

.company-info li:last-child {
  border-bottom: none;
}

/* Data Types */
.data-types {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.data-type {
  background: rgba(249, 115, 22, 0.05);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
}

.data-type h4 {
  color: var(--acc);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Purposes */
.purposes {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.purpose-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.purpose-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.15);
}

.purpose-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.purpose-content h4 {
  color: var(--pri);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.purpose-content p {
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

/* Disclosure Cases */
.disclosure-cases {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.case-item {
  padding: 1rem 1.5rem;
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 8px;
  border-left: 4px solid #3b82f6;
}

.case-item h4 {
  color: #3b82f6;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.case-item p {
  margin: 0;
  font-size: 0.95rem;
}

/* Security Measures */
.security-measures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.security-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.security-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15);
}

.security-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.security-item h4 {
  color: #10b981;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.security-item p {
  font-size: 0.9rem;
  margin: 0;
}

/* Rights Grid */
.rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.right-item {
  padding: 1.5rem;
  background: rgba(139, 69, 19, 0.05);
  border: 1px solid rgba(139, 69, 19, 0.2);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.right-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(139, 69, 19, 0.15);
}

.right-item h4 {
  color: #8b4513;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.right-item p {
  margin: 0;
  font-size: 0.95rem;
}

.rights-contact {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 12px;
}

.rights-contact h4 {
  color: var(--pri);
  margin-bottom: 0.75rem;
}

/* Contact Info */
.contact-info {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.contact-method:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.15);
}

.contact-icon {
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  background: var(--pri);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-details h4 {
  color: var(--pri);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-details p {
  margin: 0;
  font-size: 0.95rem;
}

.contact-details a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
}

.contact-details a:hover {
  color: var(--pri);
}

.response-time {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(249, 115, 22, 0.05);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 12px;
}

.response-time h4 {
  color: var(--acc);
  margin-bottom: 0.75rem;
}

/* Policy Updates */
.policy-updates {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.05), rgba(249, 115, 22, 0.05));
  border: 2px solid rgba(34, 197, 94, 0.2);
}

.policy-updates h3 {
  color: var(--pri);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.last-updated-info {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text);
}

/* Navigation Active State */
.main-nav a.active {
  color: var(--pri);
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .privacy-wrapper {
    grid-template-columns: 250px 1fr;
    gap: 2rem;
  }
  
  .privacy-toc {
    padding: 1.5rem;
  }
  
  .privacy-card {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .privacy-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .privacy-toc {
    position: static;
    order: 2;
    margin-top: 2rem;
  }
  
  .privacy-main {
    order: 1;
  }
  
  .privacy-hero {
    padding: 3rem 0;
  }
  
  .privacy-hero h1 {
    font-size: 2.5rem;
  }
  
  .privacy-hero p {
    font-size: 1.1rem;
  }
  
  .privacy-section h2 {
    font-size: 1.75rem;
  }
  
  .privacy-card {
    padding: 1.5rem;
  }
  
  .security-measures {
    grid-template-columns: 1fr;
  }
  
  .rights-grid {
    grid-template-columns: 1fr;
  }
  
  .purpose-item {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-method {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .privacy-hero {
    padding: 2rem 0;
  }
  
  .privacy-hero h1 {
    font-size: 2rem;
  }
  
  .privacy-hero p {
    font-size: 1rem;
  }
  
  .privacy-content {
    padding: 2rem 0;
  }
  
  .privacy-card {
    padding: 1.25rem;
  }
  
  .privacy-section h2 {
    font-size: 1.5rem;
  }
  
  .privacy-meta {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .hero h1 { 
    font-size: 1.75rem; 
    line-height: 1.1;
  }
  
  .hero-image {
    height: 250px;
  }
  
  .hero p {
    font-size: 0.95rem;
  }
  
  .hero .stats { 
    grid-template-columns: 1fr; 
    gap: 1rem;
  }
  
  .stat-item {
    padding: 1rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .btn { 
    padding: 0.75rem 1.5rem; 
    font-size: 0.9rem; 
    width: 100%;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .feature-icon {
    font-size: 2.5rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .contact-hero {
    padding: 3rem 0;
  }
  
  .contact-hero h1 {
    font-size: 2rem;
  }
  
  .contact-card {
    padding: 1.5rem;
  }
  
  .application-content h2 {
    font-size: 1.75rem;
  }
}
