/* Full-page preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
}

.logo-container {
    position: relative;
    width: 80px;
    height: 80px;
    overflow: hidden;

    /* Use logo as mask */
    -webkit-mask-image: url('/assets/images/preloader_icon.webp');
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    -webkit-mask-position: center;
    mask-image: url('/assets/images/preloader_icon.webp');
    mask-repeat: no-repeat;
    mask-size: contain;
    mask-position: center;

    background-color: #1682ed; /* Color of the logo */

    animation: fadePulse 1.5s ease-in-out infinite;
}

/* Shine effect using pseudo-element */
.logo-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.17) 25%,
        rgba(255, 255, 255, 0.32) 50%,
        rgba(255, 255, 255, 0.17) 25%
    );
    transform: skewX(-25deg);
    animation: shine 2s infinite;



}

/* Shine animation */
@keyframes shine {
    0% { left: -75%; }
    100% { left: 125%; }
}

/* Loading text styling */
.loading-text {
    margin-top: 15px;
    font-size: 15px;
    color: #1682ed;
    opacity: 0.8;
    animation: fadePulse 1.5s ease-in-out infinite;
}

/* Fade animation for text */
@keyframes fadePulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Hide preloader on page load */
body.loaded .preloader {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}



@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400;500;600;700&family=Inter:wght@100;300;400;500;700;800;900&family=Poppins:ital,wght@0,100;0,300;0,400;0,500;0,600;0,700;0,800;1,500&display=swap');







/* Style the main browser scrollbar */
::-webkit-scrollbar {
    width: 12px; /* Width of the scrollbar */
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1; /* Color of the track */
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888; /* Color of the scroll handle */
    border-radius: 6px; /* Rounded corners */
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555; /* Darker color on hover */
}

:root {

    /* Color Styles */
    --primary: #0044A0;
    --primary-light: #0c66d9;
    --dark-brown: #272D4E;
    --gray-1: #798092;
    --gray-2: #E6E6ED;
    --white: #FFFFFF;

    /* Font Size Desktop */
    --header-1: 64px;
    --header-2: 48px;
    --header-3: 42px;
    --header-4: 32px;

    --text-medium: 18px;
    --text-regular: 16px;
    --text-light: 13px;

    /* Font Weight */
    --font-weight-bold: 700;
    --font-weight-semi-bold: 600;
    --font-weight-medium: 500;
    --font-weight-regular: 400;
    --font-weight-light: 300;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* BUTTON PRIMARY */

.btn {
    padding: 15px 25px;
    border-radius: 6px;
    font-size: var(--text-medium);
    font-weight: var(--font-weight-medium);
    border: none;
}

.btn-primary {
    background-color: var(--primary);
}

.btn-primary:focus {
    background-color: var(--primary-light);
}

.btn-primary:hover {
    background-color: var(--primary-light);
}

/* BUTTON SECONDARY */

.btn-secondary {
    background-color: var(--gray-2);
    color: var(--gray-1);
}

.btn-secondary:focus {
    background-color: var(--white);
    box-shadow: 0px 4px 19px rgba(0, 0, 0, 0.05) !important;
    color: var(--gray-1);
}

.btn-secondary:hover {
    background-color: var(--white) !important;
    box-shadow: 0px 4px 19px rgba(0, 0, 0, 0.05) !important;
    color: var(--gray-1);
}

html {
    scroll-behavior: smooth;
}


/* NAVBAR */




.scrolled .animated-icon1 span {
    background: #007BFF;
}

.backdrop-blur-lg {
    -webkit-backdrop-filter: blur(16px) !important;
    backdrop-filter: blur(16px) !important;
}

.navbar-brand img {
    padding-right: 16px;
}

.navbar-brand span {
    font-size: var(--text-medium);
    font-weight: var(--font-weight-medium);
    color: var(--dark-brown);
}



.navbar {
    position: absolute; /* normal in Hero */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: top 0.4s ease-in-out;

    padding: 40px 0;
}

/* Fixed state starts hidden above */
.navbar.fixed {
    position: fixed;
    top: -80px; /* start above */
    left: 0;
    width: 100%;

    background-color: rgb(248 250 252 / 0.7);

    -webkit-backdrop-filter: blur(16px) !important;
    backdrop-filter: blur(16px) !important;

    padding: 15px 0!important;
}

/* Slide down */
.navbar.fixed.show {
    top: 0;
}







a.nav-link {
    margin-right: 39px;
    font-size: var(--text-regular);
    font-weight: var(--font-weight-regular);
    color: var(--dark-brown) !important;
}



/* Mobile collapsed background */
@media (max-width: 991px) {
    .navbar-collapse {
        background: #222;
        padding: 15px;
        border-radius: 12px;
        margin-top: 10px;

    }

    .navbar-nav .nav-link {
        color: #fff !important;
    }

    a.nav-link {
        margin-right: 39px;
        font-size: var(--text-regular);
        font-weight: var(--font-weight-regular);
        color: var(--dark-brown) !important;
    }



    /* Smooth dropdown feel */
    .navbar-collapse {
        transition: all 0.3s ease-in-out;
    }

    /* Collapsed menu links */
    .navbar-nav .nav-link {
        padding: 10px 15px;
        border-radius: 8px;
        transition: background 0.2s, color 0.2s;

    }

    .navbar-nav .nav-link:hover {
        background: #007BFF;
        color: #fff !important;
    }
}




/* HERO */



.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;

    margin: 0!important;
}
.hero h1 {
    /*font-size: 3rem;*/
    font-weight: 700;
    background: linear-gradient(to right, #1e3a8a, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    max-width: 500px;
    font-size: 1.1rem;
    margin-top: 1rem;
}


section.hero {
    background-image:
        radial-gradient(at 20% 25%, hsla(212, 90%, 80%, 0.3) 0px, transparent 50%),
        radial-gradient(at 80% 20%, hsla(289, 80%, 80%, 0.2) 0px, transparent 50%),
        radial-gradient(at 25% 80%, hsla(320, 70%, 75%, 0.25) 0px, transparent 50%),
        radial-gradient(at 75% 75%, hsla(180, 80%, 70%, 0.2) 0px, transparent 50%);
    background-size: 200% 200%;



}




.hero-content {
    z-index: 1;
}

.text-label,
.text-hero-bold,
.text-hero-regular {
    margin: 24px 0;
}

.text-label {
    color: var(--primary);
    font-size: var(--text-regular);
    font-weight: var(--font-weight-regular);
    line-height: 31px;
}

.text-hero-bold {
    color: var(--dark-brown);
    font-size: var(--header-1);
    font-weight: var(--font-weight-bold);
    line-height: 74px;
}

.text-hero-regular {
    color: var(--gray-1);
    font-size: var(--text-regular);
    font-weight: var(--font-weight-regular);
    line-height: 31px;
}




/* DESKTOP VERSION ONLY */

@media (min-width: 1399.98px) {

    .container {
        width: 84%;
    }

    /* TESTIMONI BRAND */
    .testimoni-brand {
        padding: 4rem 5rem;
    }
}

/* MOBILE VERSION ONLY */

@media (max-width: 576px) {

    /* NAVBAR */

    .navbar {
        padding: 28px 0;
    }

    a.nav-link {
        margin-right: 7px;
    }

    /* HERO */

    section.hero {
        margin: 2rem 0;
        text-align: center;
    }

    .btn {
        display: block;
        margin: 1rem 0;
    }

    .ms-3 {
        margin-left: 0 !important;
    }

    .text-label,
    .text-hero-bold,
    .text-hero-regular {
        text-align: center;
    }

    .text-hero-bold {
        font-weight: var(--font-weight-bold);
        font-size: var(--header-3);
        line-height: 64px;
    }

    section.hero img {
        margin: 2rem 0;
    }
}


/* TABLET SMALL VERSION ONLY */

@media (max-width: 768px) {

    /* NAVBAR */

    .navbar {
        padding: 28px 0;
    }

    a.nav-link {
        margin-right: 7px;
    }

    /* HERO */

    section.hero {
        margin: 1rem 0;
    }

    .text-hero-bold {
        font-weight: var(--font-weight-bold);
        font-size: var(--header-3);
        line-height: 64px;
    }

    section.hero img {
        margin: 2rem 0;
    }

}


/* TABLET MEDIUM & LARGE VERSION ONLY */

@media (max-width: 992px) {
    /* NAVBAR */

    .navbar {
        padding: 28px 0;
    }

    a.nav-link {
        margin-right: 7px;
    }

    /* HERO */

    section.hero {
        margin: 1rem 0;
    }

    .text-hero-bold {
        font-weight: var(--font-weight-bold);
        font-size: var(--header-3);
        line-height: 64px;
    }

    section.hero img {
        margin: 2rem 0;
    }
}






.wave-background svg {
    display: block;
    width: 100%!important;
    -webkit-width: 100%;
    height: 300px;
}


@media (max-width: 768px) {
    .wave-background svg{
        height: 180px;
    }
}


#cta {
    background-image: linear-gradient(rgba(0, 153, 255, 0.5), rgba(0, 123, 255, 0.5)), url("/assets/img/cover_contact.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;

}

.contact-details {
    margin-top: 20px;
}
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    text-align: left;
}

.contact-item .contact-text{
    padding-top: 20px;
}

.contact-item .icon-border  {
    color: #007bff;
    margin-right: 20px;
}

.contact-item .icon-border i {
    font-size: 30px;
}

.icon-border {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    background-color: #f8f9fa; /* Background color same as contact-info */
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .contact-item {
        text-align: center;
        display: block;
        align-items: center;
    }

    .contact-details p {
        font-size: 0.8em;
    }

    .contact-item .icon-border  {
        margin-right: 0px;
    }
}

.footer-content {
    font-size: 15px!important;
}

















.panel .content {
    background: #ffffff; border: 1px solid #e5e7eb; border-radius: 28px; box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06); padding: clamp(24px, 5vw, 56px);
}
.eyebrow { display:inline-flex; align-items:center; gap:.5rem; font-weight: 600; letter-spacing: .02em; color: #475569; }
.eyebrow i { color: #2563eb; font-size: 1.5em }


p.lead { font-size: clamp(1rem, .95rem + .4vw, 1.15rem); color: #475569; margin-bottom: 1rem; }
.chips{ display:flex; flex-wrap:wrap; gap:.5rem; margin-top: .5rem; }
.chip{ border:1px dashed #e5e7eb; color:#334155; background:#f8fafc; padding:.35rem .6rem; border-radius:999px; font-size:.85rem; }
.cta { display:inline-flex; align-items:center; gap:.5rem; margin-top: 1rem; text-decoration: none; font-weight:700; color: #2563eb; }
.cta:hover { text-decoration: underline; }


.fixed-heading {
    position: fixed;
    top: 20px;
    width: 100%;
    text-align: center;
    z-index: 999;
    font-size: 2rem;
    font-weight: 800;
    color: #2563eb;
}

.horizontal-wrapper {
    display: flex;


}


.panel {
    flex: 0 0 50vw;


    justify-content: center;
    align-items: center;
    position: relative;
    padding: 5%;
}


@media (max-width: 1599px) and (min-width: 1200px) {
    .panel {
        flex: 0 0 70vw!important;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .panel {
        flex: 0 0 70vw!important;
    }
}


.panel .blob {
    position: absolute;
    max-width: 50%;
    max-height: 50%;
}

@media (max-width: 768px) {
    .horizontal-wrapper {
        flex-direction: column; /* fallback vertical scroll on mobile */
        height: auto;
    }
    .panel {
        flex: 0 0 auto;
        width: 100%;
        padding: 5% 3%;
    }
}

.section-head{
    text-align:center!important;
    padding-top: 100px;
    position: relative;
    left: 0;
    right: 0;

}



.headline{
    font-weight: 800;
    letter-spacing: .5px;
    line-height: 1.3;
    font-size: clamp(2rem, 2.5vw + 1rem, 3.2rem);
    background: linear-gradient(90deg, #90deff, #785afb, #90deff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}










.portfolio-section {
    padding: 100px 0;
    background: #f4f8fd;
}

.portfolio-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 100px;
    opacity: 0;
    transform: translateY(50px);
}

.card-content {
    flex: 1 1 400px;
    padding: 20px;
}

.card-content h2 {
    font-size: 2.8rem;
    color: #003366;
    margin-bottom: 20px;
}

.card-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/*
.btn {
    display: inline-block;
    padding: 12px 25px;
    background: #205be0;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn:hover {
    background: #3472fd;
    color: #ffffff;
}
*/

.card-image {
    flex: 1 1 400px;
    padding: 20px;
    text-align: center;
}

.card-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transition: transform 0.5s;
}

.card-image:hover img {
    transform: scale(1.05) rotate(1deg);
}








.img-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: relative;
    width: 75%;
    top: 75vh;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 1px;
}

.img-group div {
    position: relative;
    width: 20%;
    aspect-ratio: 1/1;
    max-width: 124px;
    background-repeat: no-repeat;
    background-size: contain;
}




/*portfolio*/





/* Layout: sticky left, scrollable right */
#portfolio .port-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr;
    gap: 28px;
    align-items: start;
}
#portfolio .port-left .summery_container {
    position: sticky;
    top: 16px;
    align-self: start;
    padding: 20px;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 20px;
    background: linear-gradient(to bottom right, rgba(255,255,255,.9), rgba(255,255,255,.6));
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 40px rgba(0,0,0,.1);
    color: #374151;            /* gray-700 */
}
#portfolio .port-left .tagline {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
#portfolio .pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f3f4f6;       /* gray-100 */
    color: #374151;            /* gray-700 */
    font-size: 13px;
    border: 1px solid rgba(0,0,0,.06);
}
#portfolio .live-meta {
    margin-top: 14px;
    color: #394350;            /* gray-600 */
    font-size: 14px;
}
#portfolio .live-meta strong {
    color: #111827;            /* gray-900 */
}

#portfolio .port-right {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

#portfolio .card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,1), rgba(255,255,255,.95));
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
    transition: transform .3s ease, box-shadow .3s ease;
}
#portfolio .card-media {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}
#portfolio .card-media img,
#portfolio .card-media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.05);
    top: -23px;
}
#portfolio .card-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 45%;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,.85));
}
#portfolio .card-body {
    position: relative;
    padding: 18px 18px 20px 18px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
}
#portfolio .card-title {
    font-size: clamp(18px, 2.2vw, 24px);
    margin: 0;
    color: #111827;            /* gray-900 */
}
#portfolio .card-desc {
    grid-column: 1/-1;
    color: #4b5563;            /* gray-600 */
    margin-top: -2px;
}
#portfolio .tech {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
#portfolio .tech span {
    font-size: 12px;
    color: #374151;            /* gray-700 */
    padding: 6px 10px;
    background: #f9fafb;       /* gray-50 */
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 999px;
}

#portfolio .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(37,99,235,.1); /* blue-600 @ 10% */
    color: #1d4ed8;                  /* blue-700 */
    text-decoration: none;
    border: 1px solid rgba(37,99,235,.35);
    backdrop-filter: blur(6px);
}
#portfolio .btn i {
    font-size: 14px;
}

/* Hover motion */
#portfolio .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 60px rgba(0,0,0,.15);
}
#portfolio .card:hover .card-media img {
    transform: scale(1.04);
}

/* Mobile: stacked + simple fade-up */
@media (max-width: 820px) {
    #portfolio .port-grid {
        grid-template-columns: 1fr;
    }
    #portfolio .port-left {
        position: relative;
        top: auto;
    }
}

/* Little progress line */
#portfolio .progress-wrap {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.02));
}
#portfolio .progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 0;
    background: linear-gradient(180deg, #2563eb, #60a5fa);
    border-radius: 0 4px 4px 0;
}

/* Subtle grid backdrop */
#portfolio .grid-bg {
    position: absolute;
    inset: -1px;
    background-image: radial-gradient(rgba(0,0,0,.06) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: .15;
    pointer-events: none;
}



/*out tech*/

#tech-expertise {
    padding: 100px 0;
    background: #f9f9f9;
    font-family: 'Poppins', sans-serif;
}

.section-header h6 {
    color: #f27432;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-top: 10px;
    margin-bottom: 50px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.tech-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.tech-card img {
    width: 60px;
    margin-bottom: 20px;
}

.tech-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.tech-card p {
    font-size: 0.95rem;
    color: #555;
}

.tech-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

