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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Header */
header {
    background: linear-gradient(135deg, #001f3f 0%, #003d7a 100%);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.b-kategory{
    color: #3d7aa5;
    border-bottom: 1px solid #3d7aa53d;
    font-weight: 600;
    padding-bottom: 5px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #003d7a;
    font-size: 24px;
}

.university-name {
    color: white;
}

.university-name h1 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

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

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

nav a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.contact-info {
    color: white;
    text-align: right;
}

.contact-info p {
    margin: 5px 0;
    font-size: 14px;
}

/* Hero Section */
.hero {
    margin-top: 100px;
    height: 600px;
    background: linear-gradient(135deg, #0051a5 0%, #003d7a 50%, #001f3f 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.geometric-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.geometric-shape {
    position: absolute;
    border: 2px solid white;
}

.shape-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    top: -200px;
    left: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    transform: rotate(45deg);
    bottom: -150px;
    right: -100px;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    top: 50%;
    right: 10%;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

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

.hero-content h1 {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: 2px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(33, 150, 243, 0.6);
}

/* Sections */
.section {
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 30px;
}

.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: #001f3f;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #2196F3, #1976D2);
    border-radius: 2px;
}

/* Programs Filter */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    background: white;
    border: 2px solid #003d7a;
    color: #003d7a;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #003d7a 0%, #0051a5 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 61, 122, 0.3);
}

/* Program Cards */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.program-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #2196F3, #1976D2);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border-color: #2196F3;
}

.program-card h3 {
    color: #001f3f;
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 700;
}

.program-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.program-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.program-item:hover {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    transform: translateX(5px);
}

.program-item span:first-child {
    font-weight: 600;
    color: #003d7a;
}

.program-item span:last-child {
    color: #2196F3;
    font-weight: 700;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #001f3f 0%, #003d7a 100%);
    color: white;
    padding: 60px 30px 30px;
    margin-top: 100px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #2196F3;
}

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }
}