*::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 {
	width:100%;
	height:200vh;
	display:flex;
	flex-flow:column;
	align-items: center;
	justify-content:center;
	/* scroll-snap-align:start; */
	position:relative;
}
.hero-left{
	display:flex;
	flex-flow:column;
	align-items: center;
	justify-content:center;
	margin-right:15vh;
}
.blur{
	position:absolute;
	width:100%;
	height:10vh;
	backdrop-filter:blur(30px);
	top:0;
	left:0;
	transform:translate(0, -50%);
}

.hero-description {
    background: linear-gradient(90deg, #cbe6fa 0%, #e2f0fb 100%);
	border-radius: 14px;
	padding: 32px 28px 20px 28px;
	max-width: 600px;        /* tighter column reads better */
	margin: 0 auto 24px auto;
    box-shadow: 0 3px 24px rgba(40, 80, 168, 0.05);
}

.hero-description h1 {
	font-size: clamp(1.2rem, 2.5vw, 1.8rem);
	margin-bottom: 14px;
	color: #12304c;
	line-height: 1.3;
}

.hero-description p {
	font-size: clamp(0.85rem, 1.5vw, 1rem);
	line-height: 1.7;
	margin-bottom: 10px;
	color: #245075;
}
/*.price-calc-multiline,*/ .amount-calc {
    background: #f1f6fa;
    border-radius: 13px;
    padding: 24px 18px 18px 18px;
    max-width: 750px;
    margin: 24px auto;
    box-shadow: 0 2px 12px rgba(76, 146, 195, 0.04);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
table {
	width: 100%;
	border-collapse: separate;
    border-spacing: 0;
    background: #eaf5fb;
    border-radius: 7px;
    overflow: hidden;
    margin-bottom: 10px;
    font-size: 1em;
}
th, td {
    border: none;
    padding: 13px 14px;
    text-align: center;
    color: #23577c;
}
th {
    background: #cce3f8;
    color: #12304c;
    font-weight: 500;
    font-size: 1.07em;
    letter-spacing: 0.3px;
	white-space: nowrap;
}
    /* tr.price-row,*/ tr.input-row { 
        background: #f9fbfd;
        transition: background 0.25s;
    }
    /*tr.price-row:hover,*/ tr.input-row:hover {
        background: #d8eefd;
    }
    input[type="number"] {
        border: 1px solid #bcd8ee;
        border-radius: 6px;
        background: #fff;
        padding: 8px 5px;
        font-size: 1em;
        width: 75px;
        transition: border-color 0.2s;
        color: #284f6c;
    }
    input[type="number"]:focus {
        outline: none;
        border-color: #6bb9ea;
        background: #f6fcff;
    }
    /* .priceOutput,*/ .usage-cell { 
        font-weight: 500;
        font-size: 1.08em;
        color: #256793;
    }
    /* Buttons */
    button {
        padding: 7px 20px;
        margin-right: 10px;
        background: linear-gradient(90deg, #70bceb 80%, #93d6ff 100%);
        color: #14425c;
        border: none;
        border-radius: 7px;
        box-shadow: 0 1px 4px rgba(40, 80, 168, 0.06);
        font-size: 1em;
        letter-spacing: 0.2px;
        cursor: pointer;
        transition: background 0.18s, color 0.18s;
        font-weight: 500;
    }
    button:hover, button:focus {
        background: linear-gradient(90deg, #6ba1fc 30%, #55c8ee 100%);
        color: #fff;
    }
    /* #totalPriceOutput { */
        /* color: #2392c4; */
        /* font-size: 1.3em; */
        /* font-weight: bold; */
    /* } */
	@media (max-width: 1100px) {
  .hero {
    flex-flow: column;
    height: auto;
    padding: 60px 20px;
    overflow-y: auto;
  }
  .hero-left {
    margin-right: 0;
    margin-top: 30px;
    width: 100%;
  }
}
    @media (max-width: 630px) {
        .hero-description, .price-calc-multiline, .amount-calc {
            padding: 10px 5vw;
            max-width: 70vw;
        }
        table, th, td {
            font-size: 0.97em;
        }
        button {
            padding: 7px 10px;
        }
		.hero-description p {
        margin: 0 0 0px 0;
        font-size: 3vw;
        line-height: 1;
        color: #245075;
        /* accent color */
    }
    }
/*################*/