/*
Theme Name: Sydney Child
Theme URI: http://athemes.com/theme/sydney
Author: aThemes
Author URI: http://athemes.com
Template: sydney
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sydney
*/
.page-wrap {
	padding-bottom: 0px !important;
}

.site-branding {
	background: rgba(255, 255, 255, 0.8) !important;
	margin: 2px 1px;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
}

/* Fix margin conflict on menu items */
.sydney-dropdown.main-navigation > div > ul.sydney-dropdown-ul > li.sydney-dropdown-li {
    margin-right: 35px !important;
}

.elementor-icon-box-title {
	background-color: #203864 !important;
	padding: 20px;
	min-height: 200px !important;
}

.eb-courses-wrapper h2,
.eb-title {
    font-family: Roboto Serif, serif !important;
	font-size: 38px !important;
	line-height: 1 !important;
	color: #1B2460 !important;
	margin: 0 !important;
    padding: 0 !important;
	position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.eb-courses-wrapper h2,
.eb-title::after {
	content: '';
    position: absolute;
    bottom: -15px;
    left: 34px;
    transform: translateX(-50%);
    width: 7%; /* Adjust width to match your design */
    height: 3px; /* Adjust thickness */
    background-color: #e67148; /* Match the orange/red color in your image */
	border-radius: 2px;
}

/* No border for the courses element */
.wp-block-edwiser-bridge-courses .eb-courses__wrapper {
	border: none !important;
}

/* Make shortcode container full width */
div.edwiser-bridge {
    width: 100% !important;
    max-width: 100% !important;
}

/* Course cards wrapper - use grid layout */
.sc-eb_courses-wrapper,
.eb_course_cards_wrap {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    width: 100% !important;
}

/* Individual course card styling */
.wdm-col-3-2-1.eb-course-card,
.eb-course-card {
    background: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    overflow: hidden !important;
    margin: 0 !important;
    width: 100% !important;
    transition: transform 0.3s ease !important;
}

.eb-course-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15) !important;
}

/* Remove any default column widths */
.wdm-col-3-2-1 {
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
}

/* Course image */
.eb-course-card .wdm-course-grid-wrap {
    height: 200px !important;
    overflow: hidden !important;
}

.eb-course-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Responsive */
@media (max-width: 768px) {
    .sc-eb_courses-wrapper,
    .eb_course_cards_wrap {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .sc-eb_courses-wrapper,
    .eb_course_cards_wrap {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Initially hide elements */
.slide-left,
.slide-right {
    opacity: 0;
}

/* Animation classes that will be added on scroll */
.slide-left.animate {
    animation: slideFromLeft 1s ease-out forwards;
}

.slide-right.animate {
    animation: slideFromRight 1s ease-out forwards;
}

@keyframes slideFromLeft {
    0% {
        transform: translateX(-200px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideFromRight {
    0% {
        transform: translateX(200px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.elementor-counter-title {
	text-align: center !important;
}

.cretive-button-text {
	color: #ffffff !important;
}

footer {
	background: linear-gradient(180deg,#f8fafc 0%,#eef2f7 100%);
	border-top:1px solid #e2e8f0;
	margin-top:48px;
	font-family: system-ui,-apple-system, Segoe UI, Roboto, Arial, sans-serif;	
}

/* Fluent Forms - Form ID 3 - Selected radio button color */
.fluentform .ff-el-group.ff_list_buttons .ff-el-form-check.ff_item_selected:first-child label>span,
.fluentform .ff-el-group.ff_list_buttons .ff-el-form-check.ff_item_selected label>span {
    background-color: rgba(21, 42, 82, 1) !important;
    border-color: rgba(21, 42, 82, 1) !important;
}

#myaccount button:hover {
    color: #ffffff !important;
}
/* Coming Soon για Quantum course */
a.eb-courses__course-anchor[href*="/quantum/"] .course-price {
    visibility: hidden;
    position: relative;
    height: 28px;
}

a.eb-courses__course-anchor[href*="/quantum/"] .course-price::after {
    content: "🕐 Σύντομα Διαθέσιμο";
    visibility: visible;
    position: absolute;
    left: 0;
    top: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}