:root {
    --primary: #0056b3;
    --secondary: #f8f9fa;
    --accent: #ff6b6b;
    --dark: #333;
    --light: #fff;
    --gray: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--secondary);
    color: var(--dark);
    line-height: 1.6;
}

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

/* Header Styles */
header {
    background-color: var(--light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

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

.logo i {
    margin-right: 10px;
    color: var(--accent);
}

.nav-menu {
    display: flex;
    gap: 50px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}
.logo-icon {
    width: 61px;
    height: 60px;
    margin-left: 5px;
    border-radius: 2px;
}
.nav-buttons {
    display: flex;
    gap: 15px;
        transition: background-color 2s ease, transform 2s ease;
}

.nav-buttons a:hover {
    background-color: #a200ff;
    transition: background-color 2s ease, transform 2s ease;
    gap: 15px;
    border-radius: 10pz;
}

.btn {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.sendms{
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    background-color: #0056b3;
    color: white;
}
.sendms:hover {
    background-color: #003d82;
    transition: background-color 2s ease, transform 2s ease;
}

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

.btn-primary:hover,
a .btn {
    background-color: #003d82;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--light);
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-icons a {
    display: flex;
    color: var(--primary);
    font-size: 1.3rem;
    transition: color 0.3s;
    text-decoration: none;
}

.social-icons a:hover {
    color: var(--accent);
}

.flag-icon {
    width: 29px;
    height: 31px;
    margin-left: 5px;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/zdj/ksiazki.webp') center/cover no-repeat;
    color: var(--light);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Services Section */
.services {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

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

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

.service-card {
    background-color: var(--light);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

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

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.service-card .btn {
    padding: 8px 15px;
    font-size: 0.9rem;
}

/* Tools Section */
.tools {
    background-color: var(--light);
    padding: 80px 0;
}

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

.tool-card {
    background-color: var(--secondary);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tool-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.tool-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.tool-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.tool-card .btn {
    margin-top: 15px;
}

/* News Section */
.news {
    padding: 80px 0;
}

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

.news-card {
    background-color: var(--light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 25px;
}

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

.news-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--gray);
}

/* Companies Section */
.companies {
    background: linear-gradient(rgba(0, 86, 179, 0.9), rgba(0, 86, 179, 0.9)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3') center/cover no-repeat;
    color: var(--light);
    padding: 80px 0;
    text-align: center;
}

.companies h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.companies p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.companies .btn {
    background-color: var(--accent);
    color: var(--light);
    padding: 15px 30px;
    font-size: 1.1rem;
}

.companies .btn:hover {
    background-color: #e55555;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 60px 0 20px;
}

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

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 0.9rem;
    color: #aaa;
}

.footer-bottom a {
    color: #aaa;
    text-decoration: none;
}

.payment-icons {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin-top: 20px;
}

.payment-icons i {
    font-size: 1.8rem;
    color: #ccc;
}

/* Responsive */
@media (max-width: 1000px) {

    .header-top {
        flex-direction: row;
        gap: 20px;
        width: 100%;
        flex-wrap: nowrap;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        padding: 23px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}