/* --- CSS Variables --- */
:root {
    /*--primary-color: #1c344b;  Deep Corporate Blue */
    --primary-color:#dde3e9;
    --primary-btn-color: #880303;
    --secondary-color: #F6F9FC; /* Light Grey Background */
    --accent-color: #00AEEF; /* Bright Tech Blue */
    --aqua-color: #00fff2;
    --text-color: #333;
    --light-text-color: #fff;
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Roboto', sans-serif;
    --container-width: 1200px;
    --header-height: 120px;

    --bg-vitalocean: linear-gradient(90deg, #1CB5E0 0%, #000851 100%);
    --bg-shadylane: linear-gradient(90deg, #3F2B96 0%, #A8C0FF 100%);
    --bg-parfour: linear-gradient(90deg, #9ebd13 20%, #008552 50%);
    --bg-lovelylilly: linear-gradient(90deg, #efd5ff 0%, #515ada 100%);
    --bg-aquaspray: linear-gradient(90deg, #00d2ff 0%, #3a47d5 100%);
    --bg-kalesalad: linear-gradient(90deg, #00C9FF 0%, #92FE9D 100%);

}

/* --- Base & Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /* border: 0.5px solid lightgreen; */
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: mandatory;
    scroll-snap-stop: always;
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
}

details summary, a, button {
    cursor: pointer;
}
/* --- Utility Classes --- */
.modal .modal_close {
    position: fixed;
    top: 20px;
    right: 5%;
    /* margin: 50px; */
    display: block;
    z-index: 99999;
}
.modal, .modal-waiting {
    display: none;
    position: fixed;
    top: 0px;
    bottom: 0px;
    min-width: 100vw!important;
    min-height: 100vh!important;
    background-color: rgba(0, 0, 0, 90%);
    overflow-y: scroll;
    color: white;
    padding-top: 120px;
    z-index: 9999;
}
.ui_prompt_container {
    display: flex;
    flex-direction: column;
    background: transparent;
    /* border: 1px solid red; */
    top: 0px;
    margin-top: 20px;
    left: 20px;
    position: fixed;
    z-index: 9999 !important;
    width: calc(100% - 40px);
}
.ui_prompt {
    display: none;
    margin-bottom: 10px;
    border-radius: 10px;
	max-width:300px;
    min-width:fit-content; 
    background-color:#db2b2b;
    color:#FFFFFF;
    cursor:pointer;
    text-align:center;
    padding:20px;
	box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
    font-size:20px;
    overflow:auto;
    align-self: center;
    align-items: center;
    justify-content: center;
    width: 100%;
    /* animation: flyInFromBottom 0.5s ease-out forwards; */
    /* opacity: 0; */
}
.flexcontainer{
    display: flex;
    flex-basis: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
	overflow-x: hidden!important;
}

.flexcontainer > *{
    flex-grow: 1 !important;
    flex-shrink: 1 !important;
    line-break:normal;
    white-space: normal;
}

.page { display: none; } /* All pages are hidden by default */
.page.active { display: block; } /* The active page is shown */
.page .page-header {
    
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {text-align: center;}
.text-justify {text-align: justify;}

.btn {
    display: block; /* Change from inline-block to block */
    width: -moz-fit-content; /* Firefox compatibility */
    width: fit-content; /* Set width based on content */
    min-width: 200px;
    margin: 20px auto 0px auto !important;  /* 20px top/bottom, auto left/right for centering */
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    font-family: var(--heading-font);
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-btn-color);
    color: var(--light-text-color);
    width: 300px;
    /* border: 1px solid var(--primary-btn-color); */
}
.btn-primary:hover {
    background-color: #c40928;
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--light-text-color);
    width: 300px;
}
.btn-accent:hover {
    background-color: #0095c7;
    /*transform: translateY(-2px);*/
}

.btn-aliceblue {
    /* background-color: var(--secondary-color); */
    border: 3px solid white;
    color: var(--light-text-color);
    width: 300px;
}
.btn-aliceblue:hover {
    background-color: aliceblue;
    color: var(--text-color);
    /*transform: translateY(-2px);*/
}

/* --- Header --- */
.main-header {
    background-color: var(--primary-color);
    background-image: var(--bg-vitalocean);
    color: var(--light-text-color);
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* box-shadow: 0 2px 10px rgba(0,0,0,0.1); */
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 70px;
    display: block;
    position: absolute;
    margin-top: -35px;
}

/* Hamburger Menu */
.hamburger {
    display: block; /* Visible on mobile */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}
.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--light-text-color);
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile Nav Styles */
.main-nav {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: #020a12;
    opacity: 0.95;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    padding-top: 100px;
    z-index: 9;
}
body.nav-active .main-nav {
    transform: translateX(0);
}
.main-nav .nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.main-nav .nav-item {
    width: 100%;
    text-align: center;
    margin: 10px 0;
}
.main-nav .nav-item a {
    color: var(--light-text-color);
    text-decoration: none;
    padding: 15px;
    font-weight: 500;
    font-size: 1.2rem;
    position: relative;
}
.main-nav .has-dropdown .dropdown { display: none; } /* Hide dropdowns on mobile nav */
*:focus {
    outline: none;
}
/* Hamburger Animation */
body.nav-active .hamburger span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
body.nav-active .hamburger span:nth-child(2) { opacity: 0; }
body.nav-active .hamburger span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

.header-actions { display: flex; align-items: center; }
.header-actions .btn { display: none; } /* Hide button on mobile */
.header-actions .icon-link { 
    font-size: 35px; 
    margin: 0px 25px 0px 25px; 
    position: relative; 
    color: white;
    visibility: hidden;
}
.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- SHOPPING CART & CHECKOUT [cite: 46] [cite: 54] --- */
#cart-page {
    background-image: url(../img/);
}
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.cart-table table {width: 100%;}
.cart-table th, .cart-table td { text-align: left; vertical-align: top; padding: 5px; border-bottom: 1px solid var(--light-gray); }
.cart-table details summary{font-size: 17px; font-weight:500; }
.cart-table details a {text-decoration: underline;}
.cart-table .checkbox-group .checkbox-item * {font-size: 15px; cursor: pointer;}
.cart-summary {
    /* 
    background-color: var(--secondary-color);
    border: 1px dotted var(--primary-btn-color);
    padding: 20px; 
    */
    border-radius: 8px;
    /* width: 300px; */
    margin: auto auto auto auto;
}
.flex-container {
    display: flex;
    
    /* --- Core Requirements --- */
    flex-direction: row;      /* 1. Stack horizontally */
    flex-wrap: wrap;          /* 3. Allow wrapping */
    align-items: flex-start;  /* 2. Align items to the top */

    /* --- Demo Styling --- */
    width: 100%;
    /* max-width: 900px; */
    margin: 20px auto;
    border: 0.2px solid #dddddd;
    /* background: #ffffff; */
    /* padding-top: 30px; */
    box-sizing: border-box;
}

.flex-item {
    /* --- Core Requirements --- */
    /* This combination creates the "stack-then-go-full-width" effect. */
    flex-grow: 1;     /* Allows item to grow and fill empty space on its line. */
    flex-shrink: 1;   /* Allows item to shrink if container is too small. */
    flex-basis: 180px;  /* The "ideal" base width. The browser will try to
                            fit as many 250px items as it can. If it can't,
                            items will wrap. */
    
    /* --- Demo Styling --- */
    box-sizing: border-box; /* Includes padding/border in the item's width */
    /* background-color: #e6f7ff; */
    /* border: 1px solid #b7e3ff; */
    /* border-radius: 8px; */
    /* padding: 20px; */
    /* min-height: 100px; */
    ul li {
        margin-left: 20px;
    }
}
.fixed-item {
    position: relative;
    margin-top: 10px;
    margin-left: calc(100% - 20px);
}

/* --- Main Content --- */
main {
    padding-top: var(--header-height);
}

/* Hero Section */
#home-page .hero {
    min-height: calc(100vh - 120px);
}

.hero {
    background-color: var(--primary-color);
    background-image: var(--bg-vitalocean);
    color: var(--light-text-color);
    text-align: center;
    padding: 80px 0;
}
.hero h1 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    margin: 0 auto 20px;
    line-height: 1.2;
}
.hero .subtitle {
    font-size: 1.1rem;
    margin: 0 auto 80px;
    opacity: 0.9;
}

.why-us-section {
    background-image: url("../img/solutions_bg.jpg");
    background-size:cover;
    background-attachment: fixed;
    h2 {
        color: white;
    }
}
#about-page {
    background-color: var(--primary-color);
    /* background-image: var(--bg-vitalocean); */
    padding: 60px 0 20px;
    height: fit-content;
    .form-group {
        input, select, textarea, input[type = "checkbox"] {
            background-color: white;
        }
        label, legend {
            color: #555;
        }
        .checkbox-item {
            display: inline-table;
            padding: 3px;
            margin: 2px;
            border-radius: 10px;
            border: 1px solid #aaa;
            text-align: center;

            input[type = "checkbox"] {
                /* transform: scale(1.5); */
                align-self: center;
                width: auto;
                /* margin: 5px; */
            }
            label {
                display: inline !important;
                color: inherit;
                font-size:15px;
            }
        }
    }
    #feedback-form h4 {
        text-align: center;
        color: inherit;
    }
}

#solutions-page{
    background-image: url("../img/purple-fiber-ballet-stockcake.jpg");
    background-size: cover;
    background-attachment: fixed;

    #solutions-page-header {
        /* color: white; */
        /* background-image: var(--bg-vitalocean);  */
        background-color: white;
        /* background-size: cover; */
    }

    .solution-category{
        background: transparent;
        h2, h2 + p {
            color: white;
        }
        h2 + p {
            text-align: justify;
            font-size: 17px;
        }
    }
}

#solutions_scroller {
    min-height: 40vh;
    height: calc(100vh - 120px);
    position: relative;
    background-image: url("../img/—Pngtree—african woman with pot over_5418191.png");
    background-size: 350px auto;
    background-attachment: fixed;
    background-position: right 65px bottom;
    background-repeat: no-repeat;
}

#solutions_scroller > div{
    position: sticky !important;
    /* background-color: rgba(255, 255, 255, 20%); */
    height: calc(55% - 10px);
    font-size: 17px;
    top: 180px;
    /* border: 1px dotted #a9b3c1; */
    border-radius: 10px;
    padding: 10px;
    max-width: 100%;
    animation: flyInFromBottom 2s ease-out forwards; /* Apply the animation */
    margin-bottom: 40px;

    div:first-of-type {
        font-size: xx-large;
    }
    /*
    h1:first-of-type, img, div:first-of-type {
        margin-top: -70px; 
    }
    */
    h4:last-of-type {
        margin-bottom: -70px;
    }
    div:last-of-type {
        position: absolute;
        border-bottom: 2px solid black;
        bottom: 10px;
        font-weight: 500;
    }
}

#create_account{ 
    margin: auto !important;
    display: block; 
}
#create_account_nav_item{
    display: none;
}

#careers-program-section {
    background-image: url("../imgx/purple-fiber-ballet-stockcake.jpg");
    background-size: cover;
    background-attachment: fixed;
    color: inherit;
    .container {
        max-width: 800px;
        summary {
            margin: 40px 0px;
            font-weight: 500;
            div {
                display: inline;
                font-size: xx-large;
                font-style: italic;
            }
        }
        ul {
            margin: 30px;
        }
        p {
            margin: 10px 0px 10px 0px;
        }
        h2{
            position: sticky;
            top: 115px;
            background-color: white;
        }
    };
}
/* General Section Styles */
.overview-section, .why-us-section, .solution-category, .product-section, .about-section {
    padding: 60px 0;
}
.alternate-bg {

    background-color: var(--secondary-color);
}
section h2 {
    font-family: var(--heading-font);
    font-size: 2.2rem;
    margin-bottom: 50px;
    text-align: center;
}

/* Card & Feature Grids (Flexbox & Grid) */
.card * {
    text-align: center;
}
.card-grid, .feature-grid, .service-grid, .team-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.card, .service-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #000000;
}
.card:hover, .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.card-icon, .feature-icon { 
    max-height: 60px;
    height: 60px;
    /* margin-top: 8px; */
    width: fit-content;
    align-self: center;
}
.card h3 { font-family: var(--heading-font); margin-bottom: 15px; text-align: center;}
.glow {
    box-shadow: 0.2em 0.2em 0.2em rgba(100, 255, 100, 0.5);
}
.service-card {
    h3 { font-family: var(--heading-font); margin-bottom: 15px; text-align: center;}
    details {
        cursor: inherit;
        h4 { 
            font-family: var(--heading-font); 
            font-size: small;
            font-weight:lighter;
            text-align: left;
            /* padding: 5px; */
            border-radius: 15px;
            margin: 5px 0px;
            cursor: inherit;
            border: 1px solid #ccc;
            align-items: center;
            /* 
            border-left: 5px solid;
            border-right: 5px solid;
            border-top: 1px solid;
            border-bottom: 1px solid; 
            */
        }
        h4::before {font-size: 30px; margin: 0px 8px;}
        h4:nth-of-type(1)::before {content: '\2780';}
        h4:nth-of-type(2)::before {content: '\2781';}
        h4:nth-of-type(3)::before {content: '\2782';}
        h4:hover {
            /* border: 1px solid black; */
            cursor: pointer;
        }
        .in-cart {
            border: 1px solid var(--aqua-color);
        }
        /* .in-cart::after {
            content: '\2713';
            color: var(--accent-color);
            font-size: 20px;
            margin: 10px 0px 0px 10px;
            position: absolute;
            transform: rotate(20deg);
        } */
    }
}
.service-card .btn { 
    margin-top: auto !important;
    position: relative;
    bottom: 0px !important;
}
.service-card, container {
    p:last-of-type{
        margin-top: auto !important;
        position: relative;
        bottom: 0px !important;
        margin-bottom: 20px;
    }
}

#secure-digital-ecosystems {
    background-image: var(--bg-shadylane);
}
/* NEW/UPDATED RULE */
.feature-item {
    text-align: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 70%);
    color: black;
    h4 { 
        font-family: var(--heading-font); 
        margin-bottom: 10px; 
        font-size: 1.2rem; 
    }
}
.card-link {
    margin-top: 20px;
    padding:10px;
    color: var(--primary-btn-color);
    color: var(--accent-color);
    border-radius: 10px;
    background-color: aliceblue;
    text-decoration: none;
    font-weight: 300;
}

/* 
.feature-item h4 { font-family: var(--heading-font); margin-bottom: 10px; font-size: 1.2rem; }
.feature-icon {
    height: 50px;
    margin-bottom: 20px;
}
 */
 
/* Contact & Product Page Layouts */
.contact-wrapper, .product-layout {
    display: flex;
    flex-wrap: wrap; /* Auto-wraps on mobile */
    gap: 50px;
    align-items: flex-start;
}

.newaccount-form-container, .feedback-form-container, .product-info {
    flex: 2 1 400px; /* Grow 2, shrink 1, base width 400px */
}
.contact-info, .product-image-placeholder {
    flex: 1 1 300px; /* Grow 1, shrink 1, base width 300px */
}
.product-layout.reverse { flex-direction: row-reverse; }
.product-image-placeholder img { max-width: 100%; height: auto; border-radius: 8px; }
.product-info ul {
    margin: 10px 20px auto 20px;
    font-size: 15px;
}
/* Form Styles */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #aaa;
    border-radius: 5px;
    font-family: var(--body-font);
    font-size: 1rem;
    background: transparent;
}
input[type = "checkbox"] {
    transform: scale(1.5);
    margin: 5px;
}
#form-message { margin-top: 20px; font-weight: 500; padding: 15px; border-radius: 5px; display: none; }
#form-message.success { background-color: #e0f8e9; color: #1d7b40; }
#form-message.error { background-color: #f8e0e0; color: #c01b1b; }

/* About Page */
.mission-statement { font-size: 1.5rem; font-style: italic; max-width: 800px; margin: 0 auto; color: #555; }
.team-member img { max-width: 100%; border-radius: 50%; aspect-ratio: 1/1; object-fit: cover; }
.team-member { text-align: center; }
.member-title { font-style: italic; color: #777; }

/* --- Footer --- */
.footer-grid {
    /* display: flex; */
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    /* gap: 20px; */
    margin-bottom: 10px;
    justify-content: stretch;
}
.footer-col {
    /* flex: 1 0 content; */
    height: fit-content;
    align-self: flex-start;
    width: max-content;
    /* min-width: 210px; */
    max-width: 98% ;
    margin: 5px;
    /* position: relative; */
    display: inline-table;
    padding: 1rem;
    align-content: center;
    /* text-align: center; */
}
.footer-col:nth-of-type(1) {
    min-width: 300px; 
    float:inline-end; 
    border: 1px solid #fff;
}
/*
.footer-col:nth-last-of-type(-n+3) {
    border: 2px dotted white; 
    border-radius: 10px;
    padding: 10px;
    h4 {
        color: inherit;
    }
}
*/
.footer-logo { 
    height: 25px;
    margin-bottom: 0px;
    margin-right: 10px;
    float: left;
}
.footer-col h4 { font-family: var(--heading-font); color: inherit; margin-bottom: 5px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0px; padding: 0px; max-height:30px;}
.footer-col a { color: inherit; text-decoration: none; transition: color 0.3s ease; padding-right: 10px;}
.footer-col a:hover { color: var(--light-text-color); }
.footer-col > p {text-align: justify; margin-bottom: 5px;}
.footer-col .team-member img {
    width: 100px;
    height: 100px;
    border-radius: 5px;
    border: 1px solid #bbb;
    aspect-ratio: 1 / 1;
    content: url('../img/favicon.png');
}

.footer-col details {
    .feedback-form-container {
        animation: flyOutToBottom  0.5s ease-out forwards;
    }
    summary::marker {
        font-size: 25px;
        /* 
        content: '▷';
        transform: rotate(40deg);
        transition: all 0.5s ease-out forwards; 
        */
    }
    summary {
        font-size: 18px;
    }
}

.footer-col details[open] {
    .feedback-form-container {
        animation: flyInFromBottom 0.5s ease-out forwards;
    }
    summary::marker {
        /* transform: rotate(180deg); */
    }
}
/* ///////////////////////////////////////////////////////// */
#blog-page{
    text-align: center;
    min-height: calc(100vh - 0px);
    background-image: url(../img/img_workshop.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;

    #blog-header{
        position: sticky;
        min-height: 60px;
        max-height: 60px;
        top: 120px;
        /* width: fit-content; */
        /* border-bottom-shadow: 0 4px 20px rgba(0,0,0,0.2); */
        /* background-image: var(--bg-vitalocean); */
        padding: 10px 30px 10px 30px;

        #search{
            width: 40px;
            height: 40px;
            display: block;
            clear: both;
            border-radius: 20px;
            background-color: white;
            color: black;
            background-image: url(https://www.w3schools.com/css/searchicon.png);
            background-repeat: no-repeat;
            background-position: 11px 10px;
            background-size: auto;
            padding: 0px 0px 0px 40px;
            cursor: pointer;
        }
        #search:focus{
            padding: 8px 8px 8px 40px;
        }
    }

    div#blog-footer{
        position: sticky;
        bottom: 0px;
        padding: 25px;
        background-color: rgba(255,255,255,1);

        input[type = 'text']{
            width: 100%;
            padding: 20px;
            border: 4px solid rgba(193, 193, 193, 0.7);
        }
    }
    
    #posts-container {
        min-height: calc(100vh - 250px);
        height: 100%;

        .table{
            max-width: 100%; 
            /* color: white;  */
            padding:15px;
            margin: 10px; 
            text-align: left;

            .row:nth-of-type(3){
                .td:nth-of-type(1){
                    span:nth-of-type(1){ border: 2px solid rgb(72, 210, 228); }
                }
                .td:nth-of-type(2){
                    span:nth-of-type(1){ border: 2px solid rgb(228, 72, 72); }
                }
                .td:nth-of-type(3){
                    span:nth-of-type(1){ border: 2px solid rgb(255, 255, 255); }
                }
            }

            .row{
                display:flex;
                border-radius:7px;
                padding:5px;
                background-color: rgba(245,245,245,0.7);
                width: fit-content;
                clear:both;

                span:nth-of-type(1){
                    font-weight:500;
                }
                .td{
                    display:inline-block;
                    margin-right: 15px;
                    /* border:1px solid red; */

                    span{
                        padding:3px;
                        border-radius:7px;
                    }
                    span:nth-of-type(1){
                        font-weight:500;
                    }
                    span:nth-of-type(1):hover{
                        cursor: pointer;
                        background-color: rgba(255,255,255,0.7);
                    }
                    span:nth-of-type(2){
                        margin-left:5px;
                    }
                }

                details.blog-replies, 
                details.blog-replies > summary{
                    align-self:right;
                }
                details.blog-replies[open] > summary{
                    color:rgb(158, 13, 13);
                }
            }
        }
    }
    .blog-post {
        border: 1px solid #ddd;
        padding: 15px;
        margin-bottom: 20px;
        border-radius: 5px;
        background-color: #fff;
    }
    .post-title {
        color: #3498db;
        margin-top: 0;
    }
    .post-meta {
        font-size: 0.85em;
        color: #7f8c8d;
        margin-bottom: 10px;
        border-bottom: 1px dashed #eee;
        padding-bottom: 5px;
    }
    .error-message {
        color: #e74c3c;
        text-align: center;
    }
}
/* ///////////////////////////////////////////////////////// */

.footer-bottom { 
    /* position: absolute; */
    text-align: center; 
    /* border-top: 1px solid #1c3c5e;  */
    padding-top: 20px; 
    font-size: 0.9rem;
    /* border: 1px solid red; */
    /* margin-top: 350px; */
    bottom: 0;
    width: 100%;
    left: 8%;
}

@keyframes flyInFromBottom {
    0% {
        transform: translateY(100%); /* Start off-screen to the right */
        opacity: 0.5;
    }
    100% {
        transform: translateY(0); /* End at its original position */
        opacity: 1;
    }
}
@keyframes flyOutToBottom {
    0% {
        transform: translateY(0); /* Start off-screen to the right */
        opacity: 1;
    }
    100% {
        transform: translateY(100%); /* End at its original position */
        opacity: 0;
    }
}

/* --- Desktop Styles & Overrides --- */
@media (min-width: 700px) {
    .hero h1 { font-size: 3.5rem; }
    .hero .subtitle { font-size: 1.2rem; }
    section h2 { font-size: 2.5rem; }
    .header-actions .btn { display: inline-block; } /* Show contact button */
    .product-info {border: lpx solid #ccc !important;  }
}
@media (max-width: 513px) {
    .footer-col:nth-of-type(2),.footer-col:nth-of-type(3),.footer-col:nth-of-type(4){
        max-width: 98% !important;  
        width: 98% !important;
    }
    #solutions_scroller {
        min-height: 55vh; 
        max-height: 100vh;
        background-position: right 30px bottom!important;
    }
}
@media (max-width: 1024px) {
    #create_account { display: none; }
    #create_account_nav_item { display: inline; }
    .footer-col:nth-of-type(5),.footer-col:nth-of-type(6),.footer-col:nth-of-type(7){
        max-width: 98% !important;
        width: 98% !important;
    }
}
@media (min-width: 1024px) {
    .hamburger { display: none; } /* Hide hamburger */
    .product-info {border: 0px solid #ccc !important;}
    .footer-col:nth-of-type(1){max-width: 480px !important;}
    .footer-col:nth-of-type(5),.footer-col:nth-of-type(6),.footer-col:nth-of-type(7){
        max-width: 560px !important;
    }
    /* Restore desktop nav */
    .main-nav {
        position: static;
        height: auto;
        width: auto;
        background: none;
        transform: none;
        padding-top: 0;
        display: flex;
    }
    .main-nav .nav-links { flex-direction: row; }
    .main-nav .nav-item { width: auto; margin: 0; }
    .main-nav .nav-item a { font-size: 1rem; }
    .main-nav .nav-item a:hover::after { transform: scaleX(1); }
    .main-nav .nav-item a::after {
        content: ''; position: absolute; bottom: 5px; left: 15px;
        right: 15px; height: 2px; background-color: var(--accent-color);
        transform: scaleX(0); transition: transform 0.3s ease;
    }

    /* Desktop dropdowns */
    .has-dropdown { position: relative; }
    .dropdown {
        list-style: none; position: absolute; top: 100%; left: 0;
        background-color: #fff; border-radius: 5px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        min-width: 250px; padding: 10px 0;
        opacity: 0; visibility: hidden;
        transform: translateY(10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
        display: block; /* Ensure it's not display: none */
    }
    .has-dropdown:hover .dropdown {
        opacity: 1; 
        visibility: visible; 
        transform: translateY(0);
    }
    .dropdown li a { color: var(--text-color); padding: 10px 20px; display: block; white-space: nowrap; }
    .dropdown li a:hover { background-color: var(--secondary-color); }
    .dropdown li a::after { content: none; }
}
@media (min-width: 1180px) {
    .cart-summary { margin: auto 0px auto auto; }
    .footer-col:nth-of-type(1){max-width: 600px !important;}
}
@media (min-width: 1366px) {
    .footer-col:nth-of-type(1){max-width: 580px !important;}
}
