/* reset css */

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

/* global styles */

body {
	font-family: monospace;
	font-size: 18px;
	line-height: 1.5;
	color: #252525;
}

p {
	margin-bottom: 100px;
}

.bg-white {
    background-color: #f0ecec;
}

.bg-white * {
	color: #252525;
}

.bg-dark {
	background-color: #252525;
}

.bg-dark .btn-primary {
	background-color: #ffffff;
	color: #252525;
}

.bg-dark * {
	color: #fff;
}

.btn {
	position: relative; 
	display: inline-block;
	padding: 10px 20px;
	color: #fff;
	text-decoration: none;
	border: none;
	border-radius: 10px;
	appearance: none;
	-webkit-appearance: none;
	transition: all ease-in-out 0.3s;
	cursor: pointer;
	overflow: hidden;
}

.btn::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 0;
	background-color: #ff0000;
	transition: all ease-in-out 0.3s;
}

.btn-primary {
	background-color: rgb(60, 142, 190);
}

.btn-secondary {
	background-color: #6c757d;
}

.btn:hover::after {
	height: 5px;
}

a {
	text-decoration: none; 
	color: #fff;
}

img {
	max-width: 100%;
	object-fit: cover;
}

ul,
ol {
	list-style: none;
}

.flex {
	display: flex;
}

.flex-column {
	flex-direction: column;
}

.flex-row {
	flex-direction: row;
}

.justify-center {
	justify-content: center;
}

.justify-between {
	justify-content: space-between;
}

.align-center {
	align-items: center;
}

.align-bottom {
	align-items: flex-end;
}

.text-center {
	text-align: center;
}

.push-top {
	margin-top: 50px;
}

.push-bottom {
	margin-bottom: 50px;
}

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

.bullet {
	margin-bottom: 25px;
}

.bullet li {
	position: relative;
	padding-left: 20px;
	margin-bottom: 10px;
}

.bullet li::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	width: 10px;
	height: 10px;
	background-color: #888888;
	border-radius: 50%;
	transform: translateY(-50%);
}

/* header */

.header {
	background-color: #252525;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 30px 0;
	z-index: 99;
}

.header-logo img {
	width: 60px;
	margin-right: 5px;
}

.header-logo h1 {
	color: #c7cccc;
	font-size: 30px;
}

.header-navigation ul li {
	padding: 0 20px;
}

.header-navigation ul li:first-child {
	padding-left: 0;
}

.header-navigation ul li:last-child {
	padding-right: 0;
}

.header-navigation ul li a {
	position: relative;
	color: #fff;
}

.header-navigation ul li a::before,
.header-navigation ul li a.active::before {
	content: '';
	position: absolute;
	top: 100%;
	left: 0;
	width: 0;
	height: 2px;
	background-color: rgb(45, 126, 180);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform ease-in-out 0.3s;
}

.header-navigation ul li a:hover::before,
.header-navigation ul li a.active::before {
	width: 100%;
	transform: scaleX(1);
	transform-origin: left;
}

/* footer */

footer {
	padding: 10px 0;
	margin: 0;
}

.footer-navigation {
	width: 100%;
}

.footer-navigation ul {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.footer-navigation ul li {
	padding: 0 40px;
	margin-top: 25px;
}

.footer-navigation ul li:first-child {
	padding-left: 0;
}

.footer-navigation ul li:last-child {
	padding-right: 0;
}

.footer-navigation a {
	border: #766d6d solid 2px;
	padding: 7px;
	border-top: none;
	border-left: none;
	border-right: none;

}

.footer-navigation a:hover {
	background-color: rgb(60, 142, 190);
	color: #ffffff;
}

.footer-about ul {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: black;

}
.footer-about a {
	border: #766d6d solid 2px;
	padding: 7px;
	border-radius: 5px;
	color: black;
}
.footer-about a:hover {
	background-color: #252525;
	color: #fff;
}
.footer-about li {
	padding: 0 40px;
}	


/* banner */

.banner {
	position: relative;
	margin-top: 100px;
	background-image: url(./images/Gymnasium.jpg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	height: calc(100vh - 100px);
}

.banner::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
	z-index: 1;
}

.banner .wrapper {
	height: 100%;
}

.banner-content {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100%;
	text-align: center;
	z-index: 1;
}

.banner-content h2 {
	font-size: 40px;
	color: white;
	background-color: rgba(70, 63, 63, 0.5);
	padding: 30px;
	border-radius: 20px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Adds depth */
	margin-bottom: 20px;
}

.banner-content p {
	font-size: 40px;
	color: #fff;
	margin-bottom: 20px;
}

/* inner banner */

.inner-banner {
	position: relative;
	margin-top: 100px;
	background-image: url(images/aboutimg.avif);
	background-size: cover;
	background-position: center;
	height: 250px;
}

.inner-banner-home {
	position: relative;
	background-image: url(/FrontPage/Fcss/images/aboutimg.avif);
	background-size: cover;
	background-position: center;
	height: 250px;
	display: flex;
}
.inner-banner-home::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
}


.inner-banner::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
}

.inner-banner .wrapper {
	height: 100%;
}

.inner-banner-content {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100%;
	text-align: center;
	z-index: 1;
}

.inner-banner-content h2 {
	font-size: 50px;
	color: #fff;
	margin-bottom: 20px;
}

/* main */

.main,
.parts {
	padding: 100px 0;
}

.content {
	width: 100%;
}

.content h2 {
	font-size: 56px;
	margin-bottom: 50px;
	text-align: center;
	color: rgb(45, 126, 180);
}

.welcome {
	padding-top: 50px;
}

.about-image {
	float: right;
	width: 100%;
	max-width: 400px;
	margin-left: 50px;
	margin-top: 0px;
	border-radius: 50px;
}

/* parts */

.parts-list {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: space-between;
	gap: 20px;
}

.part {
	position: relative;
	width: calc(33.33% - 20px);
	background: #fff;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
	overflow: hidden;
}

.part a {
	display: block;
	width: 100%;
	height: 100%;
	padding: 20px 20px 60px;
}

.part .btn {
	position: absolute;
	bottom: -100%;
	left: 0;
	width: 100%;
	height: 50px;
	font-size: 16px;
	font-weight: 400;
	background: #c4c4c4;
	color: #4d4d4d;
	border-radius: 0;
	transition: all ease-in-out 0.3s;
}

.part .btn::after {
	display: none;
}

.part:hover .btn {
	bottom: 0;
}

.part h3 {
	font-size: 25px;
	color: #252525; 
	margin: 15px 0 0;
	text-align: center;
}

.part p {
	color: #888888;
}

.part img {
	width: 100%;
	height: 300px;
	object-fit: cover;
}

.team-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.team-member {
    text-align: center;
    flex: 1 1 150px;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #636363;
}

.name {
    margin-top: 10px;
    font-size: 1.2em;
    color: #333;
}

.copyright {
	text-align: center;
	padding: 0px;
	margin-top: 20px;
	margin-bottom: 0px;
}

.service-image {
    flex: 1;
    max-width: 200px;
    margin-right: 20px;
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.service-content {
    flex: 2;
	
}

.service {
    display: flex;
    flex-wrap: wrap;
    margin: 35px auto;
    padding: 20px;
    width: 80%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	background-color: rgba(213, 213, 213, 0.5)
}

.service-title {
	text-align: center;
	margin-top: 40px;
}

.service-par {
	text-align: center;
	margin-top: 10px;
	margin-bottom: 10px;
}

.p-service {
	margin-top: 15px;
	text-align: left;
}

.contact-info, .contact-form {
    background-color: rgba(213, 213, 213, 0.5);
    margin: 50px auto;
    padding: 20px;
    width: 80%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
	
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

label {
    margin-top: 10px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.button-contacts {
    background-color: #2980b9;
    color: white;
    border: none;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 15px;
}

.button-contacts:hover {
    background-color: #3498db;
}

.content-contacts p {
	margin-bottom: 10px;
	
}

.p-contacts {
	margin-right: 500px;
}

.social-media-links {
    text-align: center;
    margin: 20px 0;
}

.social-media-links h3 {
    margin-bottom: 10px;
}

.social-media-links ul {
    list-style-type: none;
    padding: 0;
}

.social-media-links li {
    display: inline-block;
    margin: 0 10px;
}

.social-media-links a {
    color: #333; /* Default color */
    font-size: 24px; /* Icon size */
    text-decoration: none;
}

.social-media-links a:hover {
    color: #007bff; /* Color on hover */
}
