
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #f8fafc;
    background-color: #0f172a;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Color Classes */
.bg-slate-900 { background-color: #0f172a; }
.bg-slate-800 { background-color: #1e293b; }
.bg-slate-700 { background-color: #334155; }
.bg-blue-500 { background-color: #3b82f6; }
.bg-blue-600 { background-color: #2563eb; }
.bg-green-500 { background-color: #10b981; }
.bg-green-600 { background-color: #059669; }
.bg-red-500 { background-color: #ef4444; }
.bg-red-600 { background-color: #dc2626; }
.bg-yellow-500 { background-color: #eab308; }
.bg-purple-600 { background-color: #9333ea; }

.text-blue-400 { color: #60a5fa; }
.text-green-400 { color: #4ade80; }
.text-red-400 { color: #f87171; }
.text-yellow-400 { color: #facc15; }
.text-purple-400 { color: #c084fc; }

/* Navigation Styles */
.nav-fixed {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid #334155;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #f8fafc;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #2563eb;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.125rem;
    color: white;
}

.logo-text {
    font-weight: bold;
    font-size: 1.25rem;
    color: white;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.2s ease;
    transform: scale(1);
}

.nav-link:hover {
    color: white;
    transform: scale(1.05);
}

.discord-btn {
    background-color: #2563eb;
    color: white;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    transform: scale(1);
}

.discord-btn:hover {
    background-color: #1d4ed8;
    transform: scale(1.05);
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.hamburger {
    display: block;
    width: 1.5rem;
    height: 0.125rem;
    background-color: currentColor;
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 0.125rem;
    background-color: currentColor;
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -0.5rem;
}

.hamburger::after {
    top: 0.5rem;
}

.mobile-menu {
    display: none;
    background-color: #1e293b;
    border-top: 1px solid #334155;
    padding: 0.5rem;
}

.mobile-menu.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover {
    color: white;
    background-color: #334155;
}

.discord-btn-mobile {
    width: 100%;
    text-align: left;
    background-color: #2563eb;
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: all 0.2s ease;
}

.discord-btn-mobile:hover {
    background-color: #1d4ed8;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('https://images.unsplash.com/photo-1460574283810-2aab119d8511?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.7));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 64rem;
    margin: 0 auto;
    padding: 4rem 1rem 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: #94a3b8;
    margin-bottom: 3rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.cta-primary {
    background-color: #2563eb;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    transform: scale(1);
}

.cta-primary:hover {
    background-color: #1d4ed8;
    transform: scale(1.05);
}

.cta-secondary {
    border: 2px solid #2563eb;
    color: #60a5fa;
    background: transparent;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    transform: scale(1);
}

.cta-secondary:hover {
    background-color: #2563eb;
    color: white;
    transform: scale(1.05);
}

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

@media (min-width: 768px) {
    .quick-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #94a3b8;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-icon {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid white;
    border-radius: 1.25rem;
    display: flex;
    justify-content: center;
}

.scroll-icon::before {
    content: '';
    width: 0.25rem;
    height: 0.75rem;
    background-color: white;
    border-radius: 0.125rem;
    margin-top: 0.5rem;
}

/* Stats Section */
.stats-section {
    padding: 5rem 0;
    background-color: #1e293b;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #94a3b8;
    font-size: 1.125rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    background-color: #334155;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    transform: scale(1);
}

.stat-card:hover {
    background-color: #475569;
    transform: scale(1.05);
}

.stat-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    opacity: 0.1;
}

.icon {
    width: 2rem;
    height: 2rem;
}

.stat-card .stat-value {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    color: #cbd5e1;
}

/* Departments Section */
.departments-section {
    padding: 5rem 0;
    background-color: #0f172a;
}

.departments-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .departments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.department-card {
    background-color: #1e293b;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
    transform: scale(1);
}

.department-card:hover {
    background-color: #334155;
    transform: scale(1.05);
}

.department-image {
    position: relative;
    height: 12rem;
    overflow: hidden;
}

.department-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.department-card:hover .department-image img {
    transform: scale(1.1);
}

.department-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #0f172a, transparent, transparent);
}

.department-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 10;
}

.department-content {
    padding: 1.5rem;
}

.department-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.75rem;
}

.department-description {
    color: #94a3b8;
    margin-bottom: 1rem;
}

.department-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dept-stat {
    text-align: center;
}

.dept-stat-value {
    font-size: 1.125rem;
    font-weight: bold;
}

.dept-stat-label {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: capitalize;
}

.department-btn {
    display: block;
    width: 100%;
    text-align: center;
    color: white;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    transform: scale(1);
}

.department-btn:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background-color: #1e293b;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background-color: #334155;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    transform: scale(1);
}

.testimonial-card:hover {
    background-color: #475569;
    transform: scale(1.05);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.testimonial-name {
    color: white;
    font-weight: 600;
}

.testimonial-role {
    color: #94a3b8;
    font-size: 0.875rem;
}

.testimonial-content {
    color: #cbd5e1;
    font-style: italic;
}

/* Footer */
.footer {
    background-color: #0f172a;
    border-top: 1px solid #334155;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-main {
    grid-column: span 1;
}

@media (min-width: 768px) {
    .footer-main {
        grid-column: span 2;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: #94a3b8;
    margin-bottom: 1rem;
    max-width: 24rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: white;
}

.footer-section {
    grid-column: span 1;
}

.footer-title {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 0.5rem;
}

.footer-info {
    color: #94a3b8;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding: 2rem 0;
    text-align: center;
}

.footer-copyright {
    color: #94a3b8;
}

/* Department Page Specific Styles */

/* Department Hero Styles */
.dept-hero {
    position: relative;
    padding: 4rem 0 5rem;
    overflow: hidden;
}

.dept-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
}

.dept-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(37, 99, 235, 0.8), rgba(15, 23, 42, 0.8));
}

.dept-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding-top: 5rem;
}

.dept-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.dept-icon .icon {
    width: 2.5rem;
    height: 2.5rem;
    color: white;
}

.dept-title {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .dept-title {
        font-size: 4rem;
    }
}

.dept-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 48rem;
    margin: 0 auto;
}

/* Department About Section */
.dept-about {
    padding: 5rem 0;
    background-color: #1e293b;
}

.dept-about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .dept-about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.dept-section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1.5rem;
}

.dept-description {
    color: #cbd5e1;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

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

.dept-stat-small {
    text-align: center;
}

.dept-stat-small .dept-stat-value {
    font-size: 1.875rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.dept-stat-small .dept-stat-label {
    color: #94a3b8;
}

.dept-mission-card {
    background-color: #334155;
    border-radius: 0.75rem;
    padding: 2rem;
}

.dept-mission-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
}

.dept-mission-list {
    list-style: none;
}

.dept-mission-item {
    display: flex;
    align-items: center;
    color: #cbd5e1;
    margin-bottom: 0.75rem;
}

.mission-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
}

/* Ranks Section */
.dept-ranks {
    padding: 5rem 0;
    background-color: #0f172a;
}

.ranks-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .ranks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .ranks-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.rank-item {
    background-color: #1e293b;
    border-radius: 0.5rem;
    padding: 1rem;
    border-left: 4px solid #2563eb;
    transition: background-color 0.2s ease;
}

.rank-item:hover {
    background-color: #334155;
}

.rank-title {
    color: white;
    font-weight: 600;
}

.rank-number {
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Vehicles Section */
.dept-vehicles {
    padding: 5rem 0;
    background-color: #1e293b;
}

.vehicles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .vehicles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.vehicle-card {
    background-color: #334155;
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    transform: scale(1);
}

.vehicle-card:hover {
    background-color: #475569;
    transform: scale(1.05);
}

.vehicle-icon {
    margin-right: 1rem;
}

.vehicle-icon .icon {
    width: 2rem;
    height: 2rem;
}

.vehicle-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
}

.vehicle-type {
    color: #94a3b8;
}

/* Career Paths Grid (for Civilian page) */
.career-paths-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .career-paths-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.career-item {
    background-color: #334155;
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    transition: background-color 0.2s ease;
}

.career-item:hover {
    background-color: #475569;
}

.career-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: #9333ea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.career-icon .icon {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
}

.career-name {
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Recruitment Section */
.dept-recruitment {
    padding: 5rem 0;
    background-color: #0f172a;
}

.recruitment-content {
    text-align: center;
    max-width: 64rem;
    margin: 0 auto;
}

.recruitment-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1.5rem;
}

.recruitment-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.requirements-card {
    background-color: #1e293b;
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.requirements-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
}

.requirements-list {
    list-style: none;
    text-align: left;
    color: #cbd5e1;
    max-width: 24rem;
    margin: 0 auto;
}

.requirements-list li {
    margin-bottom: 0.5rem;
}

.apply-btn {
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    transform: scale(1);
}

.apply-btn:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40%, 43% {
        transform: translateX(-50%) translateY(-15px);
    }
    70% {
        transform: translateX(-50%) translateY(-7px);
    }
    90% {
        transform: translateX(-50%) translateY(-2px);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.fade-in-delay-100 {
    animation: fadeIn 0.6s ease 0.1s forwards;
    opacity: 0;
}

.fade-in-delay-200 {
    animation: fadeIn 0.6s ease 0.2s forwards;
    opacity: 0;
}

.fade-in-delay-300 {
    animation: fadeIn 0.6s ease 0.3s forwards;
    opacity: 0;
}

.fade-in-delay-400 {
    animation: fadeIn 0.6s ease 0.4s forwards;
    opacity: 0;
}

.fade-in-delay-600 {
    animation: fadeIn 0.6s ease 0.6s forwards;
    opacity: 0;
}

.fade-in-delay-800 {
    animation: fadeIn 0.6s ease 0.8s forwards;
    opacity: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .quick-stats {
        gap: 1rem;
    }
    
    .department-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .dept-stat-value {
        font-size: 1rem;
    }
    
    .dept-title {
        font-size: 2.5rem;
    }
    
    .dept-section-title {
        font-size: 2rem;
    }
    
    .recruitment-title {
        font-size: 2rem;
    }
    
    .dept-stats-small {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .career-paths-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
