*::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:center;
	width:100%;
	height:100vh;
	overflow-x:hidden;
	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%);
}
/*=====================================
=============GALLERY===================
=======================================*/
.carousel-container {
            width: 100%;
            max-width: 1200px;
            margin: 2rem auto;
            padding: 0 20px;
            position: relative;
        }

        .carousel-title {
            text-align: center;
            color: #18679d;
            font-size: 2rem;
            font-weight: 600;
            margin-bottom: 3rem;
            position: relative;
        }

        .carousel-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 3px;
            background: linear-gradient(90deg, transparent, #4a9ce5, transparent);
        }

        .carousel {
            position: relative;
            overflow: hidden;
            border-radius: 24px;
            background: linear-gradient(145deg, #ffffff 0%, #f5faff 100%);
            box-shadow: 0 20px 60px rgba(22, 92, 156, 0.15),
                        0 4px 24px rgba(22, 92, 156, 0.08),
                        inset 0 1px 0 rgba(255, 255, 255, 0.8);
            min-height: 600px;
        }

        .carousel-track {
            display: flex;
            transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
            height: 100%;
        }

        .carousel-card {
            min-width: 100%;
            padding: 3rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2rem;
        }

        .card-word {
            font-size: 2.5rem;
            font-weight: 700;
            color: #18679d;
            text-align: center;
            position: relative;
            padding-bottom: 1rem;
        }

        .card-word::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: linear-gradient(90deg, #4a9ce5, #82c1ff);
            border-radius: 2px;
        }

        .card-description {
            font-size: 1.25rem;
            line-height: 1.6;
            color: #145587;
            text-align: center;
            max-width: 800px;
            background: rgba(209, 233, 255, 0.3);
            padding: 2rem;
            border-radius: 16px;
            border: 1px solid rgba(138, 180, 248, 0.2);
            backdrop-filter: blur(10px);
            box-shadow: 0 8px 32px rgba(44, 77, 121, 0.08);
            font-weight: 500;
        }

        .card-images {
            display: flex;
            gap: 1.5rem;
            justify-content: center;
            margin-top: 1rem;
            flex-wrap: wrap;
        }

        .image-item {
            width: 280px;
            height: 200px;
            border-radius: 16px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            box-shadow: 0 12px 24px rgba(22, 92, 156, 0.15);
            border: 2px solid rgba(255, 255, 255, 0.9);
            background: white;
        }

        .image-item:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(22, 92, 156, 0.25);
            border-color: #4a9ce5;
        }

        .image-item::before {
            content: '🔍';
            position: absolute;
            top: 10px;
            right: 10px;
            background: rgba(255, 255, 255, 0.9);
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            opacity: 0;
            transition: opacity 0.3s;
            z-index: 2;
        }

        .image-item:hover::before {
            opacity: 1;
        }

        .image-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .image-item:hover img {
            transform: scale(1.05);
        }

        /* Navigation Arrows */
        .carousel-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.95);
            border: 2px solid #d0e2f4;
            color: #18679d;
            font-size: 1.5rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            box-shadow: 0 8px 24px rgba(22, 92, 156, 0.15);
            z-index: 10;
        }

        .carousel-nav:hover {
            background: #4a9ce5;
            color: white;
            border-color: #4a9ce5;
            transform: translateY(-50%) scale(1.1);
            box-shadow: 0 12px 32px rgba(22, 92, 156, 0.25);
        }

        .carousel-nav.prev {
            left: -28px;
        }

        .carousel-nav.next {
            right: -28px;
        }

        /* Dots Indicator */
        .carousel-dots {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-top: 2.5rem;
        }

        .dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #d0e2f4;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .dot.active {
            background: #4a9ce5;
            transform: scale(1.3);
            box-shadow: 0 0 0 3px rgba(74, 156, 229, 0.2);
        }

        .dot:hover {
            background: #82c1ff;
            transform: scale(1.2);
        }

        /* Modal Styles */
        .image-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(16, 44, 88, 0.92);
            backdrop-filter: blur(12px);
            z-index: 1000;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .image-modal.active {
            display: flex;
            opacity: 1;
        }

        .modal-content {
            position: relative;
            max-width: 85vw;
            max-height: 85vh;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
            background: #eaf2fb;
            animation: modalAppear 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        @keyframes modalAppear {
            from {
                opacity: 0;
                transform: scale(0.8);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .modal-img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
            max-height: calc(85vh - 60px);
        }

        .modal-close {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 44px;
            height: 44px;
            background: rgba(22, 92, 156, 0.9);
            color: white;
            border: none;
            border-radius: 50%;
            font-size: 1.8rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 1001;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        .modal-close:hover {
            background: #e53935;
            transform: rotate(90deg) scale(1.1);
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .carousel-card {
                padding: 2rem;
            }
            
            .card-images {
                gap: 1rem;
            }
            
            .image-item {
                width: 220px;
                height: 160px;
            }
            
            .carousel-nav {
                width: 48px;
                height: 48px;
                font-size: 1.2rem;
            }
            
            .carousel-nav.prev {
                left: -24px;
            }
            
            .carousel-nav.next {
                right: -24px;
            }
        }

        @media (max-width: 768px) {
            .carousel {
                min-height: 500px;
            }
            
            .carousel-card {
                padding: 1.5rem;
                gap: 1.5rem;
            }
            
            .card-word {
                font-size: 2rem;
            }
            
            .card-description {
                font-size: 1.1rem;
                padding: 1.5rem;
            }
            
            .image-item {
                width: 100%;
                max-width: 300px;
                height: 180px;
            }
            
            .carousel-nav {
                position: static;
                transform: none;
                margin-top: 2rem;
            }
            
            .carousel-nav.prev {
                margin-right: 1rem;
            }
            
            .modal-content {
                max-width: 95vw;
                max-height: 90vh;
            }
        }

        /* Loading Animation */
        .image-item.loading {
            background: linear-gradient(90deg, #e6f2ff 25%, #d0e2f4 50%, #e6f2ff 75%);
            background-size: 200% 100%;
            animation: loading 1.5s infinite;
        }

        @keyframes loading {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }

        /* Card Transition Animation */
        .carousel-card.enter {
            animation: slideIn 0.6s cubic-bezier(0.65, 0, 0.35, 1);
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

