/* APPSC Home Page - CarpeDiem IAS */
/* Professional State PCS Exam Vibe - Minimal & Production Ready */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.appsc-page-container {
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    min-height: 100vh;
    padding-top: 20px;
    padding-bottom: 40px;
}

/* Navigation Bar - Dark Blue Background */
.appsc-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
    background: #1a2b4a;
    border-bottom: 2px solid #F00017;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.appsc-nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.appsc-breadcrumb-home {
    color: #e9ecef;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.appsc-breadcrumb-home:hover {
    color: #64b5f6;
}

.appsc-breadcrumb-separator {
    color: #adb5bd;
    font-size: 0.95rem;
}

.appsc-breadcrumb-active {
    color: #f8f9fa;
    font-weight: 600;
    font-size: 0.95rem;
}

.appsc-nav-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.appsc-dropdown {
    position: relative;
    display: inline-block;
}

.appsc-nav-button {
    background: none;
    border: none;
    color: #f8f9fa;
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 8px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 6px;
}

.appsc-nav-button:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.appsc-dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: #1a2b4a;
    min-width: 180px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 1000;
    margin-top: 8px;
    border: 2px solid #F00017;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

/* DELAYED DROPDOWN - Stays visible longer */
.appsc-dropdown:hover .appsc-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Keep dropdown visible when hovering over dropdown itself */
.appsc-dropdown-content:hover {
    opacity: 1;
    visibility: visible;
}

.appsc-dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #e9ecef;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.appsc-dropdown-item:hover {
    background: rgba(96, 165, 250, 0.2);
    color: #ffffff;
}

.appsc-dropdown-item i {
    width: 20px;
    text-align: center;
}

/* Content Wrapper - Consistent Alignment */
.appsc-content-wrapper {
    max-width: 1100px;
    margin: 30px auto 0;
    padding: 0 40px;
}

/* Section Base Class */
.appsc-section {
    margin-bottom: 35px;
}

/* Title Section - Reduced Red Intensity */
.appsc-page-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #d90015; /* Less intense red */
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.appsc-page-subtitle {
    font-size: 1.2rem;
    color: #5a6268;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Description Section with Image Background */
.appsc-description-bg {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('../images/eh.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 45px;
    border-radius: 10px;
    margin-bottom: 35px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.appsc-description-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 43, 74, 0.85) 0%, rgba(217, 0, 21, 0.15) 100%);
}

.appsc-description-text {
    position: relative;
    z-index: 10;
    font-size: 1.1rem;
    line-height: 1.9;
    color: #ffffff;
    text-align: justify;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Section Heading with Icon - Reduced Red */
.appsc-section-heading {
    font-size: 1.6rem;
    font-weight: 600;
    color: #d90015; /* Less intense red */
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.appsc-section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 2.5px;
    background: #d90015; /* Less intense red */
    border-radius: 3px;
}

.appsc-section-heading i {
    font-size: 1.3rem;
    color: #d90015; /* Less intense red */
}

/* Eligibility Section */
.appsc-eligibility-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.appsc-eligibility-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.appsc-eligibility-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
    border-color: #d90015; /* Less intense red */
}

.appsc-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f3f5;
}

.appsc-card-header i {
    color: #d90015; /* Less intense red */
    font-size: 1.3rem;
}

.appsc-eligibility-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a3a6c; /* Less intense red */
    margin: 0;
}

.appsc-eligibility-content {
    padding-left: 8px;
}

.appsc-eligibility-item {
    font-size: 0.95rem;
    line-height: 2;
    color: #495057;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.appsc-eligibility-item i {
    color: #d90015; /* Less intense red */
    font-size: 0.9rem;
    margin-top: 3px;
    min-width: 18px;
}

.appsc-eligibility-item strong {
    color: #343a40;
    font-weight: 600;
}

/* How We Help Section */
.appsc-help-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.appsc-help-card {
    background: white;
    border-radius: 8px;
    padding: 28px 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    min-height: 220px;
}

.appsc-help-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.appsc-help-icon {
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #d90015; /* Less intense red */
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.appsc-help-card:hover .appsc-help-icon {
    background: #d90015; /* Less intense red */
    color: white;
    transform: scale(1.1);
}

.appsc-help-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a3a6c; /* Less intense red */
    margin-bottom: 12px;
}

.appsc-help-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #495057;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .appsc-nav-bar {
        padding: 10px 25px;
    }
    
    .appsc-content-wrapper {
        padding: 0 25px;
    }
    
    .appsc-page-title {
        font-size: 2.1rem;
    }
    
    .appsc-page-subtitle {
        font-size: 1.1rem;
    }
    
    .appsc-description-bg {
        padding: 35px 40px;
    }
    
    .appsc-description-text {
        font-size: 1.05rem;
    }
}

@media (max-width: 768px) {
    .appsc-nav-bar {
        flex-direction: column;
        gap: 12px;
        padding: 12px 20px;
    }
    
    .appsc-nav-right {
        width: 100%;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .appsc-nav-button {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    .appsc-content-wrapper {
        padding: 0 20px;
        margin-top: 20px;
    }
    
    .appsc-page-title {
        font-size: 1.8rem;
    }
    
    .appsc-page-subtitle {
        font-size: 1rem;
    }
    
    .appsc-description-bg {
        padding: 30px 35px;
    }
    
    .appsc-description-text {
        font-size: 1rem;
    }
    
    .appsc-section-heading {
        font-size: 1.4rem;
    }
    
    .appsc-eligibility-grid,
    .appsc-help-grid {
        grid-template-columns: 1fr;
    }
    
    .appsc-eligibility-card,
    .appsc-help-card {
        padding: 22px;
    }
    
    .appsc-eligibility-title {
        font-size: 1.25rem;
    }
    
    .appsc-help-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .appsc-nav-bar {
        padding: 10px 15px;
    }
    
    .appsc-breadcrumb-home,
    .appsc-breadcrumb-separator,
    .appsc-breadcrumb-active,
    .appsc-nav-button {
        font-size: 0.8rem;
    }
    
    .appsc-nav-button i {
        font-size: 0.75rem;
    }
    
    .appsc-content-wrapper {
        padding: 0 15px;
    }
    
    .appsc-page-title {
        font-size: 1.5rem;
    }
    
    .appsc-page-subtitle {
        font-size: 0.95rem;
    }
    
    .appsc-description-bg {
        padding: 25px 30px;
    }
    
    .appsc-description-text {
        font-size: 0.95rem;
        line-height: 1.8;
    }
    
    .appsc-section-heading {
        font-size: 1.3rem;
    }
    
    .appsc-section-heading i {
        font-size: 1.2rem;
    }
    
    .appsc-eligibility-card,
    .appsc-help-card {
        padding: 20px;
    }
    
    .appsc-card-header i {
        font-size: 1.1rem;
    }
    
    .appsc-eligibility-title {
        font-size: 1.15rem;
        margin-bottom: 12px;
    }
    
    .appsc-eligibility-item {
        font-size: 0.9rem;
        margin-bottom: 8px;
        line-height: 1.8;
    }
    
    .appsc-eligibility-item i {
        font-size: 0.85rem;
    }
    
    .appsc-help-title {
        font-size: 1.05rem;
    }
    
    .appsc-help-text {
        font-size: 0.9rem;
    }
    
    .appsc-help-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    /* Mobile Dropdown Fix - Show on left side */
    .appsc-dropdown-content {
        left: 0;
        right: auto;
        min-width: 160px;
    }
}