/* Terabit Enhanced Animations & Styling */

/* Hero Section Enhancements */
.hero-content {
    position: relative;
    z-index: 10;
    animation: fadeInUp 1.2s ease-out;
}

.hero-title {
    animation: fadeInUp 1.2s ease-out 0.2s both;
}

.gradient-text {
    background: linear-gradient(45deg, #007bff, #00d4ff, #0099ff);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease-in-out infinite;
}

.ddos-shield-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 212, 255, 0.1));
    border: 2px solid rgba(0, 123, 255, 0.3);
    border-radius: 50px;
    padding: 15px 25px;
    margin: 30px auto;
    max-width: 350px;
    backdrop-filter: blur(10px);
    animation: pulseGlow 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.ddos-shield-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 123, 255, 0.4);
}

.shield-icon {
    font-size: 2.5rem;
    margin-right: 15px;
    animation: bounce 2s ease-in-out infinite;
}

.shield-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.shield-text strong {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
}

.shield-text span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-top: 2px;
}

.hero-subtitle {
    animation: fadeInUp 1.2s ease-out 0.4s both;
}

.highlight-stat {
    color: #00d4ff;
    position: relative;
}

.highlight-stat.dark {
    color: #000;
}

.highlight-stat::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    animation: statHighlight 2s ease-in-out infinite;
}

.highlight-stat.dark::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    animation: statHighlight 2s ease-in-out infinite;
}

.hero-cta {
    animation: fadeInUp 1.2s ease-out 0.6s both;
    position: relative;
    overflow: hidden;
}

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

.hero-cta:hover::before {
    left: 100%;
}

/* Enhanced Floating Elements */
.float1, .float2, .float3, .float4 {
    animation-play-state: running !important;
}

.float1 .btn, .float2 .btn, .float3 .btn, .float4 .btn {
    background: rgba(0, 123, 255, 0.1) !important;
    border: 1px solid rgba(0, 123, 255, 0.3) !important;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 123, 255, 0.1);
    transition: all 0.3s ease !important;
}

.float1 .btn:hover, .float2 .btn:hover, .float3 .btn:hover, .float4 .btn:hover {
    background: rgba(0, 123, 255, 0.2) !important;
    box-shadow: 0 12px 40px rgba(0, 123, 255, 0.2);
    transform: translateY(-5px);
}

/* Service Card Enhancement - Full Width */
.service-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 25px 20px 0 20px;
    width: 100%;
    margin: 0;
}

.service-card h3 {
    margin-bottom: 8px;
    margin-top: 0;
}

.service-card p {
    margin-bottom: 10px;
    line-height: 1.4;
    font-size: 0.95rem;
}

/*.service-card .price {*/
/*    margin: 0;*/
/*    padding: 12px 20px;*/
/*    margin-left: -20px;*/
/*    margin-right: -20px;*/
/*    background: rgba(0, 0, 0, 0.2) !important;*/
/*    border-top: 1px solid rgba(255, 255, 255, 0.1);*/
/*    border-bottom: 1px solid rgba(255, 255, 255, 0.1);*/
/*}*/

/*.service-card .price h5 {*/
/*    margin: 0;*/
/*    font-size: 0.75rem;*/
/*}*/

.service-card hr {
    margin: 15px 0;
    border-color: rgba(255, 255, 255, 0.1);
}

.service-card ul {
    margin: 15px 0;
    padding-left: 0;
}

.service-card .centerit {
    margin-top: auto;
    padding: 20px;
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: 0;
}

/* Full width container for service cards */
.feacat .col-md {
    padding: 0 10px;
    flex: 1;
    max-width: 100%;
}

.gaming-highlight {
    background: transparent;
}


.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.ddos-badge {
    background: linear-gradient(45deg, #007bff, #00d4ff);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    animation: badgePulse 2s ease-in-out infinite;
    margin: 20px 0 18px 0;
    width: fit-content;
}

.gaming-highlight ul li {
    transition: all 0.3s ease;
    padding: 8px 0;
}

.gaming-highlight ul li:hover {
    color: #00d4ff;
    transform: translateX(5px);
}

.gaming-highlight ul li i {
    margin-right: 8px;
    color: #007bff;
}

.vps-highlight ul li {
    transition: all 0.3s ease;
    padding: 8px 0;
}

.vps-highlight ul li:hover {
    color: #00d4ff;
    transform: translateX(5px);
}

.vps-highlight ul li i {
    margin-right: 8px;
    color: #007bff;
}

.dedicated-highlight ul li {
    transition: all 0.3s ease;
    padding: 8px 0;
}

.dedicated-highlight ul li:hover {
    color: #00d4ff;
    transform: translateX(5px);
}

.dedicated-highlight ul li i {
    margin-right: 8px;
    color: #007bff;
}

.transit-highlight ul li {
    transition: all 0.3s ease;
    padding: 8px 0;
}

.transit-highlight ul li:hover {
    color: #00d4ff;
    transform: translateX(5px);
}

.transit-highlight ul li i {
    margin-right: 8px;
    color: #007bff;
}

.gaming-cta {
    position: relative;
    overflow: hidden;
}

.gaming-cta::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.gaming-cta:hover::after {
    transform: translateY(-50%) translateX(5px);
}

/* Feature Section Enhancements */
.mfea .boxy {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mfea .boxy::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.mfea .boxy:hover::before {
    left: 100%;
}

.mfea .boxy:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Swiper */
.swiper-slide {
    transition: all 0.3s ease !important;
}

.swiper-slide:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 123, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 123, 255, 0.4);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes statHighlight {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@keyframes slideRight {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .ddos-shield-badge {
        flex-direction: column;
        text-align: center;
        padding: 12px 20px;
    }

    .shield-icon {
        margin-right: 0;
        margin-bottom: 8px;
    }

    .service-header {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .gaming-highlight ul li {
        font-size: 0.9rem;
    }
}

/* Additional Modern Enhancements */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

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

/* Performance Stats Counter Animation */
.highlight-stat {
    display: inline-block;
    position: relative;
}

/* Loading Animation for Better UX */
.loading-shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Interactive Hover States */
.feacat .col-md {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 10px;
}

/* Improved Button Animations */
.pulse-one-white {
    animation: pulse-one-white 3s ease-in-out infinite, buttonFloat 6s ease-in-out infinite;
}

@keyframes buttonFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* DDoS Feature Highlight */
.ddos-feature-highlight {
    position: relative;
    border: 2px solid rgba(0, 123, 255, 0.2) !important;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.03), rgba(0, 212, 255, 0.03)) !important;
}

.ddos-feature-highlight::after {
    content: '🛡️';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    animation: bounce 3s ease-in-out infinite;
}

.ddos-feature-highlight:hover {
    border-color: rgba(0, 123, 255, 0.5) !important;
    box-shadow: 0 0 25px rgba(0, 123, 255, 0.2) !important;
}

/* Pulse Glow Effect */
.pulse-glow {
    animation: pulseGlowEffect 1s ease-in-out infinite !important;
}

@keyframes pulseGlowEffect {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 123, 255, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 123, 255, 0.6);
        transform: scale(1.05);
    }
}

/* Enhanced Hover States for Service Cards */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Gaming Badge Animation Enhancement */
.ddos-badge {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ddos-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
}

/* Enhanced Button Hover State */
.btn-hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

/* Performance Indicator */
.performance-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.performance-stats.animate {
    opacity: 1;
    transform: translateY(0);
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(0, 123, 255, 0.2);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #00d4ff;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Loading State Improvements */
body:not(.loaded) .hero-content {
    opacity: 0;
}

body.loaded .hero-content {
    opacity: 1;
    transition: opacity 1s ease-out;
}

/* Service Card Consistency */
.service-icon {
    /*text-align: center;*/
    margin-bottom: 15px;
    margin-top: 15px;
}

.service-icon img {
    max-width: 64px;
    height: auto;
}

/* Service Card Variants - Clean Full Width */
.vps-highlight {
    background: transparent;
}

.dedicated-highlight {
    background: transparent;
}

.transit-highlight {
    background: transparent;
}

/* DDoS Badge Variants */
.gaming-ddos-badge {
    background: linear-gradient(45deg, #007bff, #00d4ff);
    animation: badgePulse 2s ease-in-out infinite;
}

.vps-ddos-badge {
    /*background: linear-gradient(45deg, #6c757d, #adb5bd);*/
    background: linear-gradient(45deg, #373083, #2b63be);
    color: white;
    animation: badgePulse 2.5s ease-in-out infinite;
}

.dedicated-ddos-badge {
    background: linear-gradient(45deg, #ffc107, #ffed4a);
    color: #212529;
    animation: badgePulse 3s ease-in-out infinite;
}

.transit-ddos-badge {
    background: linear-gradient(45deg, #28a745, #34ce57);
    color: white;
    animation: badgePulse 3.5s ease-in-out infinite;
}


/* Button Variants */
.vps-cta {
    background: linear-gradient(45deg, #6c757d, #adb5bd);
    border: none;
}

.dedicated-cta {
    background: linear-gradient(45deg, #ffc107, #ffed4a);
    color: #212529;
    border: none;
}

.transit-cta {
    background: linear-gradient(45deg, #28a745, #34ce57);
    border: none;
}

.vps-cta:hover, .dedicated-cta:hover, .transit-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Service Card List Icons - Proper Alignment */
.service-card ul li {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 4px 0;
    line-height: 1.3;
    list-style: none;
}

.service-card ul li i {
    margin-right: 10px;
    margin-top: 0;
    width: 16px;
    min-width: 16px;
    text-align: center;
    color: #007bff !important;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.service-card ul li span {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.3;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .performance-stats {
        flex-direction: column;
        gap: 20px;
    }

    .ddos-shield-badge {
        max-width: 90%;
        margin: 20px auto;
    }

    .gaming-highlight::before,
    .vps-highlight::before,
    .dedicated-highlight::before,
    .transit-highlight::before {
        display: none;
    }

    .service-header {
        margin-bottom: 10px;
    }

    .service-card {
        padding: 20px 18px 0 18px;
    }

    .service-card .price {
        margin-left: -18px;
        margin-right: -18px;
        padding: 10px 18px;
        background: rgba(0, 0, 0, 0.2) !important;
    }

    .service-card .price h5 {
        font-size: 0.75rem;
    }

    .service-card .centerit {
        margin-left: -18px;
        margin-right: -18px;
        padding: 15px 18px;
    }

    .ddos-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
        margin: 20px 0 20px 0;
    }

    .service-icon {
        margin-bottom: 15px;
    }

    .service-icon img {
        max-width: 48px;
    }
}


