/* Tailwind is used for base layout, this file adds the fancy styling */

:root {
    --army-gold: #FFC72C;
    --army-green: #4A553A;
    --dark-bg: #0c0d0f;
    --card-bg: #1a1a1a;
    --text-light: #e0e0e0;
    --text-dark: #000;
    --border-color: #333;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.font-orbitron {
    font-family: 'Orbitron', sans-serif;
}

.text-gold {
    color: var(--army-gold);
}

/* --- Header with Centered Logo --- */
.site-header {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 199, 44, 0.2);
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 1rem 0;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}
.header-nav {
    display: none;
}
@media (min-width: 1024px) {
    .header-nav {
        display: flex;
        align-items: center;
        gap: 2rem;
        font-size: 1.1rem;
        flex: 1;
    }
    .nav-right {
        justify-content: flex-end;
    }
}
.header-nav a {
    color: var(--text-light);
    text-decoration: none;
    padding-bottom: 0.5rem;
    position: relative;
    transition: color 0.3s;
    font-weight: 700;
}
.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--army-gold);
    transition: width 0.3s ease-in-out;
}
.header-nav a:hover {
    color: var(--army-gold);
}
.header-nav a:hover::after {
    width: 100%;
}
.logo-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.site-logo {
    height: 70px;
    transition: height 0.3s;
}
.mobile-nav-menu {
    display: block;
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background-color: #000;
    padding-top: 6rem;
    transition: left 0.4s ease-in-out;
    z-index: 40;
    border-right: 2px solid var(--army-gold);
}
.mobile-nav-menu.open {
    left: 0;
}
.mobile-nav-link {
    display: block;
    padding: 1rem 1.5rem;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    border-bottom: 1px solid var(--border-color);
}
.mobile-nav-link:hover {
    background-color: var(--army-gold);
    color: var(--text-dark);
}

/* --- Fancy Google Translate Widget Styles --- */
#google_translate_element {
    margin-left: 1rem;
}
.goog-te-gadget-simple {
    background-color: transparent !important;
    border: 1px solid var(--army-gold) !important;
    border-radius: 5px !important;
    padding: 0.5rem !important;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 199, 44, 0.3);
}
.goog-te-gadget-simple span {
    color: var(--army-gold) !important;
    font-weight: bold;
}
.goog-te-gadget-icon {
    display: none !important;
}
body > .skiptranslate {
    display: none !important;
}
iframe.goog-te-menu-frame {
    box-shadow: 0 10px 30px rgba(0,0,0,0.7) !important;
    border-radius: 10px !important;
}
.goog-te-menu-value span {
    color: #333 !important;
}
.goog-te-menu-value span:hover {
    color: #000 !important;
}


/* --- Sliding Banner --- */
.slider-container {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    background-color: #000;
}
.slider-container .slides {
    height: 100%;
    display: flex;
    transition: transform 0.7s ease-in-out;
}
.slider-container .slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-container .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent, rgba(0,0,0,0.2));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 2rem;
}
.slider-overlay h1 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
    margin-bottom: 1rem;
    color: var(--army-gold);
}
.slider-overlay p {
    font-size: 1.5rem;
    max-w: 700px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
    font-weight: 700;
}
.cta-button {
    margin-top: 2rem;
    background: linear-gradient(145deg, var(--army-gold), #f0c300);
    color: var(--text-dark);
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 199, 44, 0.3);
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 199, 44, 0.5);
}

/* --- How It Works Section --- */
.how-it-works-section {
    padding: 5rem 0;
    background-color: var(--dark-bg);
}
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.step-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 10px;
    position: relative;
}
.step-number {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: bold;
    color: rgba(255, 199, 44, 0.1);
    font-family: 'Orbitron', sans-serif;
}
.step-card h3 {
    font-size: 1.5rem;
    color: var(--army-gold);
    margin-bottom: 1rem;
}
.step-card p {
    color: #aaa;
}

/* --- About Us Image --- */
.about-image-container {
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid var(--army-gold);
}
.about-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Full-Width Video Section --- */
.video-section {
    padding: 5rem 0;
    background-color: #000;
}
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 1280px;
    margin: auto;
    border: 3px solid var(--army-gold);
    border-radius: 10px;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- Themed Section Backgrounds --- */
.themed-section {
    background-color: var(--army-green);
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://www.transparenttextures.com/patterns/military.png');
}


/* --- Service Cards with Images --- */
.service-card {
    background-color: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--army-gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.service-card-image-container {
    height: 180px;
    background-color: #111;
}
.service-card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.service-card-content h3 {
    font-size: 1.5rem;
    min-height: 3em;
    margin-bottom: 1rem;
    color: var(--army-gold);
}
.service-card-content p {
    flex-grow: 1;
    color: #ccc;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}
.service-link {
    display: inline-block;
    margin-top: auto;
    background-color: transparent;
    border: 1px solid var(--army-gold);
    color: var(--army-gold);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}
.service-link:hover {
    background-color: var(--army-gold);
    color: var(--text-dark);
}

/* --- **NEW** Additional Info Section --- */
.additional-info-section {
    padding: 5rem 0;
    background: linear-gradient(rgba(12, 13, 15, 0.9), rgba(12, 13, 15, 0.9)), url('https://images.pexels.com/photos/1102915/pexels-photo-1102915.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') no-repeat center center/cover;
    background-attachment: fixed; /* Parallax effect */
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
.info-card {
    background-color: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(5px);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 10px;
}
.info-card h3 {
    font-size: 1.5rem;
    color: var(--army-gold);
    margin-bottom: 1rem;
}
.info-card p {
    color: #aaa;
}
.info-table-container {
    background-color: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(5px);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 10px;
}
.info-table p {
    color: #aaa;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}
.info-table p:last-child {
    border-bottom: none;
    margin-bottom: 0;
}


/* --- News Section --- */
.news-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    border-color: var(--army-gold);
}
.news-card-image-link img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.news-card:hover .news-card-image-link img {
    transform: scale(1.05);
}
.news-card-content {
    padding: 1.5rem;
}
.news-card-date {
    font-size: 0.8rem;
    color: #aaa;
    margin-bottom: 0.5rem;
}
.news-card-title {
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1.4;
    height: 3.5em;
    overflow: hidden;
}
.news-card-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}
.news-card-title a:hover {
    color: var(--army-gold);
}


/* --- ID Card Design & Other Pages --- */
.id-card-container { max-width: 450px; margin: auto; background: linear-gradient(160deg, #2c3e50, #1d2b3a); border-radius: 15px; box-shadow: 0 15px 50px rgba(0,0,0,0.8); border: 1px solid #444; overflow: hidden; }
.id-card-header { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.5rem; background-color: rgba(0,0,0,0.2); border-bottom: 2px solid var(--army-gold); }
.id-card-container .id-card-header h2 { font-size: 1.5rem; line-height: 1; }
.id-card-container .id-card-header p { font-size: 0.7rem; letter-spacing: 2px; color: #aaa; }
.id-card-seal { height: 50px; opacity: 0.9; }
.id-card-body { padding: 1.5rem; display: flex; gap: 1.5rem; }
.id-card-photo-container { width: 150px; height: 150px; flex-shrink: 0; }
.id-card-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; border: 3px solid #555; }
.id-card-details { width: 100%; }
.id-card-container .detail-field { background-color: transparent; padding: 0; border: none; margin-bottom: 1rem; }
.id-card-container .detail-label { display: block; font-size: 0.7rem; color: #aaa; font-weight: bold; letter-spacing: 1px; text-transform: uppercase; }
.id-card-container .detail-value { font-family: 'Orbitron', monospace; font-size: 1.1rem; color: #fff; border-bottom: 1px solid #444; padding-bottom: 0.25rem; }
.id-card-footer { background-color: rgba(0,0,0,0.2); padding: 1rem; display: flex; align-items: center; gap: 1rem; }
.qr-code-container { width: 80px; height: 80px; background-color: #fff; padding: 5px; border-radius: 5px; flex-shrink: 0; }
.qr-code-container img { width: 100%; height: 100%; }
.apply-button-container { width: 100%; }
.apply-button { display: block; width: 100%; background: linear-gradient(145deg, var(--army-gold), #f0c300); color: var(--text-dark); text-align: center; padding: 1rem; font-family: 'Orbitron', sans-serif; font-weight: bold; text-decoration: none; border-radius: 8px; transition: all 0.3s ease; border: 1px solid #b39700; text-shadow: 1px 1px 1px rgba(255,255,255,0.3); }
.apply-button:hover { background: #fff; color: var(--text-dark); transform: scale(1.02); box-shadow: 0 0 15px rgba(255, 199, 44, 0.5); }
.application-form-container { background: linear-gradient(145deg, #1a1d24, #111317); border: 1px solid var(--border-color); border-top: 3px solid var(--army-gold); border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,0.7); padding: 2rem; }
.application-form-container .form-header { text-align: center; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid #444; }
.application-form-container .form-body { padding: 0 1rem; }
.form-field { margin-bottom: 1.5rem; }
.form-label { display: block; font-weight: bold; color: var(--army-gold); margin-bottom: 0.5rem; }
.form-input { width: 100%; background-color: rgba(0,0,0,0.3); border: 1px solid #444; color: #fff; padding: 0.75rem 1rem; border-radius: 5px; transition: all 0.3s; }
.form-input:focus { outline: none; border-color: var(--army-gold); background-color: rgba(0,0,0,0.5); }
.form-input.file-input { padding: 0.5rem 1rem; cursor: pointer; }
.form-input.file-input:hover { background-color: rgba(255, 199, 44, 0.1); }
.site-footer-container {
    background-color: var(--army-green) !important;
    border-top: 2px solid var(--army-gold);
}
.terms-field { display: flex; align-items: center; margin-top: 1.5rem; }
.terms-checkbox { height: 1.25rem; width: 1.25rem; flex-shrink: 0; accent-color: var(--army-gold); }
.terms-label { margin-left: 0.75rem; font-size: 0.9rem; color: #ccc; }
.submit-field { text-align: center; padding-top: 1.5rem; margin-top: 1.5rem; border-top: 1px solid #444; }
.submit-application-btn { background: linear-gradient(145deg, var(--army-gold), #f0c300); color: var(--text-dark); font-family: 'Orbitron', sans-serif; font-weight: bold; font-size: 1.25rem; padding: 0.75rem 3rem; border-radius: 8px; border: 1px solid #b39700; text-shadow: 1px 1px 1px rgba(255,255,255,0.3); transition: all 0.3s ease; cursor: pointer; display: inline-flex; align-items: center; gap: 0.75rem; }
.submit-application-btn:hover { background: #fff; color: var(--text-dark); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(255, 199, 44, 0.3); }
.success-message { background-color: rgba(40, 167, 69, 0.2); border: 2px solid #28a745; color: #fff; padding: 1.5rem; border-radius: 8px; text-align: center; }
.error-message { background-color: rgba(220, 53, 69, 0.2); border: 2px solid #dc3545; color: #fff; padding: 1.5rem; border-radius: 8px; }
.return-link { margin-top: 1rem; display: inline-block; background-color: var(--army-gold); color: var(--text-dark); font-weight: bold; padding: 0.5rem 1.5rem; border-radius: 5px; text-decoration: none; transition: background-color 0.3s; }
.return-link:hover { background-color: #fff; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }

/* --- Comprehensive Mobile Styles --- */
@media (max-width: 1024px) {
    .header-nav { display: none; }
    .logo-center { position: relative; left: 0; transform: none; }
    .header-container { justify-content: space-between; }
}
@media (max-width: 768px) {
    .slider-overlay h1 {
        font-size: 2.5rem;
    }
    .slider-overlay p {
        font-size: 1.1rem;
    }
    .intro-features-section {
        margin-top: 0;
        padding: 2rem 0;
    }
    .id-card-body {
        flex-direction: column;
        align-items: center;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    h2 {
        font-size: 2rem;
    }
}
