:root {
    --primary-color: #2b2661; /* Ciemny granat z wizytówki */
    --accent-color: #7cb342;  /* Jasna zieleń z wizytówki */
    --text-dark: #2d3748;
    --bg-light: #f7fafc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #ffffff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header / Logo */
header {
    background-color: #ffffff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo .wik {
    color: var(--primary-color);
}

.logo .tom {
    color: var(--accent-color);
}

.btn-contact-top,
.btn-contact-top:visited,
.btn-contact-top:hover,
.btn-contact-top:active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    color: #ffffff !important;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(124, 179, 66, 0.4);
    line-height: 1.2;
}

.btn-contact-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 179, 66, 0.6);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a173b 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 span {
    color: var(--accent-color);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 35px auto;
    opacity: 0.9;
}

.phone-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    padding: 15px 40px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(124, 179, 66, 0.4);
    transition: all 0.3s ease;
    min-height: 56px;
    line-height: 1.2;
}
a[href^="mailto:"],
a[href^="tel:"],
a.phone-cta,
.email-cta,
.footer-phone,
.footer-email {
    color: inherit;
    text-decoration: none;
}

a[href^="mailto:"]:visited,
a[href^="tel:"]:visited,
a.phone-cta:visited,
.email-cta:visited,
.footer-phone:visited,
.footer-email:visited {
    color: inherit;
}

.phone-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(124, 179, 66, 0.6);
}

.email-cta {
    margin-top: 15px;
    font-size: 1.3rem;
    padding: 15px 40px;
    background-color: var(--accent-color);
    color: white;
    box-shadow: 0 4px 15px rgba(124, 179, 66, 0.4);
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    line-height: 1.2;
}

.email-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(124, 179, 66, 0.6);
    color: white;
}

/* Sekcja Kursów */
.courses-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border-top: 5px solid var(--primary-color);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-top-color: var(--accent-color);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: inline-block;
}

.card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.card ul {
    list-style: none;
}

.card ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    font-size: 1rem;
    color: #4a5568;
}

.card ul li::before {
    content: "✓";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Sekcja Kontaktowa Footer */
footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a173b 100%);
    color: white;
    padding: 60px 0 30px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-content h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.footer-content p {
    max-width: 700px;
    margin: 0 auto 10px auto;
    opacity: 0.9;
}

.footer-phone,
.footer-email {
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: inherit;
}

.footer-phone {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-color);
    margin: 8px 0 4px 0;
}

.footer-phone:hover,
.footer-email:hover {
    color: white;
    transform: translateY(-2px) scale(1.03);
}

.footer-email {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 14px;
}

.footer-note {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

/* Responsywność */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .phone-cta {
        font-size: 1.2rem;
        padding: 12px 30px;
    }
    .footer-phone {
        font-size: 1.8rem;
    }
    .header-flex {
        flex-direction: column;
        gap: 15px;
    }
}