/*
Theme Name: Macarena's World Theme
Theme URI: https://macarenasworld.pl
Author: MysticNord
Author URI: https://mysticnord.com
Author contact: kontakt@mysticnord.com
Description: A fully functional WordPress theme for Macarena's World.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: macarenasworld
*/

/* ==========================================================================
   1. Zmienne i Podstawy
   ========================================================================== */
@theme {
    --font-poppins: 'Poppins', sans-serif;
    --color-primary: #FF6B6B;
    --color-secondary: #FFE66D;
    --color-accent: #4ECDC4;
    --color-dark: #2D3436;
    --color-light: #F7F7F7;
}
:root {
	--salmon: #FF6B6B;
	--salmon-linear: linear-gradient(135deg, #FF8E53 0%, #FF6B6B 100%);
	--white: #fff;
}

* {
    font-family: 'Poppins', sans-serif;
}

/* ==========================================================================
   2. Animacje
   ========================================================================== */
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } }
@keyframes float-delayed { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-15px); } }
@keyframes slide-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes scale-in { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes gradient-shift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes shake { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(-5deg); } 75% { transform: rotate(5deg); } }
@keyframes wave { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(10deg); } 75% { transform: rotate(-10deg); } }

.animate-float { animation: float 4s ease-in-out infinite; }
.animate-float-delayed { animation: float-delayed 5s ease-in-out infinite; }
.animate-slide-up { opacity: 0; animation: slide-up 0.8s ease-out forwards; }
.animate-fade-in { opacity: 0; animation: fade-in 1s ease-out forwards; }
.animate-scale-in { opacity: 0; animation: scale-in 0.6s ease-out forwards; }
.animate-gradient { background-size: 200% 200%; animation: gradient-shift 6s ease infinite; }
.animate-shake:hover { animation: shake 0.5s ease-in-out; }
.animate-wave:hover { animation: wave 0.5s ease-in-out; }

/* ==========================================================================
   3. Nawigacja Główna (Desktop Dropdown)
   ========================================================================== */
.lg\:flex li {
    position: relative;
    list-style: none;
}
.lg\:flex ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 260px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 0.5rem;
    padding: 0.75rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}
.lg\:flex ul.sub-menu ul.sub-menu {
    top: 0;
    left: 100%;
    transform: translateX(10px);
}
.lg\:flex li:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) translateX(0);
}
.lg\:flex ul.sub-menu li a {
    display: block;
    padding: 0.6rem 1.5rem;
    color: #2D3436;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: all 0.2s;
}

.lg\:flex ul.sub-menu li a:hover {
    background-color: #f8fafc;
    color: #FF6B6B;
    padding-left: 1.75rem;
}
.logo img { max-width: 300px; transition: all 0.3s ease; margin-bottom: -200px;}
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
.nav-scrolled .logo img { max-width: 100px; margin-bottom: 0;}

/* ==========================================================================
   4. Menu Mobilne
   ========================================================================== */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
    transform: translateX(0);
}
#mobile-menu .sub-menu {
    display: none;
    margin-top: 0.5rem;
    margin-left: 1rem;
    border-left: 1px solid #eee;
}
#mobile-menu li.is-open > .sub-menu {
    display: block;
}

/* ==========================================================================
   5. Elementy UI i Efekty
   ========================================================================== */
.btn-primary {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3); }

.gradient-text {
    background: linear-gradient(135deg, #FF6B6B 0%, #FFE66D 50%, #4ECDC4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hover-scale:hover { transform: scale(1.05); transition: transform 0.3s ease; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 100%);
    border-radius: 4px;
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    z-index: -1;
}

.page-content {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.page-content > * {
    flex: 1 0 100%;
}

.grid {
    align-items: start; 
}
aside.lg\:col-span-1 {
    position: sticky;
    top: 20px; 
    max-height: calc(100vh - 40px);
    overflow-y: auto; 
}


.mb-16 .aspect-video {
	min-height: 100%;
	max-width: 50%;
}
.wp-block-columns:first-of-type {
	margin: 40px 0 0 0;
}
.wp-block-columns .wp-block-column .wp-block-image img {
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;
    height: auto !important;
    display: block !important;
}

/* ==========================================================================
   Structure
   ========================================================================== */

a {cursor: pointer;}
.page-content a {
    color: #FF6B6B;
    transition: color 0.2s ease;
}
.page-content a:hover {
    color: #FF8E53;
}
.page-content a.btn-cst {
	color: #fff;
	text-decoration: none;
}
.page-content a {
	text-decoration: none;
}
.page-content .pricing-wrapper a {
	background-color: var(--salmon);
	color: var(--white);	
}
.page-content .pricing-wrapper .grid > *:hover a {
	background: var(--salmon-linear);
}

/* ==========================================================================
   Header
   ========================================================================== */
.main-desktop-menu > li:last-child a {
    background-color: #FF6B6B; 
    color: white !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.main-desktop-menu > li:last-child a:hover {
    background-color: #fa5252;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.main-mobile-menu > li:last-child a {
    display: block;
    text-align: center;
    background-color: #FF6B6B;
    color: white !important;
    padding: 0.75rem 1rem !important;
    border-radius: 9999px;
    margin-top: 1.5rem;
    font-weight: 600;
}



/* ==========================================================================
   Footer CTA
   ========================================================================== */
.macarenas-cta-wrapper {
	background-color: #ffffff; 
	padding-top: 3rem;
	padding-bottom: 5rem;
}
body.blog .macarenas-cta-wrapper {
	background-color: var(--color-gray-50);
}
    .cta-banner-card {
        position: relative;
        overflow: hidden;
        background: linear-gradient(to right, #FF6B6B, #FF8E53);
        border-radius: 1.5rem;
        padding: 2.5rem;
        color: #ffffff;
        text-align: center;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    }
    @media (min-width: 768px) {
        .cta-banner-card { padding: 3.5rem; }
    }
    .cta-svg-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0.1;
        pointer-events: none;
    }
    .cta-btn-primary {
        background-color: #ffffff;
        color: #FF6B6B;
        padding: 1rem 2rem;
        border-radius: 9999px;
        font-weight: 700;
        font-size: 1.125rem;
        transition: all 0.3s;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        display: inline-flex;
        align-items: center;
    }
    .cta-btn-primary:hover {
        background-color: #FFE66D;
        color: #1f2937;
    }
    .cta-btn-outline {
        border: 2px solid #ffffff;
        color: #ffffff;
        padding: 1rem 2rem;
        border-radius: 9999px;
        font-weight: 700;
        font-size: 1.125rem;
        transition: all 0.3s;
        display: inline-flex;
        align-items: center;
    }
    .cta-btn-outline:hover {
        background-color: #ffffff;
        color: #FF6B6B;
    }


/* ==========================================================================
   Page & Sidebar
   ========================================================================== */
/* Scroll reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 1024px) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    .scroll-reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    transition: all 0.3s ease;
    display: inline-block;
    color: white;
    padding: 0.875rem 2.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255,107,107,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
    color: white;
}
.btn-secondary {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A3AA 100%);
    transition: all 0.3s ease;
    display: inline-block;
    color: white;
    padding: 0.875rem 2.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(78,205,196,0.3);
}
.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(78, 205, 196, 0.4);
    color: white;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
}

.highlight-underline {
    position: relative;
    display: inline-block;
    z-index: 1;
}
.highlight-underline::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 10px;
    background: #FFE66D;
    z-index: -1;
    border-radius: 4px;
}

/* Sidebar */
.sidebar-widget {
    background: #fff;
    border-radius: 1.5rem;
    padding: 1.75rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    margin-bottom: 1.5rem;
}
.sidebar-widget h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #FFE66D;
}
.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-widget ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
}
.sidebar-widget ul li:last-child {
    border-bottom: none;
}
.sidebar-widget ul li a {
    color: #4b5563;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.sidebar-widget ul li a:hover {
    color: #FF6B6B;
    padding-left: 6px;
}
.sidebar-widget ul li a::before {
    content: '›';
    color: #FF6B6B;
    font-size: 1.2rem;
    line-height: 1;
}

.sidebar-cta {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    border-radius: 1.5rem;
    padding: 2rem 1.75rem;
    text-align: center;
    color: white;
    margin-bottom: 1.5rem;
}
.sidebar-cta h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: white;
}
.sidebar-cta p {
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    opacity: 0.9;
}
.sidebar-cta a {
    background: white;
    color: #FF6B6B;
    padding: 0.65rem 1.75rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.sidebar-cta a:hover {
    background: #FFE66D;
    color: #1f2937;
    transform: translateY(-2px);
}

.page-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.page-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #374151;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.page-content p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1rem;
}
.page-content ul, .page-content ol {
    color: #4b5563;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    line-height: 1.8;
}
.page-content ul li, .page-content ol li {
    margin-bottom: 0.4rem;
}
.page-content img {
    border-radius: 1rem;
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.page-content blockquote {
    border-left: 4px solid #4ECDC4;
    background: #f0fdfc;
    padding: 1rem 1.5rem;
    border-radius: 0 1rem 1rem 0;
    margin: 1.5rem 0;
    font-style: italic;
    color: #374151;
}
.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.page-content table th {
    background: #FF6B6B;
    color: white;
    padding: 0.875rem 1rem;
    font-weight: 700;
    text-align: left;
    font-size: 0.875rem;
}
.page-content table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f3f4f6;
    color: #4b5563;
    font-size: 0.9rem;
}
.page-content table tr:last-child td {
    border-bottom: none;
}
.page-content table tr:nth-child(even) td {
    background: #fafafa;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #9ca3af;
    flex-wrap: wrap;
}
.breadcrumb a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
}
.breadcrumb a:hover { color: #FF6B6B; }
.breadcrumb .separator { color: #d1d5db; }
.breadcrumb .current { color: #FF6B6B; font-weight: 600; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 100%);
    border-radius: 4px;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
.animate-float { animation: float 5s ease-in-out infinite; }

/* ==========================================================================
   Pricelist
   ========================================================================== */
.price-price,
.price-rates,
.price-price-desc {
	text-align: center;
}
.price-price {
	font-size: 36px;
}

/* ==========================================================================
   Lektorzy
   ========================================================================== */
        .macarenas-teachers-section {
            padding: 80px 0;
            background: #fff;
            position: relative;
            overflow: hidden;
        }
        .macarenas-teachers-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .macarenas-teachers-header {
            text-align: center;
            margin-bottom: 40px;
        }
        .macarenas-teachers-title {
            font-size: 2.5rem;
            font-weight: 800;
            color: #1a1a2e;
            margin: 0 0 12px 0;
            line-height: 1.2;
        }
        .macarenas-teachers-title .heart-icon {
            color: #FF6B6B;
            font-style: normal;
        }
        .macarenas-teachers-subtitle {
            font-size: 1rem;
            color: #888;
            margin: 0;
            font-weight: 400;
        }
        .macarenas-teachers-slider-wrapper {
            position: relative;
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 0;
        }
        .macarenas-teachers-slider {
            flex: 1;
            min-width: 0;
            overflow: hidden;
            position: relative;
        }
        .macarenas-teachers-track {
            display: flex;
            transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
            gap: 0;
        }
        .macarenas-teacher-slide {
            flex: 0 0 calc(100% / 6);
            min-width: 0;
            padding: 10px 12px;
            box-sizing: border-box;
        }
        /* Teacher card */
        .macarenas-teacher-card {
            text-align: center;
            cursor: pointer;
            transition: transform 0.3s ease;
        }
        .macarenas-teacher-card:hover {
            transform: translateY(-5px);
        }
        .macarenas-teacher-avatar-wrapper {
            position: relative;
            display: inline-block;
            margin-bottom: 16px;
        }
        .macarenas-teacher-avatar-ring {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            padding: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .macarenas-teacher-card:hover .macarenas-teacher-avatar-ring {
            transform: scale(1.05);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }
        .macarenas-teacher-avatar {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            overflow: hidden;
            background: #fff;
            border: 3px solid #fff;
        }
        .macarenas-teacher-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .macarenas-teacher-avatar-placeholder {
            width: 100%;
            height: 100%;
            background: #e8e8e8;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: #bbb;
        }
        /* Language badge */
        .macarenas-teacher-lang-badge {
            position: absolute;
            bottom: 2px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 11px;
            font-weight: 700;
            padding: 3px 12px;
            border-radius: 12px;
            color: #fff;
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
            letter-spacing: 0.5px;
            white-space: nowrap;
            z-index: 2;
        }
        
        /* Teacher info */
        .macarenas-teacher-name {
            font-weight: 700;
            color: #1a1a2e;
            font-size: 1rem;
            margin: 0 0 4px 0;
        }
        .macarenas-teacher-desc {
            font-size: 0.8rem;
            color: #888;
            line-height: 1.4;
            margin: 0;
        }
        
        .macarenas-slider-arrow {
            flex-shrink: 0;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: #fff;
            border: none;
            box-shadow: 0 2px 12px rgba(0,0,0,0.1);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
            transition: all 0.3s ease;
            color: #333;
            font-size: 18px;
            position: static;
            transform: none;
        }
        .macarenas-slider-arrow:hover {
            background: #f8f8f8;
            box-shadow: 0 4px 16px rgba(0,0,0,0.15);
        }
        .macarenas-slider-arrow svg {
            width: 20px;
            height: 20px;
            fill: none;
            stroke: #333;
            stroke-width: 2.5;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
        
        /* Responsive */
        @media (max-width: 1024px) {
            .macarenas-teacher-slide {
                flex: 0 0 calc(100% / 4);
            }
        }
        @media (max-width: 768px) {
            .macarenas-teachers-title {
                font-size: 1.8rem;
            }
            .macarenas-teacher-slide {
                flex: 0 0 calc(100% / 3);
            }
            .macarenas-teacher-avatar-ring {
                width: 100px;
                height: 100px;
            }
            .macarenas-teachers-slider-wrapper {
                gap: 5px;
            }
            .macarenas-slider-arrow {
                width: 40px;
                height: 40px;
            }
        }
        @media (max-width: 480px) {
            .macarenas-teacher-slide {
                flex: 0 0 calc(100% / 2);
            }
            .macarenas-teacher-avatar-ring {
                width: 90px;
                height: 90px;
            }
            .macarenas-teachers-slider-wrapper {
                gap: 2px;
            }
            .macarenas-slider-arrow {
                width: 36px;
                height: 36px;
            }
            .macarenas-slider-arrow svg {
                width: 16px;
                height: 16px;
            }
        }



/* ==========================================================================
   Lektorzy - Grid
   ========================================================================== */
        .macarenas-teachers-grid-section {
            padding: 80px 0;
            background: #fff;
        }
        .macarenas-teachers-grid-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .macarenas-teachers-grid-header {
            text-align: center;
            margin-bottom: 40px;
        }
        .macarenas-teachers-grid-title {
            font-size: 2.5rem;
            font-weight: 800;
            color: #1a1a2e;
            margin: 0 0 12px 0;
        }
        .macarenas-teachers-grid-title .heart-icon {
            color: #FF6B6B;
            font-style: normal;
        }
        .macarenas-teachers-grid-subtitle {
            font-size: 1rem;
            color: #888;
            margin: 0;
        }
        .macarenas-teachers-grid-wrap {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 24px;
            max-width: 1000px;
            margin: 0 auto;
        }
        .macarenas-grid-card {
            text-align: center;
            cursor: pointer;
            transition: transform 0.3s ease;
        }
        .macarenas-grid-card:hover {
            transform: translateY(-5px);
        }
        .macarenas-grid-avatar-wrapper {
            position: relative;
            display: inline-block;
            margin-bottom: 16px;
        }
        .macarenas-grid-avatar-ring {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            padding: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .macarenas-grid-card:hover .macarenas-grid-avatar-ring {
            transform: scale(1.05);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }
        .macarenas-grid-avatar {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            overflow: hidden;
            background: #fff;
            border: 3px solid #fff;
        }
        .macarenas-grid-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .macarenas-grid-lang-badge {
            position: absolute;
            bottom: 2px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 11px;
            font-weight: 700;
            padding: 3px 12px;
            border-radius: 12px;
            color: #fff;
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
            letter-spacing: 0.5px;
            white-space: nowrap;
            z-index: 2;
        }
        .macarenas-grid-name {
            font-weight: 700;
            color: #1a1a2e;
            font-size: 1rem;
            margin: 0 0 4px 0;
        }
        .macarenas-grid-desc {
            font-size: 0.8rem;
            color: #888;
            line-height: 1.4;
            margin: 0;
        }
        
        @media (max-width: 1024px) {
            .macarenas-teachers-grid-wrap {
                grid-template-columns: repeat(4, 1fr);
            }
        }
        @media (max-width: 768px) {
            .macarenas-teachers-grid-title {
                font-size: 1.8rem;
            }
            .macarenas-teachers-grid-wrap {
                grid-template-columns: repeat(3, 1fr);
                gap: 16px;
            }
            .macarenas-grid-avatar-ring {
                width: 100px;
                height: 100px;
            }
        }
        @media (max-width: 480px) {
            .macarenas-teachers-grid-wrap {
                grid-template-columns: repeat(2, 1fr);
            }
            .macarenas-grid-avatar-ring {
                width: 90px;
                height: 90px;
            }
        }


/* ==========================================================================
   RWD
   ========================================================================== */
@media screen and (max-width: 1080px) {
	body.home .logo img {max-width: 150px;}
	body:not(.home) .logo img {max-width: 120px; margin-bottom: 0;}
	body.home .nav-scrolled .logo img { max-width: 100px; margin-bottom: 0;}
	.scroll-reveal.visible {
		max-width: 100%;
	}.page-content > * {
		flex: auto;
	}
}



/* ==========================================================================
   FrontPage
   ========================================================================== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes slide-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(10deg); }
    75% { transform: rotate(-10deg); }
}

.animate-float { animation: float 4s ease-in-out infinite; }
.animate-float-delayed { animation: float-delayed 5s ease-in-out infinite; }
.animate-slide-up {
    opacity: 0;
    animation: slide-up 0.8s ease-out forwards;
}
.animate-fade-in {
    opacity: 0;
    animation: fade-in 1s ease-out forwards;
}
.animate-shake:hover { animation: shake 0.5s ease-in-out; }
.animate-wave:hover { animation: wave 0.5s ease-in-out; }

.scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.hover-lift {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.gradient-text {
    background: linear-gradient(135deg, #FF6B6B 0%, #FFE66D 50%, #4ECDC4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-primary {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    transition: all 0.3s ease;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A3AA 100%);
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(78, 205, 196, 0.3);
}

.nav-scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}
.mobile-menu.open {
    transform: translateX(0);
	background-color: var(--white);
	z-index: 999;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    z-index: -1;
}

.carousel-container {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.carousel-container::-webkit-scrollbar {
    display: none;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}
.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
}

/* Top Bar */
.top-bar {
    background: #DC2626;
    color: white;
    font-size: 0.75rem;
    padding: 0.5rem 0;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 100%);
    border-radius: 4px;
}

/* Flag styles */
.flag-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.flag-circle:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}
.flag-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Teacher card */
.teacher-card {
    transition: all 0.3s ease;
}
.teacher-card:hover .teacher-avatar {
    transform: scale(1.1);
    border-color: #FF6B6B;
}
.teacher-avatar {
    transition: all 0.3s ease;
    border: 4px solid #FFE66D;
}

/* Location cards - Fix grubości border-left */
.location-card {
    border-left-width: 6px !important;
    border-left-style: solid !important;
    transition: all 0.3s ease;
}
.location-card:hover {
    transform: translateX(10px);
}

/* Trustindex badge */
.trustindex-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Wave decoration */
.wave-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.logo-element img {
    width: 300px;
    height: 300px;
    max-height: 300px;
    max-width: 300px;
    object-fit: contain;
}
	@media screen and (max-width: 1080px) {
		.cooperation {
			display: grid;
		}
		.logo-element img {
			width: auto;
			height: auto;
		}
.logo-element {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px; 
    width: 100%;
}

.logo-element img {
    max-width: 100%;
    max-height: 100%;
    width: auto;     
    height: auto;    
    object-fit: contain;
}
	}
.text-center a {
    display: inline-block;
    transition-duration: .3s;
}
.text-center a:hover {
    transform: scale(1.05);
}	
	
.main-front h2 {
	color: #FF6B6B;
	text-transform: uppercase;
	font-size: 48px;
}
.main-front h4 {
	color: #4ECDC4;
	font-size: 20px;
}
:root {
	--orange: #FF6B6B;
	--seagreen: #4ECDC4;
}	
.main-content h5 {
	color: var(--orange);
	text-transform: uppercase;
	font-size: 14px;
	font-weight: 700;
} 	
.main-content h3 {
	font-size: 30px;
	font-weight: 700;
} 
.main-content p {
	margin-bottom: 20px;
}	
.main-content h4 {
	text-transform: uppercase;
	color: var(--seagreen);
	font-weight: 700;
	margin: 10px 0;
} 
.main-content a {
	color: #fff;
	background: linear-gradient(135deg, #4ECDC4 0%, #44A3AA 100%);
	transition: all 0.3s ease;	
	display: inline-block;
	color: white;
	padding: 0.875rem 2.5rem;
	border-radius: 9999px;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	box-shadow: 0 4px 15px rgba(78,205,196,0.3);	
}
.main-content a:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(78, 205, 196, 0.3);	
}















