/* ===================================
    Crafto - Scattered portfolio
====================================== */
/* font */
/* Fonts with font-display:swap to prevent invisible text (FOIT) during load */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* variable */
:root {
    --base-color: #0265b6;
    --primary-color: #d72413;
    --medium-gray: #838383;
    --light-gray: #cbcbcb;
    --alt-font: 'Manrope', serif;
    --primary-font: 'Poppins', sans-serif;
    --Secondary-font: 'Playfair Display', sans-serif;
}

/* custom cursor */
@media (hover: hover) and (pointer: fine) {
    .custom-cursor .circle-cursor-outer {
        border: 1px solid transparent;
        background: var(--base-color);
    }

    .custom-cursor .circle-cursor-inner {
        background: var(--black);
    }

    .custom-cursor .circle-cursor-inner.cursor-link-hover {
        background-color: var(--black);
        width: 10px;
        height: 10px;
        margin-left: -5px;
        margin-top: -5px;
    }
}

body {
    font-size: 18px;
    line-height: 34px;
}

/* header logo */
header .navbar-brand {
    padding: 10px 0;
    display: inline-flex;
    align-items: center;
}

header .navbar-brand img {
    max-height: 55px;
    width: auto;
    object-fit: contain;
}

/* Ensure only 1 single logo is visible at all times */
header .navbar-brand .alt-logo,
header .navbar-brand .mobile-logo {
    display: none !important;
}

header .navbar-brand .default-logo {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.navbar .navbar-nav .nav-link {
    font-weight: 600;
    padding: 10px 25px;
    font-size: 18px;
}

.navbar .navbar-nav .nav-item:last-child .nav-link {
    padding-right: 0;
}

header .navbar-brand {
    padding: 42px 0;
}

header .container-fluid {
    padding-left: 80px;
    padding-right: 80px;
}

/* font size */
.fs-150 {
    font-size: 6.75rem;
    line-height: 6.7rem;
}

.fs-220 {
    font-size: 9.75rem;
    line-height: 11.7rem;
}

.fs-280 {
    font-size: 17.5rem;
    line-height: 17.5rem;
}

/* margin */
.mb-50 {
    margin-bottom: 50%;
}

.small-icon li {
    margin: 0 8px;
}

/* btn */
.btn {
    font-family: var(--primary-font);
    font-weight: 800;
}

/* contact form-style 03 */
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: var(--black) !important;
    text-overflow: ellipsis;
    opacity: 1;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
    color: var(--black) !important;
    text-overflow: ellipsis;
    opacity: 1;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: var(--black) !important;
    text-overflow: ellipsis;
    opacity: 1;
}

input,
select,
textarea,
.form-control,
.form-select {
    color: var(--black) !important;
}

/* media query responsive */
@media (min-width: 1400px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1440px;
    }
}

@media (max-width: 1199px) {
    .fs-150 {
        font-size: 5.75rem;
        line-height: 5.7rem;
    }

    .fs-220 {
        font-size: 8.5rem;
        line-height: 8.5rem;
    }

    .fs-280 {
        font-size: 12rem;
        line-height: 12rem;
    }
}

@media (max-width: 991px) {
    .navbar.bg-transparent {
        background-color: transparent !important;
    }

    .fs-150 {
        font-size: 4.75rem;
        line-height: 4.7rem;
    }

    .fs-220 {
        font-size: 6.5rem;
        line-height: 6.5rem;
    }

    header .navbar-brand {
        padding: 30px 0;
    }

    .fs-280 {
        font-size: 10rem;
        line-height: 10rem;
    }

    .navbar-collapse-show[data-mobile-nav-style=full-screen-menu] .navbar-full-screen-menu-inner {
        background-image: none !important;
    }

    [data-mobile-nav-style=full-screen-menu] .navbar-full-screen-menu-inner .navbar-nav {
        text-align: center;
    }

    [data-mobile-nav-style=full-screen-menu] .navbar-full-screen-menu-inner .navbar-nav>.nav-item {
        border-bottom: 0;
        padding: 0;
    }

    [data-mobile-nav-style=full-screen-menu] .navbar-full-screen-menu-inner .navbar-nav .nav-item .nav-link {
        font-size: 42px;
        line-height: 46px;
    }
}

@media (max-width: 575px) {
    header .navbar-brand {
        padding: 15px 0;
    }

    header .navbar-brand img {
        max-height: 55px;
    }

    .fs-150 {
        font-size: 3.75rem;
        line-height: 3.7rem;
    }

    .fs-220 {
        font-size: 4.625rem;
        line-height: 4.625rem;
    }

    .fs-280 {
        font-size: 6rem;
        line-height: 8rem;
    }
}

.blog-only-text .card .dark-hover:hover {
    background-color: #333;
}

/* Premium UI & Caching Animations */
.transition-y {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.transition-y:hover {
    transform: translateY(-6px);
}
.hover-shadow-large:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08) !important;
}

.glass-card {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(209, 213, 219, 0.3) !important;
}

.text-gradient-base {
    background: linear-gradient(135deg, var(--base-color) 0%, #00a5e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding: 0.05em 0.15em;
    margin: -0.05em -0.15em;
    vertical-align: middle;
}

/* Responsive typography and layout adjustments for seamless viewport flow */
@media (max-width: 991px) {
    .pricing-table-style-05 .card,
    .pricing-table-style-05 .col {
        margin-bottom: 15px;
    }
}
@media (max-width: 767px) {
    section {
        padding: 50px 0 !important;
    }
    .top-space-margin {
        margin-top: 60px !important;
    }
}

/* Portfolio Zoom & Overlay Effects */
.transition-zoom {
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}
.swiper-slide:hover .transition-zoom {
    transform: scale(1.06);
}
.transition-fade {
    transition: opacity 0.4s ease;
}
.swiper-slide:hover .hover-overlay-dark {
    opacity: 1 !important;
}
.bg-dark-opacity-4 {
    background: rgba(0, 0, 0, 0.45);
}

.glass-card-dark {
    background: rgba(18, 18, 18, 0.82) !important;
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Redesign Premium Utilities */
.glass-card-light {
    background: rgba(255, 255, 255, 0.45) !important;
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.04) !important;
}

.hover-glow-accent {
    transition: box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.hover-glow-accent:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px -10px rgba(0, 165, 229, 0.35) !important;
}

.text-gradient-neon {
    background: linear-gradient(135deg, #0072ff 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Portfolio Filter Transition Utilities */
.portfolio-item-wrap {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: scale(1);
}
.portfolio-item-wrap.portfolio-hide {
    opacity: 0;
    transform: scale(0.8);
    position: absolute;
    visibility: hidden;
    pointer-events: none;
    width: 0;
    height: 0;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
}

.portfolio-filter-btn {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: transparent;
}
.portfolio-filter-btn.active {
    background: var(--base-color) !important;
    color: var(--white) !important;
    border-color: var(--base-color) !important;
    box-shadow: 0 4px 15px rgba(0, 165, 229, 0.2);
}

/* Hero Button High-Visibility Hover Overrides */
.btn.btn-black {
    background-color: var(--black);
    color: #ffffff !important;
    border: 1px solid var(--black);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn.btn-black:hover,
.btn.btn-black:focus,
.btn.btn-black:active {
    background-color: #0072ff !important;
    border-color: #0072ff !important;
    color: #ffffff !important;
    box-shadow: 0 12px 28px -6px rgba(0, 114, 255, 0.45);
}

.btn.btn-black:hover i,
.btn.btn-black:focus i {
    color: #ffffff !important;
}

.btn.btn-transparent-light-gray {
    background-color: rgba(255, 255, 255, 0.85);
    border: 1px solid #d1d5db;
    color: #111827 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn.btn-transparent-light-gray:hover,
.btn.btn-transparent-light-gray:focus,
.btn.btn-transparent-light-gray:active {
    background-color: #111827 !important;
    border-color: #111827 !important;
    color: #ffffff !important;
    box-shadow: 0 10px 25px -5px rgba(17, 24, 39, 0.3);
}

.badge-premium {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-block;
}

/* ======================================================
   Electric Border & Energy Pulse Effect for Core Services
========================================================= */

@property --electric-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotateElectricBorder {
    0% {
        --electric-angle: 0deg;
        transform: rotate(0deg);
    }
    100% {
        --electric-angle: 360deg;
        transform: rotate(360deg);
    }
}

/* Electric Card Outer Track */
.electric-card {
    position: relative;
    border-radius: 16px;
    background: #ffffff;
    padding: 2px;
    isolation: isolate;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    box-shadow: 0 10px 30px -10px rgba(0, 114, 255, 0.08);
    height: 100%;
}

/* Electric Energy Rotating Light Beam */
.electric-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from var(--electric-angle),
        transparent 55%,
        rgba(0, 242, 254, 0.25) 75%,
        #00f2fe 88%,
        #0072ff 95%,
        #ffffff 99%,
        transparent 100%
    );
    z-index: 1;
    animation: rotateElectricBorder 4.5s linear infinite;
    opacity: 0.7;
    transition: opacity 0.4s ease;
}

/* Outer High-Voltage Ambient Glow Layer */
.electric-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from var(--electric-angle),
        transparent 65%,
        #00f2fe 80%,
        #0072ff 92%,
        #ffffff 99%,
        transparent 100%
    );
    z-index: 0;
    filter: blur(16px);
    animation: rotateElectricBorder 4.5s linear infinite;
    opacity: 0.35;
    transition: opacity 0.4s ease, filter 0.4s ease;
}

/* Inner Glass Card Content Overlay */
.electric-card-inner {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    height: 100%;
    width: 100%;
    transition: background 0.4s ease;
}

/* Electric Top Spark Arc */
.electric-card .electric-top-spark {
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00f2fe, #ffffff, #0072ff, transparent);
    z-index: 3;
    opacity: 0.85;
    box-shadow: 0 0 10px #00f2fe, 0 0 20px #0072ff;
    transition: opacity 0.4s ease, left 0.4s ease, right 0.4s ease;
}

/* Hover Elevation & High-Voltage Intensity */
.electric-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 22px 45px -12px rgba(0, 114, 255, 0.32), 0 0 25px rgba(0, 242, 254, 0.25);
}

.electric-card:hover::before {
    opacity: 1;
    animation: rotateElectricBorder 2.2s linear infinite;
}

.electric-card:hover::after {
    opacity: 0.9;
    filter: blur(22px);
    animation: rotateElectricBorder 2.2s linear infinite;
}

.electric-card:hover .electric-top-spark {
    opacity: 1;
    left: 4%;
    right: 4%;
    box-shadow: 0 0 16px #00f2fe, 0 0 30px #0072ff;
}

.electric-card:hover .electric-card-inner {
    background: #ffffff;
}

/* ======================================================
   Interactive Animated 3D Card System for Pricing & Packaging
========================================================= */

.pricing-3d-wrapper {
    perspective: 1200px;
    height: 100%;
    width: 100%;
}

.pricing-3d-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.07);
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.25rem 1.75rem;
}

/* Glassmorphism variant for Popular plan */
.pricing-3d-card.popular-3d-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(240, 246, 255, 0.95));
    border: 1px solid rgba(0, 114, 255, 0.3);
    box-shadow: 0 20px 45px -12px rgba(0, 114, 255, 0.2);
}

/* 3D Holographic Glare Layer */
.pricing-3d-card-glare {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: radial-gradient(
        circle at var(--glare-x, 50%) var(--glare-y, 50%),
        rgba(255, 255, 255, 0.5) 0%,
        rgba(0, 242, 254, 0.15) 35%,
        transparent 70%
    );
    pointer-events: none;
    opacity: 0;
    z-index: 10;
    transition: opacity 0.3s ease;
    mix-blend-mode: overlay;
}

.pricing-3d-card:hover .pricing-3d-card-glare {
    opacity: 1;
}

/* Inner 3D Content Body */
.pricing-3d-card-body {
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Floating 3D Elements with Z-axis depth elevation */
.pricing-3d-layer-badge {
    transform: translateZ(35px);
    transition: transform 0.2s ease;
    display: inline-block;
}

.pricing-3d-layer-title {
    transform: translateZ(25px);
    transition: transform 0.2s ease;
}

.pricing-3d-layer-price {
    transform: translateZ(45px);
    transition: transform 0.2s ease;
}

.pricing-3d-layer-list {
    transform: translateZ(30px);
    transition: transform 0.2s ease;
}

.pricing-3d-layer-btn {
    transform: translateZ(50px);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

/* Active Hover Elevation & Shadow Intensification */
.pricing-3d-card:hover {
    box-shadow: 0 30px 60px -15px rgba(0, 114, 255, 0.22), 0 0 30px rgba(0, 242, 254, 0.15);
    border-color: rgba(0, 114, 255, 0.35);
}

.pricing-3d-card.popular-3d-card:hover {
    box-shadow: 0 35px 70px -15px rgba(0, 114, 255, 0.35), 0 0 40px rgba(0, 242, 254, 0.3);
    border-color: #0072ff;
}

/* Popular Card Top Electric Accent Strip */
.popular-3d-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0072ff, #00f2fe, #0072ff);
    z-index: 3;
}


