* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Disable text selection */
* {
  -webkit-user-select: none; /* Chrome, Safari */
  -ms-user-select: none;     /* IE/Edge */
  user-select: none;         /* Standard */
    -webkit-tap-highlight-color: transparent;

  -webkit-user-drag: none;
}
input, textarea {
  user-select: text;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}



.hero {
    width: 100%;
    padding: 50px 0;

    display: flex;
    justify-content: center;
}

.slider {
    width: 90%;
    max-width: 1100px;
    position: relative;
}

.slider {
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;

    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease,
        visibility 0.8s;

    text-align: center;
    padding: 65px 20px;

    /* Premium gradient */
    background: linear-gradient(135deg, #4f8cff, #2f6bff);
    border-radius: 22px;

    box-shadow:
        0 20px 45px rgba(47,107,255,0.35),
        inset 0 1px 0 rgba(255,255,255,0.25);

    overflow: hidden;
}

/* Shine animation */
.slide::after{
    content:"";
    position:absolute;
    top:0;
    left:-45%;
    width:45%;
    height:100%;
    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.25),
        transparent
    );
    animation: shine 6s infinite;
}

@keyframes shine{
    0%{left:-45%;}
    50%{left:120%;}
    100%{left:120%;}
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 1;
}

/* TEXT – high contrast */
.slide-content h2 {
    font-size: 34px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.4px;
}

.slide-content p {
    font-size: 17px;
    margin-top: 10px;
    color: #eef3ff;
    opacity: 0.95;
}

/* ICON – premium badge */
.icon-box {
    width: 78px;
    height: 78px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 34px;
    color: #2f6bff;

    box-shadow:
        0 10px 25px rgba(0,0,0,0.18),
        0 0 0 6px rgba(255,255,255,0.25);

    animation: pulse 2.2s infinite;
}

@keyframes pulse{
    0%{box-shadow:0 10px 25px rgba(0,0,0,0.18),0 0 0 6px rgba(255,255,255,0.25);}
    50%{box-shadow:0 14px 35px rgba(0,0,0,0.25),0 0 0 10px rgba(255,255,255,0.35);}
    100%{box-shadow:0 10px 25px rgba(0,0,0,0.18),0 0 0 6px rgba(255,255,255,0.25);}
}


.slider-dots {
    margin-top: 20px;
    text-align: center;
}

.dot {
    height: 14px;
    width: 14px;
    margin: 0 5px;
    background: #d7e4ff;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dot.active {
    background: #1a4fc4;
}

@keyframes fade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header */
.header {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.15);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(0, 57, 243, 0.2);
    transform: translateY(-2px);
}


/* Blur overlay */
.page-loader {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.4); /* light glass effect */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

/* Spinner (your original loader) */
.loader {
  width: 50px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: 
    radial-gradient(farthest-side,#0059ff 94%,#0000) top/8px 8px no-repeat,
    conic-gradient(#0000 30%,#2600ff);
  -webkit-mask: radial-gradient(farthest-side,#0000 calc(100% - 8px),#000 0);
  animation: l13 1s infinite linear;
}

@keyframes l13 {
  100% { transform: rotate(1turn); }
}


/* Hamburger button */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #000;
    border-radius: 5px;
    transition: 0.3s;
}

/* ===== MOBILE VIEW ===== */
@media (max-width: 768px) {

    .hamburger {
        display: flex;
        z-index: 1100;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 75%;
        max-width: 300px;
        background: #fff;

        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 100px 20px;

        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;

        box-shadow: -10px 0 20px rgba(0,0,0,0.15);
        z-index: 1000;
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav-link {
        font-size: 18px;
        width: 100%;
    }
}


/* Hero Slider */
.hero {
    height: 500px;
    position: relative;
    overflow: hidden;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}



@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}



.slide-content {
    text-align: center;
    color: white;
    z-index: 10;
}

.slide-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 1.3rem;
    opacity: 0.9;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

@media (max-width: 768px) {

    .slider {
        height: 65vh;
    }

    .icon-box i {
        font-size: 42px;
    }

    .slide-content h2 {
        font-size: 24px;
    }

    .slide-content p {
        font-size: 15px;
    }

    .slider-dots {
        bottom: 15px;
    }
}

.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  display: none;
  z-index: 9999;
  overflow: hidden;
  animation: popIn 0.35s ease;
}


@keyframes popIn {
  from {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}


.toast-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  color: #fff;
}

.toast.success .toast-header {
  background: linear-gradient(135deg, #1e8e3e, #0f9d58);
}

.toast.error .toast-header {
  background: linear-gradient(135deg, #d93025, #b31412);
}

.toast-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.toast-title span:first-child {
  background: rgba(255,255,255,0.2);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.toast-close {
  cursor: pointer;
  font-size: 20px;
}

.toast-body {
  padding: 18px;
}

.toast-body p {
  margin: 0 0 6px;
  font-weight: 500;
}

.toast-body small {
  color: #555;
}


/* EXTRA SMALL */
@media (max-width: 480px) {

    .slider {
        height: 60vh;
    }

    .slide-content h2 {
        font-size: 21px;
    }

    .slide-content p {
        font-size: 14px;
    }
}

/* About Section */
.about {
    padding: 4rem 0;
    background: white;
}

.about h2 {
    font-size: 2.5rem;
    color: #0066cc;
    margin-bottom: 1rem;
    text-align: center;
}

.about p {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 102, 204, 0.2);
    transition: transform 0.3s ease;
}
.profile-img{
    width:120px;
    height:120px;
    object-fit:cover;
    object-position:50% 30%;
    border-radius:50%;
    padding:4px;
    background:linear-gradient(135deg,#008cff,#00d4ff);
    box-shadow:0 10px 25px rgba(0,0,0,0.2);
    margin-top:18px;
}

.gov-sheet {
  width: 210mm;
  max-width: 100%;
  margin: 40px auto;
  padding: 25px;
  background: white;
  color: black;
  border: 2px solid #000;
  font-family: "Times New Roman", serif;
}

/* HEADER */

.gov-header {
  text-align: center;
}

.gov-header h1 {
  font-size: 20px;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.gov-header h2 {
  font-size: 10px;
  margin-top: 10px;
  text-transform: uppercase;
}

.gov-header hr {
  border: 1px solid black;
  margin: 10px 0;
}

/* TABLE */

.gov-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 15px;
}

.gov-table th,
.gov-table td {
  border: 1px solid #000;
  padding: 8px 10px;
  text-align: left;
}

.gov-table th {
  width: 35%;
  background: #f3f3f3;
}

/* FOOTER */

.gov-footer {
  margin-top: 25px;
  display: flex;
  justify-content: space-between;
  font-weight: bold;
}

/* PRINT MODE */

@media print {
  body * {
    visibility: hidden;
  }

  #resultBox,
  #resultBox * {
    visibility: visible;
  }

  #resultBox {
    position: absolute;
    left: 0;
    top: 0;
    width: 210mm;
  }
}



.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: rgba(255, 255, 255, 0.9);
}

/* Services Section */
.services {
    padding: 4rem 0;
    background: #f8f9fa;
}

.services h2 {
    font-size: 2.5rem;
    color: #0066cc;
    margin-bottom: 3rem;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 102, 204, 0.2);
}

.card-header {
    height: 100px;
    background: linear-gradient(135deg, #0080ff 0%, #6fb7ff 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -2rem -2rem 1.5rem -2rem;
}

.card-icon {
    font-size: 3rem;
}

.service-card h3 {
    color: #0066cc;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Why Choose Us Section */
.why-choose {
    padding: 4rem 0;
    background: white;
}

.why-choose h2 {
    font-size: 2.5rem;
    color: #0066cc;
    margin-bottom: 3rem;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 82, 163, 0.05) 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #e0e7ff;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #0066cc;
    box-shadow: 0 8px 16px rgba(0, 102, 204, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #0066cc;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #666;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 102, 204, 0.3);
}

.btn {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 102, 204, 0.3);
}

.btn-download {
    background: linear-gradient(135deg, #00cc88 0%, #00a366 100%);
    margin-top: 1rem;
}

.btn-download:hover {
    box-shadow: 0 8px 16px rgba(0, 204, 136, 0.3);
}

/* Certificate Section */
.certificate-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f0f4ff 0%, #f8f9fa 100%);
    min-height: calc(100vh - 200px);
}

.certificate-container {
    max-width: 700px;
    margin: 0 auto;
}

.certificate-container h2 {
    font-size: 2.5rem;
    color: #0066cc;
    margin-bottom: 1rem;
    text-align: center;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.form-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
    margin-bottom: 2rem;
}

.input-group {
    display: flex;
    gap: 1rem;
}

.input-field {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e7ff;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.certificate-preview {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.15);
    padding: 3rem;
    text-align: center;
}

.certificate-header {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    padding: 2rem;
    margin: -3rem -3rem 2rem -3rem;
}

.certificate-header h3 {
    font-size: 2rem;
    font-weight: 700;
}

.certificate-body {
    padding: 2rem 0;
}

.certificate-body h2 {
    color: #0066cc;
    font-size: 2rem;
    margin: 1.5rem 0;
}

.certificate-body h3 {
    color: #0052a3;
    font-style: italic;
    margin-bottom: 2rem;
}

.certificate-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
    text-align: left;
    background: #f0f4ff;
    padding: 1.5rem;
    border-radius: 8px;
}

.detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail span {
    color: #666;
    font-weight: 500;
}

.detail strong {
    color: #0066cc;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.status-badge.valid {
    background: #d4edda;
    color: #155724;
}

.certificate-footer {
    border-top: 2px solid #e0e7ff;
    padding-top: 1.5rem;
    color: #666;
}

.certificate-result {
    text-align: center;
}

.certificate-result .btn-download {
    width: 100%;
    max-width: 300px;
}

.no-result {
    background: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    color: #d32f2f;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
}

/* Tracker Section */
.tracker-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f0f4ff 0%, #f8f9fa 100%);
    min-height: calc(100vh - 200px);
}

.tracker-container {
    max-width: 900px;
    margin: 0 auto;
}

.tracker-container h2 {
    font-size: 2.5rem;
    color: #0066cc;
    margin-bottom: 1rem;
    text-align: center;
}

.tracker-result {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.15);
}

.progress-info {
    margin-bottom: 2rem;
}

.progress-info h3 {
    color: #0066cc;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.overall-progress {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 100%);
    padding: 1.5rem;
    border-radius: 8px;
}

.overall-progress p {
    color: #0066cc;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.progress-bar-main {
    height: 30px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 0.5rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0066cc 0%, #0052a3 100%);
    border-radius: 15px;
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.progress-text {
    color: #0066cc;
    font-weight: 700;
    font-size: 1.2rem;
}

.stages-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stage {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 82, 163, 0.05) 100%);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
}

.stage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.stage-header h4 {
    color: #0066cc;
    font-size: 1.1rem;
}

.stage-percent {
    background: #0066cc;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.progress-bar {
    height: 20px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.5rem;
}

.stage-status {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.footer {
  background: #0a3d91;
  color: white;
  font-family: Arial, sans-serif;
  padding-top: 30px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  gap: 25px;
  padding: 0 20px 30px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.footer-box h3 {
  color: #ffffff;
  margin-bottom: 12px;
  border-bottom: 2px solid #ffffff;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-box p,
.footer-box li {
  font-size: 14px;
  line-height: 1.6;
}

.footer-box ul {
  list-style: none;
  padding: 0;
}

.footer-box ul li {
  margin: 8px 0;
}

.footer-box a {
  color: #e3f2fd;
  text-decoration: none;
  transition: 0.3s;
}

.footer-box a:hover {
  text-decoration: underline;
  color: white;
}

.social-links a {
  display: inline-block;
  margin-right: 10px;
  font-weight: bold;
}

/* FULL WIDTH MAP */
.footer-map {
  width: 100%;
  margin-top: 20px;
}

.footer-map iframe {
  width: 100%;
  height: 300px;   /* you can change height */
  border: none;
}

/* Bottom Section */
.footer-bottom {
  background: #052a63;
  text-align: center;
  padding: 12px;
  font-size: 14px;
  margin-top: -5px;
}

/* PREVIEW */
.preview-section {
    display: none;
    margin-top: 24px;
}

.preview-section.active {
    display: block;
}

.thumbnail-preview img {
    width: 100%;
    border-radius: 12px;
}

/* QUALITY */
.quality-section h3 {
    margin: 20px 0 12px;
    font-size: 14px;
}

.quality-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.quality-option {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
}

.quality-option.selected {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.quality-label {
    font-weight: 600;
}

.quality-size {
    font-size: 12px;
    color: #777;
}

/* DOWNLOAD */
.download-btn {
    width: 100%;
    padding: 16px;
    margin-top: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: none;
}

.download-btn.active {
    display: block;
}
.message {
    display: none;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 14px;
}

.message.active {
    display: block;
}

.message.success {
    background: #d4edda;
    color: #155724;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
}