@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=Dosis:wght@200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=Dosis:wght@200..800&family=Inconsolata:wght@200..900&display=swap');

@font-face {
    font-family: 'RifficFree-Bold';
    src: url('Source/RifficFree-Bold.ttf') format('truetype');
	font-display: swap;
    font-style: normal;
}

.nav-list2 {
    display: none;
	z-index: 999;
}

.hero-title {
    font-size: 64px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    line-height: 1.1;
    letter-spacing: 2px;
}

.hero-title .agency {
    display: inline-block;
    margin-left: 0;
    font-size: 48px;
    letter-spacing: 6px;
	font-family: 'RifficFree-Bold', sans-serif;
}


.glow-gold {
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5),
                0 0 20px rgba(255, 215, 0, 0.4),
                0 0 30px rgba(255, 215, 0, 0.3);
    background-color: rgba(255, 215, 0, 0.03);
    transition: box-shadow 0.3s ease;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    background: #0088cc;
    padding: 0px 0;
    box-shadow: 0 0 10px rgba(0, 136, 204, 0.5);
    position: relative;
    z-index: 10;
}

.marquee {
    display: inline-block;
    white-space: nowrap;
    color: white;
    font-weight: bold;
    font-size: 2.1vh;
    animation: marquee-scroll 20s linear infinite;
}

.contact-info span a {
    line-height: 1.8; /* Увеличиваем межстрочное расстояние */
  }

@keyframes marquee-scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.social-fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

#toggle-social {
    display: none;
}

.fab-main {
    background-color: #ffee99;
    color: black;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: background-color 0.3s;
}

.fab-main:hover {
    background-color: #edd05a;
}

.fab-icons {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

#toggle-social:checked ~ .fab-icons {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.fab-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #ffe666;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
}

.fab-icon:hover {
    transform: scale(1.1);
}

/* Иконки */
.fab-icon.telegram {
    background-image: url('https://cdn-icons-png.flaticon.com/512/2175/2175366.png');
}

.fab-icon.whatsapp {
    background-image: url('https://cdn-icons-png.flaticon.com/512/733/733641.png');
}


button:disabled {
  opacity: 0.6;
  pointer-events: none;
  cursor: not-allowed;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: url('Source/bg.webp') center no-repeat fixed;
	-webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
	position: relative;
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    background: transparent;
}

.stars::before, .stars::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    box-shadow:
        10vw 20vh #ffd700,
        30vw 40vh #ffcc00,
        50vw 10vh #fff4b2,
        70vw 60vh #ffdb58,
        90vw 30vh #ffe066,
        20vw 80vh #fffacd,
        80vw 20vh #fff8dc,
        60vw 70vh #ffd700,
        40vw 50vh #fff4b2;
    animation: twinkle 4s infinite ease-in-out;
}

.contact-info a {
    color: inherit;
    text-decoration: none;
    outline: none;
}

.tg-banner {
    display: block;
    width: 100%;
    background: linear-gradient(90deg, #0088cc, #0aa4e0, #0088cc);
    background-size: 300% 100%;
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 5px 0;
    font-size: 2.1vh;
    text-decoration: none;
    animation: banner-glow 5s infinite linear;
    box-shadow: 0 0 15px rgba(0, 136, 204, 0.6);
    position: relative;
	z-index: 10;
}

.tg-icon {
    vertical-align: middle;
    margin-right: 10px;
}

@keyframes banner-glow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


.stars::after {
    box-shadow:
        15vw 25vh #ffef9f,
        35vw 45vh #ffe066,
        55vw 15vh #fff8dc,
        75vw 65vh #ffcc00,
        95vw 35vh #ffeb70,
        25vw 85vh #fff4b2,
        85vw 25vh #ffd700,
        65vw 75vh #fffacd,
        45vw 55vh #ffe066;
    animation-delay: 2s;
}

@keyframes twinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.2); }
}


body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
	-webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    z-index: -1;
}

.container {
    width: 65%;
    margin: auto;
    text-align: center;
}

header {
    background: black;
    color: white;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
	z-index: 1000;
    text-align: center;
}

footer {
    background: black;
    color: white;
    padding: 15px 0;
    width: 100%;
    top: 0;
    left: 0;
	z-index: 1000;
    text-align: center;
}

footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
	flex-wrap: wrap;
}

nav {
    position: relative;
}

nav a {
    font-family: "Cinzel", serif;
    font-size: 20px;
    font-weight: 500;
    color: #ffee99;
    text-decoration: none;
    transition: color 0.3s;
}

nav a:hover {
    color: #edd05a;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
    padding: 10px;
}

main {
    margin-top: 80px;
    width: 70%;
}

.section {
    padding: 100px;
    margin: 20px 0;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section.show {
    opacity: 1;
    transform: translateY(0);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#contacts .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    width: 50px;
    height: auto;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
	color: #edd05a;
	font-size: 2.5vh;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: inline-block;
    background-size: contain;
    transition: transform 0.3s ease;
}

.social-icons-mobile {
    display: none;
}

.social-icons .telegram {
    background-image: url('Source/telegram-icon.png');
}

.social-icons .whatsapp {
    background-image: url('Source/whatsapp-icon.png');
}

.social-icons .viber {
    background-image: url('Source/viber-icon.png');
}

.social-icons a:hover {
    transform: scale(1.2);
}

.social-icons-mobile .telegram {
    background-image: url('Source/telegram-icon.png');
}

.social-icons-mobile .whatsapp {
    background-image: url('Source/whatsapp-icon.png');
}

.social-icons-mobile .viber {
    background-image: url('Source/viber-icon.png');
}

.social-icons-mobile a:hover {
    transform: scale(1.2);
}

.logo-text {
    font-family: "Cinzel", serif;
    font-size: 18px;
    font-weight: 200;
    color: #edd05a;
    letter-spacing: 2px;
    transition: transform 0.3s ease;
}

.logo-text:hover {
    transform: scale(1.1);
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    max-width: 50%;
}

.hero h2 {
    font-size: 18px;
	font-family: "Cinzel", serif;
    color: gray;
    font-weight: 200;
}

.hero h1 {
    font-size: 46px;
    line-height: 1.2;
	font-family: 'RifficFree-Bold', sans-serif;
    font-weight: 200;
    color: #edd05a;
}

.hero p {
    font-size: 24px;
    line-height: 1.2;
	font-family: "Inconsolata", monospace;
    font-weight: 200;
    color: #e6e6e6;
}

.cta-button {
    display: inline-block;
    background-color: #edd05a;
    color: black;
    padding: 12px 24px;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 20px;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
}

.conditions-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

.conditions-section h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
}

.conditions-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    gap: 40px;
}

.conditions-image {
    flex: 1;
    max-width: 50%;
}

.conditions-image img {
    max-width: 500px;
    height: auto;
}

.conditions-text {
	display: flex;
	flex-direction: column;
    text-align: left;
    max-width: 50%;
	gap: 20px;
}

#conditions h2, #todo-section h2, #safety h2 {
    font-size: 64px;
    line-height: 1.2;
    font-family: "Inconsolata", monospace;
    font-weight: 600;
    text-align: center;
    background: linear-gradient(45deg, #d4af37, #ffd700, #d4af37);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#conditions p{
	font-size: 24px;
    line-height: 1.2;
	font-family: "Inconsolata", monospace;
    font-weight: 200;
    color: #e6e6e6;
}

#conditions .conditions-text p{
	font-size: 24px;
    line-height: 1.2;
	font-family: "Inconsolata", monospace;
    font-weight: 400;
    color: #edd05a;
}

.conditions-text h3 {
    font-size: 32px;
    line-height: 1.2;
	font-family: "Inconsolata", monospace;
    font-weight: 200;
    color: #edd05a;
}

.conditions-text p {
    font-size: 32px;
    line-height: 1.2;
	font-family: "Inconsolata", monospace;
    font-weight: 200;
    color: #edd05a;
}

#todo-section {
    text-align: left;
    padding: 50px 0;
}

#todo-section p{
    font-size: 24px;
    line-height: 1.2;
	font-family: "Inconsolata", monospace;
    font-weight: 200;
    color: #e6e6e6;
}


.todo-container {
    display: flex;
	flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 0 auto;
}

.todo-image img {
    max-width: 600px;
    height: auto;
}

.todo-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 18px;
}

.todo-text h3 {
    font-size: 28px;
    line-height: 1.2;
	font-family: "Inconsolata", monospace;
    font-weight: 400;
    color: #edd05a;
	text-align: left;
}

#safety {
    text-align: left;
    padding: 50px 0;
}

#safety p{
    font-size: 24px;
    line-height: 1.2;
	font-family: "Inconsolata", monospace;
    font-weight: 200;
    color: #e6e6e6;
}

#safety .safety-text p{
	font-size: 24px;
    line-height: 1.2;
	font-family: "Inconsolata", monospace;
    font-weight: 400;
    color: #edd05a;
}

.safety-container {
    display: flex;
	flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 0 auto;
}

.safety-image img {
    max-width: 500px;
    height: auto;
}

.safety-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 18px;
}

.safety-text h3 {
    font-size: 28px;
    line-height: 1.2;
	font-family: "Inconsolata", monospace;
    font-weight: 400;
    color: #edd05a;
	text-align: left;
}

.hero-content p, .todo-text h3, #conditions .conditions-text p, #safety .safety-text p, .end-text p {
    font-size: 20px;
    border-image-source: linear-gradient(45deg, #d4af37, #ffd700, #d4af37);
    display: inline-block;
    color: white;
    text-align: left;
    font-weight: 300;
    border-radius: 30px;
	margin: 0;
}

@keyframes gold-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

#end {
    text-align: left;
    padding: 50px 0;
}

#end p{
    font-size: 24px;
    line-height: 1.2;
	font-family: "Inconsolata", monospace;
    font-weight: 200;
    color: #e6e6e6;
}

#end .end-text p{
	font-size: 24px;
    line-height: 1.2;
	font-family: "Inconsolata", monospace;
    font-weight: 400;
    color: white;
}

.end-container {
    display: flex;
	flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 0 auto;
}

.end-image img {
    max-width: 500px;
    height: auto;
}

.end-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 18px;
}

.end-text h3 {
    font-size: 28px;
    line-height: 1.2;
	font-family: "Inconsolata", monospace;
    font-weight: 400;
    color: #edd05a;
	text-align: left;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1001;
}

#modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 0px 20px rgba(255, 223, 99, 0.5);
    max-width: 400px;
    width: 90%;
    z-index: 1001;
    font-family: "Cinzel", serif;
    text-align: center;
    color: #edd05a;
}

#close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #edd05a;
    transition: 0.3s;
}

#close-modal:hover {
    color: #ffd700;
}

/* Заголовок */
#modal h2 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 500;
}

#application-form input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #edd05a;
    border-radius: 5px;
    color: white;
    font-size: 16px;
}

#application-form input::placeholder {
    color: #edd05a;
}

#application-form button {
    width: 100%;
    padding: 12px;
    background: #edd05a;
    border: none;
    color: black;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

#application-form button:hover {
    background: #ffd700;
}

#application-form input[type="file"] {
    border: none;
    padding: 5px;
}

.modal-content {
    position: relative;
}


form input, form button {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 10px;
}

@media (max-width: 1500px) {
    .container {
        width: 70%;
    }
}

@media (max-width: 1400px) {
    .container {
        width: 75%;
    }
}

@media (max-width: 1300px) {
    .container {
        width: 80%;
    }
}

@media (max-width: 1100px) {
    .container {
        width: 90%;
    }
}

@media (max-width: 1150px) {
    .container {
        width: 95%;
    }
}

@media (max-width: 1100px) {
    .container {
        width: 96%;
    }
}

@media (max-width: 1024px) {
	.hero-title .agency {
		display: inline-block;
		margin-left: 0;
		font-size: 4.5vh;
		letter-spacing: 6px;
	}

	.logo-text {
		margin-left: 20px;
		font-size: 2vh;
	}
	
	.hero {
		padding: 120px 0;
	}
	
	.hero h1 {
		font-size: 4.5vh;
		text-align: center;
		padding: 120px 0 0 0;
	}
	
	#conditions h2, #todo-section h2, #safety h2 {
		font-size: 5vh;
	}
	
	#todo-section p, #conditions p, #safety p, #end p {
		font-size: 2vh;
		margin: 0px 0px 50px 0px;
	}
	
	.hero,
	.hero-section,
	.hero-content {
		width: 100%;
		max-width: 100% !important;
		padding: 0 15px;
		margin: 0 auto;
		box-sizing: border-box;
	}

	.hero-content p{
		width: 100%;
		max-width: none;
		box-sizing: border-box;
		font-size: 2vh;
		display: block;
		justify-content: center;
	}
	
	.todo-image img {
		max-width: 100%;
		height: auto;
	}
	
	.conditions-image img {
		width: 100%;
	    max-width: 100%;
	    height: auto;
	    display: block;
	}
	
	.conditions-image {
	    width: 100%;
	    max-width: 100%;
	    padding: 0;
	    margin: 20px 0;
	    display: flex;
	    justify-content: center;
	}
	
	#conditions {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: left;
	}
	
	.conditions-container {
		flex-direction: column;
		gap: 0;
	}

    #conditions .condition-item {
		width: 100%;
		max-width: 500px;
		padding: 15px;
		box-sizing: border-box;
	}
	
	#conditions img {
	    max-width: 100%;
	    height: auto;
	}
	
	#conditions .condition-list {
	    display: flex;
	    flex-direction: column;
	    gap: 15px;
	    width: 100%;
	    max-width: 600px;
	    order: 4;
	}
	
	.conditions-text {
	    width: 100%;
	    max-width: 600px;
	    padding: 20px 20px 20px;
	    box-sizing: border-box;
	    text-align: center;
	}
	
	.safety-image img {
		width: 100%;
	    max-width: 100%;
	    height: auto;
	    display: block;
	}
	
	.safety-image {
	    width: 100%;
	    max-width: 100%;
	    padding: 0;
	    margin: 20px 0;
	    display: flex;
	    justify-content: center;
	}
	
	#safety {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: left;
	}
	
	.safety-container {
		flex-direction: column;
		gap: 0;
	}

    #safety .safety-item {
		width: 100%;
		max-width: 500px;
		padding: 15px;
		box-sizing: border-box;
	}
	
	#safety img {
	    max-width: 100%;
	    height: auto;
	}
	
	#safety .safety-list {
	    display: flex;
	    flex-direction: column;
	    gap: 15px;
	    width: 100%;
	    max-width: 600px;
	    order: 4;
	}
	
	.safety-text {
	    width: 100%;
	    max-width: 600px;
	    padding: 20px 20px 20px;
	    box-sizing: border-box;
	    text-align: center;
	}
	
	#todo-section{
		display: flex;
	}
	
	.todo-text h3, #conditions .conditions-text p, #safety .safety-text p, .end-text p {
		font-size: 2vh;
		display: block;
		font-weight: 500;
	}
	
	.social-icons {
		display: none;
	}
	
	.social-icons-mobile {
		display: inline-block;
	}
	
	.social-icons-mobile a {
		width: 40px;
		height: 40px;
		display: inline-block;
		background-size: contain;
		transition: transform 0.3s ease;
	}
	
	.contact-info {
		font-size: 2vh;
	}
	
    .container {
        width: 95%;
    }

    .hero, #todo-section, #conditions, #safety, #end {
        flex-direction: column;
    }
	
	.todo-container {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 20px;
	}

	.todo-container h2,
	.todo-container p {
		text-align: center;
	}

	.todo-text {
		width: 100%;
		text-align: left;
	}

	.todo-image {
		width: 100%;
		max-width: 100%;
		height: auto;
		margin-top: 20px;
	}
	
	.cta-button {
		text-align: center;
	}
	
	.menu-toggle {
        display: block;
    }

	.nav-list {
        display: none;
	}

    .nav-list2 {
        display: none;
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 50px;
        right: 0;
        background: black;
        padding: 10px 40px;
		border-radius: 30px;
		z-index: 999;
    }
	#todo-section {
		text-align: left;
		padding: 0 0 50px 0;
	}
    .nav-list2.active {
        display: flex;
		z-index: 999;
    }
    .nav-list2 li {
        margin: 0;
    }
	#end{
		display: flex;
	}
}