/* assets/css/colorful-style.css */

/* General Body and Typography */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    transition: background 0.5s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #2c3e50;
}

/* Keyframes for animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

/* Header and Banner */
.slider-container {
    position: relative;
}

.carousel-item {
    max-height: 70vh;
}

.carousel-item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.ken-burns {
    animation: ken-burns 20s infinite;
}

@keyframes ken-burns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(1.2) translate(-10px, 10px);
    }
    100% {
        transform: scale(1) translate(0, 0);
    }
}

.carousel-caption-container {
    background-color: #f8f9fa;
    padding: 2rem;
    text-align: center;
}

.carousel-caption-content h5 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.carousel-caption-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.animated-caption {
    animation: fadeIn 1s ease-in-out forwards;
    opacity: 0;
}

.carousel-item.active .animated-caption:nth-child(1) {
    animation-delay: 0.5s;
}

.carousel-item.active .animated-caption:nth-child(2) {
    animation-delay: 1s;
}

.carousel-item.active .animated-caption:nth-child(3) {
    animation-delay: 1.5s;
}

/* Icon Card Style */
.icon-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 1s ease-out forwards;
    opacity: 0;
    animation-delay: calc(0.1s * var(--card-index, 1));
}

.icon-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.icon-card .card-icon {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.icon-card:hover .card-icon {
    color: #0056b3;
}

.icon-card .card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.icon-card .card-text {
    color: #555;
}

/* Buttons */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Footer */
.footer-area {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 40px 0;
}

.footer-area a {
    color: #7f8c8d;
    transition: color 0.3s;
}

.footer-area a:hover {
    color: #ecf0f1;
}

/* General Section Padding */
.section-padding {
    padding: 80px 0;
}

/* Animations for page elements */
.animated-section {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}
/* Custom Styles */
body {
    padding-top: 56px;
    background-color: #f0f2f5;
    color: #333;
    font-family: 'Roboto', sans-serif;
}

.slider {
    margin-top: -56px;
}

.page-header {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 0 0 25px 25px;
}

.page-header h1 {
    font-weight: 700;
    font-size: 3.5rem;
}

.icon-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 30px;
}

.icon-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.icon-card .icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #007bff;
    transition: color 0.3s;
}

.icon-card:hover .icon {
    color: #0056b3;
}

.icon-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.icon-card p {
    font-size: 1rem;
    line-height: 1.6;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 600;
    transition: background-color 0.3s, border-color 0.3s;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Animation */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
}

#hf-propagation .icon-card {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s;
}

#hf-propagation .icon-card:hover {
    transform: translateY(-5px);
}

/* Solar Flux Index Status Colors */
.status-excellent {
    background-color: #d4edda; /* Light Green */
    color: #155724; /* Dark Green */
}

.status-good {
    background-color: #fff3cd; /* Light Yellow */
    color: #856404; /* Dark Yellow */
}

.status-fair {
    background-color: #ffeeba; /* Light Orange */
    color: #856404; /* Dark Orange */
}

.status-challenging {
    background-color: #f8d7da; /* Light Red */
    color: #721c24; /* Dark Red */
}

#hf-propagation .card-title {
    font-weight: bold;
}

#hf-propagation .display-4 {
    font-size: 3.5rem;
    font-weight: bold;
}

.small-card .card-title {
    font-size: 1rem;
}

.small-card .display-4 {
    font-size: 2.5rem;
}

/* Satellite Tracking Section */
#satellite-tracking {
    position: relative;
    overflow: hidden;
}

.satellite-animation {
    position: absolute;
    top: 50%;
    left: -50px;
    transform: translateY(-50%);
    animation: satellite-pass 15s linear infinite;
}

.satellite-animation .fa-satellite {
    font-size: 50px;
    color: #007bff;
}

@keyframes satellite-pass {
    0% {
        left: -50px;
        transform: rotate(0deg);
    }
    100% {
        left: 100%;
        transform: rotate(360deg);
    }
}
