/* ============================================
   SAINIK ADMISSIONS SECTION STYLES
   Color Scheme: #3a3182 (Purple) & #eaa521 (Gold) & White
   ============================================ */

/* Section Container */
.admissions-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.admissions-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(234, 165, 33, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.admissions-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(58, 49, 130, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* Header Section */
.admissions-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.admissions-subtitle {
    color: #eaa521;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.admissions-title {
    color: #3a3182;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 0;
    position: relative;
    display: inline-block;
}

.admissions-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #3a3182, #eaa521);
    border-radius: 2px;
}

/* Main Content Grid */
.admissions-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 1;
}

/* Left Column Styles */
.admissions-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Introduction Card */
.intro-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(58, 49, 130, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 25px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(58, 49, 130, 0.15);
    border-color: rgba(234, 165, 33, 0.3);
}

.intro-icon {
    flex-shrink: 0;
    animation: rotate-slow 20s linear infinite;
}

@keyframes rotate-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.intro-text {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

/* Process Timeline */
.process-timeline {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(58, 49, 130, 0.1);
    border-left: 4px solid #eaa521;
}

.timeline-heading {
    color: #3a3182;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.timeline-step {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-left: 10px;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-step::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 50px;
    width: 2px;
    height: calc(100% + 25px);
    background: linear-gradient(180deg, #eaa521, transparent);
}

.timeline-step:last-child::before {
    display: none;
}

.step-number {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #3a3182, #4a4192);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(58, 49, 130, 0.3);
    transition: all 0.3s ease;
}

.timeline-step:hover .step-number {
    transform: scale(1.1);
    background: linear-gradient(135deg, #eaa521, #f5b841);
}

.step-content h4 {
    color: #3a3182;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.timeline-step:hover .step-content h4 {
    color: #eaa521;
}

.step-content p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Important Note */
.important-note {
    background: linear-gradient(135deg, #3a3182 0%, #4a4192 100%);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(58, 49, 130, 0.2);
    position: relative;
    overflow: hidden;
}

.important-note::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(234, 165, 33, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.note-icon {
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.note-content h4 {
    color: #eaa521;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.note-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.note-content p:last-child {
    margin-bottom: 0;
}

.highlight-text {
    background: rgba(234, 165, 33, 0.15);
    padding: 12px 15px;
    border-radius: 10px;
    border-left: 3px solid #eaa521;
}

/* Right Column Styles */
.admissions-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Links Card */
.links-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(58, 49, 130, 0.1);
    transition: all 0.3s ease;
}

.links-card:hover {
    box-shadow: 0 15px 40px rgba(58, 49, 130, 0.15);
}

.card-header {
    background: linear-gradient(135deg, #3a3182 0%, #4a4192 100%);
    padding: 35px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(234, 165, 33, 0.1) 0%, transparent 70%);
    animation: rotate-slow 30s linear infinite;
}

.card-header svg {
    position: relative;
    z-index: 1;
    margin-bottom: 15px;
}

.card-header h3 {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.card-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Links List */
.links-list {
    padding: 25px;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    border-radius: 12px;
    margin-bottom: 15px;
    background: #f8f9fa;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.link-item:last-child {
    margin-bottom: 0;
}

.link-item:hover {
    background: #ffffff;
    border-color: #eaa521;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(234, 165, 33, 0.2);
}

.link-icon {
    width: 45px;
    height: 45px;
    background: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(58, 49, 130, 0.1);
    transition: all 0.3s ease;
}

.link-item:hover .link-icon {
    background: linear-gradient(135deg, #3a3182, #4a4192);
    transform: scale(1.1);
}

.link-item:hover .link-icon svg path,
.link-item:hover .link-icon svg circle {
    stroke: #ffffff;
}

.link-text h4 {
    color: #3a3182;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.link-item:hover .link-text h4 {
    color: #eaa521;
}

.link-text span {
    color: #666;
    font-size: 14px;
}

/* Eligibility Card */
.eligibility-card {
    background: linear-gradient(135deg, #eaa521 0%, #f5b841 100%);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(234, 165, 33, 0.3);
    position: relative;
    overflow: hidden;
}

.eligibility-card::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.eligibility-header {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.eligibility-header svg {
    margin-bottom: 15px;
}

.eligibility-header h3 {
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    margin: 0;
}

.eligibility-content {
    position: relative;
    z-index: 1;
}

.eligibility-item {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.eligibility-badge {
    background: linear-gradient(135deg, #3a3182, #4a4192);
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(58, 49, 130, 0.3);
}

.eligibility-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.detail-row:hover {
    background: #eef2f7;
    transform: translateX(5px);
}

.detail-row svg {
    flex-shrink: 0;
}

.detail-row span {
    color: #555;
    font-size: 15px;
    line-height: 1.5;
}

.detail-row strong {
    color: #3a3182;
}

/* Responsive Design */

/* Large Tablets */
@media (max-width: 1024px) {
    .admissions-content {
        gap: 30px;
    }

    .admissions-title {
        font-size: 42px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .admissions-section {
        padding: 60px 0;
    }

    .admissions-title {
        font-size: 36px;
    }

    .admissions-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .intro-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .timeline-heading {
        font-size: 22px;
    }

    .card-header h3 {
        font-size: 24px;
    }

    .eligibility-header h3 {
        font-size: 24px;
    }
}

/* Mobile Devices */
@media (max-width: 576px) {
    .admissions-section {
        padding: 50px 0;
    }

    .admissions-subtitle {
        font-size: 14px;
    }

    .admissions-title {
        font-size: 32px;
    }

    .intro-card {
        padding: 25px;
    }

    .intro-icon svg {
        width: 50px;
        height: 50px;
    }

    .intro-text {
        font-size: 15px;
    }

    .process-timeline {
        padding: 25px;
    }

    .timeline-heading {
        font-size: 20px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .timeline-step {
        gap: 15px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .step-content h4 {
        font-size: 17px;
    }

    .step-content p {
        font-size: 14px;
    }

    .important-note {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    .card-header {
        padding: 30px 20px;
    }

    .card-header h3 {
        font-size: 22px;
    }

    .links-list {
        padding: 20px;
    }

    .link-item {
        padding: 15px;
    }

    .link-text h4 {
        font-size: 16px;
    }

    .link-text span {
        font-size: 13px;
    }

    .eligibility-card {
        padding: 25px;
    }

    .eligibility-header h3 {
        font-size: 22px;
    }

    .eligibility-item {
        padding: 20px;
    }

    .detail-row {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

/* Extra Small Devices */
@media (max-width: 400px) {
    .admissions-title {
        font-size: 28px;
    }

    .intro-card {
        padding: 20px;
    }

    .process-timeline {
        padding: 20px;
    }

    .important-note {
        padding: 20px;
    }
}

/* Print Styles */
@media print {
    .admissions-section {
        padding: 40px 0;
        background: white;
    }

    .admissions-content {
        grid-template-columns: 1fr;
    }

    .intro-card,
    .process-timeline,
    .links-card,
    .eligibility-card {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
}