.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 40px;
    border-bottom: 1px solid #e0e0e0;
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #333;
}

.logo {
    font-weight: bold;
    font-size: 20px;
    margin-right: 50px;
}

.nav-links ul {
    list-style-type: none;
    padding: 0;
    display: flex;
}

.nav-links li {
    margin-right: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    padding: 10px 0;
    display: block;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #000;
}

.youtube-button {
    background-color: transparent;
    color: #666;
    border: 1px solid #ccc;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 20px;
    font-size: 14px;
    transition: background-color 0.3s, border-color 0.3s;
}

.youtube-button:hover {
    border-color: #333;
}

.active-link {
    color: #007bff !important;
    position: relative;
    font-weight: bold;
}

.active-link::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #007bff;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 80px;
    border-bottom: 1px solid #e0e0e0;
    background-color: white;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 80px 80px 120px 80px;
    max-width: 1440px;
    margin: 0 auto;
    gap: 60px;
}

.hero-text-content {
    flex-basis: 40%;
}

.hero-text-content h1 {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.description {
    font-size: 16px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    background-color: #31507f;
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 8px;
    font-size:  16px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #253e63;
}

.hero-visuals {
    flex-basis: 60%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.visual-item {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.info-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 100px 80px;
    max-width: 1440px;
    margin: 0 auto;
    gap: 80px;
}

.visual-column {
    flex-basis: 40%;
    position: relative;
}

.main-image {
    width: 75%;
    height: 400px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    margin-left: auto;
}

.small-visual-group {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.small-visual-item {
    width: 60px;
    height: 60px;
    background-color: #2e4a3b;
    border-radius: 8px;
}

.text-column {
    flex-basis: 60%;
    padding-left: 20px;
}

.sub-headline {
    color: #4a75a8;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.text-column h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-description {
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
}

.cta-button-section {
    display: inline-block;
    background-color: #31507f;
    color: white;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 16px;
    text-decoration: none;
    font-weight: bold;
}

.visual-column {
    position: relative;
}

.main-image {
    margin-left: auto;
}

.small-visual-group {
    position: absolute;
}

.small-visual-group {
    top: 50%;
    transform: translateY(-50%);
}

.small-visual-groupc{
    left: 0;
}

.small-visual-item {
    width: 80px; 
    height: 80px;
    border-radius: 12px; 
    background-image: url('leaf_pattern.jpg'); 
    background-size: cover; 
    background-position: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}

.small-visual-group {
    position: absolute; 
    top: 50%;          
    left: 0;           
    transform: translateY(-50%); 
    display: flex;
    flex-direction: column;
    gap: 10px; 
}

.small-visual-item {
    width: 80px; 
    height: 80px;
    border-radius: 12px; 
    background-image: url(5b6f2aa6f0211053ff22b4f88fe662e2657ba192.jpg); 
    background-size: cover;   
    background-position: center;
}

.leaf-1 { border-radius: 12px; }
.leaf-2 { border-radius: 0 12px 12px 0; }

.visual-column {
    flex-basis: 45%; 
    position: relative; 
    padding-left: 80px;
}

.small-visual-group {
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    left: 0;
    width: 120px; 
    height: 450px;
}

.leaf-item {
    position: absolute;
    background-image: url(5b6f2aa6f0211053ff22b4f88fe662e2657ba192.jpg); 
    background-size: cover; 
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}

.leaf-1 {
    width: 80px;
    height: 77px;
    top: 120; 
    left: 130px; 
    radius: 20px;
}

.leaf-2 {
    width: 180px; 
    height: 138px;
    top: 223px;
    left: 127; 
    radius: 20px; 
}

.leaf-3 {
    width: 180px; 
    height: 87px;
    top: 385px; 
    left: 130px;
    radius: 20px; 
}

.leaf-4 {
    float: right;
    width: 80px;
    height: 77px;
    top: 502px; 
    left: 235px; 
    radius: 20px;
    margin-left: 100px;
}

.why-choose-us {
    padding: 80PX 0;
    text-align: center;
}

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

.section-title {
    font-size: 40px;
    font-weight: bold;
    color: #333;
    margin-bottom: 60px;
    text-transform: uppercase;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    text-transform: capitalize;
}

.feature-description {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

@media (max-widht: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

*{
    box-sizing: border-box;
}

.portfolio-section {
    padding: 60px 0;
    font-family: sans-serif; 
    background-color: #f7f7f7; 
}

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

.content-wrapper {
    display: flex;
    flex-direction: row;
    gap: 40px; 
    align-items: center; 
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 150px); 
    gap: 10px; 
    width: 45%; 
    order: 1;
}

.gallery-item {
    background-color: #ccc; 
    background-size: cover;
    background-position: center;
    border-radius: 5px; 
}

.item-1 { grid-column: span 1; grid-row: span 1; background-image: url(dc366a7fe3bddb602fe576852274c7c5be227c6d.jpg);   }
.item-2 { grid-column: span 1; grid-row: span 1; background-image: url(f02a1f6c15293f43ad1bad8bc00afa455920f884.jpg); }
.item-3 { grid-column: span 1; grid-row: span 1; background-image: url(7e2e3500cb788080657e8c8679b78a1f9bcf1453.jpg); }
.item-4 { background-image: url(93d337020303437bf9cb320642d82c01475f2138.jpg);
    grid-column: span 2; 
    grid-row: span 1; 
    background-image: url(0d02d9146256375aff56d2395f90ddf548803067.jpg);
}
.item-5 { grid-column: span 1; grid-row: span 1; background-image: url(b00c7a3fcb7fa9336c2911b41b80272184cbae0c.jpg); }



.text-and-stats {
    width: 55%; 
    padding-left: 20px;
    order: 2;
}


.dots {
    margin-bottom: 10px;
}

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 5px;
}

.dot.red { background-color: #ff6347; }
.dot.green { background-color: #3cb371; }
.dot.orange { background-color: #ffa500; }

h2 {
    font-size: 2.2em;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

p {
    font-size: 1em;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* 3. Стилі для Статистики */
.stats {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.stat-item {
    text-align: left;
}

.stat-item .number {
    display: block;
    font-size: 2em;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.stat-item .label {
    display: block;
    font-size: 0.9em;
    color: #666;
}

/* Адаптивність (для мобільних пристроїв) */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column; /* На мобільних елементи йдуть один під одним */
        gap: 30px;
    }

    .gallery,
    .text-and-stats {
        width: 100%;
        padding-left: 0;
    }

    .gallery {
        /* На мобільних може бути більш проста сітка 2x3 або просто вертикальний список */
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 150px);
    }
    
    .item-4 { 
        grid-column: span 2; /* Знову займає повну ширину для кращого вигляду */
    }

    .stats {
        flex-wrap: wrap;
        gap: 20px;
    }
}

/* Базові стилі для розділу "Our Awesome Works" */
.works-section {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    font-size: 2em;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 5px;
}

.section-subtitle {
    font-size: 1em;
    color: #666;
    text-align: center;
    margin-bottom: 40px;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; 
    max-width: 900px; 
    margin: 0 auto; 
}

.grid-item {
    width: 100%;
    padding-bottom: 100%; 
    position: relative; 
    background-color: #ccc; 
    border-radius: 8px; 
    background-size: cover;
    background-position: center;
}

.mini-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 20px 15px;
    font-size: 0.8em;
    color: #999;
    border-top: 1px solid #eee;
}

.mini-footer p {
    margin: 0;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    margin-left: 15px;
    font-weight: bold;
}

.footer-links a:hover {
    color: #333;
}

@media (max-width: 768px) {
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}
@media (max-width: 480px) {
    .works-grid {
        grid-template-columns: 1fr;
    }
}

.item-a {
    background-image: url(fe8778ece43a3744909b40641fe3ac6d03528893.jpg);
}

.item-b {
    background-image: url(563fbd81e7ad1d65fde93797eaccc35bb9e94af6.jpg);
}

.item-c {
    background-image: url(374bbd3d735beef9ed6e63e182b5d0226d92ac77.jpg)
}

.item-d {
    background-image: url(bccaafdca457738eb4a2822002c936f3b70f9803.jpg)
}

.item-e {
    background-image: url(2e026870bed0e05227eb53c9a41dcaf8095b4c50.jpg)
}


.item-f {
    background-image: url(20dd1fc2ef91c7edd77be931a14ef18a27d610ca.jpg)
}

.item-g {
    background-image: url(80b8bd29867ffd0b0bfd93be725bd2569f61aa51.jpg)
}

.item-h {
    background-image: url(b1f6e00df12241f51694fb660db04bad31172398.jpg)
}

.item-i {
    background-image: url(a7ce75af545ffc4481650f39b087e03aa5ae50fb.jpg)
}

