html,
body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
.font-heading {
    font-family: 'Playfair Display', serif !important;
}

/* --- CIRCULAR PROGRESS LOADER (FIXED CENTERING) --- */
#page-loader {
    position: fixed;
    inset: 0;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 1s cubic-bezier(0.85, 0, 0.15, 1), visibility 1s;
}

#page-loader.exit {
    transform: translateY(-100%);
    visibility: hidden;
}

.loader-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.progress-container {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.progress-svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.progress-bg {
    fill: none;
    stroke: rgba(244, 162, 97, 0.1);
    stroke-width: 2;
}

.progress-bar {
    fill: none;
    stroke: #0B1C2D;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 283;
    /* 2 * PI * r (r=45) */
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.loader-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Perfect Center */
    font-size: 1.8rem;
    color: #0B1C2D;
    margin: 0;
    /* line-height: 1; */
    animation: icon-glow 2s ease-in-out infinite;
}

@keyframes icon-glow {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        filter: drop-shadow(0 0 5px rgba(244, 162, 97, 0.2));
        opacity: 0.8;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        filter: drop-shadow(0 0 15px rgba(244, 162, 97, 0.6));
        opacity: 1;
    }
}

.loader-tagline {
    /* margin-top: 1.5rem; */
    color: #0B1C2D;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    animation: fade-up 0.8s ease-out forwards;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 0.6;
        transform: translateY(0);
    }
}

/* --- END LOADER STYLES --- */


.hero-overlay {
    background: linear-gradient(90deg, rgba(11, 28, 45, 0.95) 0%, rgba(11, 28, 45, 0.7) 40%, rgba(11, 28, 45, 0) 100%);
}

.ken-burns {
    animation: kenburns 40s linear infinite alternate;
}

@keyframes kenburns {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background: #F4A261;
    transition: width .3s;
}

.nav-link:hover::after {
    width: 100%;
}

.progress-bar-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 50;
}

.progress-bar-fill {
    height: 100%;
    background: #F4A261;
    width: 0%;
}

.slider-btn {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
    background: transparent;
    z-index: 60;
}

.slider-btn:hover {
    border-color: #F4A261;
    color: #0B1C2D;
    background: #F4A261;
}


/* Multi-Level Dropdown Animation */
.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.group:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Sub-menu logic */
.sub-dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    position: absolute;
    left: 100%;
    top: 0;
}

.sub-group:hover>.sub-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}


/* Modal Styles */
#cert-modal {
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#cert-modal.active {
    opacity: 1;
    visibility: visible;
}

.cert-card {
    transition: all 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-5px);
    opacity: 1 !important;
}

.testimonial-nav-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #0B1C2D;
    border-radius: 50%;
    color: #0B1C2D;
    transition: all 0.4s ease;
    background: transparent;
}

.testimonial-nav-btn:hover {
    background: #0B1C2D;
    color: #F4A261;
}

/* FAQ Transition */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-item.active .faq-content {
    max-height: 200px;
}

.faq-item.active i {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .hero-overlay {
        background: linear-gradient(to bottom, rgba(11, 28, 45, 0.85) 0%, rgba(11, 28, 45, 0.6) 100%);
    }

    .slider-btn {
        width: 44px;
        height: 44px;
    }
}

#mobile-menu {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

#mobile-menu.active {
    transform: translateX(0);
}

.footer-grain {
    background-image: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    background-repeat: repeat;
}

.footer-link:hover {
    color: #F4A261;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
    color: #E76F51;
}

.max-w-1400 {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .hero-min-height {
        min-height: 40vh;
    }
}


.product-card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
    transform: translateY(-8px);
}

/* Swiper Customization for Gallery */
.thumb-product-swiper .swiper-slide {
    opacity: 0.4;
    transition: opacity 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}

.thumb-product-swiper .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #F4A261;
}

.main-product-swiper .swiper-button-next,
.main-product-swiper .swiper-button-prev,
.related-nav-btn {
    color: #F4A261;
    background: rgba(11, 28, 45, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 10;
}

.related-nav-btn:hover {
    background: #F4A261;
    color: #0B1C2D;
}

.main-product-swiper .swiper-button-next:after,
.main-product-swiper .swiper-button-prev:after {
    font-size: 14px;
    font-weight: bold;
}


.service-card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #F4A261;
}

.step-line::after {
    content: '';
    position: absolute;
    top: 2rem;
    left: 50%;
    width: 100%;
    height: 1px;
    background: repeating-linear-gradient(to right, #F4A261 0, #F4A261 5px, transparent 5px, transparent 10px);
    z-index: 0;
}


.contact-input:focus~label,
.contact-input:not(:placeholder-shown)~label {
    transform: translateY(-24px) scale(0.85);
    color: #F4A261;
}

/* Map Greayscale Filter */
.google-map-container {
    filter: grayscale(1);
    transition: filter 1s duration-1000 ease;
}

.google-map-container:hover {
    filter: grayscale(0);
}

/*.nav-link.active {
    color: #F4A261 !important;
}

.nav-link.active::after {
    width: 100%;
}*/