:root {
    --primary: #003366;
    --primary-light: #2a5885;
    --secondary: #FF6B35;
    --secondary-light: #ff8c5a;
    --accent: #00A5E0;
    --light: #F8F9FA;
    --light-gray: #e9ecef;
    --medium-gray: #adb5bd;
    --dark: #212529;
    --success: #28a745;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.16);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: var(--transition);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.logo span {
    color: var(--secondary);
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
    position: relative;
}

nav ul li a {
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary);
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.nav-cta {
    background-color: var(--secondary);
    color: white !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 30px;
    transition: var(--transition);
}

.nav-cta:hover {
    background-color: var(--secondary-light);
    transform: translateY(-2px);
}

.nav-cta::after {
    display: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.9) 0%, rgba(0, 165, 224, 0.8) 100%), 
                url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 0.4s forwards;
    opacity: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--secondary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--secondary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    border-color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.btn i {
    margin-left: 8px;
    transition: var(--transition);
}

.btn:hover i {
    transform: translateX(3px);
}

/* Stats */
.stats {
    position: relative;
    margin-top: -80px;
    z-index: 5;
    margin-bottom: 5rem;
}

.stats-container {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    color: var(--medium-gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services */
.section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary);
}

.section-title p {
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    height: 120px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
}

.service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, #00A5E0 0%, #00C6FF 100%);
}

.service-card:nth-child(4) .service-icon {
    background: linear-gradient(135deg, #28a745 0%, #5cb85c 100%);
}

.service-content {
    padding: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-card p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--secondary);
    font-weight: 600;
    transition: var(--transition);
}

.service-link i {
    margin-left: 8px;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--secondary-light);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Funding Call */
.funding-call {
    background-color: var(--light);
}

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

.call-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.call-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.call-header {
    background-color: var(--primary);
    color: white;
    padding: 1.5rem;
}

.call-header h3 {
    margin-bottom: 0.5rem;
}

.call-number {
    font-size: 0.9rem;
    opacity: 0.8;
}

.call-details {
    padding: 1.5rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--primary);
}

.detail-value {
    font-weight: 700;
    color: var(--dark);
}

.call-cta {
    padding: 0 1.5rem 1.5rem;
}

/* Programs */
.programs {
    text-align: center;
}

.program-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.program-logo {
    height: 60px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.program-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Testimonials */
.testimonials {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.9) 0%, rgba(0, 165, 224, 0.8) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1469&q=80') center/cover;
    opacity: 0.2;
    z-index: 0;
}

.testimonials .section-title h2,
.testimonials .section-title p {
    color: white;
    position: relative;
}

.testimonials .section-title h2::after {
    background-color: var(--secondary);
}

.testimonial-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2.5rem;
    margin: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    text-align: left;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 5rem;
    position: absolute;
    top: -20px;
    left: -20px;
    color: rgba(255, 255, 255, 0.1);
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid var(--secondary);
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.author-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background-color: white;
    transform: scale(1.2);
}

/* FAQ */
.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
    background-color: var(--light);
}

.faq-question i {
    transition: var(--transition);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info {
    background: var(--primary);
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    color: white;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-detail i {
    font-size: 1.2rem;
    margin-right: 1rem;
    color: var(--secondary);
}

.contact-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-text p {
    opacity: 0.9;
}

.social-links {
    display: flex;
    margin-top: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    margin-right: 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 83, 161, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    background: var(--secondary);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--medium-gray);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .header-container {
        height: 70px;
    }
    
    nav ul {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 600px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
        margin: 1rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.mild-highlight {
    background: #ffe7d1;
    color: #c85c00;
    padding: 0 0.2em;
    border-radius: 4px;
    font-weight: 600;
}

.call-details a {
    color: #1a73e8; /* Modrá barva */
    text-decoration: underline;
    font-weight: 500;
}

.call-details a:hover {
    color: #0d47a1; /* Tmavší modrá při najetí */
    text-decoration: none;
}

.call-details a:active {
    color: #00308a; /* Ještě tmavší modrá při kliknutí */
}
/* --- Team (Naši specialisté) --- */
.team { background: #fff; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.team-card { background: #fff; border-radius: 16px; box-shadow: var(--shadow-sm); padding: 2rem; text-align: center; transition: var(--transition); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-photo-wrap { width: 120px; height: 120px; margin: 0 auto 1rem; border-radius: 50%; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,0.12); border: 4px solid #fff; }
.team-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-card h3 { margin-top: 0.5rem; color: var(--primary); font-size: 1.3rem; }
.team-role { color: var(--medium-gray); margin: 0.5rem 0 1rem; }
.team-email { font-weight: 600; color: var(--secondary); word-break: break-all; }
.team-email:hover { color: var(--secondary-light); }
