/* ===================================
    Crafto - It business
====================================== */
/* font */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200;300;400;500;600;700;800&amp;display=swap');
/* variable */
:root {     
    --base-color: #074eb9; 
    --dark-gray:#252840;
    --black:#05060a;
    --medium-gray:#7d8087;
    --very-light-gray: #f0f2f8;
    --primary-font: 'Plus Jakarta Sans', sans-serif;
}
/* reset */
body{
    line-height: 29px;
}
/* header */
header .navbar-brand img {
    max-height: 32px;
} 
.navbar .navbar-nav .nav-link {
    font-size: 17px;
}
header .btn.btn-rounded.btn-large {
    padding:10px 26px;
    font-size: 13px;
    font-weight: 500;
}
.sticky .header-transparent .header-button .btn {
    color: var(--dark-gray);
    border-color: var(--extra-medium-gray);
}
.sticky .header-transparent .header-button .btn:hover {
    border-color: var(--dark-gray);
    color: var(--white);
    background:  var(--dark-gray);
}
header.sticky.sticky-active [data-header-hover="light"] .widget-text i {
    color: var(--white);
}
/* accordion style 02 */
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu {
    background-color: var(--dark-gray);
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li:hover a,
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li.active a{
    opacity: .5;
}
/* btn */
[class*=btn-transparent], [class*=" btn-transparent"] {
    font-weight: 500;
}
.btn {
    text-transform: none;
    font-family: var(--primary-font);
}
.btn.btn-switch-text.btn-extra-large > span {
    padding: 19px 40px;
}
.btn-gradient-purple-pink {
    background-image: linear-gradient(to right, #0b58cb, #e94037, #0b58cb);
    background-size: 200% auto;
    color: var(--white);
}
/* bg gradient color */
.bg-gradient-dark-gray-transparent { 
    background: -webkit-linear-gradient(right, rgba(24, 25, 28, .5), rgba(255, 255, 255, 0.0));
    background: linear-gradient(to right, rgba(24, 25, 28, .5), rgba(255, 255, 255, 0.0));
}
.bg-gradient-very-light-gray-transparent {
    background: -webkit-linear-gradient(right, rgba(240, 244, 253, 1.0), rgba(255, 255, 255, 0.0));
    background: linear-gradient(to right, rgba(240, 244, 253, 1.0), rgba(255, 255, 255, 0.0));
}
.bg-gradient-flamingo-red-transparent {
    background: -webkit-linear-gradient(right, rgba(243, 69, 59, 1.0), rgba(255, 255, 255, 0.0));
    background: linear-gradient(to right, rgba(243, 69, 59, 1.0) 10%, rgba(255, 255, 255, 0.0) 95%);
}
.bg-gradient-base-color-transparent {
    background: -webkit-linear-gradient(right, rgba(15, 89, 201, 1.0), rgba(255, 255, 255, 0.0));
    background: linear-gradient(to right, rgba(15, 89, 201, 1.0) 10%, rgba(255, 255, 255, 0.0) 95%);
}
.bg-gradient-light-gray-transparent {
    background: -webkit-linear-gradient(right, rgba(222, 230, 244, 1.0), rgba(255, 255, 255, 0.0));
    background: linear-gradient(to right, rgba(222, 230, 244, 1.0), rgba(255, 255, 255, 0.0));
}
.bg-midnight-blue {
    background-color: #1e2033;
}
/* text */
.text-flamingo {
    color: #e55b53;
}
.text-gradient-orange-sky-blue {
    background-image: linear-gradient(to right, #5e70f3, #6170f1, #8074dc, #b87bb6, #ec8192);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: 25px;
}
/* portfolio filter */
.portfolio-filter li {
    padding: 0 18px;
    line-height: 24px;
}
/* blog */ 
.categories-btn {
    font-size: 11px;
}
/* page title */
.page-title-extra-large h1 {
    font-size: 4rem;
    line-height: 4rem;
}
.page-title-extra-large h2 {
    font-size: 17px;
    line-height: 28px;
    margin: 0 auto;
}
.process-step-style-05 .progress-step-separator {
    bottom: -10px;
    height: 100%;
    z-index: -1;
}
/* height */
.h-72px {
    height: 72px !important;
}
#map {
    height: 650px;
    border-radius: 6px 0 0 6px;
}
/* margin top */
.mt-minus-50px {
    margin-top: -50px;
}
/* line-height */
.lh-200 {
    line-height: 12.5rem;
}
/* bottom */
.bottom-auto {
    bottom: auto;
}
/* footer */
footer .footer-logo img {
    max-height: 35px;
}
footer ul li {
    margin-bottom: 0;
}
.footer-light a:hover, .footer-navbar li a:hover {
    color: var(--dark-gray);
}
@media (max-width: 1299px) {
    .navbar .navbar-nav .nav-link {
        font-size: 16px;
    }
    header .btn.btn-rounded.btn-large {
        padding: 10px 15px;
        font-size: 12px; 
    }
}
@media (max-width: 1199px) {
    .navbar .navbar-nav .nav-link {
        font-size: 15px;
    }
    header .btn.btn-rounded.btn-large {
        padding: 10px 10px;
        font-size: 11px; 
    }
}
@media (max-width: 991px) {
    .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu {
        width: calc(100% + 30px) !important;
        margin-left: -15px;
        padding: 10px 45px;
        margin-bottom: 0;
        margin-right: -15px;
    }
    .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li:last-child a {
        padding-bottom: 17px;
    }
    [data-mobile-nav-style=full-screen-menu] .navbar-full-screen-menu-inner .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a i {
        font-size: 19px;
    }
    header .btn.btn-rounded.btn-large {
        color: var(--dark-gray);
        border-color: var(--extra-medium-gray);
        padding: 10px 15px;
        font-size: 13px;
    }
}
@media (max-width: 767px) {
    .portfolio-filter li {
        padding: 0;
    }
}

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #091fe1 0%, #0732a5 50%, #03051d 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    color: white;
    position: relative;
}

.preloader-logo {
    width: 120px;
    height: auto;
    margin: 0 auto 30px;
    animation: logoFloat 2s ease-in-out infinite;
}

.preloader-logo-img {
    width: 100%;
    height: auto;
    max-width: 120px;
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.2));
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #ffffff;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

.preloader-progress {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    margin: 20px auto;
    overflow: hidden;
}

.preloader-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ffffff 0%, #e0e7ff 100%);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 3px;
    position: relative;
}

.preloader-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.8) 50%, transparent 100%);
    animation: progressLoad 1.5s ease-in-out infinite;
}

.preloader-text {
    font-size: 16px;
    font-weight: 500;
    margin-top: 15px;
    animation: textPulse 1.5s ease-in-out infinite;
    letter-spacing: 1px;
}

.preloader-dots::after {
    content: '...';
    animation: dots 1.5s steps(3, end) infinite;
}

/* Preloader Animations */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes textPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes dots {
    0% {
        content: '';
    }
    25% {
        content: '.';
    }
    50% {
        content: '..';
    }
    75%, 100% {
        content: '...';
    }
}

@keyframes progressLoad {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* Responsive adjustments for preloader */
@media (max-width: 768px) {
    .preloader-logo {
        width: 80px;
        margin-bottom: 25px;
    }
    
    .preloader-logo-img {
        max-width: 80px;
    }
    
    .preloader-spinner {
        width: 40px;
        height: 40px;
    }
    
    .preloader-progress {
        width: 150px;
    }
    
    .preloader-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .preloader-logo {
        width: 60px;
        margin-bottom: 20px;
    }
    
    .preloader-logo-img {
        max-width: 60px;
    }
    
    .preloader-spinner {
        width: 35px;
        height: 35px;
    }
    
    .preloader-progress {
        width: 120px;
    }
    
    .preloader-text {
        font-size: 13px;
    }
}

/* Scroll to Top Arrow Button */
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #074eb9 0%, #0b58cb 100%);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(7, 78, 185, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top-btn.show {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.scroll-to-top-btn:hover {
    background: linear-gradient(135deg, #0b58cb 0%, #074eb9 100%);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(7, 78, 185, 0.6);
}

.scroll-to-top-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 2px 10px rgba(7, 78, 185, 0.4);
}

.scroll-to-top-btn i {
    line-height: 1;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .scroll-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .scroll-to-top-btn {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Responsive background image for home banner - below 1000px */
@media (max-width: 1000px) {
    section.cover-background[style*="home-banner.jpg"] {
        background-size: contain !important;
        /* background-position: center center !important;
        background-attachment: scroll !important;
        background-repeat: no-repeat !important; */
    }
}

@media (max-width: 767px) {
    section.cover-background[style*="home-banner.jpg"] {
        background-size: cover !important;
        background-position: center center !important;
        min-height: 500px;
    }
}

@media (max-width: 480px) {
    section.cover-background[style*="home-banner.jpg"] {
        background-size: cover !important;
        background-position: center center !important;
        min-height: 400px;
    }
}

/* Animation for service page images */
@keyframes serviceImageFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Apply animation to all service page images */
img[src*="branding-about.png"],
img[src*="erp-about.jpg"],
img[src*="digital-marketing-about.png"],
img[src*="app-about.jpg"],
img[src*="nfc-about.jpg"],
img[src*="software-about.jpg"],
img[src*="webhosting-about.jpg"],
img[src*="website-about.jpg"],
img[src*="cloud-about.jpg"],
img[src*="networking-about.jpg"],
img[src*="demo-it-business-services-details-01.jpg"] {
    animation: serviceImageFloat 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

img[src*="branding-about.png"]:hover,
img[src*="erp-about.jpg"]:hover,
img[src*="digital-marketing-about.png"]:hover,
img[src*="app-about.jpg"]:hover,
img[src*="nfc-about.jpg"]:hover,
img[src*="software-about.jpg"]:hover,
img[src*="webhosting-about.jpg"]:hover,
img[src*="website-about.jpg"]:hover,
img[src*="cloud-about.jpg"]:hover,
img[src*="networking-about.jpg"]:hover,
img[src*="demo-it-business-services-details-01.jpg"]:hover {
    transform: translateY(-5px) scale(1.02);
    transition: transform 0.3s ease;
}

/* Animation for penta-banner.png */
.penta-banner-animated {
    animation: serviceImageFloat 3s ease-in-out infinite;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 10px 20px rgba(255, 255, 255, 0.3));
    display: block;
    margin: 0 auto;
}

.penta-banner-animated:hover {
    animation-play-state: paused;
    transform: translateY(-5px) scale(1.02);
    filter: drop-shadow(0 15px 30px rgba(255, 255, 255, 0.5));
}

/* Decrease size of penta-banner */
img[src*="penta-banner.png"] {
    max-width: 400px;
    width: 100%;
    height: auto;
}

@media (max-width: 1200px) {
    img[src*="penta-banner.png"] {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    img[src*="penta-banner.png"] {
        max-width: 250px;
    }
}

/* Animation for about-team.jpg */
.about-team-animated {
    animation: serviceImageFloat 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.about-team-animated:hover {
    animation-play-state: paused;
    transform: translateY(-5px) scale(1.02);
}

/* Responsive styles for hero section */
@media (max-width: 1199px) {
    /* Hide penta-banner image below 1200px */
    section[style*="home-banner.jpg"] .atropos {
        display: none !important;
    }
    
    section[style*="home-banner.jpg"] .col-xl-6:has(.atropos) {
        display: none !important;
    }
}

@media (max-width: 991px) {
    section[style*="home-banner.jpg"] .container h-100 .row {
        flex-direction: column;
        gap: 30px;
    }
    
    section[style*="home-banner.jpg"] h1 {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }
    
    section[style*="home-banner.jpg"] p {
        font-size: 16px !important;
    }
    
    section[style*="home-banner.jpg"] .btn-extra-large {
        padding: 12px 30px !important;
        font-size: 14px !important;
    }
    
    .atropos {
        transform: scale(0.9);
    }
}

@media (max-width: 767px) {
    section[style*="home-banner.jpg"] h1 {
        font-size: 2rem !important;
        margin-bottom: 15px !important;
    }
    
    section[style*="home-banner.jpg"] p {
        font-size: 15px !important;
        margin-bottom: 20px !important;
    }
    
    section[style*="home-banner.jpg"] .d-flex.flex-wrap {
        flex-direction: column;
        width: 100%;
    }
    
    section[style*="home-banner.jpg"] .btn {
        width: 100%;
        margin: 5px 0 !important;
    }
    
    .atropos {
        transform: scale(0.8);
        margin-top: 20px !important;
    }
}

@media (max-width: 480px) {
    section[style*="home-banner.jpg"] h1 {
        font-size: 1.75rem !important;
        margin-bottom: 10px !important;
    }
    
    section[style*="home-banner.jpg"] p {
        font-size: 14px !important;
    }
    
    section[style*="home-banner.jpg"] .btn {
        padding: 10px 20px !important;
        font-size: 13px !important;
    }
    
    .atropos {
        transform: scale(0.7);
    }
    
    section.cover-background[style*="home-banner.jpg"] {
        padding: 40px 0 !important;
    }
}

/* Cookie Consent Banner Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #091fe1 0%, #0732a5 50%, #03051d 100%);
    color: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 250px;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.cookie-consent-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cookie-consent-accept,
.cookie-consent-decline {
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-consent-accept {
    background: white;
    color: #091fe1;
}

.cookie-consent-accept:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.cookie-consent-decline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cookie-consent-decline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-consent-text {
        margin-bottom: 15px;
    }
    
    .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-consent-accept,
    .cookie-consent-decline {
        flex: 1;
        max-width: 150px;
    }
}