*::before, *::after, *, html{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-snap-type:y mandatory;
}

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;
	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%);
}
.contact-card {
  max-width: 420px;
  background: #f3f8fd;
  border: 1.5px solid #c6d5ee;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(120, 160, 210, 0.06);
  padding: 28px 24px;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #23405a;
  margin: 34px auto;
}
.contact-title {
  margin-top: 0;
  margin-bottom: 10px;
  color: #215478;
  font-size: 1.45rem;
  letter-spacing: 0.01em;
  font-weight: 600;
}
.contact-text {
  margin: 0 0 14px 0;
  font-size: 1.02rem;
  color: #426799;
}
.contact-info {
  margin-bottom: 12px;
}
.contact-item {
  margin-bottom: 7px;
  font-size: 1rem;
}
.contact-label {
  color: #215478;
  font-weight: 500;
}
.contact-link {
  color: #4186d7;
  text-decoration: none;
  transition: color 0.2s;
}
.contact-link:hover {
  color: #18416b;
  text-decoration: underline;
}
.contact-footer {
  margin-top: 17px;
  color: #357acb;
  font-weight: 500;
  font-size: 1.01rem;
}

.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;
}
.secondary-btn {
    background: #0F599D;
    color: white;
	grid-column: span 2;
}

.secondary-btn:hover {
    background: #0d4a87;
    transform: translateY(-2px);
}
/* 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;
}