:root {
    --main-bg: #3a3a3a;
    --accent-green: #c5e64a;
    --accent-orange: #ffb02c;
    --text-white: #fff;
    --text-dark: #222;
}

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

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: var(--main-bg);
    color: var(--text-white);
    line-height: 1.6;
}

header {
    background: var(--main-bg);
    border-bottom: 5px solid var(--accent-green);
    padding-bottom: 10px;
}

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

.header-flex {
    display: flex;
    align-items: center;
    padding: 20px 0 10px 0;
}

.logo {
    height: 90px;
    margin-right: 30px;
    border-radius: 8px;
    background: #222;
    box-shadow: 0 2px 10px #2224;
}

.header-info h1 {
    font-size: 2.5rem;
    color: var(--accent-orange);
    letter-spacing: 2px;
    font-weight: bold;
}
.header-info h1 span {
    color: var(--text-white);
    font-weight: normal;
    margin-left: 10px;
}
.header-info p {
    color: var(--accent-green);
    font-size: 1.2rem;
    margin-top: 8px;
}

nav {
    background: var(--accent-green);
    border-radius: 0 0 8px 8px;
    margin-bottom: 20px;
}
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}
nav ul li {
    margin: 0 20px;
}
nav ul li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 10px 0;
    display: block;
    transition: color 0.2s;
}
nav ul li a:hover {
    color: var(--accent-orange);
}

main {
    margin: 30px 0;
}

.section {
    background: #444;
    margin-bottom: 30px;
    padding: 30px 0;
    border-radius: 12px;
    box-shadow: 0 2px 12px #2222;
}
.section-alt {
    background: #2e2e2e;
}
.section h2 {
    color: var(--accent-green);
    margin-bottom: 18px;
    text-align: center;
    font-size: 2rem;
}
.section-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}
.section-content ul {
    flex: 2;
    font-size: 1.2rem;
    margin-left: 30px;
}
.section-content ul li {
    margin-bottom: 10px;
    list-style: disc inside;
}
.section-img {
    flex: 1;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 2px 10px #2225;
    background: #222;
}

.partners {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 25px;
}
.partners img {
    height: 60px;
    filter: grayscale(0.2);
    background: #fff;
    border-radius: 6px;
    padding: 8px 16px;
    box-shadow: 0 2px 10px #2223;
    transition: filter 0.2s, transform 0.2s;
}
.partners img:hover {
    filter: grayscale(0) drop-shadow(0 0 6px var(--accent-green));
    transform: scale(1.07);
}

footer {
    background: var(--accent-green);
    color: var(--text-dark);
    text-align: center;
    padding: 18px 0 10px 0;
    border-radius: 10px 10px 0 0;
    font-size: 1rem;
    margin-top: 30px;
}

@media (max-width: 900px) {
    .section-content {
        flex-direction: column;
        gap: 20px;
    }
    .section-content ul {
        margin-left: 0;
    }
}

@media (max-width: 600px) {
    .header-flex {
        flex-direction: column;
        align-items: flex-start;
    }
    .logo {
        margin-bottom: 10px;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    nav ul li {
        margin: 8px 0;
    }
    .partners {
        flex-direction: column;
        gap: 18px;
    }
}

/*contact section*/
.contact-box {
    background: #333;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    margin: 0 auto;
}
.contact-box label {
    display: block;
    margin-top: 15px;
    color: #c5e64a;
}
.contact-box input,
.contact-box textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #c5e64a;
    border-radius: 5px;
    background: #222;
    color: #fff;
}
.contact-box button {
    margin-top: 20px;
    padding: 10px 30px;
    background: #ffb02c;
    color: #222;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
.contact-box button:hover {
    background: #c5e64a;
}
#form-message {
    margin-top: 20px;
    color: #ffb02c;
    font-weight: bold;
}



/*tartak section carusel*/
.carousel {
    position: relative;
    max-width: 320px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    background: #222;
    box-shadow: 0 2px 10px #2225;
    min-height: 220px;
}
.carousel-slide {
    display: none;
    width: 100%;
    height: 220px;
}
.carousel-slide img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
}
.carousel-prev, .carousel-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: 36px;
    height: 36px;
    margin-top: -18px;
    color: #ffb02c;
    font-weight: bold;
    font-size: 28px;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    user-select: none;
    z-index: 2;
    transition: background 0.2s;
}
.carousel-prev:hover, .carousel-next:hover {
    background: #c5e64a;
    color: #222;
}
.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }
.carousel-dots {
    text-align: center;
    position: absolute;
    bottom: 10px;
    width: 100%;
}
.carousel-dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background 0.3s;
    border: 2px solid #c5e64a;
}
.carousel-dot.active, .carousel-dot:hover {
    background-color: #ffb02c;
}
.fade {
    animation-name: fade;
    animation-duration: 0.6s;
}
@keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

.contact-info {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 50px;
    margin-bottom: 32px;
    margin-top: 10px;
}

.contact-item {
    background: #222;
    border-left: 7px solid var(--accent-green);
    border-radius: 8px;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 12px #2225;
    min-width: 220px;
}

.contact-icon {
    font-size: 2.1rem;
    color: var(--accent-orange);
    margin-right: 18px;
}

.contact-link {
    color: var(--accent-green);
    font-size: 1.35rem;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 1px;
    line-height: 1.3;
    transition: color 0.2s;
}

.contact-link:hover {
    color: var(--accent-orange);
}

@media (max-width: 700px) {
    .contact-info {
        flex-direction: column;
        gap: 18px;
        align-items: center;
    }
    .contact-item {
        width: 100%;
        justify-content: flex-start;
    }
}

.contact-map {
    margin: 30px auto 0 auto;
    max-width: 500px;
    width: 95%;
}
@media (max-width: 600px) {
    .contact-map {
        height: 220px;
    }
    .contact-map iframe {
        height: 220px;
    }
}



