/* ==========================================================================
   VISUAL UPGRADE - Making it look professional
   ========================================================================== */

/* Hero with animated gradient background */
.hero-slider {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(63, 158, 223, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(63, 158, 223, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 60% 80%, rgba(91, 98, 106, 0.1) 0%, transparent 40%),
        linear-gradient(180deg, var(--trc-black) 0%, #001029 100%);
    position: relative;
    overflow: hidden;
}

.hero-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(63,158,223,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    background-size: 50px 50px;
    pointer-events: none;
}

/* Animated glow orbs */
.hero-slider::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(63, 158, 223, 0.2) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

/* Better slide content */
.slide-content {
    position: relative;
    z-index: 2;
}

.slide-title {
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Glowing buttons */
.btn--primary {
    box-shadow: 0 0 20px rgba(63, 158, 223, 0.4), 0 0 40px rgba(63, 158, 223, 0.2);
    position: relative;
    overflow: hidden;
}

.btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.5s;
}

.btn--primary:hover::before {
    left: 100%;
}

.btn--primary:hover {
    box-shadow: 0 0 30px rgba(63, 158, 223, 0.6), 0 0 60px rgba(63, 158, 223, 0.3);
    transform: translateY(-2px);
}

/* Better cards with glassmorphism */
.card, .testimonial-card {
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.8) 0%, rgba(17, 29, 51, 0.6) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(63, 158, 223, 0.15);
}

.card:hover, .testimonial-card:hover {
    border-color: rgba(63, 158, 223, 0.4);
    box-shadow: 0 0 30px rgba(63, 158, 223, 0.15), 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Section backgrounds with depth */
.section--dark {
    background: linear-gradient(180deg, #0a1628 0%, #0d1a2d 50%, #0a1628 100%);
    position: relative;
}

.section--dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(63, 158, 223, 0.3), transparent);
}

/* Mission tiles with hover effects */
.mission-tile {
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.5) 0%, transparent 100%);
    border: 1px solid transparent;
}

.mission-tile:hover {
    background: linear-gradient(135deg, rgba(63, 158, 223, 0.1) 0%, transparent 100%);
    border-color: rgba(63, 158, 223, 0.2);
    transform: translateY(-5px);
}

.mission-tile__icon {
    filter: drop-shadow(0 0 10px rgba(63, 158, 223, 0.3));
    transition: all 0.3s ease;
}

.mission-tile:hover .mission-tile__icon {
    filter: drop-shadow(0 0 20px rgba(63, 158, 223, 0.5));
    transform: scale(1.1);
}

/* Better testimonial styling */
.testimonial-quote::before {
    font-size: 5rem;
    opacity: 0.3;
    color: var(--trc-blue);
}

/* CTA Banner glow */
.cta-banner {
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.9) 0%, rgba(17, 29, 51, 0.9) 100%);
    border: 1px solid rgba(63, 158, 223, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(63, 158, 223, 0.1) 0%, transparent 50%);
    animation: rotateBg 20s linear infinite;
}

@keyframes rotateBg {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-banner > * {
    position: relative;
    z-index: 1;
}

/* Header glass effect */
.site-header {
    background: linear-gradient(180deg, rgba(0, 13, 38, 0.98) 0%, rgba(0, 13, 38, 0.95) 100%);
    border-bottom: 1px solid rgba(63, 158, 223, 0.1);
}

/* Logo styling */
.site-title__text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--trc-white) 0%, var(--trc-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Footer upgrade */
.site-footer {
    background: linear-gradient(180deg, #0a1628 0%, var(--trc-black) 100%);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(63, 158, 223, 0.3), transparent);
}

/* Slider dots upgrade */
.slider-dot {
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}

.slider-dot.active {
    width: 30px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(63, 158, 223, 0.5);
}

/* Section labels glow */
.section-label, .slide-label {
    text-shadow: 0 0 20px rgba(63, 158, 223, 0.5);
}

/* Smooth page transitions */
.section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.section:nth-child(1) { animation-delay: 0s; }
.section:nth-child(2) { animation-delay: 0.1s; }
.section:nth-child(3) { animation-delay: 0.2s; }
.section:nth-child(4) { animation-delay: 0.3s; }
.section:nth-child(5) { animation-delay: 0.4s; }
.section:nth-child(6) { animation-delay: 0.5s; }

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

/* Service cards icon glow */
.service-icon {
    background: linear-gradient(135deg, rgba(63, 158, 223, 0.2) 0%, rgba(63, 158, 223, 0.05) 100%);
    box-shadow: 0 0 20px rgba(63, 158, 223, 0.1);
}

/* What is TRC visual upgrade */
.what-is-trc__points li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--trc-blue) 0%, #2d7ab8 100%);
    border-radius: 50%;
    color: var(--trc-black);
    font-weight: bold;
    font-size: 12px;
    margin-right: 12px;
    box-shadow: 0 0 10px rgba(63, 158, 223, 0.4);
}

/* Navigation links hover effect */
.nav-menu a {
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--trc-blue);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(63, 158, 223, 0.5);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item a::after {
    width: 100%;
}

/* Social links hover */
.social-link:hover {
    box-shadow: 0 0 20px rgba(63, 158, 223, 0.5);
    transform: translateY(-3px);
}

/* Input fields glow on focus */
input[type="email"]:focus {
    box-shadow: 0 0 20px rgba(63, 158, 223, 0.2);
}
