*::before, *::after, *, html{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-snap-type:y mandatory;
}

:root {
  --pent-radius: 35px;
}

header {
	font-family: "Libre Baskerville", serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 30px;
	background-color: #0c0f15;
	overflow-x:hidden;
	color: #ababab;
	scroll-snap-align:start;
}

/*######## SCROLL BAR ########*/

::-webkit-scrollbar {
    width: 10px;
    background-color: #18314C; 
}

::-webkit-scrollbar-thumb {
    background-color: #18314C; /*#f90a23*//*#3408C7*/
    background-image: -webkit-linear-gradient(45deg,rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #18314C;/*#F5F5F5*/
}

/*################*/

/*######## LINK ########*/

a {
	color: inherit;
	-webkit-transition: all 0.3s ease 0s;
	-moz-transition: all 0.3s ease 0s;
	-o-transition: all 0.3s ease 0s;
	transition: all 0.3s ease 0s;
}
 
a:hover, a:focus {
    color: #ababab;
    text-decoration: none;
    outline: 0 none;
}

/*################*/

/*######## SELECT ########*/

::-moz-selection {
	background-color: #FA6862;
	color: #fff;
}

::selection {
	background-color: #FA6862;
	color: #fff
}
/*################*/

/*######## MENU ########*/
.menu {
	width: 100%;
	height: 100vh;
	position:relative;
	display: flex;
	flex-flow: column;
	align-items: center;
	justify-content:center;
	overflow:hidden;
	scroll-snap-align:start;
}
.menu-contact{
    display: flex;
	flex-flow: row;
	align-items: center;
	justify-content:center;
	position:absolute;
	top:0;
	left:2;
	margin:2vh 0;
	/* transform:translate(-100%,0); */
}
.menu-contact p{
	color: #C9DBED;
	font-size:2vw;
	font-family: "Open Sans", sans-serif;
	/* margin: 0 0 1vh 3vh; */
	line-height: 1.3;
}
.logo {
	display:flex;
	align-items:center;
	justify-content:center;
}

.logo img{
	max-width:30vw;
	/* min-width: 50vh;  */
}

/*======================================
==========PENTAGON======================
========================================*/
.pentagon-menu{
	width: 100%;
	height: 50%;
	display: flex;
	flex-flow: row;
	align-items: center;
	justify-content:center;
}
.pentagon-item {
    cursor: pointer;
	width: calc(100vw*tan(atan2(200px, 1350px)));
    height: calc(100vw*tan(atan2(190px, 1350px)));
    /* width: 200px; */
    /* height: 190px; Approximate pentagon height */ 
    z-index: 0;
    position: relative;
    /* For pentagon, no rotation needed */
    /* transform: rotate(30deg); */
}

/* Animation for Pentagon Button */
.pentagon-item:hover {
    z-index: 1;
}
.pentagon-item:hover .pent-item:last-child {
    opacity: 1;
    transform: scale(1.3);
}
.pentagon-item:hover .pent-item:first-child {
    opacity: 1;
    transform: scale(1.18);
}
.pentagon-item:hover .pent-item:first-child div:before,
.pentagon-item:hover .pent-item:first-child div:after {
    height: calc(100vw*tan(atan2(5px, 1350px)));
}
.pentagon-item:hover .pent-item div::before,
.pentagon-item:hover .pent-item div::after {
    background-color: #ff0037;
}
.pentagon-item:hover .pent-content svg {
    transform: scale(0.97);
}

.pent-item {
    position: absolute;
    top: 0;
    left: calc(100vw*tan(atan2(50px, 1350px)));
    width: calc(100vw*tan(atan2(100px, 1350px)));
    height: calc(100vw*tan(atan2(190px, 1350px)));
}
.pent-item:first-child {
    z-index: 0;
    opacity: 0.85;
    transform: scale(0.93);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.pent-item:last-child {
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1;
    opacity: 0.92;
}

.pent-item div {
    box-sizing: border-box;
    position: absolute;
    top: calc(100vw*tan(atan2(12px, 1350px)));
	left: calc(100vw*tan(atan2(2px, 1350px)));
	/* top: 12px; */
	/* left: 2px; */
    width: calc(100vw*tan(atan2(100px, 1350px)));
    height: calc(100vw*tan(atan2(190px, 1350px)));
	/* width: 100px; */
    /* height: 190px; */
	/* transform-origin: 50% 70px; */
    transform-origin: 50% calc(100vw*tan(atan2(70px, 1350px)));
}
 .pent-item div::before { 
    background-color: #1e2530;
    content: "";
    position: absolute;
    width: 100%;
    height: calc(100vw*tan(atan2(3px, 1350px)));
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
}
.pent-item div:before {
    top: 0;
}

/* Each side gets an angle for a pentagon (360/5 = 72deg) */
.pent-item div:nth-child(1) { transform: rotate(180deg);}
.pent-item div:nth-child(2) { transform: rotate(252deg);}
.pent-item div:nth-child(3) { transform: rotate(324deg);}
.pent-item div:nth-child(4) { transform: rotate(396deg);}
.pent-item div:nth-child(5) { transform: rotate(468deg);}

/* Pentagon content styling */
.pent-content {
    color: #fff;
    display: block;
	/* background-color:red; */
    height: calc(100vw*tan(atan2(160px, 1350px)));
	width: calc(100vw*tan(atan2(160px, 1350px)));
	/* height: 160px; */
	/* width: 156px; */
    margin: 0 auto;
    position: relative;
    text-align: center;
}
.pent-content .pent-content-inner {
    left: 50%;
    margin: calc(100vw*tan(atan2(-3px, 1350px))) 0 0 calc(100vw*tan(atan2(2px, 1350px)));
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}
/* .pent-content .icon { */
    /* display: block; */
    /* font-size: 36px; */
    /* line-height: 30px; */
    /* margin-bottom: 11px; */
/* } */
.pent-content .title {
    display: block;
    font-family: "Open Sans", sans-serif;
    font-size: calc(100vw*tan(atan2(14px, 1350px)));
    letter-spacing: 1px;
    line-height: 24px;
    text-transform: uppercase;
}
.pent-content svg {
    left: calc(100vw*tan(atan2(0px, 1350px)));
    position: absolute;
    top: calc(100vw*tan(atan2(0px, 1350px)));
    transform: scale(0.93);
    z-index: -1;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;
}
.pent-content:hover {
    color: #fff;
}
/* .pentagon-item:hover .icon i { */
    /* color: #ff0037; */
    /* transition: 0.6s; */
/* } */
.pentagon-item:hover .title {
    -webkit-animation: focus-in-contract 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: focus-in-contract 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@-webkit-keyframes focus-in-contract {
    0% {
        letter-spacing: 1em;
        -webkit-filter: blur(12px);
        filter: blur(12px);
        opacity: 0;
    }
    100% {
        -webkit-filter: blur(0px);
        filter: blur(0px);
        opacity: 1;
    }
}
@keyframes focus-in-contract {
    0% {
        letter-spacing: 1em;
        -webkit-filter: blur(12px);
        filter: blur(12px);
        opacity: 0;
    }
    100% {
        -webkit-filter: blur(0px);
        filter: blur(0px);
        opacity: 1;
    }
}
/*======================================
========================================
========================================*/

/*################*/

/*######## HERO ########*/

.hero {
	display:flex;
	align-items: center;
	justify-content:space-between;
	width:100%;
	height:100vh;
	scroll-snap-align:start;
	position:relative;
}
.blur{
	position:absolute;
	width:100%;
	height:10vh;
	backdrop-filter:blur(30px);
	top:0;
	left:0;
	transform:translate(0, -50%);
	
}

.hero.visible .hero-title p {
  filter: blur(0px);
  opacity: 1;
}

.hero.visible .hero-title {
  transform: translate(0);
}

.hero.visible .hero-description p {
  filter: blur(0px);
  opacity: 1;
}

.hero.visible .hero-description {
  transform: translate(0);
}

.hero.visible .hero-links .hero-link {
  opacity: 1;
  transform: translateX(0);
}

/* Keep your existing hero styles, just replace the hover selectors */
.hero-title {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  transform: translate(0, 20%);
  transition: all .25s ease-in;
}

.hero-title p {
  color: #C9DBED;
  font-size: 5vw;
  font-family: "Open Sans", sans-serif;
  margin: 0 0 1vh 3vh;
  line-height: 1.3;
  filter: blur(12px);
  opacity: 0;
  transition: all .25s ease-in;
}

.hero-description {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  transform: translate(0, -20%);
  transition: all .25s ease-in;
}

.hero-description p {
  color: #7C96B2;
  font-size: 2vw;
  font-family: "Open Sans", sans-serif;
  line-height: 1.3;
  filter: blur(12px);
  opacity: 0;
  transition: all .25s ease-in;
}

/* Enhanced link styling */
.hero-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
  width: 100%;
  max-width: 500px;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: #4A90E2;
  font-family: "Open Sans", sans-serif;
  font-size: 1.4vw;
  font-weight: 500;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out, background-color 0.3s ease;
}

.hero-link:nth-child(2) {
  transition-delay: 0.1s;
}

.hero-link::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #4A90E2, #357ABD);
  transition: width 0.3s ease;
}

.hero-link:hover {
  background-color: rgba(74, 144, 226, 0.1);
  color: #357ABD;
  transform: translateX(5px);
}

.hero-link:hover::before {
  width: 100%;
}

.hero-link:hover .link-arrow {
  transform: translateX(5px);
  color: #357ABD;
}

.link-text {
  position: relative;
  z-index: 1;
}

.link-arrow {
  margin-left: 1rem;
  transition: transform 0.3s ease, color 0.3s ease;
  font-size: 1.2em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-link {
    font-size: 1rem;
    padding: 0.7rem 1.2rem;
  }
  
  .hero-links {
    gap: 1rem;
  }
}

/* Keep your existing hero-right styles */
.hero-left {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
}

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-right img {
  width: 15vw;
  border-radius: 20%;
  margin-top: 5vh;
}

.hero-right-small {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
}
/*################*/

/*######## INTRO ########*/

.intro {
	display:flex;
	align-items: center;
	justify-content:space-between;
	width:100%;
	height:100vh;
	scroll-snap-align:start;
	position:relative;
}

/*################*/

/*######## FEATURES ########*/

.features {
	width:100%;
	height:100vh;
	scroll-snap-align:start;
	display: flex;
	align-items: center;
	justify-content:space-between;
	position:relative;
}
/* Features container */
.features-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 40px 20px;
}

/* Feature cards - initial state (hidden) */
.feature {
  width: 30vw;
  height: 50vh;
  /* min-height: 400px; */
  box-shadow: 0 8px 32px rgba(124, 150, 178, 0.15);
  backdrop-filter: blur(30px);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(124, 150, 178, 0.1);
  transform: translateY(40px);
  filter: blur(12px);
  opacity: 0;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Animated state when visible */
.feature.visible {
  transform: translateY(0);
  filter: blur(0);
  opacity: 1;
}

/* Transition settings */
.feature-one {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-two {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.feature-three {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

/* Feature title - more professional styling */
.feature-title p {
  color: #4A6990; /* More professional dark blue-gray */
  font-size: 2.2vw;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  margin: 0 0 2vh 0;
  line-height: 1.4;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(124, 150, 178, 0.2);
  letter-spacing: -0.02em;
}

/* Feature description - more professional styling */
.feature-description p {
  color: #5A7A9A; /* Softer blue-gray */
  font-size: 1.6vw;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  margin: 2vh 0 3vh 0;
  letter-spacing: 0.01em;
}

/* Stylized text links (not buttons) */
.feature-description a {
  color: #4A90E2; /* Professional blue accent */
  font-size: 1.4vw;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding: 8px 0;
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Hover effects for links */
.feature-description a:hover {
  color: #7C96B2;
  transform: translateX(5px);
}

/* Elegant underline animation */
.feature-description a::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #4A90E2, #7C96B2);
  transition: width 0.3s ease;
  border-radius: 1px;
}

.feature-description a:hover::after {
  width: 100%;
}

/* Arrow indicator (optional) */
.feature-description a::before {
  content: '→';
  margin-right: 8px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.feature-description a:hover::before {
  transform: translateX(3px);
}

/* For mobile responsiveness */
@media (max-width: 768px) {
  .features-container {
    flex-direction: column;
    align-items: center;
  }
  
  .feature {
    width: 80vw;
    height: 30vh;
    /* min-height: 300px; */
    margin-bottom: 0px;
  }
  
  .feature-title p {
    font-size: 3vw;
  }
  
  .feature-description p {
    font-size: 3vw;
  }
  
  .feature-description a {
    font-size: 2vw;
  }
}

/*################*/
/*######## INDUSTRIES ########*/

.industries {
	width:100%;
	height:100vh;
	scroll-snap-align:start;
	position:relative;
}


/* Compact Map Slide Styling */
.compact-map-slide {
    /* background: #0a192f; */
	/* margin-top:60px; */
}

.compact-map-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    width: 90%;
    max-width: 1200px;
    height: 80vh;
    margin: 0 auto;
    align-items: center;
}

.compact-map-wrapper {
    height: 75%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#yandex-map-compact {
    width: 100%;
    height: 100%;
}

.compact-map-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.map-info-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.map-info-header i {
    color: #13CD4B;
    font-size: 24px;
}

.map-info-header h2 {
    color: #13CD4B;
    font-size: 1.5rem;
    margin: 0;
}

.map-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-grow: 1;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-item i {
    color: #13CD4B;
    font-size: 20px;
    margin-top: 5px;
}

.detail-item h3 {
    color: #e6f1ff;
    font-size: 1rem;
    margin: 0 0 5px 0;
}

.detail-item p {
    color: #8892b0;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
}

.compact-map-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 10px;
}

.map-action-btn {
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
}

.primary-btn {
    background: #13CD4B;
    color: white;
    grid-column: span 2;
}

.primary-btn:hover {
    background: #0fa83c;
    transform: translateY(-2px);
}

.secondary-btn {
    background: #0F599D;
    color: white;
	grid-column: span 2;
}

.secondary-btn:hover {
    background: #0d4a87;
    transform: translateY(-2px);
}

.minimal-btn {
    background: transparent;
    color: #8892b0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.minimal-btn:hover {
    border-color: #13CD4B;
    color: #e6f1ff;
    transform: translateY(-2px);
}

.social-compact {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.social-compact p {
    color: #8892b0;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.social-icons-compact {
    display: flex;
    gap: 15px;
}

.social-icon {
    /* width: 40px; */
    /* height: 40px; */
	padding:5px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
}

.whatsapp { color: #25D366; background: rgba(37, 211, 102, 0.1); }
.telegram { color: #0088cc; background: rgba(0, 136, 204, 0.1); }
.email { color: #EA4335; background: rgba(234, 67, 53, 0.1); }
.rutube { color: #FF0000; background: rgba(255, 0, 0, 0.1); }

/* Footer bottom (minimal) */
.footer-bottom {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: #8892b0;
    font-size: 0.85rem;
    padding: 0 20px;
    z-index: 10;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #0a192f;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    border: 1px solid rgba(19, 205, 75, 0.2);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #8892b0;
}

.close-modal:hover {
    color: #13CD4B;
}

.modal-content h2 {
    color: #13CD4B;
    margin-bottom: 25px;
    text-align: center;
}

#contactForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contactForm input,
#contactForm textarea {
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1rem;
}

#contactForm textarea {
    height: 120px;
    resize: vertical;
}

#contactForm button {
    background: #13CD4B;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

#contactForm button:hover {
    background: #0fa83c;
}
/* Responsive Design for Slides */
@media (max-width: 992px) {
    .compact-map-container {
        grid-template-columns: 1fr;
        height: auto;
        gap: 40px;
        padding: 40px 0;
    }
    
    .compact-map-wrapper {
        height: 300px;
    }
    
    .static-planet {
        width: 80px;
        height: 80px;
    }
    
    .static-industry-icon {
        font-size: 24px;
    }
    
    .static-planet-info {
        width: 150px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .static-orbit {
        width: 100vmin;
        height: 100vmin;
    }
    
    .static-planet {
        transform: 
            translate(-50%, -50%) 
            rotate(calc((var(--position) - 1) * 72deg)) 
            translateY(-40vmin) 
            rotate(calc((var(--position) - 1) * -72deg));
    }
    
    .logo-container {
        width: 100px;
        height: 100px;
    }
    
    .logo-glow {
        width: 120px;
        height: 120px;
    }
    
    .contact-badge {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .compact-map-controls {
        grid-template-columns: 1fr;
    }
    
    .primary-btn {
        grid-column: span 1;
    }
}

@media (max-width: 576px) {
    .static-orbit-section {
        padding: 10px;
    }
    
    .static-planet-info {
        display: none; /* Hide on very small screens */
    }
    
    .static-planet:hover .static-planet-info {
        display: block;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1000;
        width: 80vw;
        text-align: center;
    }
    
    .compact-map-container {
        padding: 20px;
        height: calc(100vh - 40px);
    }
    
    .map-details {
        gap: 15px;
    }
    
    .detail-item {
        padding: 12px;
    }
}
/* Responsive design for static orbit */
/* @media (max-width: 1200px) { */
    /* .static-orbit { */
        /* width: 500px; */
        /* height: 500px; */
    /* } */
    
    /* .static-planet { */
        /* width: 120px; */
        /* height: 120px; */
        /* transform:  */
            /* translate(-50%, -50%)  */
            /* rotate(calc((var(--position) - 1) * 72deg))  */
            /* translateY(-200px)  */
            /* rotate(calc((var(--position) - 1) * -72deg)); */
    /* } */
    
    /* .static-orbit-ring { */
        /* width: 400px; */
        /* height: 400px; */
    /* } */
    
    /* .static-orbit-line { */
        /* height: 200px; */
    /* } */
/* } */

/*################*/