/* ===== AWARDS & RECOGNITION SECTION CSS ===== */

.awards-section,
.recognition-section {
    padding: 120px 0;
    position: relative;
    background-color: #161623;
    overflow: hidden;
}

.awards-section .section-subtitle,
.recognition-section .section-subtitle {
    display: inline-block;
    background: linear-gradient(90deg, rgba(126, 211, 33, 0.2) 0%, rgba(154, 122, 249, 0.2) 100%);
    color: #78e57e;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 16px;
    border-radius: 30px;
    margin-bottom: 15px;
    position: relative;
    text-align: left;
}

.awards-section .section-title,
.recognition-section .section-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    text-align: left;
    color: var(--text-heading, #ffffff);
}

.awards-section .section-description,
.awards-section .recognition-description,
.recognition-section .section-description,
.recognition-section .recognition-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-body, rgba(255, 255, 255, 0.8));
    max-width: 70%;
    text-align: left;
}

.awards-section .gradient-text,
.recognition-section .gradient-text {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    font-weight: 800;
}

.recognition-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Enhanced grid layout with improved spacing */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

/* Simplified and elegant award item design */
.award-item {
    background: rgba(25, 25, 35, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 35px 25px;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Top gradient border */
.award-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-purple));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

/* Bottom radial gradient */
.award-item::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(126, 211, 33, 0.1) 0%, rgba(154, 122, 249, 0.05) 50%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.4;
    transition: all 0.4s ease;
}

/* Simple hover effects without movement */
.award-item:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(126, 211, 33, 0.2);
    background: rgba(30, 30, 45, 0.8);
}

.award-item:hover::before {
    opacity: 1;
}

.award-item:hover::after {
    opacity: 0.7;
}

/* Enhanced icon styling matching services section */
.award-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(126, 211, 33, 0.1), rgba(156, 39, 176, 0.1));
    margin-bottom: 25px;
    font-size: 26px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Gradient background for icon */
.award-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #7ED321, #9c27b0);
    opacity: 0;
    z-index: 0;
    transition: all 0.4s ease;
}

/* Icon colors for each item */
.award-item:nth-child(1) .award-icon i { color: #7ED321; }
.award-item:nth-child(2) .award-icon i { color: #9c27b0; }
.award-item:nth-child(3) .award-icon i { color: #2196F3; }
.award-item:nth-child(4) .award-icon i { color: #FF9800; }
.award-item:nth-child(5) .award-icon i { color: #00BCD4; }
.award-item:nth-child(6) .award-icon i { color: #F44336; }
.award-item:nth-child(7) .award-icon i { color: #4CAF50; }
.award-item:nth-child(8) .award-icon i { color: #FFEB3B; }

.award-icon i {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.award-item:hover .award-icon {
    background: rgba(255, 255, 255, 0.05);
}

.award-item:hover .award-icon::before {
    opacity: 1;
}

.award-item:hover .award-icon i {
    color: #ffffff;
}

/* Enhanced content styling */
.award-content {
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.award-content h4 {
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffffff;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
    padding-bottom: 8px;
}

/* Animated underline for heading */
.award-content h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-purple));
    transition: all 0.4s ease;
}

.award-item:hover .award-content h4::after {
    width: 80px;
}

.award-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.award-item:hover .award-content p {
    color: rgba(255, 255, 255, 0.9);
}

/* Award badge styling */
.award-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(126, 211, 33, 0.1);
    padding: 4px 8px;
    border-radius: 20px;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.award-badge i {
    font-size: 8px;
}

.award-item:hover .award-badge {
    background: rgba(126, 211, 33, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

/* Enhanced background gradients */
.recognition-bg-gradient {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(126, 211, 33, 0.05) 0%, rgba(154, 122, 249, 0.05) 50%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(40px);
}

.recognition-bg-1 {
    top: -100px;
    right: -300px;
}

.recognition-bg-2 {
    bottom: -200px;
    left: -300px;
}

/* Add subtle background elements */
.awards-section::before,
.awards-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(126, 211, 33, 0.1) 0%, rgba(154, 122, 249, 0.05) 50%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.5;
}

.awards-section::before {
    top: 100px;
    right: 50px;
}

.awards-section::after {
    bottom: 100px;
    left: 50px;
}

/* Enhanced Light Theme Styles */
.light-theme .awards-section,
.light-theme .recognition-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.light-theme .awards-section .section-title,
.light-theme .recognition-section .section-title {
    color: #333333;
}

.light-theme .awards-section .section-description,
.light-theme .awards-section .recognition-description,
.light-theme .recognition-section .section-description,
.light-theme .recognition-section .recognition-description {
    color: rgba(0, 0, 0, 0.7);
}

.light-theme .award-item {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.light-theme .award-item:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(126, 211, 33, 0.3);
    transform: translateY(-5px);
}

.light-theme .award-content h4 {
    color: #2c2c2c;
}

.light-theme .award-content p {
    color: rgba(0, 0, 0, 0.7);
}

.light-theme .award-item:hover .award-content p {
    color: rgba(0, 0, 0, 0.85);
}

.light-theme .award-icon {
    background: linear-gradient(135deg, rgba(126, 211, 33, 0.05), rgba(156, 39, 176, 0.05));
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.light-theme .award-item:hover .award-icon {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.light-theme .award-badge {
    background: rgba(126, 211, 33, 0.1);
    color: rgba(0, 0, 0, 0.6);
}

.light-theme .award-item:hover .award-badge {
    background: rgba(126, 211, 33, 0.2);
    color: rgba(0, 0, 0, 0.8);
}

/* Fix icon colors in light mode */
.light-theme .award-item:nth-child(1) .award-icon i { color: #4CAF50; }
.light-theme .award-item:nth-child(2) .award-icon i { color: #9c27b0; }
.light-theme .award-item:nth-child(3) .award-icon i { color: #2196F3; }
.light-theme .award-item:nth-child(4) .award-icon i { color: #FF9800; }
.light-theme .award-item:nth-child(5) .award-icon i { color: #00BCD4; }
.light-theme .award-item:nth-child(6) .award-icon i { color: #F44336; }
.light-theme .award-item:nth-child(7) .award-icon i { color: #4CAF50; }
.light-theme .award-item:nth-child(8) .award-icon i { color: #FF9800; }

.light-theme .award-item:hover .award-icon i {
    color: #ffffff;
}

.light-theme .award-content h4::after {
    background: linear-gradient(90deg, #4CAF50, #9c27b0);
}

/* Background adjustments for light theme */
.light-theme .awards-section::before,
.light-theme .awards-section::after {
    background: radial-gradient(circle, rgba(126, 211, 33, 0.08) 0%, rgba(154, 122, 249, 0.08) 50%, rgba(0, 0, 0, 0) 70%);
}

.light-theme .recognition-bg-gradient {
    background: radial-gradient(circle, rgba(126, 211, 33, 0.08) 0%, rgba(154, 122, 249, 0.08) 50%, rgba(0, 0, 0, 0) 70%);
    opacity: 0.7;
}

.light-theme .award-item::after {
    background: radial-gradient(circle, rgba(126, 211, 33, 0.08) 0%, rgba(154, 122, 249, 0.05) 50%, rgba(0, 0, 0, 0) 70%);
}

/* Global theme references to recognition section */
html.light-theme .recognition-section {
    background-color: var(--section-bg, #f8f9fa);
    color: var(--text-color, #333);
}

html:not(.light-theme) .recognition-section {
    background-color: var(--section-bg, #161623);
    color: var(--text-color, #fff);
}

/* Media queries for responsive design */
@media (max-width: 1200px) {
    .awards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .recognition-section {
        padding: 80px 0;
    }
    
    .award-content h4 {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .recognition-section {
        padding: 60px 0;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        
    }
    
    .award-item {
        padding: 25px 20px;
    }
    
    .award-icon {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    .award-item {
        margin-bottom: 15px;
    }
    
    .recognition-section {
        padding: 50px 0;
    }
    
    .award-content p {
        font-size: 14px;
    }
    
    .awards-section .section-description,
    .awards-section .recognition-description,
    .recognition-section .section-description,
    .recognition-section .recognition-description {
        max-width: 100%;
    }
}

/* Header spacing for Awards & Recognition section */
.awards-section .col-lg-6.p-0,
.recognition-section .col-lg-6.p-0 {
    padding-left: 25px !important;
}

@media (max-width: 768px) {
    .awards-section .col-lg-6.p-0,
    .recognition-section .col-lg-6.p-0 {
        padding-left: 15px !important;
    }
}

@media (max-width: 576px) {
    .awards-section .col-lg-6.p-0,
    .recognition-section .col-lg-6.p-0 {
        padding-left: 10px !important;
    }
}
