/* ===== PODSTAWOWE USTAWIENIA ===== */
:root {
    --primary-color: #2E8B57;
    --secondary-color: #FFC107;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --white: #ffffff;
    --black: #000000;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #dee2e6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* ===== TYPOGRAFIA ===== */
h1 {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h2 {
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h3 {
    font-weight: 500;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

h4 {
    font-weight: 400;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

h5 {
    font-weight: 300;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

p {
    margin-bottom: 1rem;
    font-size: 16px;
}

.lead {
    font-size: 1.125rem;
    font-weight: 400;
}

/* ===== TOP BAR ===== */
.top-bar {
    background-color: var(--light-bg);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    max-width: 300px;
    max-height: 120px;
    height: auto;
    width: auto;
}



.step-number {
  background: #246B47;
  color: #fff;
  font-size: 2em;
  font-weight: 800;
  border-radius: 100px;
  width: 25%;
  align-content: center;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.card-title {
  font-weight: 800;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
}
.card-header h3 {
  color: #fff;
}
.footer {
  margin-top: -20px !important;
  background-color: #2A6041 !important;
}

.icon-circle {
  font-size: 3em;
  -webkit-border-radius: 9px;
  -moz-border-radius: 9px;
  border-radius: 9px;
}

.contact-item i {
    color: var(--primary-color);
    width: 16px;
}

/* ===== NAVIGATION ===== */
.main-nav {
    background-color: var(--primary-color);
    min-height: 60px;
    padding: 0;
}

.main-nav .navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
}

.main-nav .navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white) !important;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== MEGA MENU ===== */
.mega-dropdown {
    position: static;
}

.mega-dropdown .mega-menu {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    width: 90vw;
    max-width: 1140px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    padding: 2rem 0;
    z-index: 1000;
}

.mega-menu .dropdown-header {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    padding: 0 1rem;
}

.mega-menu .dropdown-item {
    padding: 0.5rem 1rem;
    color: var(--text-dark);
    font-size: 14px;
    transition: all 0.3s ease;
}

.mega-menu .dropdown-item:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

/* ===== BUTTONS ===== */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #246B47;
    border-color: #246B47;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(46, 139, 87, 0.3);
}

.btn-apply {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #000000;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-apply:hover {
    background-color: #FFB300;
    border-color: #FFB300;
    color: #000000;
}

.pulse-button {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== SECTIONS ===== */
.section {
    padding: 4rem 0;
}

.section.bg-light {
    background-color: var(--light-bg);
}

.section-primary {
    background-color: var(--primary-color);
    color: #ffffff;
}

.section-primary h2,
.section-primary h3,
.section-primary h4 {
    color: #ffffff;
}

/* ===== TILES/CARDS ===== */
.tiles-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tile {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.tile-icon {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.tile h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.tile p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* ===== ACCORDION ===== */
.accordion-item {
    border: 1px solid var(--border-color);
    margin-bottom: 0.5rem;
    border-radius: 0.375rem;
    overflow: hidden;
}

.accordion-header {
    margin-bottom: 0;
}

.accordion-button {
    background-color: var(--white);
    color: var(--text-dark);
    font-weight: 500;
    padding: 1rem 1.25rem;
    border: none;
    width: 100%;
    text-align: left;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: #ffffff;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(46, 139, 87, 0.25);
}

.accordion-body {
    padding: 1.25rem;
    background-color: var(--white);
}

/* ===== CARD HEADER ===== */
.card-header {
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    padding: 1rem 1.25rem;
}

/* ===== LISTS ===== */
ul.list-styled {
    list-style: none;
    padding-left: 0;
}

ul.list-styled li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

ul.list-styled li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.list-numbered {
    counter-reset: item;
    padding-left: 0;
    list-style: none;
}

.list-numbered li {
    counter-increment: item;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 3rem;
}

.list-numbered li::before {
    content: counter(item);
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 0;
}

/* ===== BREADCRUMBS ===== */
.breadcrumb-nav {
    background-color: var(--light-bg);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    background-color: transparent;
    margin-bottom: 0;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--text-light);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0 1rem;
}

.footer-notices {
    font-size: 14px;
    color: var(--white);
}

.footer-copyright {
    font-size: 14px;
    color: var(--white);
}

.contact-info p,
.company-info p {
    margin-bottom: 0.5rem;
    font-size: 14px;
    color: var(--white);
}

.contact-info i {
    color: var(--white);
    width: 16px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .lead {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tiles-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        text-align: center;
        margin-top: 1rem;
    }
    
    .mega-menu {
        width: 95vw !important;
        padding: 1rem 0 !important;
    }
    
    .section {
        padding: 2rem 0;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 300px;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .logo {
        max-width: 250px;
        max-height: 100px;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.border-secondary {
    border-color: var(--secondary-color) !important;
}

/* ===== IMAGES ===== */
img {
    max-width: 100%;
    height: auto;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: 0.375rem;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* ===== LOADING STATES ===== */
img[loading="lazy"] {
    transition: opacity 0.3s ease;
}

img.loaded {
    opacity: 1;
}

/* ===== TABLE STYLES ===== */
.table {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.table th {
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    border-color: var(--primary-color);
}

.table td {
    border-color: var(--border-color);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(46, 139, 87, 0.05);
}

/* ===== FOCUS STATES ===== */
.btn:focus,
.form-control:focus,
.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(46, 139, 87, 0.25);
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== PRINT STYLES ===== */
@media print {
    .top-bar,
    .main-nav,
    .footer,
    .breadcrumb-nav {
        display: none;
    }
    
    .hero-section {
        height: auto;
        background: none !important;
    }
    
    .hero-section::before {
        display: none;
    }
    
    .hero-content {
        color: var(--text-dark) !important;
    }
}
