/* Base Styles */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --bg-light: #f8fafc;
    --border-color: #e5e7eb;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.btn-contact {
    background: var(--primary-color);
    color: white !important;
    border-radius: 6px;
    margin-left: 1rem;
}

.btn-contact:hover {
    background: var(--secondary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    /* background-image: url('../images/ihub-bg.jpg'), linear-gradient(rgba(37, 99, 235, 0.9), rgba(103, 129, 215, 0.9)); */
    /* background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; */
    max-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

#particles-js {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),url('../images/banner.jpg');
    background-size: cover;
    background-position: 30% 50%;
    /* background-position: center center;  */
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;   
}

.hero-content{
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero-title, .hero-subtitle, .hero-buttons {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    border: none;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

/* Section Styles */
.section-padding {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--light-text);
    font-size: 1.1rem;
}

/* Project Cards */
.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.project-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.project-content p, .project-content .project-description {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.project-description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3em;
}

.learn-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.learn-more:hover {
    color: var(--secondary-color);
}

/* News Cards */
.news-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.news-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.news-item, .event-item {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.event-list .event-item a {
    text-decoration: none;
    color: var(--text-color);
}
.event-item .gps{
    margin-right: 0.2rem;
    color: rgb(222, 38, 41);
}
.event-list .event-item:hover {
    color: var(--text-color);
    text-decoration: none;
}

.news-card .news-item:last-child, .event-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-item a {
    text-decoration: none;
    color: var(--text-color);
}

.view-all a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: block;
    margin-top: 1rem;
}

.view-all:hover a {
    color: var(--secondary-color);
}

.date {
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
}

/* Team Cards */
.team-card {
    text-align: center;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.team-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
}

.team-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-content p {
    color: var(--light-text);
}

/* Contact Form */
.contact-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-control {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-color);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.back-to-top i {
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: var(--bg-light);
    padding: 4rem 0 2rem;
}

.footer h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.footer-logo {
    height: 100px;
    width: 240px;
}

.footer p {
    color: var(--light-text);
    margin-bottom: 0.5rem;
}
.footer p a {
    color: var(--light-text);
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .btn-contact {
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 2rem;
    }
}

/* Supporting Institutions */
#supporters {
    /* background-color: #f8f9fa; */
    background-color: #ffff;
}
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 2rem 0;
}
.logo-wrapper img {
    height: 100px;
    width: auto;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    padding: 0.5rem;
    border-radius: 10px;
    object-fit: contain;
    font-family: 'Inter', sans-serif;
}
.logo-wrapper img:hover {
    filter: grayscale(0);
    transform: scale(1.05);
}

