/* Universal Styling */


:root {
    --primary-color: #68BE43;  /* Main color  */
    --secondary-color: #f8f9fa; /* Light gray background */
    --accent-color: #ff6b6b;    /* Coral accent color for CTAs */
}

/* About section */
.about-section {
    padding: 60px 0;
    background-color: #f8f9fa; 
}
.about-image img {
    width: 100%;
    border-radius: 5px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}
.about-text {
    padding: 20px;
}
.about-text h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333; 
    margin-bottom: 20px;
}
.about-text p {
    font-size: 1.1rem;
    color: #555; 
    line-height: 1.8; 
}
.about-text .btn {
    margin-top: 20px;
    background-color: var(--accent-color); 
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
}
.about-text .btn:hover {
    background-color: var(--accent-color); 
}

.whyUs-card{
    border-radius: 15px;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0.3s ease-in-out;
}

.whyUs-card:hover{
    transform: scale(1.01);
    box-shadow: 0 0px 4px 0px rgba(0, 0, 0, 0.3);
    border-color: transparent;
}

@media (max-width: 991px) and (min-width: 767px){
    .whyUs-card{
         margin-left: 20px;
    }
}
@media (max-width: 768px) and (min-width: 576px){
    
}
@media (max-width: 575px) {
    
}

/* Main events section styling */
.events-section {
    padding: 2rem 0; 
    background-color: #fafafa !important;
    position: relative;
    overflow: hidden;
}

/* Colored background for the title section */
.events-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 33%;
    height: 100%;
    background-color: var(--primary-color);
    z-index: 0;
}

/* Big "Upcoming Events" title */
.section-title {
    position: relative;
    z-index: 1;
    color: white;
    font-size: 3.5rem; 
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 1.5rem; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Subtitle text */
.section-subtitle {
    position: relative;
    z-index: 1;
    font-size: 1rem; 
    max-width: 90%; 
    margin-bottom: 1.5rem;
}

/* View All button styling */
.btn-view-all {
    position: relative;
    z-index: 1;
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem; 
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem; 
    transition: all 0.3s ease;
}

/* Slider container */
.events-slider {
    position: relative;
    padding: 0 10px; 
}

/* Individual event card */
.event-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); 
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem; 
}

/* Event image styling */
.event-img {
    height: 180px;
    object-fit: cover;
    width: 100%;
}

/* Event card content area */
.event-body {
    padding: 1.25rem; 
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Event title  */
.event-title {
    font-weight: 700;
    margin-bottom: 0.5rem; 
    color: var(--primary-color);
    font-size: 1.1rem; 
}

/* Event description text */
.event-description {
    color: #666;
    margin-bottom: 1rem; 
    flex-grow: 1;
    font-size: 0.9rem; 
    line-height: 1.4;
}

.event-link{
    color: var(--accent-color);
}

.event-link:hover{
    text-decoration: underline;
}

/* Slider navigation buttons*/
.slider-controls {
    margin-top: 1.5rem;
}

.slider-btn {
    width: 36px; 
    height: 36px; 
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #f7f7f7;
    border-color: transparent;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .events-section::before {
        height: 250px;
    }
    
    .section-title {
        font-size: 2.8rem; 
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem; 
    }
    
    .events-section::before {
        height: 220px; 
    }
    .events-section .title-container{
        background-color: var(--primary-color) !important;
    }
}

/* Workshop */
.workshop-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}
.section-title2 {
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 40px;
    font-weight: 700;
}
.section-subtitle {
    color: #6c757d;
    margin-bottom: 50px;
    font-size: 1.1rem;
}
.workshop-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}
.workshop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.card-img-top {
    height: 180px;
    object-fit: cover;
}
.primary-bg {
    background-color: var(--primary-color);
}
.secondary-bg {
    background-color: #ff6b6b;
}

.btn-secondary-custom {
    background-color: #ff6b6b;
    border-color: #ff6b6b;
    color: white;
}
.btn-secondary-custom:hover {
    background-color: #ff5252;
    border-color: #ff5252;
}
.date-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255,255,255,0.9);
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
}
.skill-tag {
    display: inline-block;
    background-color: #e9ecef;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-right: 5px;
    margin-bottom: 5px;
}

/* Partner Carousel Section */
.partner-carousel-section {
    padding: 60px 0;
    background-color: #f8f9fa;
    overflow: hidden;
}

.partner-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.partner-slider-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.partner-slider {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
    align-items: center;
}

.partner-slide {
    flex: 0 0 25%;
    padding: 0 15px;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.partner-slide-content {
    background: white;
    border-radius: 8px;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.partner-slide:hover .partner-slide-content {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.partner-slide img {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

.partner-slide-caption {
    text-align: center;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    margin-top: auto;
}

.partner-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.partner-slider-nav:hover {
    background: #68BE43;
}

.partner-slider-nav i {
    font-size: 20px;
    color: #68BE43;
    transition: color 0.3s ease;
}

.partner-slider-nav:hover i {
    color: white;
}

.partner-slider-prev {
    left: 0;
}

.partner-slider-next {
    right: 0;
}

.partner-slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.partner-slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.partner-slider-dots .dot.active {
    background-color: #68BE43;
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .partner-slide {
        flex: 0 0 33.333%;
    }
}

@media (max-width: 992px) {
    .partner-slide {
        flex: 0 0 50%;
    }
    
    .partner-carousel-container {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .partner-slide {
        flex: 0 0 100%;
    }
    
    .partner-slider-nav {
        width: 40px;
        height: 40px;
    }
    
    .partner-carousel-container {
        padding: 0 20px;
    }
}