/* General Reset and Theme Colors */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #121212; 
    color: #F5F7FA; 
}

/* --- Navigation Bar --- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    border-bottom: 2px solid #0055ff;
    background:  #2f304a;
    animation: blueBorderPulse 2s infinite alternate;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 15px;
    flex-wrap: nowrap; 
    justify-content: center;
}

.nav-links li a {
    text-decoration: none;
    color: #F5F7FA; 
    opacity: 0.8;
    font-size: 11px; 
    font-weight: 700;
    letter-spacing: 1px;
    padding: 6px 10px;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all 0.4s ease-in-out;
    text-transform: uppercase;
}

.nav-links li a:hover, .nav-links li a.active {
    color: #ffffff;
    opacity: 1;
    border: 1px solid rgba(0, 136, 255, 0.5);
    background: rgba(0, 136, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 136, 255, 0.3) inset;
    text-shadow: 0 0 8px #0088ff;
}

/* --- Awards & Training Section Styling --- */
.awards-section {
    padding: 60px 10%;
    background-color: #F5F7FA; 
    min-height: 80vh;
}

.awards-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #16324F;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.icon {
    display: inline-block;
    font-size: 2.5rem;
    animation: iconGlow 1.8s infinite alternate ease-in-out;
}

/* Tab Switcher Buttons */
.tab-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-btn {
    background-color: #16324F;
    color: #F5F7FA;
    font-size: 1rem;
    font-weight: 700;
    padding: 12px 30px;
    border: 2px solid #0055ff;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(22, 50, 79, 0.2);
}

.tab-btn:hover, .tab-btn.active {
    background-color: #0088ff;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 136, 255, 0.6);
    transform: translateY(-2px);
}

/* Tab Content Visibility */
.tab-content {
    display: none;
}

.active-tab {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

/* Grid Layout for Boxes */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.award-box {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    border: 2px solid rgba(0, 136, 255, 0.3);
    box-shadow: 0 4px 15px rgba(22, 50, 79, 0.1);
    transition: all 0.3s ease-in-out;
}

.award-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 136, 255, 0.3);
    border-color: #0088ff;
}

/* Image Placeholder Style inside Box */
.award-img-container {
    width: 100%;
    height: 160px;
    background-color: #e2e8f0;
    border-radius: 6px;
    margin-bottom: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
}

.award-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.award-box h3 {
    font-size: 1.4rem;
    color: #16324F;
    margin-bottom: 12px;
    font-weight: 800;
}

.award-box p {
    font-size: 1.05rem;
    color: #16324F;
    margin-bottom: 8px;
    line-height: 1.5;
}

.award-box a {
    color: #6610f0; 
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.award-box a:hover {
    color: #16324F;
    text-shadow: 0 0 8px rgba(214, 168, 79, 0.8);
}

/* Glowing Line Effect */
.line-glow {
    position: relative;
}

.line-glow::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    height: 3px; 
    border-radius: 2px;
    animation: textUnderlineGlow 2s infinite alternate ease-in-out;
}

.award-box.line-glow::after {
    bottom: -15px;
    left: 25px;
}

/* Lower Section Divider */
.section-divider {
    width: 100%;
    background: linear-gradient(90deg, transparent, #D6A84F, transparent); 
    box-shadow: 0 2px 10px rgba(214, 168, 79, 0.5); 
    margin-top: 0 px;
}

/* --- Keyframe Animations --- */

@keyframes blueBorderPulse {
    0% {
        border-bottom-color: #0033aa;
        box-shadow: 0 4px 10px rgba(0, 51, 170, 0.4);
    }
    100% {
        border-bottom-color: #0088ff;
        box-shadow: 0 4px 25px rgba(0, 136, 255, 0.9), 0 4px 15px rgba(0, 136, 255, 0.6);
    }
}

@keyframes textUnderlineGlow {
    0% {
        width: 30%;
        background: #0033aa;
        box-shadow: 0 0 6px rgba(0, 51, 170, 0.4);
    }
    100% {
        width: 70%;
        background: #0088ff;
        box-shadow: 0 0 12px #0088ff, 0 0 20px rgba(0, 136, 255, 0.8);
    }
}

@keyframes iconGlow {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(0, 136, 255, 0.4));
    }
    100% {
        transform: scale(1.15);
        filter: drop-shadow(0 0 15px #0088ff) drop-shadow(0 0 25px #D6A84F);
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Tablet view: Awards & Training section ko footer tak extend karein */
@media (min-width: 601px) {
  body > .awards-section {
    flex: 1 0 auto;
  }

  body > .section-divider {
    margin-top: 0;
  }
}