* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #1a2744;
    --gold: #c5a572;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --success: #28a745;
    --danger: #dc3545;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes expandWidth {
    to { width: 100px; }
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Header Styles */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideInLeft 0.8s ease-out;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
}

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

.logo-section img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
}

.institute-info h1 {
    color: var(--navy);
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.institute-info p {
    color: var(--gold);
    font-size: 12px;
    margin-top: 2px;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 15px;
    position: relative;
}

nav a.login-btn {
    background: var(--gold);
    color: var(--navy);
    padding: 8px 20px;
    border-radius: 5px;
}

nav a.login-btn:hover {
    background: var(--navy);
    color: var(--gold);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

nav a.login-btn::after {
    display: none;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a:hover,
nav a.active {
    color: var(--gold);
    transform: translateY(-2px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #1a2744;
    --gold: #c5a572;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Hero Section with Background Image */
.hero {
    background: 
        linear-gradient(135deg, rgba(26, 39, 68, 0.88) 0%, rgba(45, 62, 95, 0.85) 100%),
        url('hero\ 1.webp') center/cover no-repeat;
    color: var(--white);
    padding: 120px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animated overlay effect */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(197, 165, 114, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

/* Hero content wrapper */
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

/* Heading styles */
.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--gold);
    animation: fadeInUp 1s ease-out;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

/* Paragraph styles */
.hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 30px;
    animation: fadeInUp 1.2s ease-out;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

/* CTA Button styles */
.cta-button {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.4s ease;
    animation: fadeInUp 1.4s ease-out;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Button hover effect */
.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(197, 165, 114, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 80px 20px;
        min-height: 500px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 20px;
        min-height: 450px;
    }

    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 14px;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 14px;
    }
}

/* Section Styles */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 30px;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.section.active {
    display: block;
    animation: fadeIn 0.6s ease forwards;
}

.section h2 {
    font-size: 36px;
    color: var(--navy);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    animation: fadeInUp 0.8s ease;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gold);
    animation: expandWidth 1s ease forwards 0.5s;
}

/* Home Gallery */
.home-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 39, 68, 0.9), transparent);
    color: var(--white);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    color: var(--gold);
    margin-bottom: 5px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.about-text p {
    margin-bottom: 20px;
    text-align: justify;
    color: #555;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-box {
    background: var(--navy);
    color: var(--white);
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    transition: all 0.4s ease;
    animation: scaleIn 0.6s ease;
}

.stat-box:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(26, 39, 68, 0.3);
}

.stat-box h3 {
    font-size: 40px;
    color: var(--gold);
    margin-bottom: 10px;
}

/* Courses Section */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.course-card {
    background: var(--white);
    border: 2px solid var(--navy);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: fadeInUp 0.6s ease;
    cursor: pointer;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: var(--gold);
}

.course-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-content {
    padding: 25px;
}

.course-content .icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.course-card h3 {
    color: var(--navy);
    margin-bottom: 15px;
    font-size: 22px;
}

.course-card p {
    color: #666;
    margin-bottom: 15px;
}

.course-duration {
    color: var(--gold);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.course-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 10px;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(197, 165, 114, 0.2);
    transform: translateY(-2px);
}

.contact-form button {
    background: var(--navy);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-form button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--gold);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.contact-form button:hover::before {
    width: 300px;
    height: 300px;
}

.contact-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(26, 39, 68, 0.3);
}

.contact-form button span {
    position: relative;
    z-index: 1;
}

.contact-info {
    background: var(--navy);
    color: var(--white);
    padding: 40px;
    border-radius: 10px;
    animation: slideInRight 0.6s ease;
    transition: transform 0.3s ease;
}

.contact-info:hover {
    transform: scale(1.02);
}

.contact-info h3 {
    color: var(--gold);
    margin-bottom: 20px;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-item strong {
    color: var(--gold);
}

/* Certificate Verification - Enhanced Styles */
.verification-container {
    max-width: 900px;
    margin: 40px auto;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    animation: scaleIn 0.6s ease;
}

.verification-form {
    text-align: center;
    margin-bottom: 30px;
}

.verification-form input {
    width: 100%;
    max-width: 500px;
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid var(--navy);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    text-align: center;
}

.verification-form input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(197, 165, 114, 0.3);
    transform: scale(1.02);
}

.verification-form button {
    background: var(--navy);
    color: var(--white);
    padding: 15px 50px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.verification-form button span {
    position: relative;
    z-index: 1;
}

.verification-form button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.verification-form button:hover::before {
    width: 300px;
    height: 300px;
}

.verification-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(26, 39, 68, 0.4);
}

.certificate-result {
    display: none;
    margin-top: 30px;
    padding: 0;
    border-radius: 15px;
    opacity: 0;
    transition: all 0.5s ease;
}

.certificate-result.valid {
    background: linear-gradient(135deg, #d4edda 0%, #e8f5e9 100%);
    border: 3px solid var(--success);
    display: block;
    animation: slideInUp 0.6s ease forwards;
}

.certificate-result.invalid {
    background: linear-gradient(135deg, #f8d7da 0%, #ffebee 100%);
    border: 3px solid var(--danger);
    display: block;
    animation: slideInUp 0.6s ease forwards;
    padding: 40px;
    text-align: center;
}

/* Certificate Card Design */
.certificate-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.certificate-header {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--navy) 0%, #2d3e5f 100%);
    border-radius: 12px 12px 0 0;
    margin: -30px -30px 30px -30px;
}

.certificate-header h3 {
    color: var(--gold);
    font-size: 28px;
    margin-bottom: 10px;
    animation: pulse 2s ease infinite;
}

.certificate-header .status-badge {
    display: inline-block;
    background: var(--success);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
}

.certificate-body {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    align-items: start;
}

.student-photo-container {
    text-align: center;
}

.student-photo {
    width: 180px;
    height: 200px;
    border-radius: 10px;
    object-fit: cover;
    border: 4px solid var(--gold);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    margin-bottom: 15px;
}

.photo-label {
    color: var(--navy);
    font-weight: 600;
    font-size: 14px;
}

.certificate-details {
    padding: 20px;
}

.detail-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row:hover {
    background: #f8f9fa;
    padding-left: 10px;
    border-radius: 5px;
}

.detail-label {
    font-weight: 700;
    color: var(--navy);
    font-size: 15px;
}

.detail-value {
    color: #555;
    font-size: 15px;
}

.certificate-preview {
    margin-top: 30px;
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed var(--gold);
}

.certificate-preview h4 {
    color: var(--navy);
    margin-bottom: 15px;
    font-size: 18px;
}

.certificate-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.certificate-image:hover {
    transform: scale(1.02);
}

.download-section {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.download-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--navy) 0%, #2d3e5f 100%);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.download-btn:hover::before {
    width: 400px;
    height: 400px;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(26, 39, 68, 0.4);
}

.download-btn span {
    position: relative;
    z-index: 1;
}

.download-icon {
    margin-right: 10px;
    font-size: 20px;
    vertical-align: middle;
}

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

.invalid-message h3 {
    color: var(--danger);
    font-size: 24px;
    margin-bottom: 15px;
}

.invalid-message .error-icon {
    font-size: 60px;
    color: var(--danger);
    margin-bottom: 20px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    max-width: 450px;
    width: 90%;
    position: relative;
    animation: scaleIn 0.4s ease;
}

.modal-content h2 {
    color: var(--navy);
    margin-bottom: 25px;
    text-align: center;
    font-size: 28px;
}

.modal-content input {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.modal-content input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(197, 165, 114, 0.2);
}

.modal-content button {
    width: 100%;
    background: var(--navy);
    color: var(--white);
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.modal-content button:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 30px;
    font-weight: bold;
    color: var(--navy);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--gold);
}

.modal-switch {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.modal-switch a {
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
}

.modal-switch a:hover {
    color: var(--gold);
}

/* Footer */
footer {
    background: var(--navy);
    color: var(--white);
    text-align: center;
    padding: 30px;
    margin-top: 50px;
}

footer p {
    color: var(--gold);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--navy);
    font-size: 24px;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .courses-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        padding: 15px 20px;
    }

    .mobile-menu-btn {
        display: block;
        order: 3;
    }

    .logo-section {
        order: 1;
        flex: 1;
    }

    .logo-section img {
        width: 50px;
        height: 50px;
    }

    .institute-info h1 {
        font-size: 16px;
    }

    .institute-info p {
        font-size: 10px;
    }

    nav {
        order: 4;
        width: 100%;
        display: none;
        margin-top: 15px;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    nav a {
        display: block;
        padding: 10px;
        background: var(--light-bg);
        border-radius: 5px;
    }

    nav a.login-btn {
        text-align: center;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .section {
        padding: 40px 20px;
    }

    .section h2 {
        font-size: 28px;
    }

    .home-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 30px 20px;
        max-width: 95%;
    }

    .verification-container {
        padding: 30px 20px;
    }

    .certificate-body {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .student-photo {
        width: 160px;
        height: 180px;
        margin: 0 auto 15px;
    }

    .detail-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 5px;
    }

    .download-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 24px;
    }

    .hero p {
        font-size: 14px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 14px;
    }

    .section h2 {
        font-size: 24px;
    }

    .stat-box h3 {
        font-size: 32px;
    }

    .course-card h3 {
        font-size: 18px;
    }

    .gallery-item {
        height: 200px;
    }

    .certificate-header h3 {
        font-size: 22px;
    }

    .detail-label,
    .detail-value {
        font-size: 14px;
    }

    .verification-form input {
        font-size: 14px;
        padding: 12px;
    }
}

/* newcss */
.verify-status {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    font-family: "Segoe UI", sans-serif;
}

/* ICON */
.status-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

/* INVALID */
.verify-status.invalid {
    background: linear-gradient(#fdeaea, #fff);
    border: 2px solid #f44336;
}

.verify-status.invalid .status-icon {
    color: #f44336;
}

.verify-status.invalid h3 {
    color: #d32f2f;
}

/* VALID */
.verify-status.valid {
    background: linear-gradient(#e8f5e9, #fff);
    border: 2px solid #4caf50;
}

.verify-status.valid .status-icon {
    color: #2e7d32;
}

.verify-status.valid h3 {
    color: #2e7d32;
}

/* TEXT */
.status-msg {
    font-size: 16px;
    margin: 10px 0;
    color: #444;
}

.status-sub {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

/* CONTACT BOX */
.contact-box {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 420px;
    margin: auto;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.contact-box h5 {
    margin-bottom: 10px;
    color: #1f3c88;
}

/* VERIFIED DETAILS */
.verified-card {
    display: flex;
    gap: 30px;
    text-align: left;
    margin-top: 25px;
}

.verified-left {
    flex: 2;
}

.verified-left table {
    width: 100%;
    border-collapse: collapse;
}

.verified-left th {
    width: 35%;
    padding: 8px 0;
    font-weight: 600;
    color: #333;
}

.verified-left td {
    padding: 8px 0;
    color: #555;
}

.verified-right {
    flex: 1;
    text-align: center;
}

.verified-right img {
    width: 150px;
    height: 190px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
}

.verified-right a {
    display: inline-block;
    padding: 10px 18px;
    background: #1f3c88;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
}
/* ===============================
   RESPONSIVE FIX FOR MOBILE
   =============================== */

@media (max-width: 768px) {

    .verify-status {
        padding: 25px 15px;
    }

    .verified-card {
        flex-direction: column;   /* stack vertically */
        gap: 20px;
    }

    .verified-left,
    .verified-right {
        width: 100%;
    }

    .verified-left table th,
    .verified-left table td {
        display: block;
        width: 100%;
    }

    .verified-left table tr {
        display: block;
        margin-bottom: 12px;
        border-bottom: 1px solid #eee;
        padding-bottom: 8px;
    }

    .verified-left table th {
        font-size: 13px;
        color: #666;
        padding-bottom: 3px;
    }

    .verified-left table td {
        font-size: 15px;
        font-weight: 500;
        color: #222;
    }

    .verified-right img {
        width: 130px;
        height: 170px;
    }

    .verified-right a {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 15px;
    }
}

