/*index.html design*/
*{
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

body{
  font-family: 'Inter', sans-serif;
  background-color: #F1EFEC;
  text-align: center;
  line-height: 1.5;
  color: #333;
} 

header{
  padding: 20px;
  font-size: 24px;
  font-weight: 200;
  background-color: #111;
  color: #fff;
}

.top-panel{
  background-color: #6D94C5;
  padding: 40px 20px;
  color: #F1EFEC;
}

.top-panel h2{
  margin-bottom: 10px;
  font-size: 28px;
  font-weight: 1000;
}

.top-panel .search-bar{
  padding: 18px 25px;
  width: 80%;
  max-width: 600px;
  border: 1px solid #999;
  border-radius: 50px;
  font-size: 1rem;
  outline: none;
}

.buttons{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 30px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.button-card{
  background-color: #fafafa;
  border-radius: 20px;
  padding: 40px;
  text-align:center;
  box-shadow: 0 4px 5px rgba(0,0,0,0.11), 0 4px 5px rgba(0,0,0,0.11);
  cursor: pointer;
  transition: 0.3s ease;
}

.button-card:hover{
  background-color: #e0e0e0;

}

.button-card i {
 display: block;
 font-size: 2em;
 margin: 0 auto 8px;
  color: #111;
}

.button-card h3{
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 800;
}

.button-card p{
  margin: 0;
  font-size: 12px;
  color: #444;
  line-height: 1.4;
}


footer.bottom-panel{
  background-color: #fff;
  padding: 30px 20px;
  margin: 20px auto;
  max-width: 800px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 16px;
  font-weight: bold;
}

footer.bottom-panel a{
  color: #6D94C5;
  text-decoration: none;
}

footer.bottom-panel a:hover{
  text-decoration: underline;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 768px) {
  .top-panel .search-bar {
    width: 80%;
  }

  .buttons {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .button-card {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {

  .top-panel h2 {
    font-size: 22px;
}

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

  .button-card p{
    font-size: 11px;
  }
}

a.button-card {
  display: block;
  color: inherit;      
  text-decoration: none;
}

a.button-card:hover {
  text-decoration: none;
  color: inherit;  
}

.button-card {
  background-color: #fafafa;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 4px 5px rgba(0,0,0,0.11);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
}

.button-card:hover {
  background-color: #f0f0f0;
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.button-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
  color: #222;
  letter-spacing: 0.3px;
}

.button-card p {
  margin: 0;
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}


/* --- My Account Page --- */
/* General */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  background: #f4f6f9;
  color: #333;
}

header {
  background: #111827;
  color: white;
  padding: 1rem;
  text-align: center;
}

h1 {
  margin: 0;
  font-size: 1.8rem;
}

a {
  text-decoration: none;
}

/* Account Container */
.account-container {
  max-width: 1000px;
  margin: 30px auto;
  padding: 20px;
}

/* Account Header */
.account-header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}
.account-header .account-icon {
  font-size: 4rem;
  color: #6D94C5;
  margin-bottom: 10px;
}
.account-header h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
}
.account-header p {
  font-size: 16px;
  color: #555;
}

/* Back button */
.account-header .back-btn {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  background-color: #6D94C5;
  border-radius: 8px;
  transition: background 0.3s ease;
}
.account-header .back-btn:hover {
  background-color: #4A6FA5;
}

/* Account Info Grid */
.account-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.account-card {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: left;
}
.account-card h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #333;
  display: flex;
  align-items: center;
}
.account-card h3 i {
  margin-right: 8px;
  color: #6D94C5;
}
.account-card p {
  font-size: 14px;
  margin: 6px 0;
  color: #444;
}

/* Buttons */
.btn {
  display: inline-block;
  margin-top: 10px;
  margin-right: 10px;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: bold;
  background: #6D94C5;
  color: #fff;
  border-radius: 8px;
  transition: 0.3s ease;
}
.btn:hover {
  background: #4A6FA5;
}

/* Footer */
.bottom-panel {
  text-align: center;
  padding: 1rem;
  margin-top: 3rem;
  background: #e9ecf3;
  font-size: 0.9rem;
}

/* ---------- Modals ---------- */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}
.modal:target {
  display: block;
}
.modal-content {
  background: #fff;
  margin: 6% auto;
  padding: 25px;
  border-radius: 15px;
  width: 90%;
  max-width: 450px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}
.modal-content h3 {
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 700;
  color: #333;
}
.modal-content label {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #444;
}
.modal-content input[type="text"],
.modal-content input[type="email"],
.modal-content input[type="tel"],
.modal-content input[type="password"] {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}
.close-btn {
  float: right;
  font-size: 22px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
}
.close-btn:hover {
  color: #6D94C5;
}
.modal-actions {
  margin-top: 20px;
  text-align: right;
}
.modal-actions .btn {
  margin-left: 10px;
}

/* ===========================
   Beware, Be Aware! Page Styles
   =========================== */

/* --- Layout Container --- */
.beware-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  font-family: "Inter", sans-serif;
}

/* --- Page Header --- */
.beware-header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.beware-header .beware-icon {
  font-size: 4rem;
  color: #E67E22;
  margin-bottom: 12px;
}

.beware-header h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #222;
}

.beware-header p {
  font-size: 16px;
  color: #555;
}

/* --- Back Button (improved aesthetic) --- */
.beware-header .back-btn {
  position: absolute;
  top: 20px;
  left: 20px;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;

  color: #fff;
  background: linear-gradient(135deg, #6D94C5, #4A6FA5);
  border-radius: 50px;
  text-decoration: none;

  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease-in-out;
}

.beware-header .back-btn i {
  font-size: 14px;
}

.beware-header .back-btn:hover {
  background: linear-gradient(135deg, #5C84B5, #395A85);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25);
}

/* --- Content Sections --- */
.beware-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 25px;
}

.placeholder-box {
  width: 100%;
  max-width: 650px;

  background: #fff;
  padding: 32px 26px;
  border-radius: 14px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.12);

  text-align: center;
  transition: transform 0.3s ease;
}

.placeholder-box:hover {
  transform: translateY(-3px);
}

.placeholder-box i {
  font-size: 2.6rem;
  color: #E67E22;
  margin-bottom: 14px;
}

.placeholder-box h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #333;
}

.placeholder-box p {
  font-size: 15px;
  color: #666;
  margin-bottom: 16px;
}

/* --- Lists (Threats, Best Practices, Resources) --- */
.threat-list,
.best-practices,
.resource-links {
  text-align: left;
  margin: 15px 0;
  padding-left: 22px;
}

.threat-list li,
.best-practices li,
.resource-links li {
  margin-bottom: 10px;
  font-size: 15px;
  color: #444;
}

.threat-list li i {
  margin-right: 8px;
  color: #E67E22;
}

.best-practices li {
  list-style: decimal;
  margin-left: 18px;
}

.resource-links a {
  color: #E67E22;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s ease;
}

.resource-links a:hover {
  color: #c86410;
}

/* --- Shared simple page style --- */
.simple-page {
  max-width: 620px;
  margin: 60px auto;
  padding: 24px;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.simple-page h2 {
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 700;
  color: #333;
}

.simple-page p {
  font-size: 15px;
  color: #666;
}

/* --- Standalone Back Button (outside header) --- */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  margin-bottom: 20px;
  padding: 8px 16px;

  font-size: 14px;
  font-weight: 600;
  color: #fff;

  background: linear-gradient(135deg, #6D94C5, #4A6FA5);
  border-radius: 50px;
  text-decoration: none;

  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

.back-btn i {
  font-size: 14px;
}

.back-btn:hover {
  background: linear-gradient(135deg, #5C84B5, #395A85);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25);
}


/* ===========================
   Unhackable Page Styles
   =========================== */

.unhackable-container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 20px;
  font-family: "Inter", sans-serif;
  color: #333;
}

/* ---------- Header ---------- */
.unhackable-header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.unhackable-header h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #111;
}

.unhackable-header p {
  font-size: 16px;
  color: #555;
}

/* ---------- Back Button ---------- */
.unhackable-header .back-btn {
  position: fixed;   
  top: 20px;
  left: 10px;
  z-index: 1000;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;

  color: #fff;
  background: linear-gradient(135deg, #6D94C5, #4A6FA5);
  border-radius: 50px;
  text-decoration: none;

  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: all 0.25s ease;
}

.unhackable-header .back-btn i {
  font-size: 14px;
}

.unhackable-header .back-btn:hover {
  background: linear-gradient(135deg, #5C84B5, #395A85);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

/* ---------- Content Area ---------- */
.unhackable-content {
  display: flex;
  justify-content: center;
  align-items: center;

  background: linear-gradient(135deg, #f3f7ff, #e9f1ff);
  border-radius: 16px;
  padding: 50px 25px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

/* ---------- Info Card ---------- */
.unhackable-box {
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);

  max-width: 520px;
  width: 100%;
  text-align: center;

  animation: fadeIn 1s ease;
}

.unhackable-box i {
  font-size: 2.8rem;
  color: #6D94C5;
  margin-bottom: 16px;
}

.unhackable-box h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #222;
}

.unhackable-box p {
  font-size: 15px;
  color: #555;
  margin-bottom: 22px;
  line-height: 1.6;
}
/* ---------- Loading Bar ---------- */
.loading-bar {
  width: 260px;
  height: 10px;
  background: #eee;
  border-radius: 30px;
  overflow: hidden;
  margin: 0 auto;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
}

.loading-bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, #6D94C5, #4A6FA5);
  animation: loading 1.8s linear infinite;
}


@keyframes loading {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(250%); }
}

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


/* === Number Game Page Styles === */

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 1000;
  border-radius: 4px;
  font-weight: bold;
}

.skip-link:focus {
  top: 6px;
}

/* Main container */
.number-game-container {
  max-width: 1000px;
  margin: 30px auto;
  padding: 20px;
}

/* Navigation */
.number-game-container nav {
  margin-bottom: 20px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  background-color: #6D94C5;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.back-btn:hover {
  background-color: #4A6FA5;
}

.back-btn:focus {
  outline: 2px solid #333;
  outline-offset: 2px;
}

/* Page header */
.page-header {
  text-align: center;
  margin-bottom: 40px;
  border-radius: 20px;    
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
  padding: 32px 20px;  
}
.page-icon {
  font-size: 4rem;
  color: #6D94C5;
  margin-bottom: 10px;
}

.page-header h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #ffffff;
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: 800;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.tip-item {
  background-color: #fafafa;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 5px rgba(0,0,0,0.11), 0 4px 5px rgba(0,0,0,0.11);
  border-left: 4px solid #28a745;
  transition: 0.3s ease;
}

.tip-item:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.tip-item header h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
}

.tip-item header h3 i {
  color: #ffffff;
  font-size: 1.2em;
}

.tip-content p {
  font-size: 12px;
  color: #555;
  line-height: 1.4;
  margin: 0;
}

/* Animation keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .number-game-container {
    padding: 15px;
  }

  .phone-input {
    width: 95%;
  }

  .verification-form {
    padding: 25px 20px;
  }

  .result-card {
    padding: 25px 20px;
  }


  .warning-grid,
  .tips-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .warning-card,
  .tip-item {
    padding: 20px 15px;
  }

  .page-header h1 {
    font-size: 24px;
  }

  .page-description {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .page-header h1 {
    font-size: 20px;
  }

  .input-label {
    font-size: 16px;
  }

  .verify-btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .result-icon {
    font-size: 2rem;
  }

  .result-title {
    font-size: 18px;
  }

  .warning-card header h3,
  .tip-item header h3 {
    font-size: 14px;
  }

  .warning-content p,
  .tip-content p {
    font-size: 11px;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .verification-form,
  .result-card,
  .warning-card,
  .tip-item {
    border: 2px solid #000;
  }

  .phone-input {
    border: 2px solid #000;
  }

  .verify-btn {
    border: 2px solid #000;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .verify-btn:hover,
  .tip-item:hover {
    transform: none;
  }

  .result-card {
    animation: none;
  }

  .verification-form,
  .phone-input,
  .verify-btn {
    transition: none;
  }
}

/* Print styles */
@media print {
  .skip-link,
  .back-btn,
  .verify-btn,
  .verification-form {
    display: none;
  }

  .number-game-container {
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .result-card,
  .warning-card,
  .tip-item {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
}
.page-description {
  font-size: 16px;
  color: #ffffff;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Phone verification section */
.phone-verification {
  border-radius: 20px;
}

.phone-verification header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;     
  min-height: 100px;       
  border-radius: 16px;        
  background: #6D94C5;        
  color: #fff;                
  padding: 18px 24px;          
  margin-bottom: 20px;        
  text-align: center;          
}     


.phone-verification header h2 {
  text-align: center;
  font-size: 24px;
  font-weight: 1000;
  color: #ffffff;
  margin-bottom: 30px;
}

/* Form styling */
.verification-form {
  background-color: #fafafa;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 4px 5px rgba(0,0,0,0.11), 0 4px 5px rgba(0,0,0,0.11);
  margin-bottom: 30px;
  transition: 0.3s ease;
}

.verification-form:hover {
  background-color: #f0f0f0;
}

.verification-form fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.input-group {
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  align-items: center; 
}

.input-label {
  display: block;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 15px;
  color: #111;
}

.phone-input {
  width: 80%;
  max-width: 600px;
  padding: 18px 25px;
  border: 2px solid #999;
  border-radius: 50px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-label,
.phone-input {
  text-align: center;  /* Center text inside label and input */
}

.phone-input:focus {
  border-color: #6D94C5;
  box-shadow: 0 0 0 3px rgba(109, 148, 197, 0.1);
}

.phone-input[aria-invalid="true"] {
  border-color: #dc3545;
}

.input-help {
  font-size: 12px;
  color: #666;
  margin-top: 8px;
}

.error-message {
  display: none;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 10px;
  font-size: 13px;
}

.verify-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: bold;
  background: #6D94C5;
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s ease;
}

.verify-btn:hover {
  background: #4A6FA5;
  transform: translateY(-2px);
}

.verify-btn:focus {
  outline: 2px solid #333;
  outline-offset: 2px;
}

.button-help {
  font-size: 11px;
  color: #666;
  margin-top: 8px;
}

/* Results section */
.results-section {
  margin: 30px 0;
}

.result-card {
  display: none;
  background-color: #fafafa;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 5px rgba(0,0,0,0.11), 0 4px 5px rgba(0,0,0,0.11);
  animation: fadeInUp 0.5s ease;
}

.result-card.show {
  display: block;
}

.result-card.risk-high {
  border-left: 6px solid #dc3545;
}

.result-card.risk-medium {
  border-left: 6px solid #ffc107;
}

.result-card.risk-low {
  border-left: 6px solid #28a745;
}

.result-header {
  text-align: center;
  margin-bottom: 20px;
}

.result-icon {
  font-size: 3rem;
  margin-bottom: 10px;
}

.risk-high .result-icon {
  color: #dc3545;
}

.risk-medium .result-icon {
  color: #ffc107;
}

.risk-low .result-icon {
  color: #28a745;
}

.result-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.result-description {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 20px;
}

.result-details h5 {
  font-size: 16px;
  font-weight: 700;
  color: #6D94C5;
  margin-bottom: 10px;
}

.recommendations-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recommendations-list li {
  background: #000000;
  padding: 10px 15px;
  margin: 8px 0;
  border-radius: 8px;
  border-left: 3px solid #149e07;
  font-size: 13px;
  color: #ffffff;
}

/* Warning signs section */
.warning-signs {
  margin: 40px 0;
}

.warning-signs .warning-header {
  border-radius: 16px;      
  background: #e8bb33;      
  color: #fff;             
  padding: 18px 24px;       
  margin-bottom: 24px;      
  text-align: center;       
  box-shadow: 0 2px 8px rgba(0,0,0,0.08); 
}

.warning-signs-header {
  display: flex;
  justify-content: center;
  align-items: center;     
  min-height: 60px;       
  border-radius: 16px;        
  background: #e8bb33;        
  color: #fff;                
  padding: 18px 24px;          
  margin-bottom: 20px;        
  text-align: center;  
  justify-content: center;       
}


.warning-signs header h2 {
  text-align: center;
  color: #ffffff;
  margin-bottom: 30px;
  font-size: 40px;
  font-weight: 800;
  margin-top: 18px;
}

.warning-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.warning-card {
  background-color: #fafafa;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 4px 5px rgba(0,0,0,0.11), 0 4px 5px rgba(0,0,0,0.11);
  border-left: 4px solid #ffc107;
}

.warning-card header h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  justify-content: center;
  margin-top: 10px;
}

.warning-card header h3 i {
  color: #ffffff;
  font-size: 2.2em;
}

.warning-content p {
  font-size: 12px;
  color: #555;
  line-height: 1.4;
  margin-bottom: 8px;
}

.warning-content p strong {
  color: #dc3545;
  font-weight: 600;
}

/* Protection tips section */

.protection-header {
  border-radius: 16px;      
  background: #28a745;      
  color: #fff;             
  padding: 18px 24px;       
  margin-bottom: 24px;      
  text-align: center;       
  box-shadow: 0 2px 8px rgba(0,0,0,0.08); 
}



.protection-tips {
  margin: 40px 0;
}

.protection-tips header h2 {
  text-align: center;
  color: #ffffff;
/* === Number Game Page Styles === */

/* Main container */
.number-game-container {
  max-width: 1000px;
  margin: 30px auto;
  padding: 20px;
}

.number-game-header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.number-game-header nav {
  position: absolute;
  top: 0;
  left: 0;
}

.number-game-header .game-icon {
  font-size: 4rem;
  color: #6D94C5;
  margin-bottom: 10px;
}

.number-game-header h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
}

.number-game-header p {
  font-size: 16px;
  color: #555;
}

/* Back button matching the main site style */
.number-game-header .back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  background-color: #6D94C5;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.number-game-header .back-btn:hover {
  background-color: #4A6FA5;
}

/* Main checker card using button-card style */
.checker-form {
  background-color: #fafafa;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 4px 5px rgba(0,0,0,0.11), 0 4px 5px rgba(0,0,0,0.11);
  margin-bottom: 20px;
  transition: 0.3s ease;
}

.checker-form:hover {
  background-color: #f0f0f0;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 15px;
  color: #111;
}

.phone-input {
  width: 80%;
  max-width: 600px;
  padding: 18px 25px;
  border: 1px solid #999;
  border-radius: 50px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.phone-input:focus {
  border-color: #6D94C5;
}

.check-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: bold;
  background: #6D94C5;
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s ease;
}

.check-btn:hover {
  background: #4A6FA5;
  transform: translateY(-2px);
}

/* Result container matching button-card style */
.result-container {
  margin-top: 30px;
  background-color: #fafafa;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 4px 5px rgba(0,0,0,0.11), 0 4px 5px rgba(0,0,0,0.11);
  display: none;
  transition: 0.3s ease;
}

.result-safe {
  border-left: 6px solid #28a745;
}

.result-warning {
  border-left: 6px solid #ffc107;
}

.result-danger {
  border-left: 6px solid #dc3545;
}

.result-icon {
  font-size: 2em;
  margin-bottom: 8px;
  display: block;
}

.result-safe .result-icon {
  color: #28a745;
}

.result-warning .result-icon {
  color: #ffc107;
}

.result-danger .result-icon {
  color: #dc3545;
}

.result-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #111;
}

.result-description {
  font-size: 12px;
  color: #444;
  line-height: 1.4;
  margin: 0;
}

/* Tips section using the same grid layout as main page */
.tips-section {
  margin-top: 30px;
}

.tips-section h3 {
  text-align: center;
  color: #111;
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: 800;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.tip-card {
  background-color: #fafafa;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 4px 5px rgba(0,0,0,0.11), 0 4px 5px rgba(0,0,0,0.11);
  cursor: pointer;
  transition: 0.3s ease;
  position: relative;
}

.tip-card:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}

.tip-card i {
  display: block;
  font-size: 2em;
  margin: 0 auto 8px;
  color: #111;
}

.tip-card h4 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tip-arrow {
  font-size: 0.8em !important;
  transition: transform 0.3s ease;
  margin: 0 !important;
}

.tip-arrow.rotated {
  transform: rotate(180deg);
}

.tip-card p {
  font-size: 12px;
  color: #444;
  line-height: 1.4;
  margin: 0 0 15px 0;
}

/* Expandable content */
.tip-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  text-align: left;
  padding: 0;
}

.tip-content.expanded {
  max-height: 1000px;
  padding-top: 20px;
  border-top: 2px solid #6D94C5;
}

.tip-detail h4 {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin-bottom: 15px;
}

.tip-detail h5 {
  font-size: 14px;
  font-weight: 700;
  color: #6D94C5;
  margin: 15px 0 8px 0;
}

.tip-detail h5:first-child {
  margin-top: 0;
}

.tip-detail p {
  font-size: 12px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 12px;
}

.tip-detail ul {
  margin: 8px 0 15px 20px;
  padding: 0;
}

.tip-detail li {
  font-size: 11px;
  color: #666;
  line-height: 1.4;
  margin-bottom: 4px;
}

.tip-detail li strong {
  color: #333;
  font-weight: 600;
}

/* Focus management for accessibility */
.tip-card[aria-expanded="true"] {
  background-color: #e8f4fd;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #000;
  color: #fff;
  padding: 8px;
  text-decoration: none;
  z-index: 1000;
  border-radius: 4px;
  font-weight: bold;
}

.skip-link:focus {
  top: 6px;
}

/* Responsive design */
@media (max-width: 768px) {
  .phone-input {
    width: 90%;
  }

  .tips-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .tip-card {
    padding: 30px 20px;
  }

  .number-game-header nav {
    position: static;
    margin-bottom: 20px;
  }

  .number-game-header {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .number-game-header h1 {
    font-size: 22px;
  }

  .tip-card h4 {
    font-size: 16px;
  }

  .tip-card p {
    font-size: 11px;
  }

  .tip-detail h5 {
    font-size: 13px;
  }

  .tip-detail p {
    font-size: 11px;
  }

  .tip-detail li {
    font-size: 10px;
  }

  .checker-form {
    padding: 25px 15px;
  }
}/* === Number Game Page Styles === */

/* Main container */
.number-game-container {
  max-width: 1000px;
  margin: 30px auto;
  padding: 20px;
}

.number-game-header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.number-game-header .game-icon {
  font-size: 4rem;
  color: #6D94C5;
  margin-bottom: 10px;
}

.number-game-header h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
}

.number-game-header p {
  font-size: 16px;
  color: #555;
}

/* Back button matching the main site style */
.number-game-header .back-btn {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  background-color: #6D94C5;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.number-game-header .back-btn:hover {
  background-color: #4A6FA5;
}

/* Main checker card using button-card style */
.checker-form {
  background-color: #fafafa;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 4px 5px rgba(0,0,0,0.11), 0 4px 5px rgba(0,0,0,0.11);
  margin-bottom: 20px;
  transition: 0.3s ease;
}

.checker-form:hover {
  background-color: #f0f0f0;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 15px;
  color: #111;
}

.phone-input {
  width: 80%;
  max-width: 600px;
  padding: 18px 25px;
  border: 1px solid #999;
  border-radius: 50px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.phone-input:focus {
  border-color: #6D94C5;
}

.check-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: bold;
  background: #6D94C5;
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s ease;
}

.check-btn:hover {
  background: #4A6FA5;
  transform: translateY(-2px);
}

/* Result container matching button-card style */
.result-container {
  margin-top: 30px;
  background-color: #fafafa;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 4px 5px rgba(0,0,0,0.11), 0 4px 5px rgba(0,0,0,0.11);
  display: none;
  transition: 0.3s ease;
}

.result-safe {
  border-left: 6px solid #28a745;
}

.result-warning {
  border-left: 6px solid #ffc107;
}

.result-danger {
  border-left: 6px solid #dc3545;
}

.result-icon {
  font-size: 2em;
  margin-bottom: 8px;
  display: block;
}

.result-safe .result-icon {
  color: #28a745;
}

.result-warning .result-icon {
  color: #ffc107;
}

.result-danger .result-icon {
  color: #dc3545;
}

.result-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #111;
}

.result-description {
  font-size: 12px;
  color: #444;
  line-height: 1.4;
  margin: 0;
}

/* Tips section using the same grid layout as main page */
.tips-section {
  margin-top: 30px;
}

.tips-section h3 {
  text-align: center;
  color: #111;
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: 800;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.tip-card {
  background-color: #fafafa;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 4px 5px rgba(0,0,0,0.11), 0 4px 5px rgba(0,0,0,0.11);
  cursor: pointer;
  transition: 0.3s ease;
  position: relative;
}

.tip-card:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}

.tip-card i {
  display: block;
  font-size: 2em;
  margin: 0 auto 8px;
  color: #111;
}

.tip-card h4 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tip-arrow {
  font-size: 0.8em !important;
  transition: transform 0.3s ease;
  margin: 0 !important;
}

.tip-arrow.rotated {
  transform: rotate(180deg);
}

.tip-card p {
  font-size: 12px;
  color: #444;
  line-height: 1.4;
  margin: 0 0 15px 0;
}

/* Expandable content */
.tip-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  text-align: left;
  padding: 0;
}

.tip-content.expanded {
  max-height: 1000px;
  padding-top: 20px;
  border-top: 2px solid #6D94C5;
}

.tip-detail h4 {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin-bottom: 15px;
}

.tip-detail h5 {
  font-size: 14px;
  font-weight: 700;
  color: #6D94C5;
  margin: 15px 0 8px 0;
}

.tip-detail h5:first-child {
  margin-top: 0;
}

.tip-detail p {
  font-size: 12px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 12px;
}

.tip-detail ul {
  margin: 8px 0 15px 20px;
  padding: 0;
}

.tip-detail li {
  font-size: 11px;
  color: #666;
  line-height: 1.4;
  margin-bottom: 4px;
}

.tip-detail li strong {
  color: #333;
  font-weight: 600;
}

/* Responsive design */
@media (max-width: 768px) {
  .phone-input {
    width: 90%;
  }

  .tips-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .tip-card {
    padding: 30px 20px;
  }

  .number-game-header nav {
    position: static;
    margin-bottom: 20px;
  }

  .number-game-header {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .number-game-header h1 {
    font-size: 22px;
  }

  .tip-card h4 {
    font-size: 16px;
  }

  .tip-card p {
    font-size: 11px;
  }

  .tip-detail h5 {
    font-size: 13px;
  }

  .tip-detail p {
    font-size: 11px;
  }

  .tip-detail li {
    font-size: 10px;
  }
}
}
/* ========== INQUIRY PAGE STYLES ========== */
.inquiry-container {
  max-width: 780px;
  margin: 3rem auto;
  padding: 1.5rem;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  background: linear-gradient(135deg, #f4f9f4, #f9f9f9);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

/* Header */
.page-header {
  text-align: center;
  margin-bottom: 2.5rem;
  background-color: #6D94C5;
}

.page-header h1 {
  font-size: 2.8em; 
  font-weight: 800;
  margin: 0 0 12px 0;
}

.page-header h2 {
  font-size: 2.8rem;
  font-weight: 1000;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.page-header .page-icon {
  font-size: 3.2rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
  animation: bounceIcon 2s infinite;
}

.page-description {
  color: #ffffff;
  font-size: 1rem;
  max-width: 600px;
  margin: 0.5rem auto 1.5rem;
}

/* Form Container */
.inquiry-form {
  background: rgba(255, 255, 255, 0.95);
  padding: 2.5rem;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  border: 1px solid #e0e0e0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Name and Email side by side */
.input-row {
  display: flex;
  gap: 20px; 
  margin-top: 10px;
}

.input-row .input-group {
  flex: 1 1 0;
}

.subject-category-row {
  display: flex;
  gap: 20px; 
}

.subject-category-row .input-group {
  flex: 1 1 0;
}



.inquiry-form:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}

/* Input groups */
.input-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.input-group textarea {
  width: 100%;      
  max-width: 600px; 
  box-sizing: border-box;
}

.input-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
select,
textarea {
  padding: 0.9rem 1rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  background: #fff;
  transition: all 0.25s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #4CAF50;
  outline: none;
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.15);
}

/* Textarea */
textarea {
  resize: vertical;
  min-height: 140px;
}

/* Buttons */
.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #4CAF50, #2e7d32);
  color: #fff;
  font-weight: 600;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1rem;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  width: 100%;
  box-shadow: 0 4px 14px rgba(76, 175, 80, 0.3);
}

.submit-btn:hover {
  background: linear-gradient(135deg, #43a047, #256d2a);
  box-shadow: 0 6px 18px rgba(76, 175, 80, 0.4);
  transform: translateY(-2px);
}

.submit-btn i {
  font-size: 1.2rem;
}

/* Success & Error Messages */
.message {
  margin-top: 1rem;
  padding: 0.9rem 1.2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  display: none;
}

.message.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.message.error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

/* Animations */
@keyframes bounceIcon {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

/* Responsive */
@media (max-width: 600px) {
  .inquiry-container {
    padding: 1rem;
    margin: 1rem;
  }

  .inquiry-form {
    padding: 1.5rem;
  }
}

/* ======================
   Community Page Layout
   ====================== */

.community-container {
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  gap: 20px;
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
  font-family: "Inter", sans-serif;
}

/* Sidebar */
.sidebar {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  height: fit-content;
}

.sidebar h3 {
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: 700;
  color: #333;
}

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

.sidebar ul li {
  font-size: 14px;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #555;
  cursor: pointer;
  transition: color 0.2s;
}

.sidebar ul li:hover {
  color: #6D94C5;
}

/* Feed Area */
.feed {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Post Form */
.post-form {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.post-form textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px;
  font-size: 14px;
  resize: none;
}

.form-actions {
  margin-top: 10px;
  text-align: right;
}

.form-actions button {
  padding: 6px 14px;
  border: none;
  border-radius: 8px;
  background: #6D94C5;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}

.form-actions button:hover {
  background: #4A6FA5;
}

/* Post Card */
.post-card {
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.post-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.post-header h4 {
  font-size: 15px;
  margin: 0;
  color: #333;
  font-weight: 600;
}

.post-header span {
  font-size: 12px;
  color: #888;
}

.post-text {
  font-size: 14px;
  margin: 10px 0;
  line-height: 1.4;
  color: #444;
}

.post-actions {
  display: flex;
  gap: 15px;
  border-top: 1px solid #eee;
  padding-top: 8px;
}

.post-actions button {
  background: none;
  border: none;
  font-size: 13px;
  color: #555;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}

.post-actions button:hover {
  color: #6D94C5;
}

/* Back Button */
.back-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;

  color: #fff;
  background: #6D94C5;
  border-radius: 6px;
  text-decoration: none;

  transition: background 0.3s ease, transform 0.2s ease;
}

.back-btn:hover {
  background: #4A6FA5;
  transform: translateY(-2px);
}

/* ===========================
        Cybersecurity News
   =========================== */

.news-page { 
  --primary: #6D94C5; 
  --primary-600: #4A6FA5; 
  --muted: #555; 
  --card-bg: #fff; 
  --bg: #f5f7fb;
  --shadow: rgba(0, 0, 0, 0.08);
  --shadow-hover: rgba(0, 0, 0, 0.15);
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  min-height: 100vh;
}

/* container */
.news-page .news-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  position: relative;
}

/* header */
.news-page .news-header {
  text-align: center;
  margin-bottom: 40px;
}
.news-page .news-icon {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 14px;
}
.news-page .news-header h2 {
  font-size: 32px;
  font-weight: 800;
  margin: 6px 0;
  color: #222;
}
.news-page .news-header p {
  color: var(--muted);
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

/* back button */
.news-page .news-back-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  gap: 8px;
  align-items: center;

  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;

  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-600));
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 16px var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.news-page .news-back-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px var(--shadow-hover);
  background: linear-gradient(135deg, #5C84B5, #395A85);
}
.news-page .news-back-btn i { font-size: 13px; }

/* news grid */
.news-page .news-feed {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  padding: 0 8px;
}

/* card */
.news-page .news-card {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.news-page .news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px var(--shadow-hover);
}
.news-page .news-card img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* content */
.news-page .news-content { 
  padding: 20px 22px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.news-page .news-content h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: #222;
}
.news-page .news-content p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

/* read more */
.news-page .read-more {
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  transition: color .18s ease;
}
.news-page .read-more:hover { 
  color: var(--primary-600); 
}

/* responsive grid */
@media (min-width: 768px) {
  .news-page .news-feed {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .news-page .news-feed {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* header */
.news-page .news-header {
  background: linear-gradient(135deg, #6D94C5, #4A6FA5);
  color: #fff;
  padding: 50px 20px;
  border-radius: 0 0 20px 20px;
  text-align: center;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.news-page .news-icon {
  font-size: 3.8rem;
  color: #fff;
  margin-bottom: 16px;
}

.news-page .news-header h2 {
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 12px;
  color: #fff;
  letter-spacing: -0.5px;
}

.news-page .news-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ===========================
   Mobile App Page
   =========================== */
.mobileapp-page {
  --primary: #6D94C5;
  --primary-dark: #4A6FA5;
  --muted: #666;
  font-family: 'Inter', sans-serif;
  background: #f8faff;
  color: #333;
}

.mobileapp-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

/* --- Hero Header --- */
.mobileapp-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 60px 20px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  text-align: center;
  margin-bottom: 50px;
}

.mobileapp-hero h1 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
}

.mobileapp-hero p {
  font-size: 17px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  color: #eef3f9;
}

/* --- Features Section --- */
.mobileapp-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.feature-card {
  background: #fff;
  padding: 24px 20px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* --- Download Section --- */
.download-section {
  text-align: center;
  margin-bottom: 40px;
}

.download-section h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111;
}

.download-section p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 20px;
}

.download-btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 6px 18px rgba(109,148,197,0.35);
}

.download-btn:hover {
  background: linear-gradient(135deg, #5c84b5, #395a85);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(109,148,197,0.45);
}

/* --- Back Button --- */
.back-btn {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 14px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.back-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ===========================
   Contact Page
   =========================== */
.contact-page {
  --primary: #6D94C5;
  --primary-dark: #4A6FA5;
  --muted: #666;
  font-family: 'Inter', sans-serif;
  background: #f8faff;
  color: #333;
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

/* --- Hero Header --- */
.contact-hero {
  text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 60px 20px;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  margin-bottom: 50px;
}

.contact-hero h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-hero p {
  font-size: 16px;
  color: #e9f0fa;
  max-width: 650px;
  margin: 0 auto;
}

/* --- Contact Grid --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Contact Form --- */
.contact-form {
  background: #fff;
  padding: 28px 24px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-form:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #222;
}

.contact-form input,
.contact-form textarea {
  padding: 0.9rem 1rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  background: #fff;
  transition: all 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(109,148,197,0.15);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 14px 20px;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 16px rgba(109,148,197,0.35);
}

.submit-btn:hover {
  background: linear-gradient(135deg, #5c84b5, #395a85);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(109,148,197,0.45);
}

/* --- Contact Info --- */
.contact-info {
  background: #fff;
  padding: 28px 24px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.contact-info h3 {
  font-size: 18px;
  margin: 12px 0 6px;
  color: var(--primary-dark);
}

.contact-info p {
  color: var(--muted);
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.5;
}

