/* About Platform Page Modern Styling */
.about-platform-container {
    margin-bottom: 60px;
    padding: 20px;
}

.about-platform-header {
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    /*border-bottom: 4px solid #0066cc;*/
}

.about-platform-header h2 {
    color: #003366;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.about-content-card {
    background: #ffffff;
    padding: 40px 45px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: box-shadow 0.3s ease;
}

.about-content-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.about-text {
    background-color: transparent !important;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 25px;
    text-align: justify;
}

.about-text a {
    color: #0066cc;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid transparent;
}

.about-text a:hover {
    color: #004499;
    border-bottom: 1px solid #004499;
    text-decoration: none;
}

.about-text ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.about-text > ul > li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 20px;
    padding-left: 35px;
    position: relative;
}

.about-text > ul > li::before {
    content: '►';
    position: absolute;
    left: 10px;
    color: #0066cc;
    font-size: 0.9rem;
    font-weight: bold;
}

.about-text ul ul {
    margin-top: 12px;
    margin-bottom: 12px;
    padding-left: 15px;
}

.about-text ul ul li {
    font-size: 1rem;
    line-height: 1.7;
    color: #6c757d;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.about-text ul ul li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: #6c757d;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-platform-container {
        padding: 10px;
    }

    .about-platform-header {
        padding: 20px 25px;
    }

    .about-platform-header h2 {
        font-size: 1.5rem;
    }

    .about-content-card {
        padding: 25px 20px;
    }

    .about-text p,
    .about-text > ul > li {
        font-size: 0.95rem;
    }

    .about-text > ul > li {
        padding-left: 30px;
    }
}
/* Home Page Specific Styles */
.home-container {
    padding-top: 20px;
    padding-bottom: 40px;
}

.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.hero-image-wrapper {
    max-width: 90%;
    margin: 0 auto;
    border-radius: 8px;
    overflow: visible;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    position: relative;
    cursor: zoom-in;
}

.hero-image-wrapper img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    display: block;
}

.hero-image-wrapper:hover img {
    transform: scale(1.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1000;
    border-radius: 8px;
}

.sidebar-section {
    background: #ffffff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #0066cc;
}

.sidebar-section h4 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #003366;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.sidebar-section .list-unstyled li {
    margin-bottom: 12px;
}

.sidebar-section .list-unstyled li a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
    font-weight: 500;
}

.sidebar-section .list-unstyled li a:hover {
    color: #004499;
    padding-left: 5px;
}

.social-links-wrapper {
    background: #ffffff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #0066cc;
}

.social-links-wrapper h4 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #003366;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.list-group-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.list-group-horizontal .list-group-item {
    border: none;
    padding: 0;
    background: transparent;
}

.list-group-horizontal .list-group-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #003366;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.list-group-horizontal .list-group-item a:hover {
    background: #0066cc;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3);
}

/* News Section Styles */
.news-section {
    background: #ffffff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    max-height: 450px;
    overflow-y: auto;
}

.news-section::-webkit-scrollbar {
    width: 8px;
}

.news-section::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.news-section::-webkit-scrollbar-thumb {
    background: #0066cc;
    border-radius: 10px;
}

.news-section::-webkit-scrollbar-thumb:hover {
    background: #004499;
}

.news-section h3 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 25px;
    margin-top: -30px;
    margin-left: -30px;
    margin-right: -30px;
    padding-top: 10px;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #0066cc;
    position: sticky;
    top: -30px;
    background: #ffffff;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.news-item {
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background-color: #f8f9fa;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: -10px;
    margin-right: -10px;
    border-radius: 6px;
}

.news-item-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #003366;
    margin-bottom: 10px;
}

.news-item-title a {
    color: #003366;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-item-title a:hover {
    color: #0066cc;
}

.news-item-date {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 10px;
    display: inline-block;
}

.news-item-excerpt {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 10px;
}

.news-item-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.news-item-link:hover {
    color: #004499;
    text-decoration: underline;
}

/* Tool Card Styles */
.tools-resources-section {
    background: #ffffff;
    border-radius: 8px;
    padding: 30px 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tools-resources-section h4 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #003366;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.tool-cards-container {
    margin-top: 20px;
}

.tool-card {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 25px 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    color: #003366;
    text-align: center;
    height: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #004499);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tool-card:hover::before {
    transform: scaleX(1);
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.15);
    border-color: #0066cc;
    cursor: pointer;
}

.tool-card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #0066cc;
    transition: all 0.3s ease;
}

.tool-card:hover .tool-card-icon {
    color: #004499;
    transform: scale(1.1);
}

.tool-card-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 15px;
    line-height: 1.4;
}

.tool-card-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #6c757d;
    margin-bottom: 20px;
    flex-grow: 1;
}

.tool-card-link {
    display: inline-block;
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.2);
}

.tool-card-link:hover {
    background: linear-gradient(135deg, #004499 0%, #003366 100%);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* Bluesky Feed Section Styles */
.bluesky-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e1e8ed;
}

.bluesky-section h3 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #003366;
    margin: 0;
    padding: 20px 25px 15px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 3px solid #1185fe;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bluesky-section h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #1185fe 0%, #0066cc 100%);
    border-radius: 2px;
}

.bluesky-profile-header {
    padding: 15px 25px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
    border-bottom: 1px solid #e1e8ed;
}

.bluesky-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1185fe;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 25px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(17, 133, 254, 0.15);
}

.bluesky-profile-link:hover {
    color: #0066cc;
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 133, 254, 0.25);
    text-decoration: none;
}

.bluesky-profile-link i {
    font-size: 1.3rem;
    color: #1185fe;
}

.bluesky-feed-container {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 15px 20px;
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
    scroll-behavior: smooth;
}

/* Modern scrollbar styling */
.bluesky-feed-container::-webkit-scrollbar {
    width: 8px;
}

.bluesky-feed-container::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 10px;
    margin: 5px 0;
}

.bluesky-feed-container::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #1185fe 0%, #0066cc 100%);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: background 0.3s ease;
}

.bluesky-feed-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #0066cc 0%, #004499 100%);
    background-clip: padding-box;
}

/* Firefox scrollbar */
.bluesky-feed-container {
    scrollbar-width: thin;
    scrollbar-color: #1185fe #f1f5f9;
}

/* Style the bsky-embed component */
.bluesky-feed-container bsky-embed {
    display: block;
    width: 100%;
}

.bluesky-view-all-btn {
    display: block;
    text-align: center;
    padding: 15px 25px;
    background: linear-gradient(135deg, #1185fe 0%, #0066cc 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-top: 1px solid #e1e8ed;
}

.bluesky-view-all-btn:hover {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    color: #ffffff;
    text-decoration: none;
}

.bluesky-view-all-btn i {
    margin-left: 8px;
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.bluesky-view-all-btn:hover i {
    transform: translateX(3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 20px;
    }

    .hero-image-wrapper {
        max-width: 100%;
    }

    .sidebar-section, .social-links-wrapper, .news-section {
        padding: 20px;
    }

    .news-section h3 {
        font-size: 1.5rem;
    }

    .news-item-title {
        font-size: 1.1rem;
    }

    .tools-resources-section {
        padding: 20px 15px;
    }

    .tools-resources-section h4 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .tool-card {
        padding: 20px 15px;
        min-height: 280px;
    }

    .tool-card:hover {
        transform: translateY(-5px);
    }

    .tool-card-icon {
        font-size: 2.5rem;
    }

    .tool-card-title {
        font-size: 1.1rem;
    }

    .tool-card-description {
        font-size: 0.85rem;
    }

    /* Bluesky section responsive */
    .bluesky-section h3 {
        font-size: 1.1rem;
        padding: 15px 20px 12px;
    }

    .bluesky-profile-header {
        padding: 12px 20px;
    }

    .bluesky-profile-link {
        font-size: 1rem;
        padding: 6px 12px;
    }

    .bluesky-feed-container {
        max-height: 400px;
        padding: 12px 15px;
    }

    .bluesky-view-all-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}