body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 70px;

}
.logo img {
    height: 50px; /* Adjust the size as necessary */
    width: auto; /* Keeps the image aspect ratio intact */
}

:root {
	--x: 0;
	--y: 0;
	--xp: 0;
	--yp: 0;
	--hue: calc(0 + (var(--xp) * 500));
	--bg: hsl(0, 0%, 10%);
	--size: 100px;
	--glow: radial-gradient(50% 50% at center,
			hsl(var(--hue) 80% 85%),
			hsl(var(--hue) 80% 70%),
			transparent) calc((var(--x) * 1px) - (var(--size) * 0.5)) calc((var(--y) * 1px) - (var(--size) * 0.5)) / var(--size) var(--size) no-repeat fixed;
}

.controls {
	position: fixed;
	top: 2rem;
	right: 2rem;
}

button {
	border-radius: 1rem;
	text-transform: uppercase;
	font-weight: bold;
	letter-spacing: 0.1ch;
	background: var(--bg);
	border: 4px solid transparent;
	box-shadow: 0 1px hsl(0 0% 100% / 0.15) inset;
	cursor: pointer;
	background:
		linear-gradient(var(--bg), var(--bg)) padding-box,
		var(--glow),
		linear-gradient(gray, gray) border-box;
	transition: background-size 0.24s;
	touch-action: none;
	position: relative;
	padding: 1rem 2rem;
}
button::before {
	content: "";
	position: absolute;
	inset: 0;
	box-shadow: 0 1px hsl(0 0% 100% / 0.15) inset;
	background: var(--bg);
	z-index: 2;
	border-radius: 1rem;
}
button span {
	background: var(--glow), white;
	background-clip: text;
	color: transparent;
	height: 100%;
	width: 100%;
	z-index: 2;
	position: relative;
	inset: 0;
}
:root:has(button:active) {
	--size: 300px;
}
button::after {
	content: "";
	position: absolute;
	inset: -4px;
	filter: blur(20px);
	border: 4px solid transparent;
	background: var(--glow);
	border-radius: 1rem;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: fixed; /* Fix navbar to the top of the viewport */
    top: 0; /* Align top edge of navbar with top edge of the viewport */
    left: 0; /* Align left edge of navbar with left edge of the viewport */
    right: 0; /* Align right edge of navbar with right edge of the viewport */
    background-color: #fff; /* Background color for visibility */
    box-shadow: 0 2px 5px rgba(247, 245, 245, 0.1); /* Subtle shadow for depth */
    z-index: 100; /* Ensure navbar is above other content */
}

.nav-links {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
}

.nav-links li {
    padding: 8px 12px;
    transition: background-color 0.3s;
}

.nav-links li:hover {
    background-color: #f0f0f0;
    border-radius: 5px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: bold;
}



.title {
    font-size: 16px;
    color: #777777;
    margin-top: 5px;
    margin-bottom: 10px;
}

ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

ul li {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

@media (max-width: 600px) {
    .team-container, .navbar {
        flex-direction: column;
        align-items: center;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
        width: 100%; /* Make nav links full width */
        display: none; /* Hide links initially */
    }
}

#services {
    background-color: #fff;
    padding: 20px;
    text-align: center;
}

#services h2 {
    color: #333;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.service-item {
    width: 650px;  /* Updated width to 650px */
    margin: 10px auto; /* Centers the items */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}


#data-integration { background-color: #e3f2fd; }
#data-modeling { background-color: #e1bee7; }
#data-warehousing { background-color: #fff9c4; }
#data-quality { background-color: #c8e6c9; }
#business-intelligence { background-color: #ffe0b2; }
#data-governance { background-color: #b3e5fc; }

@media (max-width: 768px) {
    .service-list {
        flex-direction: column;
        align-items: center;
    }

    .service-item {
        width: 90%;
    }
}



#contact {
    background-color: #f4f4f4;
    padding: 20px;
    text-align: center;
}

#contact h2 {
    color: #333;
}

.contact-info {
    margin-top: 20px;
}

.contact-info p {
    margin: 10px 0;
    color: #666;
}

.contact-form form {
    max-width: 500px;
    margin: 20px auto;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    width: 100%;
    padding: 12px;
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.contact-form button:hover {
    background-color: #003b7b;
}

@media (max-width: 768px) {
    .contact-form form {
        width: 90%;
    }
}


/* Стили для кнопок WhatsApp и Telegram */
.fixed-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
}

.fixed-buttons a {
    display: inline-block;
    margin-left: 10px;
}

/* Стили для иконок кнопок */
.fixed-buttons img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #ccc;
    transition: all 0.3s ease;
}

.fixed-buttons img:hover {
    transform: scale(1.1);
    border-color: #000;
}


@media (max-width: 768px) {
    .fixed-buttons img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-color: #fff;
        border: 2px solid #ccc;
        transition: all 0.3s ease;
    }

}

.language-selector {
    position: relative; /* Necessary for absolute positioning of dropdown */
    padding: 5px 10px; /* Padding around the language button */
    border-radius: 20px; /* Rounded corners */
    background-color: #f0f0f0; /* Light grey background */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    cursor: pointer; /* Indicates that the element is interactive */
    background: linear-gradient(145deg, #ffffff, #e6e6e6);
}

.lang-btn {
    background: none;
    border: none;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none; /* Remove underline from link */
    display: flex;
    align-items: center;
    justify-content: space-between; /* Space between text and caret */
}

.languages-dropdown {
    display: none;
    position: absolute;
    top: 100%; /* Positioned right below the toggle button */
    left: 0;
    width: 100%; /* Match the width of the parent */
    background-color: white;
    border-radius: 10px; /* Rounded corners for the dropdown */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* More pronounced shadow for dropdown */
    z-index: 1000;
}

.languages-dropdown a {
    color: black;
    padding: 10px;
    display: block;
    text-decoration: none; /* Remove underline */
    border-radius: 10px; /* Rounded links within dropdown */
    transition: background-color 0.2s; /* Smooth transition for hover */
}

.languages-dropdown a:hover {
    background-color: #e0e0e0; /* Light grey background on hover */
}

.language-selector:hover .languages-dropdown {
    display: block; /* Shown on hover - remove this for touch screens */
}

.hidden {
    display: none;
}

@media (max-width: 768px) {
    .language-selector {
        position: static;  /* Resets any specific positioning if previously set */
    }

    .lang-btn {
        display: none;  /* Hide caret on mobile if not needed */
    }

    .languages-dropdown {
        display: flex;  /* Use flexbox to align items horizontally */
        position: static;  /* Override absolute positioning */
        box-shadow: none;  /* Optional: remove shadow for a cleaner look */
        background: none;  /* Optional: make background transparent */
    }

    .languages-dropdown a {
        display: inline-block; /* Align links horizontally */
        padding: 8px; /* Reduce padding for a more compact display */
    }
}





