/*
Theme Name: E.C.Nations College Theme
Theme URI: https://ecncollege.com/
Author: Antigravity
Author URI: https://probloggertemplates.com/
Description: A modern, professional, and custom-designed WordPress theme for E.C.Nations College.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ecn-theme
Tags: college, education, customizer, modern, professional, dark-theme
*/

/* Navigation Styles */
.main-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 15px;
    align-items: center;
}

.menu-item {
    position: relative;
}

.menu-item a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 10px 15px;
    display: block;
    transition: color 0.3s ease;
}

.menu-item:hover > a {
    color: var(--primary-color, #4facfe);
}

/* Dropdown Styles */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(11, 14, 20, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    min-width: 240px;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.menu-item:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li a {
    padding: 12px 20px;
    font-size: 0.95rem;
    color: #e0e0e0;
}

.sub-menu li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-color, #4facfe);
}

/* Indicators for parents */
.menu-item-has-children > a::after {
    content: '▼';
    font-size: 0.6rem;
    margin-left: 8px;
    vertical-align: middle;
    opacity: 0.6;
}

/* Mobile Adjustments */
@media (max-width: 992px) {
    .main-nav-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0;
    }
    
    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding-left: 20px;
        display: none; /* Toggle via JS or keep simple for now */
    }
    
    .menu-item:hover > .sub-menu {
        display: block;
    }
}

/* Inner Page Styles */
.site-main {
    padding: 100px 0;
    min-height: 70vh;
}

.entry-header {
    margin-bottom: 40px;
}

.entry-content {
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 20px;
}

.widget-area {
    margin-top: 60px;
}

.widget {
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color, #4facfe);
}

.posts-grid article {
    transition: transform 0.3s ease;
}

.posts-grid article:hover {
    transform: translateY(-5px);
}

.post-thumbnail {
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.page-links {
    margin: 30px 0;
}

/* Fix for dark theme readability on inner pages */
body.page, body.single, body.archive, body.search, body.error404 {
    background-color: #0b0e14;
    color: #e0e0e0;
}

.section-title {
    margin-bottom: 30px;
}

/* ====== Verification Pages ====== */
.verification-section {
    padding: 120px 0 80px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.verification-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    width: 100%;
    max-width: 600px;
    box-shadow: var(--glass-shadow);
    margin-top: 2rem;
}

.verify-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.verify-input-group {
    position: relative;
}

.verify-input-group svg {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    pointer-events: none;
}

.verify-input-group .form-control {
    padding-left: 3.5rem;
    height: 60px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.05);
}

.verify-btn {
    height: 60px;
    font-size: 1.2rem;
    gap: 0.8rem;
}

.result-container {
    margin-top: 2.5rem;
    display: none; /* Shown via JS */
    animation: fadeInUp 0.5s forwards;
}

.result-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
}

.result-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.status-badge {
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-valid {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-invalid {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.result-item label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.result-item span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
}

.loader-container {
    display: none;
    justify-content: center;
    padding: 2rem;
}

.loader {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(14, 165, 233, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s linear infinite;
}

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

@media (max-width: 640px) {
    .result-grid {
        grid-template-columns: 1fr;
    }
    
    .verification-card {
        padding: 2rem 1.5rem;
    }
}
