

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
  }
  
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  a {
    text-decoration: none;
  }
  
  ul {
    list-style: none;
  }
  
  /* Buttons */
  .btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .primary-btn {
    background-color: #e85d0c;
    color: white;
    border: none;
  }
  
  .primary-btn:hover {
    opacity: 0.9;
  }
  
  .outline-btn {
    border: 1px solid #0039a6;
    color: #0039a6;
    background: transparent;
  }
  
  .outline-btn:hover {
    background-color: #0039a6;
    color: white;
  }
  
  .full-width {
    width: 100%;
  }
  
  /* Header */
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: white;
    position: relative;
  }
  
  .logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .logo {
    height: 48px;
  }
  
  .logo-text {
    font-weight: 600;
    font-size: 18px;
    color: #0039a6;
  }
  
  .main-nav ul {
    display: flex;
    gap: 24px;
    align-items: center;
  }
  
  /* .main-nav a {
    
  } */
  
  .main-nav a {
    color: #0039a6;
    font-weight: 500;
    position: relative;
    text-decoration: none;
   
  }
  .animated-link {
    position: relative;
    text-decoration: none;
    color: inherit;
  }
  
  .animated-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
  }
  
  .animated-link:hover::after {
    width: 100%;
  }
  
  
  .check-results-btn {
    background-color: #e85d0c;
    color: white !important;
    padding: 8px 16px;
    border-radius: 4px;
  }
  
  .check-results-btn:hover {
    opacity: 0.9;
    text-decoration: none !important;
  }
  
  /* Hero Section */
  .hero {
    background-color: #f8fafc;
    padding: 64px 0;
  }
  
  .hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
  }
  
  .hero-content h1 {
    font-size: 32px;
    font-weight: bold;
    color: #0039a6;
    margin-bottom: 16px;
  }
  
  .hero-content p {
    color: #4b5563;
    margin-bottom: 24px;
    font-size: 16px;
  }
  
  .hero-buttons {
    display: flex;
    gap: 12px;
  }
  
  .hero-image {
    display: flex;
    justify-content: center;
  }
  
  .image-container {
    background-color: hsl(228, 100%, 91%);
    padding: 140px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
  }
  
  .hero-logo {
    width: 256px;
    max-width: 100%;
  }
  
  .badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background-color: white;
    color: #0039a6;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }
  
  /* Features Section */
  .features {
    padding: 48px 0;
  }
  
  .section-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    color: #0039a6;
    margin-bottom: 40px;
  }
  
  .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
  }
  
  .feature-card {
    background-color: #f8fafc;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  }
  
  .feature-icon {
    width: 48px;
    height: 48px;
    background-color: #0039a6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
  }
  
  .feature-icon i {
    color: white;
  }
  
  .feature-card h3 {
    color: #0039a6;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
  }
  
  .feature-card p {
    color: #4b5563;
  }
  
  /* Results Form Section */
  .results-form {
    padding: 48px 0;
    background-color: #f3f4f6;
  }
  
  .form-container {
    max-width: 500px;
    margin: 0 auto;
    background-color: white;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  }
  
  .form-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
  }
  
  .form-logo img {
    height: 64px;
  }
  
  .form-group {
    margin-bottom: 24px;
  }
  
  .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    margin-bottom: 4px;
  }
  
  .form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
  }
  
  .help-text {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
  }
  
  .contact-info {
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    margin-top: 16px;
    line-height: 1.4;
  }
  
 /* Footer */
.footer {
    background-color: #0039a6;
    color: white;
    padding: 24px 0;
  }
  
  .footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
  }
  
  .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
  }
  
  .footer-logo img {
    height: 48px;
  }
  
  .copyright {
    text-align: center;
  }
  
  .developer {
    text-align: center;
    font-size: 12px;
    margin-top: 16px;
  }
  
/* Mobile Navigation Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #0039a6;
    cursor: pointer;
  }
  
  /* Enhanced Responsive Styles */
  @media (max-width: 1024px) {
    .hero-content h1 {
      font-size: 28px;
    }
    
    .hero-logo {
      width: 220px;
    }
  }
  
  @media (max-width: 768px) {
    /* Header Mobile Styles */
    .header {
      flex-wrap: wrap;
    }
    
    .mobile-nav-toggle {
      display: block;
    }
    
    .main-nav {
      flex-basis: 100%;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      width: 100%;
    }
    
    .main-nav.active {
      max-height: 300px;
    }
    
    .main-nav ul {
      flex-direction: column;
      gap: 16px;
      padding: 16px 0;
      align-items: flex-start;
    }
    
    /* Hero Section Mobile Styles */
    .hero {
      padding: 40px 0;
    }
    
     .hero .container {
        display: flex;
        flex-direction: column;
    }
    
    .hero-content {
        order: 0; /* This will make content appear first */
        text-align: center;
        margin-bottom: 24px;
    }
    
    .hero-image {
        order: 1; /* This will make image appear second */
    }
    
    .hero-buttons {
      justify-content: center;
      flex-wrap: wrap;
    }
    
    /* Features Mobile Styles */
    .feature-grid {
      grid-template-columns: 1fr;
    }

    /* footer content mobile stlye */
    .footer-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 16px;
      }
  }
  
  @media (max-width: 576px) {
    .logo-text {
      font-size: 16px;
    }
    
    .logo {
      height: 40px;
    }
    
    .hero-content h1 {
      font-size: 24px;
    }
    
    .section-title {
      font-size: 22px;
    }
    
    .hero-buttons {
      flex-direction: column;
      width: 100%;
    }
    
    .hero-buttons .btn {
      width: 100%;
      text-align: center;
      margin-bottom: 10px;
    }
    
    .form-container {
      padding: 24px 16px;
    }
    
    .footer-logo img {
      height: 40px;
    }
  }
  
  @media (max-width: 400px) {
    .hero {
      padding: 32px 0;
    }
    
    .features, .results-form {
      padding: 32px 0;
    }
    
    .hero-logo {
      width: 180px;
    }
    
    .badge {
      font-size: 12px;
      padding: 3px 8px;
    }
  }
  
  /* Show Mobile Menu Toggle Animation */
  .main-nav.show {
    max-height: 300px;
  }


  /*    ////////////////////////////////////////////////// */
   /* Print-specific styles */
   @media print {
    @page {
      size: A4 portrait;
      margin: 0;
    }
    
    body * {
      visibility: hidden;
    }
    
    .result-card,
    .result-card * {
      visibility: visible;
    }
    
    .result-card {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      margin: 0;
      padding: 0;
      box-shadow: none;
      border: none;
    }
    
    /* Adjust specific elements for print */
    .card-header h2 {
      font-size: 28px !important;
    }
    
    .card-header p {
      font-size: 24px !important;
    }
    
    .score-header h3 {
      font-size: 18px !important;
    }
    
    .label-cell {
      font-size: 14px !important;
    }
    
    .label-value {
      font-size: 14px !important;
    }
    
    /* Hide unnecessary elements in print */
    .action-buttons,
    .page-title,
    .header,
    .footer {
      display: none !important;
    }
  }
  
  /* Result page specific styles */
  .result-main {
    background-color: #f3f4f6;
    padding: 32px 0;
    min-height: 75vh;
  }
  
  .page-title {
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    color: #0039a6;
    margin-bottom: 24px;
  }
  
  .action-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
  }
  
  .result-card {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border: 2px solid #000000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  }
  
  .card-header {
    padding: 24px;
    text-align: center;
    font-size:20px ;
    border-bottom: 1px solid #d1d5db;
  }
  
  .card-header h2 {
    font-size: 40px;
    font-weight: bolder;
    color: #0039a6;
    margin: 0;
  }
  
  .card-header p {
    color: #e85d0c;
    font-weight: bold;
    margin-top: 0px;
    font-size: 35px;
  }
  
  .score-header {
    background-color: #0039a6;
      color: white;
    padding: 12px 0;
    text-align: center;
    font-weight: bold;
  }
  .SCB {
    background-color: #e97807;
    padding: 6px 0;
     }
  
  .score-header h3 {
    margin: 0;
    font-size: 20px;
  }
  
  .result-details {
    padding: 24px;
  }
  
  .result-table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .result-table td {
    padding: 5px 0;
    vertical-align: top;
  }
  
  .label-cell {
    font-size: 17px;
    text-align: right;
    font-weight: 600;
    padding-right: 16px;
    width: 50%;
  }
  .label-value{
    text-align:left;
    padding-left: 5px;
  }


  .signature-section {
    display: flex;
    justify-content: space-between;
    margin-top: 48px;
    align-items: flex-end;
  }
  
  .qr-code {
    border: 1px solid #d1d5db;
    width: 128px;
    height: 128px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .signature {
    width: 33%;
    text-align: center;
  }
  
  .signature-line {
    border-bottom: 1px solid #000;
    height: 48px;
    width: 160px;
    margin-bottom: 4px;
  }
  
  .card-footer {
    border-top: 1px solid #000000;
    padding: 12px;
    text-align: center;
    font-size: 12px;
    color: #000000;
    font-style: italic;
  }


