/* Premium Indian Republic Day Theme - Site-Wide Design */

/* ============================================
   PREMIUM BANNER DESIGN
   ============================================ */

.festive-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: linear-gradient(135deg, 
        rgba(255, 153, 51, 0.98) 0%, 
        rgba(255, 153, 51, 0.98) 33%,
        rgba(255, 255, 255, 0.98) 33%,
        rgba(255, 255, 255, 0.98) 66%,
        rgba(19, 136, 8, 0.98) 66%,
        rgba(19, 136, 8, 0.98) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 16px 24px;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-bottom: 3px solid rgba(0, 0, 128, 0.4);
    position: relative;
    overflow: hidden;
}

.festive-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.25) 50%, 
        transparent 100%);
    animation: shimmer 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.festive-banner.show {
    transform: translateY(0);
}

.festive-banner .banner-message {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 50px;
    border: 2px solid rgba(0, 0, 128, 0.2);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    color: #000080;
    font-weight: 700;
    letter-spacing: 0.3px;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.festive-banner .banner-message:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 30px rgba(0, 0, 128, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.festive-banner .banner-message strong {
    background: linear-gradient(135deg, #FF9933 0%, #000080 50%, #138808 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.festive-banner .festive-icon {
    font-size: 1.4rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    animation: premiumBounce 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes premiumBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-4px) scale(1.05); }
}

.festive-banner .chakra-icon {
    display: inline-block;
    font-size: 1.5rem;
    color: #000080;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 128, 0.4));
    animation: premiumChakraRotate 4s linear infinite;
}

@keyframes premiumChakraRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.festive-banner .festive-close {
    position: absolute;
    right: 20px;
    background: linear-gradient(135deg, rgba(0, 0, 128, 0.9), rgba(0, 0, 128, 0.7));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 128, 0.3);
}

.festive-banner .festive-close:hover {
    background: linear-gradient(135deg, rgba(0, 0, 128, 1), rgba(0, 0, 128, 0.9));
    transform: scale(1.15) rotate(90deg);
    box-shadow: 0 6px 20px rgba(0, 0, 128, 0.4);
}

/* ============================================
   PREMIUM SPARKLE EFFECTS (NO CONFETTI)
   ============================================ */

.festive-sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #FFFFFF 0%, transparent 70%);
    border-radius: 50%;
    animation: premiumSparkle 2.5s ease infinite;
    pointer-events: none;
    box-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.4);
}

.festive-sparkle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: translate(-50%, -50%) rotate(45deg);
}

.festive-sparkle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: translate(-50%, -50%) rotate(45deg);
}

@keyframes premiumSparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.5) rotate(180deg);
    }
}

/* ============================================
   REPUBLIC DAY SITE-WIDE THEME
   ============================================ */

/* Premium Button Colors - All Primary Buttons */
body.festive-banner-active .btn-primary,
body.festive-banner-active .contactButton,
body.festive-banner-active .ctaButton,
body.festive-banner-active button[type="submit"]:not(.festive-close),
body.festive-banner-active .aboutCTAButton {
    background: linear-gradient(135deg, #FF9933 0%, #000080 50%, #138808 100%) !important;
    background-size: 200% 100% !important;
    color: #FFFFFF !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 
        0 8px 24px rgba(255, 153, 51, 0.4),
        0 4px 12px rgba(19, 136, 8, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    animation: patrioticGradient 3s ease infinite !important;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

@keyframes patrioticGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

body.festive-banner-active .btn-primary::before,
body.festive-banner-active .contactButton::before,
body.festive-banner-active .ctaButton::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
}

body.festive-banner-active .btn-primary:hover,
body.festive-banner-active .contactButton:hover,
body.festive-banner-active .ctaButton:hover,
body.festive-banner-active button[type="submit"]:hover:not(.festive-close),
body.festive-banner-active .aboutCTAButton:hover {
    background: linear-gradient(135deg, #FFB84D 0%, #1A1AFF 50%, #1FA812 100%) !important;
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 
        0 12px 32px rgba(255, 153, 51, 0.5),
        0 6px 16px rgba(19, 136, 8, 0.4),
        0 0 20px rgba(0, 0, 128, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

/* Premium Secondary Buttons */
body.festive-banner-active .btn-secondary {
    background: rgba(255, 153, 51, 0.15) !important;
    border: 2px solid rgba(255, 153, 51, 0.5) !important;
    color: #FF9933 !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease !important;
}

body.festive-banner-active .btn-secondary:hover {
    background: rgba(255, 153, 51, 0.25) !important;
    border-color: rgba(255, 153, 51, 0.7) !important;
    color: #FFB84D !important;
    box-shadow: 0 4px 16px rgba(255, 153, 51, 0.3) !important;
    transform: translateY(-2px) !important;
}

/* Premium Text Colors - Headings */
body.festive-banner-active h1,
body.festive-banner-active h2,
body.festive-banner-active .sectionTitle,
body.festive-banner-active .heroTitle {
    background: linear-gradient(135deg, #FF9933 0%, #FFFFFF 30%, #138808 60%, #000080 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 100%;
    animation: textGradientShift 4s ease infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

@keyframes textGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Premium Accent Text */
body.festive-banner-active .sectionSubtitle,
body.festive-banner-active .heroDescription,
body.festive-banner-active p {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 3px rgba(255, 153, 51, 0.15);
}

/* Premium Background Overlays */
body.festive-banner-active .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(255, 153, 51, 0.06) 0%, transparent 30%),
        linear-gradient(225deg, rgba(19, 136, 8, 0.06) 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(0, 0, 128, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    animation: backgroundPulse 8s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Premium Section Backgrounds */
body.festive-banner-active .section:nth-child(even),
body.festive-banner-active section:nth-child(even) {
    background: linear-gradient(135deg, 
        rgba(10, 10, 15, 0.98) 0%,
        rgba(255, 153, 51, 0.02) 25%,
        rgba(10, 10, 15, 0.98) 50%,
        rgba(19, 136, 8, 0.02) 75%,
        rgba(10, 10, 15, 0.98) 100%) !important;
    background-size: 400% 100%;
    animation: sectionBackgroundShift 25s ease infinite;
    position: relative;
}

@keyframes sectionBackgroundShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Premium Card Hover Effects */
body.festive-banner-active .card:hover,
body.festive-banner-active .serviceCard:hover,
body.festive-banner-active .featureCard:hover,
body.festive-banner-active .industryCard:hover {
    border-color: rgba(255, 153, 51, 0.5) !important;
    box-shadow: 
        0 8px 24px rgba(255, 153, 51, 0.25),
        0 4px 12px rgba(19, 136, 8, 0.2),
        inset 0 0 0 1px rgba(0, 0, 128, 0.15) !important;
    transform: translateY(-4px) scale(1.01);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Premium Link Colors */
body.festive-banner-active a:not(.btn):not(.contactButton):not(.ctaButton):not(.festive-close) {
    color: #FF9933 !important;
    transition: all 0.3s ease;
    position: relative;
}

body.festive-banner-active a:not(.btn):not(.contactButton):not(.ctaButton):not(.festive-close):hover {
    color: #FFB84D !important;
    text-shadow: 0 0 8px rgba(255, 153, 51, 0.4);
}

body.festive-banner-active a:not(.btn):not(.contactButton):not(.ctaButton):not(.festive-close)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FF9933, #138808);
    transition: width 0.3s ease;
}

body.festive-banner-active a:not(.btn):not(.contactButton):not(.ctaButton):not(.festive-close):hover::after {
    width: 100%;
}

/* Premium CTA Sections */
body.festive-banner-active .ctaBanner,
body.festive-banner-active .aboutCTASection {
    background: linear-gradient(135deg, 
        rgba(255, 153, 51, 0.1) 0%,
        rgba(255, 255, 255, 0.06) 33%,
        rgba(19, 136, 8, 0.1) 66%,
        rgba(0, 0, 128, 0.06) 100%) !important;
    border: 2px solid rgba(255, 153, 51, 0.3) !important;
    box-shadow: 
        0 10px 40px rgba(255, 153, 51, 0.2),
        0 4px 16px rgba(19, 136, 8, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

body.festive-banner-active .ctaBanner::before,
body.festive-banner-active .aboutCTASection::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 153, 51, 0.15) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Premium Navigation Accents */
body.festive-banner-active .header {
    border-bottom: 2px solid rgba(255, 153, 51, 0.25) !important;
    box-shadow: 0 4px 16px rgba(255, 153, 51, 0.15) !important;
    background: rgba(10, 10, 15, 0.95) !important;
    backdrop-filter: blur(20px);
}

body.festive-banner-active .navLink:hover,
body.festive-banner-active .header a:hover {
    color: #FF9933 !important;
    text-shadow: 0 0 8px rgba(255, 153, 51, 0.4);
    transform: translateY(-1px);
    transition: all 0.3s ease;
}

/* Premium Form Input Focus */
body.festive-banner-active input:focus,
body.festive-banner-active textarea:focus,
body.festive-banner-active select:focus {
    border-color: #FF9933 !important;
    box-shadow: 
        0 0 0 3px rgba(255, 153, 51, 0.25),
        0 4px 12px rgba(19, 136, 8, 0.15) !important;
    outline: none;
    background: rgba(255, 255, 255, 0.05) !important;
}

/* Premium Badge/Pill Elements */
body.festive-banner-active [class*="badge"],
body.festive-banner-active [class*="pill"],
body.festive-banner-active [class*="tag"] {
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.25), rgba(19, 136, 8, 0.25)) !important;
    border: 1px solid rgba(255, 153, 51, 0.5) !important;
    color: #FFB84D !important;
    box-shadow: 0 2px 8px rgba(255, 153, 51, 0.2);
}

/* Premium Icon Colors */
body.festive-banner-active svg[fill*="#0076a3"],
body.festive-banner-active svg[fill*="#0099cc"],
body.festive-banner-active .icon {
    fill: #FF9933 !important;
    transition: all 0.3s ease;
}

body.festive-banner-active svg:hover,
body.festive-banner-active .icon:hover {
    fill: #FFB84D !important;
    filter: drop-shadow(0 0 8px rgba(255, 153, 51, 0.5));
    transform: scale(1.1);
}

/* Premium Scrollbar */
body.festive-banner-active ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #FF9933 0%, #FFFFFF 50%, #138808 100%) !important;
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

body.festive-banner-active ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FFB84D 0%, #FFFFFF 50%, #1FA812 100%) !important;
}

body.festive-banner-active ::-webkit-scrollbar-track {
    background: rgba(10, 10, 15, 0.5) !important;
}

/* Premium Loading Spinners */
body.festive-banner-active [class*="loader"],
body.festive-banner-active [class*="spinner"] {
    border-top-color: #FF9933 !important;
    border-right-color: #FFFFFF !important;
    border-bottom-color: #138808 !important;
    border-left-color: #000080 !important;
}

/* Premium Glow Effect */
.festive-glow {
    animation: premiumGlow 2.5s ease-in-out infinite;
    position: relative;
}

.festive-glow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #FF9933, #FFFFFF, #138808, #000080);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    animation: premiumGlowBorder 2.5s ease-in-out infinite;
}

@keyframes premiumGlow {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(255, 153, 51, 0.4),
            0 0 40px rgba(19, 136, 8, 0.3),
            0 0 60px rgba(0, 0, 128, 0.2);
    }
    50% {
        box-shadow: 
            0 0 30px rgba(255, 153, 51, 0.6),
            0 0 60px rgba(19, 136, 8, 0.5),
            0 0 90px rgba(0, 0, 128, 0.4),
            0 0 120px rgba(255, 153, 51, 0.2);
    }
}

@keyframes premiumGlowBorder {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.6; }
}

/* Adjust header when banner is shown */
body.festive-banner-active .header {
    top: 60px;
    transition: top 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body.festive-banner-active .hero {
    margin-top: 0;
    padding-top: calc(60px + 60px);
    min-height: calc(100vh - 50px + 60px);
    transition: padding-top 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Responsive Design */
@media (min-width: 1025px) {
    .festive-banner {
        padding: 18px 32px;
        font-size: 1rem;
    }
    
    .festive-banner .banner-message {
        padding: 12px 28px;
        font-size: 1.05rem;
    }
    
    body.festive-banner-active .header {
        top: 70px;
    }
    
    body.festive-banner-active .hero {
        padding-top: calc(120px + 70px);
        min-height: calc(100vh + 70px);
    }
}

@media (max-width: 768px) {
    .festive-banner {
        font-size: 0.85rem;
        padding: 14px 20px;
        gap: 12px;
        flex-wrap: wrap;
    }
    
    .festive-banner .banner-message {
        padding: 8px 16px;
        font-size: 0.9rem;
        gap: 8px;
    }
    
    .festive-banner .festive-icon {
        font-size: 1.2rem;
    }
    
    .festive-banner .chakra-icon {
        font-size: 1.3rem;
    }
    
    .festive-banner .festive-close {
        right: 15px;
        width: 28px;
        height: 28px;
        font-size: 18px;
    }
    
    body.festive-banner-active .header {
        top: 70px;
    }
    
    body.festive-banner-active .hero {
        padding-top: calc(60px + 70px);
        min-height: calc(100vh - 50px + 70px);
    }
    
    body.festive-banner-active .btn-primary,
    body.festive-banner-active .contactButton,
    body.festive-banner-active .ctaButton {
        padding: 12px 24px !important;
        font-size: 0.95rem !important;
    }
    
    body.festive-banner-active h1,
    body.festive-banner-active h2 {
        font-size: clamp(1.5rem, 5vw, 2.5rem) !important;
    }
}
