/* enlistment.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

.intro-text strong {
    color: #d4af37;
    font-weight: 700;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(42, 52, 62, 0.75) 100%),
                url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=1600');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 50px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

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

.header-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease;
}

.page-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
    text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.breadcrumb-nav a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.breadcrumb-nav a:hover {
    color: #FFD700;
}

.breadcrumb-nav span:last-child {
    color: rgba(255, 255, 255, 0.7);
}

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

/* Main Content */
.enlistment-section {
    padding: 80px 0;
    background: #f5f7fa;
}

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

/* Intro Section */
.intro-section {
    margin-bottom: 60px;
    text-align: center;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.intro-text {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    max-width: 900px;
    margin: 30px auto 0;
}

/* Enlistment Grid */
.enlistment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Enlistment Card */
.enlistment-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-left: 4px solid transparent;
}

.enlistment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.enlistment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
    border-left-color: #d4af37;
}

.enlistment-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d67c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s;
    border-radius: 20px;
    
}

.enlistment-card:hover .card-icon {
    transform: rotateY(360deg);
}


.card-icon i {
    font-size: 35px;
    color: white;
}

.card-title {
    font-size: 22px;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 15px;
    text-align: center;
}

.enlistment-card:hover .card-title {
    color: #efb805;
}

.card-description {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    text-align: center;
    margin-bottom: 20px;
}

.card-details {
    list-style: none;
    padding: 0;
}

.card-details li {
    padding: 8px 0;
    color: #555;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-details li i {
    color: #667eea;
    font-size: 12px;
}

/* Certificate Section */
.certificate-section {
    background: white;
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 60px;
}

.certificate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.certificate-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    transition: all 0.3s;
}

.certificate-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
    border-left-color: #d4af37;
}

.certificate-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d67c 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s;
}

.certificate-item:hover .certificate-icon {
    transform: scale(1.1);
}



.certificate-icon i {
    font-size: 45px;
    color: white;
}

.certificate-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 10px;
}

.certificate-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Benefits Section */
.benefits-section {
    margin-bottom: 60px;
}

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

.benefit-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
    border-left: 4px solid #d4af37;
}

.benefit-box:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.15);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d67c 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon i {
    font-size: 28px;
    color: white;
}

.benefit-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 10px;
}

.benefit-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: #1e3c72;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    color: #1e3c72;
}

.cta-btn i {
    margin-left: 8px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 32px;
    }

    .page-subtitle {
        font-size: 16px;
    }

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

    .enlistment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .certificate-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefit-box {
        flex-direction: column;
        text-align: center;
    }

    .certificate-section {
        padding: 40px 20px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-content p {
        font-size: 16px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .enlistment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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