/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f0f8ff 0%, #ffffff 100%);
    min-height: 100vh;
}


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

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Header Styles */
.header {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 48px;
    height: 48px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    color: white;
    font-weight: bold;
    font-size: 2px;
    /* margin-top: 2px; */
}
.logo-text img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.institute-name {
    font-size: 20px;
    font-weight: bold;
    color: #004ebc;
    margin-bottom: 2px;
}

.institute-subtitle {
    font-size: 16px;
    color: #000;
    font-weight: bolder;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
    padding: 40px 0;
}

/* Verification Section */
.verification-section {
    width: 100%;
}

.verification-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

.card-title {
    font-size: 24px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 8px;
}

.card-description {
    color: #6b7280;
    margin-bottom: 32px;
}

.verification-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #2563eb;
}

.verify-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.verify-btn:hover {
    background: #1d4ed8;
}

/* Certificate Details Section */
.certificate-details {
    width: 100%;
    padding: 40px 0;
}

.details-header {
    text-align: center;
    margin-bottom: 32px;
}

.details-title {
    font-size: 32px;
    font-weight: bold;
    color: #1e40af;
    margin-bottom: 8px;
}

.title-underline {
    width: 96px;
    height: 4px;
    background: #2563eb;
    margin: 0 auto;
}

.details-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.card-header {
    background: #2563eb;
    color: white;
    padding: 20px;
}

.card-header h3 {
    font-size: 20px;
    font-weight: 600;
}

.card-content {
    padding: 32px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.info-section h4,
.student-info h4,
.academic-info h4 {
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 8px;
}

.info-section p {
    color: #142338;
    font-size: 16px;
    /* font-weight: bold; */
    
}


.info-divider {
    border-top: 1px solid #e5e7eb;
    margin: 24px 0;
}

.student-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.student-grid .full-width {
    grid-column: 1 / -1;
}

.academic-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.label {
    font-weight: 600;
}

.note-section {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 16px;
    margin: 24px 0;
}

.note-section p {
    color: #92400e;
    font-size: 14px;
}

.action-section {
    text-align: center;
    margin-top: 32px;
}

.verify-another-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.verify-another-btn:hover {
    background: #1d4ed8;
}

/* Error Section */
.error-section {
    width: 100%;
}

.error-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

.error-title {
    color: #dc2626;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.error-description {
    color: #6b7280;
    margin-bottom: 24px;
}

.go-back-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.go-back-btn:hover {
    background: #1d4ed8;
}
.help-section {
    position: fixed;
    bottom: 20px;
    left: 20px;
    cursor: pointer;
    z-index: 1000;
}

.help-icon {
    background-color: #fff;
    color: #000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.help-content {
    display: none; /* initially hidden */
    background-color: white;
    border-radius: 8px;
    padding: 10px;
    margin-top: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.help-content .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.contact-icon {
    margin-right: 5px;
}

.help-content .contact-icon {
    font-size: 16px;
    color: #2563eb;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    font-size: 16px;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 32px 0;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-section p {
    color: #d1d5db;
    font-size: 14px;
    line-height: 1.6;
}

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

.footer-logo {
    width: 64px;
    height: 64px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.footer-logo span {
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icon {
  position: relative;
  cursor: pointer;
  font-size: 24px;
}

.tooltip {
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.social-icon:hover .tooltip {
  opacity: 1;
  pointer-events: auto;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-bottom p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .verification-card,
    .error-card {
        padding: 24px;
        margin: 0 16px;
    }
    
    .details-card .card-content {
        padding: 24px;
    }
    
    .info-grid,
    .student-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .student-grid .full-width {
        grid-column: 1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }
    
    .help-section {
        bottom: 16px;
        left: 16px;
    }
    
    .help-content {
        min-width: 180px;
    }
}

