@import url('https://fonts.googleapis.com/css2?family=Poppins&family=Roboto:ital,wght@0,400;1,900&display=swap');
* {
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #0f4c5c;
    margin: 0;
    padding: 0;
}

body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

html {
    scroll-behavior: smooth;
}
html::-webkit-scrollbar-track
{
	background-color: #FFFFFF;
}

html::-webkit-scrollbar
{
	width: 10px;
	background-color: #F5F5F5;
}

html::-webkit-scrollbar-thumb
{
	background-color: #ADB5BD;
}
html::-webkit-scrollbar-thumb:hover
{
	background-color: #b3b2b2;
}
.all-content {
    background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
    max-width: 1500px;
    margin: auto;
    height: auto;
}
.copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: #000;
    text-align: center;
    padding: 10px;
}

#fonti {
    font-size: 22px;
}
#size {
    font-size: 17px;
}
#progress {
    position: fixed;
    bottom: 20px;
    right: 10px;
    height: 70px;
    width: 70px;
    display: none;
    place-items: center;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}
#progress-value {
    display: block;
    height: calc(100% - 15px);
    width: calc(100% - 15px);
    background-color: #ffffff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 35px;
    color: #001a2e;
}


/* NAVI CSS */
.container{
    max-width: 1500px;
	margin:auto;
    height: 150px;
    padding: 0;
}
ul{
	list-style: none;
	margin:0;
	padding:0;
}
a{
	text-decoration: none;
}

/*header*/
.header{
	position: fixed; 
	width: 100%;
	z-index: 9999; 
    max-width: 1500px;
    transition: transform 0.3s ease-in-out; 
    top: 0; 
    left: 50%; 
    transform: translateX(-50%); 
}

.header.nav-up {
    transform: translate(-50%, -100%);
}

.header.nav-down {
    transform: translateX(-50%); 
}

.header.nav-hidden {
    transform: translate(-50%, -100%); 
}

.header-main {
    background-color: transparent;
    display: flex;
    justify-content: space-around;
    align-items: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
}

.header-main.scrolled {
    background-color: rgba(173, 181, 189, 0.75);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header .menu > .menu-item > a {
    color: #000; 
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.header .menu > .menu-item > a.active {
    color: #0f4c5c; 
}

.header .menu > .menu-item > .sub-menu {
    background-color: rgba(255, 255, 255, 0.9);
}

.header .logo a img {
    width: 150px;
    margin: 4px;
}

.header .menu > .menu-item{
	display: inline-block;
	margin-left: 30px;
	position: relative;
    z-index: 1;
}

.header .menu > .menu-item > a{
	display: block;
	padding: 2px 0;
	font-size: 16px;
	text-transform: capitalize;
	font-weight: 600;
	transition: all 0.3s ease;
}

.header .menu > .line-item > a {
    position: relative;
}

.header .menu > .line-item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: #0f4c5c;
    transition: width 0.3s ease;
    transform: translateX(-50%);
}

.header .menu > .line-item > a:hover::after,
.header .menu > .line-item > a.active::after {
    width: 100%;
}

.header .menu > .line-item > a::after {
    content: '';
    width: 0;
    background-color: #0f4c5c;
    margin: auto;
    display: block;
    height: 3px;
    border-radius: 30%;
}

.header .menu > .line-item > a:hover::after {
    width: 100%;
    transition: 0.3s linear;
}

.header .menu > .menu-item > a .plus{
	display: inline-block;
	height: 12px;
	width: 12px;
	position: relative;
	margin-left:5px; 
	pointer-events: none;
}

.header .menu > .menu-item > a .plus:before,
.header .menu > .menu-item > a .plus:after{
	content:'';
	position: absolute;
	box-sizing: border-box;
	left: 50%;
	top:50%;
	background-color: #000;
	height: 2px;
	width: 100%;
	transform: translate(-50%,-50%);
	transition: all 0.3s ease; 
}

.header .menu > .menu-item:hover > a .plus:before,
.header .menu > .menu-item:hover > a .plus:after{
    background-color: #0f4c5c;
    color: #0f4c5c;
}

.header .menu > .menu-item > a .plus:after{
    transform: translate(-50%,-50%) rotate(-90deg);	
}

.header .menu > .menu-item > .sub-menu > .menu-item > a:hover,
.header .menu > .menu-item:hover > a{
	color: #0f4c5c;
}

.header .menu > .menu-item > .sub-menu > .menu-item > a::after {
    content: '';
    width: 0;
    background-color: #0f4c5c;
    margin: auto;
    display: block;
    height: 2px;
    border-radius: 50%;
}

.header .menu > .menu-item > .sub-menu > .menu-item > a:hover::after {
    width: 100%;
    transition: 0.3s linear;
}

.header .menu > .menu-item > .sub-menu{
	box-shadow: 0 0 10px rgba(0,0,0,0.2);
	width: 200px;
	position: absolute;
	left:0;
	top:100%;
	padding: 10px 0;
	border-top: 3px solid #0f4c5c;
	transform: translateY(10px);
	transition: all 0.3s ease;
	opacity:0;
	visibility: hidden;
}

.sub-menu .menu-item ion-icon {
    position: relative;
    top: 5px;
    font-size: 22px;
    margin-right: 10px;
}
/* NAVI CSS */


/* HERO SECTION */
.hero-section {
    position: relative;
    height: 60vh;
    width: 100%;
    background-image: url('/assets/images/back-2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 76, 92, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-section .hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px 60px;
    border-radius: 30px;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    margin-top: 20px;
}

.hero-section .typing-text {
    color: #fff;
    font-size: 4em;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid #fff;
    animation: typing 3.5s steps(8, end), blink-caret .75s step-end infinite;
    margin: 0;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #fff }
}


@media (max-width: 768px) {
    .hero-section .typing-text {
        font-size: 2.5em;
    }
    
    .hero-section {
        height: 50vh;
    }
}
/* HERO SECTION */

/* ABOUTUS CSS */
.aboutus {
    margin: 20px 170px;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    max-width: 1200px;
}

.AboutUs-H1 {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.AboutUs-H1 h1 {
    font-size: 2.5em;
    color: #0f4c5c;
    font-weight: 700;
    margin-bottom: 15px;
}

.AboutUs-H1 .underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #0f4c5c, transparent);
    margin: 0 auto;
}

.company-intro {
    margin-bottom: 80px;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.intro-text h2 {
    color: #0f4c5c;
    margin-bottom: 20px;
    font-size: 2em;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
    margin-top: 40px;
}

.stat-item {
    padding: 30px 20px;
    background: linear-gradient(145deg, #ffffff, #f3f3f3);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(15, 76, 92, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #0f4c5c;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(15, 76, 92, 0.1);
}

.stat-number {
    font-size: 3em;
    font-weight: 700;
    color: #0f4c5c;
    display: block;
    margin-bottom: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    padding: 40px 30px;
    background: white;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, transparent, rgba(15, 76, 92, 0.05));
    transition: height 0.3s ease;
    z-index: -1;
}

.service-card:hover::after {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-card ion-icon {
    font-size: 3.5em;
    color: #0f4c5c;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-card:hover ion-icon {
    transform: scale(1.1);
}

.service-card h3 {
    color: #0f4c5c;
    margin-bottom: 15px;
    font-weight: 600;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.reason-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.reason-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.reason-item ion-icon {
    font-size: 3em;
    color: #0f4c5c;
    margin-bottom: 20px;
    background: rgba(15, 76, 92, 0.1);
    padding: 15px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.reason-item:hover ion-icon {
    background: #0f4c5c;
    color: white;
    transform: rotateY(180deg);
}

.services-overview, .why-choose-us {
    margin-top: 80px;
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.services-overview h2, .why-choose-us h2 {
    color: #0f4c5c;
    font-size: 2em;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.services-overview h2::after, .why-choose-us h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background: #0f4c5c;
    border-radius: 2px;
}

@media(max-width: 991px) {
    .aboutus {
        margin: 20px;
        padding: 20px;
    }
    
    .stats-container, .reasons-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        margin: 10px;
    }

    .services-overview, .why-choose-us {
        padding: 20px;
    }

    .stat-item {
        padding: 20px;
    }

    .reason-item {
        padding: 20px;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 20px 0;
    }
}

@media(max-width: 425px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 20px 10px;
    }

    .service-card {
        padding: 25px 15px;
        margin: 0;
        width: 100%;
    }

    .service-card ion-icon {
        font-size: 2.5em;
    }

    .service-card h3 {
        font-size: 1.2em;
    }

    .service-card p {
        font-size: 0.9em;
        line-height: 1.4;
    }

    .services-overview h2, .why-choose-us h2 {
        font-size: 1.5em;
    }

    .aboutus {
        margin: 10px;
        padding: 20px 10px;
    }
}

@media(max-width: 1200px) and (min-width: 991px) {
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .reason-item {
        padding: 25px 20px;
    }

    .reason-item ion-icon {
        font-size: 2.5em;
    }

    .reason-item h3 {
        font-size: 1.3em;
    }

    .reason-item p {
        font-size: 0.9em;
    }
}

/* ABOUTUS CSS */

/* FOOTER */
footer {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row;
    position: relative;
    padding: 10px 0;
    background-color: #fff;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background-color: #0f4c5c;
    border-radius: 50%;
    opacity: 0.8;
}

footer .logo-footer img {
    width: 180px;
}

footer .social-footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

footer .social-footer a ion-icon{
    text-decoration: none;
    color: #000;
    font-size: 40px;
}

footer .contact-us .div-tel-email a{
    display: flex;
    margin: 10px;
    font-size: 16px;
    text-decoration: none;
    color: #000;
}

footer .contact-us .div-tel-email a ion-icon {
    font-size: 20px;
    position: relative;
    top: 2px;
    right: 7px;
}

footer .contact-us .div-tel-email a span {
    color: #0f4c5c;
    margin-left: 10px;
}

footer .map {
    width: 430px;
    height: 240px;
}
/* FOOTER CSS */


/* RESPONSIVE */
@media(min-width: 992px){
    .header .menu > .menu-item-has-children:hover > .sub-menu{
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .header .menu > .menu-item-has-children:hover > a .plus:after{
            transform: translate(-50%,-50%) rotate(0deg);		
        }
    }
    .header .menu > .menu-item > .sub-menu > .menu-item{
        display: block;
    }
    .header .menu > .menu-item > .sub-menu > .menu-item > a{
        display: block;
        padding: 10px 20px;
        font-size: 16px;
        font-weight: 600;
        color: #000000;
        transition: all 0.3s ease;
        text-transform: capitalize;
    }
    .header .open-nav-menu{
        height: 40px;
        width: 100px;
        margin-right: 45px;
        display: none;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
    .header .open-nav-menu span{
        display: block;
        height: 3px;
        width: 30px;
        background-color: #000000;
        position: relative;
    }
    .header .open-nav-menu span:before,
    .header .open-nav-menu span:after{
        content: '';
        position: absolute;
        left:0;
        width: 100%;
        height: 100%;
        background-color: #000000;
        box-sizing: border-box;
    }
    .header .open-nav-menu span:before{
        top:-7px;
    }
    .header .open-nav-menu span:after{
        top:7px;
    }
    .header .close-nav-menu{
        height: 30px;
        width: 30px;
        background-color: #0f4c5c;
        color: #ffffff;
        margin:0 0 15px 15px;
        cursor: pointer;
        display: none;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        text-align: center;
    }
    .header .close-nav-menu img{
        width: 16px;
    }
    .header .menu-overlay{
        position: fixed;
        z-index: 9998 !important; 
        background-color: rgba(0,0,0,0.5);
        left:0;
        top:0;
        height: 100%;
        width: 100%;
        visibility: hidden;
        opacity:0;
        transition: all 0.3s ease;
    }


    


    /* RESPONSIVE 991PX */
    @media(max-width: 991px){
        .container{
            height: 120px;
        }
        .header .logo a img {
            width: 120px;
            margin: 3px;
        }
        .header .open-nav-menu{
            margin: 0;
        }
        .header .nav-menu{
            position: fixed;
            right: -280px;
            top: 0;
            width: 280px;
            height: 70vh !important; 
            background-color: #222222;
            z-index: 9999 !important;
            padding: 15px 0;
            transition: all 0.5s ease;
            border-bottom-left-radius: 150px;
            overflow-y: auto;
            overflow-x: hidden;
            -webkit-overflow-scrolling: touch;
        }
        .header .nav-menu.open{
            visibility: visible;
            right: 0px;
            z-index: 1000;
            height: 70vh !important;
            overflow-y: auto;
        }
        .header .menu > .menu-item{
            display: block;
            margin:0;
        }
        .header .menu > .menu-item-has-children > a{
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .header .menu > .menu-item > a{
            color: #ffffff;
            padding: 12px 15px;
            border-bottom: 1px solid #333333;
        }
        .header .menu > .menu-item:first-child > a{
            border-top: 1px solid #333333;	
        }
        .header .menu > .menu-item > a .plus:before, 
        .header .menu > .menu-item > a .plus:after{
            background-color: #ffffff;
        }
        .header .menu > .menu-item-has-children.active > a .plus:after{
            transform: translate(-50%,-50%) rotate(0deg);
        }
        .header .menu > .menu-item > .sub-menu{
            width: 100%;
            position: relative;
            opacity: 1;
            visibility: visible;
            border:none;
            background-color: transparent;
            box-shadow: none;
            transform: translateY(0px);
            padding: 0px;
            left: auto;
            top:auto;
            max-height: 0;
            overflow: hidden;
        }
        .header .menu > .menu-item > .sub-menu > .menu-item > a{
            padding: 12px 45px;
            color: #ffffff;
            border-bottom: 1px solid #333333;
        }
        .header .close-nav-menu,
        .header .open-nav-menu{
            display: flex;
        }
    }
    /* RESPONSIVE 991PX */



    /* RESPONSIVE WITH 991PX */
    @media(max-width: 991px) {
        footer {
            flex-direction: column;
            height: auto;
            display: inline-block;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0;
        }

        footer .contact-us .contact-h1 {
            text-align: center;
        }

        footer .map {
            margin-top: 10px;
        }
        footer .contact-us {
            text-align: center;
            margin-top: 10px;
        }
        footer .logo-footer img {
            width: 170px;
            padding-top: 10px;
        }
        footer .social-footer a ion-icon{
            font-size: 35px;
        }
    }
    /* RESPONSIVE WITH 991PX */


    @media(max-width: 326px) {
        .copyright{
            font-size: 14px;
        }
    }
    @media(max-width: 427px){
        footer .map {
            width: 350px;
        }
    }
    @media(max-width: 375px){
        footer .map {
            width: 300px;
        }
    }