/**
* Template Name: iPortfolio
* Template URL: https://bootstrapmade.com/iportfolio-bootstrap-portfolio-websites-template/
* Updated: Jun 29 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
    --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Raleway", sans-serif;
    --nav-font: "Poppins", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
    --background-color: #ffffff; /* Background color for the entire website, including individual sections */
    --default-color: #272829; /* Default color used for the majority of the text content across the entire website */
    --heading-color: #050d18; /* Color for headings, subheadings and title throughout the website */
    --accent-color: #149ddd; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
    --nav-color: #a8a9b4; /* The default color of the main navmenu links */
    --nav-hover-color: #ffffff; /* Applied to main navmenu links when they are hovered over or active */
    --nav-mobile-background-color: #040b14; /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: #040b14; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: #a8a9b4; /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #ffffff; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
    --background-color: #f4fafd;
    --surface-color: #ffffff;
}

.dark-background {
    --background-color: #040b14;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #151f2b;
    --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);

}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

    a:hover {
        color: color-mix(in srgb, var(--accent-color), transparent 25%);
        text-decoration: none;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
    display: none;
    background: #df1529;
    color: #ffffff;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .sent-message {
    display: none;
    color: #ffffff;
    background: #059652;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .loading {
    display: none;
    background: var(--surface-color);
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

    .php-email-form .loading:before {
        content: "";
        display: inline-block;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        margin: 0 10px -6px 0;
        border: 3px solid var(--accent-color);
        border-top-color: var(--surface-color);
        animation: php-email-form-loading 1s linear infinite;
    }

@keyframes php-email-form-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
    color: var(--default-color);
    background-color: var(--background-color);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    padding: 0 15px;
    width: 300px;
    transition: all ease-in-out 0.3s;
    overflow-y: auto;
    z-index: 999;
   /* border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);*/
}

    .header .profile-img img {
        margin: 15px auto;
        display: block;
        width: 120px;
        border: 8px solid color-mix(in srgb, var(--default-color), transparent 85%);
    }

    .header .logo {
        line-height: 1;
        margin-bottom: 15px;
    }

        .header .logo img {
            max-height: 32px;
            margin-right: 8px;
        }

        .header .logo h1 {
            font-size: 24px;
            margin: 0;
            font-weight: 700;
            color: var(--heading-color);
        }

    .header .social-links {
        margin: 0 0 20px 0;
    }

        .header .social-links a {
            font-size: 16px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: color-mix(in srgb, var(--default-color), transparent 90%);
            color: var(--default-color);
            margin: 0 2px;
            border-radius: 50%;
            text-align: center;
            width: 40px;
            height: 40px;
            transition: 0.3s;
        }

            .header .social-links a:hover {
                color: var(--contrast-color);
                background: var(--accent-color);
            }




@media (min-width: 1200px) {

    .header ~ main,
    .header ~ #footer {
        margin-left: 300px;
    }

}

@media (max-width: 1199px) {
    .header {
        left: -100%;
        width: 400px;
    }
}

.header.header-show {
    left: 0;
}

.header .header-toggle {
    color: var(--contrast-color);
    background-color: var(--accent-color);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    position: fixed;
    top: 10px;
    right: 230px;
    z-index: 9999;
    transition: background-color 0.3s;
}

    .header .header-toggle:hover {
        color: var(--contrast-color);
        background-color: color-mix(in srgb, var(--accent-color) 90%, white 15%);
    }

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.mobile-nav-toggle {
    display: none;
}

.navmenu {
    padding: 0;
    z-index: 9997;
}

    .navmenu ul {
        list-style: none;
        padding: 0 0 20px 0;
        margin: 0;
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-color);
        padding: 0px 10px;
        font-family: var(--nav-font);
        font-size: 16px;
        font-weight: 400;
        display: flex;
        align-items: center;
        white-space: nowrap;
        transition: 0.3s;
        width: 100%;
    }

        .navmenu a .navicon,
        .navmenu a:focus .navicon {
            font-size: 20px;
            margin-right: 10px;
        }

        .navmenu a .toggle-dropdown,
        .navmenu a:focus .toggle-dropdown {
            font-size: 12px;
            line-height: 0;
            margin-left: auto;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: 0.3s;
            flex-shrink: 0;
            background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
        }

            .navmenu a .toggle-dropdown:hover,
            .navmenu a:focus .toggle-dropdown:hover {
                background-color: var(--accent-color);
                color: var(--contrast-color);
            }

        .navmenu a:hover,
        .navmenu .active,
        .navmenu .active:focus {
            color: var(--nav-hover-color);
        }

            .navmenu a:hover .navicon,
            .navmenu .active .navicon,
            .navmenu .active:focus .navicon {
                color: var(--accent-color);
            }

            .navmenu .active .toggle-dropdown,
            .navmenu .active:focus .toggle-dropdown {
                background-color: var(--accent-color);
                color: var(--contrast-color);
                transform: rotate(180deg);
            }

    .navmenu .dropdown {
        display: block;
    }

        .navmenu .dropdown a,
        .navmenu .dropdown a:focus {
            color: --nav-dropdown-color;
        }

            .navmenu .dropdown a:hover,
            .navmenu .dropdown .active,
            .navmenu .dropdown .active:focus {
                color: var(--nav-dropdown-hover-color);
            }

        .navmenu .dropdown ul {
            position: static;
            display: none;
            z-index: 99;
            padding: 5px 10px;
            margin: 5px 10px;
            background-color: var(--nav-dropdown-background-color);
            border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
            box-shadow: none;
            transition: all 0.5s ease-in-out;
        }

            .navmenu .dropdown ul ul {
                background-color: rgba(33, 37, 41, 0.1);
            }

        .navmenu .dropdown > .dropdown-active {
            display: block;
            background-color: rgba(33, 37, 41, 0.03);
        }

    /* When Conversations is open, remove highlight from any NavLink that is active */
    .navmenu.convo-open a.active,
    .navmenu.convo-open a.active:focus {
        color: var(--nav-color) !important;
    }

        /* Remove icon highlight */
        .navmenu.convo-open a.active .navicon {
            color: var(--nav-color) !important;
        }

        /* Reset dropdown icon highlight (if that menu item has one) */
        .navmenu.convo-open a.active .toggle-dropdown {
            background-color: color-mix(in srgb, var(--accent-color), transparent 90%) !important;
            color: inherit !important;
            transform: none !important;
        }

    /* When Profile dropdown is open, remove highlight from any NavLink that is active */
    .navmenu.profile-open a.active,
    .navmenu.profile-open a.active:focus {
        color: var(--nav-color) !important;
    }

        .navmenu.profile-open a.active .navicon {
            color: var(--nav-color) !important;
        }

        .navmenu.profile-open a.active .toggle-dropdown {
            background-color: color-mix(in srgb, var(--accent-color), transparent 90%) !important;
            color: inherit !important;
            transform: none !important;
        }


/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
    color: var(--default-color);
    background-color: var(--background-color);
    font-size: 14px;
    padding: 40px 0;
    position: relative;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

    .footer .copyright p {
        margin-bottom: 0;
    }

    .footer .credits {
        margin-top: 4px;
        font-size: 13px;
        text-align: center;
    }

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    background: var(--background-color);
    transition: all 0.6s ease-out;
}

    #preloader:before {
        content: "";
        position: fixed;
        top: calc(50% - 30px);
        left: calc(50% - 30px);
        border: 6px solid #ffffff;
        border-color: var(--accent-color) transparent var(--accent-color) transparent;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        animation: animate-preloader 1.5s linear infinite;
    }

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: -15px;
    z-index: 99999;
    background-color: var(--accent-color);
    width: 44px;
    height: 44px;
    border-radius: 50px;
    transition: all 0.4s;
}

    .scroll-top i {
        font-size: 24px;
        color: var(--contrast-color);
        line-height: 0;
    }

    .scroll-top:hover {
        background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
        color: var(--contrast-color);
    }

    .scroll-top.active {
        visibility: visible;
        opacity: 1;
        bottom: 15px;
    }

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 25px 0;
    position: relative;
}

    .page-title h1 {
        font-size: 24px;
        font-weight: 700;
    }

    .page-title .breadcrumbs ol {
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        padding: 0;
        margin: 0;
        font-size: 14px;
        font-weight: 400;
    }

        .page-title .breadcrumbs ol li + li {
            padding-left: 10px;
        }

            .page-title .breadcrumbs ol li + li::before {
                content: "/";
                display: inline-block;
                padding-right: 10px;
                color: color-mix(in srgb, var(--default-color), transparent 70%);
            }

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 60px 0;
    overflow: clip;
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
    padding-bottom: 60px;
    position: relative;
}

    .section-title h2 {
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 20px;
        padding-bottom: 20px;
        position: relative;
    }

        .section-title h2:after {
            content: "";
            position: absolute;
            display: block;
            width: 50px;
            height: 3px;
            background: var(--accent-color);
            left: 50%;
            transform: translateX(-50%);
            bottom: 0;
        }

    .section-title p {
        margin-bottom: 0;
    }

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
    width: 100%;
    min-height: 100vh;
    position: relative;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .hero img {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
    }

    .hero:before {
        content: "";
        background: color-mix(in srgb, var(--background-color), transparent 70%);
        position: absolute;
        inset: 0;
        z-index: 2;
    }

    .hero .container {
        position: relative;
        z-index: 3;
    }

    .hero h2 {
        margin: 0;
        font-size: 64px;
        font-weight: 700;
    }

    .hero p {
        margin: 5px 0 0 0;
        font-size: 26px;
    }

        .hero p span {
            letter-spacing: 1px;
            border-bottom: 2px solid var(--accent-color);
        }

    .hero .social-links {
        margin-top: 25px;
    }

        .hero .social-links a {
            font-size: 24px;
            display: inline-block;
            color: color-mix(in srgb, var(--default-color), transparent 50%);
            line-height: 1;
            margin-right: 20px;
            transition: 0.3s;
        }

            .hero .social-links a:hover {
                color: var(--accent-color);
            }

@media (max-width: 768px) {
    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 20px;
    }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h2 {
    font-weight: 700;
    font-size: 24px;
}

.about .content ul {
    list-style: none;
    padding: 0;
}

    .about .content ul li {
        margin-bottom: 20px;
        display: flex;
        align-items: center;
    }

    .about .content ul strong {
        margin-right: 10px;
    }

    .about .content ul i {
        font-size: 16px;
        margin-right: 5px;
        color: var(--accent-color);
        line-height: 0;
    }

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
    padding: 30px;
    width: 100%;
}

    .stats .stats-item i {
        color: var(--accent-color);
        display: block;
        font-size: 44px;
        float: left;
        line-height: 0;
    }

    .stats .stats-item .purecounter {
        color: var(--heading-color);
        font-size: 48px;
        line-height: 40px;
        display: block;
        font-weight: 700;
        margin-left: 60px;
    }

    .stats .stats-item p {
        color: color-mix(in srgb, var(--default-color), transparent 40%);
        padding: 15px 0 0 0;
        margin: 0 0 0 60px;
        font-family: var(--heading-font);
        font-size: 14px;
    }

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
.skills .progress {
    height: 60px;
    display: block;
    background: none;
    border-radius: 0;
}

    .skills .progress .skill {
        color: var(--heading-color);
        padding: 0;
        margin: 0 0 6px 0;
        text-transform: uppercase;
        display: block;
        font-weight: 600;
        font-family: var(--heading-font);
    }

        .skills .progress .skill .val {
            float: right;
            font-style: normal;
        }

.skills .progress-bar-wrap {
    background: color-mix(in srgb, var(--default-color), transparent 90%);
    height: 10px;
}

.skills .progress-bar {
    width: 1px;
    height: 10px;
    transition: 0.9s;
    background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
.resume .resume-title {
    color: var(--heading-color);
    font-size: 26px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 20px;
}

.resume .resume-item {
    padding: 0 0 20px 20px;
    margin-top: -2px;
    border-left: 2px solid var(--accent-color);
    position: relative;
}

    .resume .resume-item h4 {
        line-height: 18px;
        font-size: 18px;
        font-weight: 600;
        text-transform: uppercase;
        color: color-mix(in srgb, var(--default-color), transparent 20%);
        margin-bottom: 10px;
    }

    .resume .resume-item h5 {
        font-size: 16px;
        padding: 5px 15px;
        display: inline-block;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .resume .resume-item ul {
        padding-left: 20px;
    }

        .resume .resume-item ul li {
            padding-bottom: 10px;
        }

    .resume .resume-item:last-child {
        padding-bottom: 0;
    }

    .resume .resume-item::before {
        content: "";
        position: absolute;
        width: 16px;
        height: 16px;
        border-radius: 50px;
        left: -9px;
        top: 0;
        background: var(--background-color);
        border: 2px solid var(--accent-color);
    }

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
    padding: 0;
    margin: 0 auto 20px auto;
    list-style: none;
    text-align: center;
}

    .portfolio .portfolio-filters li {
        cursor: pointer;
        display: inline-block;
        padding: 0;
        font-size: 14px;
        font-weight: 400;
        margin: 0 10px;
        line-height: 1;
        text-transform: uppercase;
        margin-bottom: 10px;
        transition: all 0.3s ease-in-out;
    }

        .portfolio .portfolio-filters li:hover,
        .portfolio .portfolio-filters li.filter-active {
            color: var(--accent-color);
        }

        .portfolio .portfolio-filters li:first-child {
            margin-left: 0;
        }

        .portfolio .portfolio-filters li:last-child {
            margin-right: 0;
        }

@media (max-width: 575px) {
    .portfolio .portfolio-filters li {
        font-size: 14px;
        margin: 0 5px;
    }
}

.portfolio .portfolio-content {
    position: relative;
    overflow: hidden;
}

    .portfolio .portfolio-content img {
        transition: 0.3s;
    }

    .portfolio .portfolio-content .portfolio-info {
        opacity: 0;
        position: absolute;
        inset: 0;
        z-index: 3;
        transition: all ease-in-out 0.3s;
        background: rgba(0, 0, 0, 0.6);
        padding: 15px;
    }

        .portfolio .portfolio-content .portfolio-info h4 {
            font-size: 14px;
            padding: 5px 10px;
            font-weight: 400;
            color: #ffffff;
            display: inline-block;
            background-color: var(--accent-color);
        }

        .portfolio .portfolio-content .portfolio-info p {
            position: absolute;
            bottom: 10px;
            text-align: center;
            display: inline-block;
            left: 0;
            right: 0;
            font-size: 16px;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.8);
        }

        .portfolio .portfolio-content .portfolio-info .preview-link,
        .portfolio .portfolio-content .portfolio-info .details-link {
            position: absolute;
            left: calc(50% - 40px);
            font-size: 26px;
            top: calc(50% - 14px);
            color: #fff;
            transition: 0.3s;
            line-height: 1.2;
        }

            .portfolio .portfolio-content .portfolio-info .preview-link:hover,
            .portfolio .portfolio-content .portfolio-info .details-link:hover {
                color: var(--accent-color);
            }

        .portfolio .portfolio-content .portfolio-info .details-link {
            left: 50%;
            font-size: 34px;
            line-height: 0;
        }

    .portfolio .portfolio-content:hover .portfolio-info {
        opacity: 1;
    }

    .portfolio .portfolio-content:hover img {
        transform: scale(1.1);
    }

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
    position: relative;
}

    .services .service-item .icon {
        background: var(--accent-color);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 54px;
        height: 54px;
        border-radius: 50%;
        transition: 0.5s;
        border: 1px solid var(--accent-color);
        margin-right: 20px;
    }

        .services .service-item .icon i {
            color: var(--contrast-color);
            font-size: 24px;
            line-height: 0;
        }

    .services .service-item:hover .icon {
        background: var(--surface-color);
    }

        .services .service-item:hover .icon i {
            color: var(--accent-color);
        }

    .services .service-item .title {
        font-weight: 700;
        margin-bottom: 15px;
        font-size: 18px;
    }

        .services .service-item .title a {
            color: var(--heading-color);
        }

            .services .service-item .title a:hover {
                color: var(--accent-color);
            }

    .services .service-item .description {
        line-height: 24px;
        font-size: 14px;
    }

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
    overflow: hidden;
}

.testimonials .testimonial-item {
    box-sizing: content-box;
    text-align: center;
    min-height: 320px;
}

    .testimonials .testimonial-item .testimonial-img {
        width: 90px;
        border-radius: 50%;
        margin: 0 auto;
    }

    .testimonials .testimonial-item h3 {
        font-size: 18px;
        font-weight: bold;
        margin: 10px 0 5px 0;
    }

    .testimonials .testimonial-item h4 {
        font-size: 14px;
        color: color-mix(in srgb, var(--default-color), transparent 20%);
        margin: 0;
    }

    .testimonials .testimonial-item .quote-icon-left,
    .testimonials .testimonial-item .quote-icon-right {
        color: color-mix(in srgb, var(--accent-color), transparent 40%);
        font-size: 26px;
        line-height: 0;
    }

    .testimonials .testimonial-item .quote-icon-left {
        display: inline-block;
        left: -5px;
        position: relative;
    }

    .testimonials .testimonial-item .quote-icon-right {
        display: inline-block;
        right: -5px;
        position: relative;
        top: 10px;
        transform: scale(-1, -1);
    }

    .testimonials .testimonial-item p {
        font-style: italic;
        margin: 0 15px 15px 15px;
        padding: 20px;
        background-color: var(--surface-color);
        position: relative;
        margin-bottom: 35px;
        border-radius: 6px;
        box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    }

        .testimonials .testimonial-item p::after {
            content: "";
            width: 0;
            height: 0;
            border-top: 20px solid var(--surface-color);
            border-right: 20px solid transparent;
            border-left: 20px solid transparent;
            position: absolute;
            bottom: -20px;
            left: calc(50% - 20px);
        }

.testimonials .swiper-wrapper {
    height: auto;
}

.testimonials .swiper-pagination {
    margin-top: 40px;
    position: relative;
}

    .testimonials .swiper-pagination .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        background-color: var(--background-color);
        opacity: 1;
        border: 1px solid var(--accent-color);
    }

    .testimonials .swiper-pagination .swiper-pagination-bullet-active {
        background-color: var(--accent-color);
    }

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
    background-color: var(--surface-color);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

@media (max-width: 575px) {
    .contact .info-wrap {
        padding: 20px;
    }
}

.contact .info-item {
    margin-bottom: 40px;
}

    .contact .info-item i {
        font-size: 20px;
        color: var(--accent-color);
        background: color-mix(in srgb, var(--accent-color), transparent 92%);
        width: 44px;
        height: 44px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50px;
        transition: all 0.3s ease-in-out;
        margin-right: 15px;
    }

    .contact .info-item h3 {
        padding: 0;
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .contact .info-item p {
        padding: 0;
        margin-bottom: 0;
        font-size: 14px;
    }

    .contact .info-item:hover i {
        background: var(--accent-color);
        color: var(--contrast-color);
    }

.contact .php-email-form {
    background-color: var(--surface-color);
    height: 100%;
    padding: 30px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 575px) {
    .contact .php-email-form {
        padding: 20px;
    }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
    font-size: 14px;
    padding: 10px 15px;
    box-shadow: none;
    border-radius: 0;
    color: var(--default-color);
    background-color: var(--surface-color);
    border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

    .contact .php-email-form input[type=text]:focus,
    .contact .php-email-form input[type=email]:focus,
    .contact .php-email-form textarea:focus {
        border-color: var(--accent-color);
    }

    .contact .php-email-form input[type=text]::placeholder,
    .contact .php-email-form input[type=email]::placeholder,
    .contact .php-email-form textarea::placeholder {
        color: color-mix(in srgb, var(--default-color), transparent 70%);
    }

.contact button[type=submit] {
    color: var(--contrast-color);
    background: var(--accent-color);
    border: 0;
    padding: 10px 30px;
    transition: 0.4s;
    border-radius: 50px;
}

    .contact button[type=submit]:hover {
        background: color-mix(in srgb, var(--accent-color), transparent 25%);
    }

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
    width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

    .portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        background-color: color-mix(in srgb, var(--default-color), transparent 85%);
        opacity: 1;
    }

    .portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
        background-color: var(--accent-color);
    }

.portfolio-details .portfolio-info {
    padding: 30px;
    box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

    .portfolio-details .portfolio-info h3 {
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    }

    .portfolio-details .portfolio-info ul {
        list-style: none;
        padding: 0;
        font-size: 15px;
    }

        .portfolio-details .portfolio-info ul li + li {
            margin-top: 10px;
        }

.portfolio-details .portfolio-description {
    padding-top: 30px;
}

    .portfolio-details .portfolio-description h2 {
        font-size: 26px;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .portfolio-details .portfolio-description p {
        padding: 0;
        color: color-mix(in srgb, var(--default-color), transparent 30%);
    }

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
    padding: 10px 30px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    margin-bottom: 20px;
}

    .service-details .services-list a {
        display: block;
        line-height: 1;
        padding: 8px 0 8px 15px;
        border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
        margin: 20px 0;
        color: color-mix(in srgb, var(--default-color), transparent 20%);
        transition: 0.3s;
    }

        .service-details .services-list a.active {
            color: var(--heading-color);
            font-weight: 700;
            border-color: var(--accent-color);
        }

        .service-details .services-list a:hover {
            border-color: var(--accent-color);
        }

.service-details .services-img {
    margin-bottom: 20px;
}

.service-details h3 {
    font-size: 26px;
    font-weight: 700;
}

.service-details h4 {
    font-size: 20px;
    font-weight: 700;
}

.service-details p {
    font-size: 15px;
}

.service-details ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
}

    .service-details ul li {
        padding: 5px 0;
        display: flex;
        align-items: center;
    }

    .service-details ul i {
        font-size: 20px;
        margin-right: 8px;
        color: var(--accent-color);
    }

/* Same layout as .services-list a */
.service-details .service-link {
    all: unset; /* remove default button styles */
    display: block;
    width: 100%;
    line-height: 1;
    padding: 8px 0 8px 15px;
    border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
    margin: 20px 0;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    transition: 0.3s;
    cursor: pointer;
}

    .service-details .service-link:hover {
        border-color: var(--accent-color);
    }

    .service-details .service-link.active {
        color: var(--heading-color);
        font-weight: 700;
        border-color: var(--accent-color);
    }

.service-details button[type=submit] {
    color: var(--contrast-color);
    background: var(--accent-color);
    border: 0;
    padding: 10px 30px;
    transition: 0.4s;
    border-radius: 50px;
}


    .service-details button[type=submit]:hover {
        background: color-mix(in srgb, var(--accent-color), transparent 25%);
    }



.info-wrap {
    background-color: var(--surface-color);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

@media (max-width: 575px) {
     .info-wrap {
        padding: 20px;
    }
}


/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
    /* Add your styles here */
}

input.form-control.modified,
input.form-control.valid,
input.form-control.invalid {
    background-color: #fff !important;
    border-color: #ced4da !important;
    box-shadow: none !important;
}

/* Sidebar container */
/*.sidebar-nav {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 260px;
    z-index: 1030;
    background-color: none !important;
    overflow-y: auto;
}
*/
/* Push main content */
main {
    min-height: 100vh;
}


/*@media (max-width: 768px) {
    .sidebar-nav {
        position: relative;
        width: 100%;
        height: auto;
        background-color: none !important;
    }

    main {
        margin-left: 0;
    }
}*/

/* This enables dropdown on hover */
.dropdown ul {
    display: none;
    position: absolute;
    margin-top:40px;
    left: 0;
    top: 100%;
    background: #1a1a1a;
    z-index: 999;
}

.dropdown:hover > ul {
    display: block;
}






.header-top {
    transition: all 0.5s;
    z-index: 997;
    height: 60px;
    box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
    background-color: #fff;
    padding-left: 320px;

}

    .header-top .toggle-sidebar-btn {
        font-size: 32px;
        padding-left: 10px;
        cursor: pointer;
        color: #012970;
    }

    .header-top .search-bar {
        min-width: 360px;
        padding: 0 20px;
    }

@media (max-width: 1199px) {
    .header-top .search-bar {
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        padding: 20px;
        box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
        background: white;
        z-index: 9999;
        transition: 0.3s;
        visibility: hidden;
        opacity: 0;
    }

    .header-top .search-bar-show {
        top: 60px;
        visibility: visible;
        opacity: 1;
    }
}

.header-top .search-form {
  /*  width: 100%;*/
}

    .header-top .search-form input {
        border: 0;
        font-size: 14px;
        color: #012970;
        border: 1px solid rgba(1, 41, 112, 0.2);
        padding: 7px 38px 7px 8px;
        border-radius: 3px;
        transition: 0.3s;
        width: 100%;
    }

        .header-top .search-form input:focus,
        .header-top .search-form input:hover {
            outline: none;
            box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
            border: 1px solid rgba(1, 41, 112, 0.3);
        }

    .header-top .search-form button {
        border: 0;
        padding: 0;
        margin-left: -30px;
        background: none;
    }

        .header-top .search-form button i {
            color: #012970;
        }


.page-title .header-toggle {
    color: var(--contrast-color);
    background-color: var(--accent-color);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
/*    position: fixed;*/
    top: 35px;
    margin-right: 20px;
    z-index: 9999;
    transition: background-color 0.3s;
}

    .page-title .header-toggle:hover {
        color: var(--contrast-color);
        background-color: color-mix(in srgb, var(--accent-color) 90%, white 15%);
    }


/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav {
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
}



.header-nav ul {
    list-style: none;
    

}

.header-nav > ul {
    margin: 0;
    padding: 0;
}

.header-nav .nav-icon {
    font-size: 22px;

    margin-right: 25px;
    position: relative;
}

.header-nav .nav-profile {
   
}

    .header-nav .nav-profile img {
        max-height: 36px;
    }

    .header-nav .nav-profile span {
        font-size: 14px;
        font-weight: 600;
    }

.header-nav .badge-number {
    position: absolute;
    inset: -2px -5px auto auto;
    font-weight: normal;
    font-size: 12px;
    padding: 3px 6px;
}

    .header-nav .notifications {
        inset: 8px -15px auto auto !important;
        background-color: #fff;
    }

    .header-nav .notifications .notification-item {
        display: flex;
        align-items: center;
        padding: 15px 10px;
        transition: 0.3s;
     
    }

        .header-nav .notifications .notification-item i {
            margin: 0 20px 0 10px;
            font-size: 24px;
        }

        .header-nav .notifications .notification-item h4 {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .header-nav .notifications .notification-item p {
            font-size: 13px;
            margin-bottom: 3px;
            color: #919191;
        }

        .header-nav .notifications .notification-item:hover {
            background-color: #f6f9ff;
        }

    .header-nav .messages {
        inset: 8px -15px auto auto !important;
        background-color: #fff;
    }

    .header-nav .messages .message-item {
        padding: 15px 10px;
        transition: 0.3s;
    }

        .header-nav .messages .message-item a {
            display: flex;
        }

        .header-nav .messages .message-item img {
            margin: 0 20px 0 10px;
            max-height: 40px;
        }

        .header-nav .messages .message-item h4 {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 5px;
            color: #444444;
        }

        .header-nav .messages .message-item p {
            font-size: 13px;
            margin-bottom: 3px;
            color: #919191;
        }

        .header-nav .messages .message-item:hover {
            background-color: #f6f9ff;
        }

    .header-nav .profile {
        min-width: 240px;
        padding-bottom: 0;
        top: 8px !important;
        inset: 8px -15px auto auto !important;
        background-color: #fff;
    }

    .header-nav .profile .dropdown-header h6 {
        font-size: 18px;
        margin-bottom: 0;
        font-weight: 600;
        color: #444444;
    }

    .header-nav .profile .dropdown-header span {
        font-size: 14px;
    }

    .header-nav .profile .dropdown-item {
        font-size: 14px;
        padding: 10px 15px;
        transition: 0.3s;
    }

        .header-nav .profile .dropdown-item i {
            margin-right: 10px;
            font-size: 18px;
            line-height: 0;
        }

        .header-nav .profile .dropdown-item:hover {
            background-color: #f6f9ff;
        }

.page-title .title-wrapper {
    display: inline-block;
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
}

.container-top {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    height:70px;
}


.header-unauthorized .header-toggle {
    color: var(--contrast-color);
    background-color: var(--accent-color);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    position: fixed;
    top: 10px;
    right: 30px;
    z-index: 9999;
    transition: background-color 0.3s;
}

    .header-unauthorized .header-toggle:hover {
        color: var(--contrast-color);
        background-color: color-mix(in srgb, var(--accent-color) 90%, white 15%);
    }

button.externalbtn {
    all: unset;
    cursor: pointer;
    color: var(--contrast-color);
    background: var(--accent-color);
    border: 0;
    padding: 0px 0px !important;
    transition: 0.4s;
    border-radius: 50px !important;
}


.header-toggle-guest {
    color: var(--contrast-color);
    background-color: var(--accent-color);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 9999;
    transition: background-color 0.3s;
}

.header-toggle-guest:hover {
        color: var(--contrast-color);
        background-color: color-mix(in srgb, var(--accent-color) 90%, white 15%);
    }

.page-title-guest {
    color: var(--default-color);
    background-color: transparent;
    padding: 25px 0;
    position: relative;
}




.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.message-content {
    background-color: #f1f1f1;
    padding: 10px 12px;
    border-radius: 8px;
    flex-grow: 1;
    min-width: 0;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;

}


.showall {
    padding: 0px 0px 0px 60px;
}

.clickable-row {
    cursor: pointer;

}





.spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem; /* Match img-thumbnail border radius */
    z-index: 2;
}

.chat-image {
    max-height: 400px;
    width: auto;
    display: block;
}



.chatgpt-home {
    height: 50vh;
    background-color: #212121;
    color: #ececec;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.chatgpt-title {
    font-size: 1.75rem;
    font-weight: 500;
    color: #e5e5e5;
}

.chatgpt-input-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    padding-top:20px;
}



.chatgpt-modal-input-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 16px;
    border-top: 1px solid #2a2a2a;
    z-index: 1000;
}

/* Outer pill container */
.chatgpt-input-container {
    background-color: #2a2b32;
    border: 1px solid #565869;
    border-radius: 24px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    width: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.15) inset;
    transition: box-shadow 0.2s, border-color 0.2s;
}

    .chatgpt-input-container:hover {
        border-color: #6d6f7b;
    }

.chatgpt-plus-icon {
    font-size: 1.2rem;
    color: #a0a0a0;
    margin-right: 10px;
}

/* Inner text field */
.chatgpt-input {
    background-color: transparent;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    padding: 10px 0;
    outline: none;
    width: 100%;
}

    .chatgpt-input::placeholder {
        color: #8e8e8e;
    }

/* Send button */
.chatgpt-send-btn {
    background-color: #10a37f;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    padding: 10px 16px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

    .chatgpt-send-btn:hover {
        background-color: #0e906f;
    }

    .chatgpt-send-btn:disabled {
        background-color: #444;
        cursor: not-allowed;
    }

/* Subtle hover glow */
.chatgpt-input-container:focus-within {
    border-color: #10a37f;
    box-shadow: 0 0 0 2px rgba(16, 163, 127, 0.3);
}




.chatgpt-submit-btn {
    background-color: #10a37f; /* ChatGPT green */
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 15px;
    font-weight: 500;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

    .chatgpt-submit-btn:hover:not(:disabled) {
        background-color: #0e8f71;
        box-shadow: 0 0 6px rgba(16, 163, 127, 0.4);
    }

    .chatgpt-submit-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }




/* Wrapper */
.tc-chat-input-wrapper {
    margin-top: 20px;
}

/* Outer pill */
.tc-chat-input {
    background: #fff;
    border: 1px solid #dcdfe6;
    border-radius: 12px;
    padding: 6px 12px;
    width: 100%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    transition: border-color .2s ease, box-shadow .2s ease;
}

    .tc-chat-input:hover {
        border-color: #c9ccd4;
    }

    .tc-chat-input:focus-within {
        border-color: #0d9488; /* your green tone */
        box-shadow: 0 0 0 3px rgba(13,148,136,0.15);
    }

/* Input field */
.tc-chat-input-field {
    border: none;
    background: transparent;
    font-size: 1rem;
    padding: 10px 0;
    outline: none;
    color: #333;
}

    .tc-chat-input-field::placeholder {
        color: #aaa;
    }

/* Submit button */
.tc-chat-submit {
    background-color: #0d9488; /* TwinCover green */
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    margin-left: 10px;
    font-size: 15px;
    font-weight: 500;
    transition: background-color .2s ease, box-shadow .2s ease;
}

    .tc-chat-submit:hover:not(:disabled) {
        background-color: #0b7f73;
        box-shadow: 0 2px 6px rgba(13,148,136,0.3);
    }

    .tc-chat-submit:disabled {
        opacity: .6;
        cursor: not-allowed;
    }

.tc-row-input-container {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: #fff;
    padding: 10px;


}

/* input field inside */
.tc-row-input-field {
    border: 1px solid #ced4da;
    border-radius: 4px;
    height: 40px;
    font-size: .95rem;
}

/* submit button */
.tc-row-submit-btn {
    height: 40px;
    padding: 0 18px;
    font-size: .9rem;
    font-weight: 500;
}





/* When NavMenu is inside the mobile offcanvas */
.mobile-nav-wrapper #header {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    top: 0;
    left: 0;
    padding: 1rem;
    background: none;
    box-shadow: none;
}

.nav-close-btn {
    position: relative;
    z-index: 20000 !important;
}

.nav-close {
    position: relative;
    z-index: 20000 !important;
}

    .nav-close i {
        font-size: 24px;
        cursor: pointer;
        color: var(--contrast-color);
        background-color: var(--accent-color);
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.mobile-menu-btn {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 12px;
    color: var(--default-color); /* works with dark/light themes */
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-size: 1.1rem;
    letter-spacing: .3px;
    transition: background 0.2s, border-color 0.2s;
    margin: 0px 20px 0px 20px;
}

    /* Make icon match site accent color */
    .mobile-menu-btn i {
        font-size: 22px;
        color: var(--accent-color);
    }

    .mobile-menu-btn:hover {
        background: color-mix(in srgb, #fff 90%, var(--accent-color) 10%);
        border-color: color-mix(in srgb, rgba(0,0,0,0.2) 80%, var(--accent-color) 20%);
        color: var(--default-color);
        text-decoration: none;
    }

/* Make this button act as the toggle for your sidebar */
.mobile-menu-btn {
    cursor: pointer;
}


.profile-img-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-left:10px;
}

    .profile-img-mobile img {
        height: 70px; /* your chosen size */
        width: auto;
        object-fit: contain;
    }

    .profile-img-mobile .sitename {
        margin-top: 0px;
        font-size: 1.25rem; /* adjust if needed */
        font-weight: 600;
        width: 100%; /* ensures it matches image width visually */
        text-align: center;
    }

.mobile-menu-cover-btn {
    background: transparent; /* fully transparent */
    backdrop-filter: none; /* remove blur */
    border: 1px solid rgba(255,255,255,0.7); /* bright outline */
    border-radius: 14px;
    color: #ffffff; /* white text for contrast */
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-size: 1.05rem;
    letter-spacing: .2px;
    padding: 10px 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.35); /* softened shadow for visibility */
    transition: border-color 0.2s, box-shadow 0.2s;
    margin: 0 20px;
    cursor: pointer;
}

    .mobile-menu-cover-btn i {
        font-size: 22px;
        color: #ffffff; /* make hamburger icon white for visibility */
    }

    .mobile-menu-cover-btn:hover {
        border-color: rgba(255,255,255,0.9);
        box-shadow: 0 4px 14px rgba(0,0,0,0.45);
    }
/* ----------------------------------------------------
   Chat Modal Layout
---------------------------------------------------- */
.chat-modal-dialog {
    padding: 0;
}

.chat-modal {
    border-radius: 0;
    background: #f8f9fa;
}

/* Header styling - matches iPortfolio dark navbar */
.modal-header {
    background: #222 !important;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ----------------------------------------------------
   Chat Messages (general)
---------------------------------------------------- */
.chat-message {
    width: 100%;
    display: flex;
}

.d-flex.justify-content-end .user-message {
    margin-left: auto;
}

.d-flex.justify-content-start .assistant-message {
    margin-right: auto;
}


.user-message,
.assistant-message {
    padding: 12px 16px;
    border-radius: 14px;
    max-width: 75%;
    font-size: 0.95rem;
    line-height: 1.45rem;
}

/* ----------------------------------------------------
   User Message Bubble (right)
---------------------------------------------------- */
/* User (right side) */
.user-message {
    background: #e7e9ec; /* soft neutral gray */
    color: #111;
    border: 1px solid #d0d3d8;
    border-radius: 14px;
    border-bottom-right-radius: 4px;
    max-width: 50%; /* requested width */
    padding: 12px 16px;
}

/* Assistant (left side) */
.assistant-message {
    background: #ffffff;
    color: #222;
    border: 1px solid #dddddd;
    border-radius: 14px;
    border-bottom-left-radius: 4px;
    max-width: 70%;
    padding: 12px 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

/* Avatar */
.chat-avatar {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 4px rgba(0,0,0,0.15);
}

/* ----------------------------------------------------
   Images inside messages
---------------------------------------------------- */
.chat-image {
    width: auto;
    max-width: 280px;
    max-height: 220px;
    border-radius: 8px;
    display: block;
    margin: 0.5rem auto;
}

.chat-image-wrapper div.small {
    margin-top: 6px;
    font-size: 0.75rem;
    color: #6c757d;
}



/* ----------------------------------------------------
   Chat Input Area
---------------------------------------------------- */
.chat-input-wrapper {
    padding: 1rem;
    background: #ffffff;
    border-top: 1px solid #ddd;
}

.chat-input-group .form-control {
    border-radius: 10px 0 0 10px;
    font-size: 1rem;
    padding: 10px 12px;
}

.chat-input-group button {
    border-radius: 0 10px 10px 0;
}

/* Attachment + audio buttons */
.chat-input-group .btn-outline-secondary {
    border: 1px solid #ced4da;
    background: #f8f9fa;
}

/* Send button (matches iPortfolio primary) */
.chat-input-group .btn-primary {
    background: #0078ff;
    border-color: #0078ff;
}

/* ----------------------------------------------------
   Scroll behavior
---------------------------------------------------- */
.modal-body {
    padding: 1.5rem;
    background: #f3f5f7;
}


.caption {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
    text-align: center;
}

.analysis {
    font-size: 0.9rem;
    color: #333;
    margin-top: 0.5rem;
    text-align: left;
    padding-bottom: 5px;
}



.pending-message {
    opacity: 1; /* remove fade */
    position: relative;
    /*  border: 1px dashed #666;*/
}

    .pending-message::after {
 /*       content: "Awaiting caption...";*/
        position: absolute;
        bottom: -1.2rem;
        right: 0.5rem;
        font-size: 0.7rem;
        color: #999;
    }

.pending-image-wrapper {
    position: relative;
}

.chat-image-wrapper img.chat-image {
    max-width: 220px;
    border-radius: 6px;
}

.chat-image-wrapper div.small {
    font-size: 0.75rem;
    line-height: 1.2rem;
}

input:focus,
textarea:focus,
.form-control:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: #999 !important; /* or whatever normal border you prefer */
}


.spinner-bubble {
   /* background: #ffffff;
    border: 1px solid #dddddd;*/
    padding: 10px 16px;
    border-radius: 14px;
    max-width: 60%;
    font-size: 0.9rem;
    color: #444;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.tc-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
}

.tc-info-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: #333; /* ensures internal text is readable */
}

    .tc-info-item .label {
        font-weight: 600;
        color: #1a1a1a;
    }

    .tc-info-item .value {
        color: #2c2c2c; /* darker and readable */
        font-weight: 500;
    }

.tc-info-header {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #333;
}

.tc-info-body .value {
    line-height: 1.3;
}

.tc-private-card {
    background: #ffffff;
}

.tc-info-card {
    background: #ffffff;
}

.field-lock-animate {
    animation: lockPulse 0.35s ease-out;
}

@keyframes lockPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
    
}

. /* -------------------------
   iPortfolio-styled code blocks 
   ------------------------- */
.prompt-block,
.prompt-diff {
    white-space: pre-wrap !important; /* respect \n and wrap long lines */
    overflow-wrap: break-word; /* allow wrapping long words */
    word-break: normal; /* don't break every character */
    display: block;
    width: 100%;
    max-height: 320px;
    overflow-y: auto;
    background: #ffffff; /* plain white for both */
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    padding: 12px 16px;
    box-shadow: inset 0 0 6px rgba(0,0,0,0.04);
    font-family: Consolas, Menlo, Monaco, "Courier New", monospace;
    font-size: 0.9rem;
}




/* Dark mode support (iPortfolio supports user themes) */
body.dark-mode .prompt-block {
    background: #1e1e1e;
    border-color: #333;
    color: #ddd;
    box-shadow: inset 0 0 8px rgba(255,255,255,0.05);
}


/* Highlight only the changed lines */


.diff-word-added {
    background: rgba(0, 200, 0, 0.18);
    border-radius: 3px;
    padding: 1px 2px;
}

.diff-word-removed {
    background: rgba(255, 0, 0, 0.18);
    border-radius: 3px;
    padding: 1px 2px;
    text-decoration: line-through;
}

#split-container {
    display: flex;
    width: 100%;
    height: 360px;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    overflow: hidden;
}

#split-left,
#split-right {
    flex-grow: 1;
    min-width: 200px;
    overflow: hidden;
    padding: 12px;
}

#split-divider {
    width: 6px;
    background: #ddd;
    cursor: col-resize;
}

    #split-divider:hover {
        background: #bbb;
    }

#split-left .prompt-block,
#split-right .prompt-block {
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
}

pre.prompt-block,
pre.prompt-diff {
    white-space: pre-wrap !important;
}

.word-added {
    background: rgba(0, 200, 0, 0.25);
    border-radius: 3px;
    padding: 1px 2px;
}

.word-removed {
    background: rgba(255, 0, 0, 0.25);
    border-radius: 3px;
    padding: 1px 2px;
    text-decoration: line-through;
}

.word-modified-old {
    background: rgba(255, 0, 0, 0.25);
    border-radius: 3px;
    padding: 1px 2px;
    text-decoration: line-through;
}

.word-modified-new {
    background: rgba(0, 200, 0, 0.25);
    border-radius: 3px;
    padding: 1px 2px;
}

.word-unchanged {
    color: inherit;
}



