/* Hero Section Styles */
.hero {
    background-color: var(--light-bg);
    padding: 40px 0;
    position: relative;
}
.hero-carousel {
    position: relative;
    overflow: hidden;
}
.hero-slide {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}
.hero-slide.active {
    display: block;
}
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}
.carousel-prev,
.carousel-next {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.carousel-prev:hover,
.carousel-next:hover {
    background: var(--secondary-color);
}
.carousel-dots {
    display: flex;
    gap: 10px;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
}
.dot.active {
    background: var(--primary-color);
}
.category {
    display: inline-block;
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
}
.hero-text h1 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 20px;
}
.excerpt {
    font-size: 18px;
    color: var(--light-text);
    margin-bottom: 20px;
}
.meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: var(--light-text);
}
.meta i {
    margin-right: 5px;
}
.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Main Content Styles */
.main-content {
    padding: 40px 0;
}
.content-grid {
    /*display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;*/
	display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    padding: 30px 0;
}
.section-title {
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}
.news-list {
    margin-bottom: 30px;
	display: grid;
    gap: 25px;
}


/*.news-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}*/

.news-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #222;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 10px;
}

.news-items {
    display: grid;
    gap: 25px;
}

.news-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.news-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}


.news-content .category {
    display: inline-block;
    color: #0066cc;
    margin: 0;padding: 0;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.news-content h3 {
    font-size: 1.2rem;
	line-height: 1.5rem;
}

.news-content h3 a {
    color: #222;
    text-decoration: none;
}

.news-content h3 a:hover {
    color: #0066cc;
}

.news-content .excerpt {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 8px 0;
}

.news-content .meta {
    color: #666;
    font-size: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
	margin-top: 10px;
}

.view-all {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: bold;
	margin-top: 30px;
}
.view-all i {
    margin-left: 5px;
    font-size: 12px;
}
.topics-list {
    display: grid;
    gap: 20px;
}
.topic-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.topic-card img {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
}
.topic-content {
    padding: 15px;
}
.topic-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}
.topic-content p {
    color: var(--light-text);
    font-size: 14px;
}
.user-actions{
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFFFFF;
}
.video-section {
    margin-bottom: 60px;
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.video-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.video-card:hover {
    transform: translateY(-5px);
}
.video-thumbnail {
    position: relative;
}
.video-thumbnail img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,102,204,0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
}
.video-info {
    padding: 15px;
}
.video-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
}
.video-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--light-text);
}
.video-meta i {
    margin-right: 5px;
}

/* Events Section Styles */
.events-section {
    margin-bottom: 60px;
}
.events-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 30px;
}
.event-card {
    display: grid;
    grid-template-columns: 30% 1fr;
    gap: 30px;
	padding: 30px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.event-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
	 border-radius: 8px;
}
.event-details {
	height: 100%;
    padding: 10px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.event-date {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 15px;
}
.event-details h3 {
    font-size: 22px;
    margin-bottom: 15px;
}
.event-location {
    color: var(--light-text);
    margin-bottom: 15px;
}
.event-location i {
    margin-right: 5px;
}
.event-description {
    margin-bottom: 20px;
    line-height: 1.6;
}
.register-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s;
    align-self: flex-start;
}
.register-btn:hover {
    background: var(--secondary-color);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .event-card {
        grid-template-columns: 1fr;
    }
    .event-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
    .logo img {
        width: 120px;
        /*height: 30px;*/
    } .logo img {
        width: 120px;
        /*height: 30px;*/
    }
	.content-grid {
        grid-template-columns: 1fr;
    }
    
    .news-item {
        grid-template-columns: 1fr;
    }
    
    .news-image img {
        height: 200px;
    }
}


/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-content {
        gap: 30px;
    }
    .content-grid {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    .hero-text {
        order: 2;
        margin-top: 30px;
    }
    .hero-image {
        order: 1;
    }
    .content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .main-nav{
        padding: 0;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .news-item h3 {
        font-size: 18px;
    }
}
