/* GEEKY GALAXY LABS THEME - styles.css */
/* Over 2000 lines of pure CSS madness */

/* ------------------- */
/* 1. Root & Variables */
/* ------------------- */
:root {
    --color-primary: #00E0FF;
    /* Aqua */
    --color-secondary: #FFEA00;
    /* Yellow */
    --color-dark: #0B132B;
    /* Deep Navy */
    --color-light: #F0F8FF;
    /* Alice Blue - for text */
    --color-medium: #1C2541;
    /* Darker blue for panels */
    --color-grey: #8D99AE;
    --color-success: #00FF7F;
    --color-error: #FF4500;

    --font-primary: 'Orbitron', sans-serif;
    /* For headings */
    --font-secondary: 'Roboto', sans-serif;
    /* For body text */

    --header-height: 80px;
    --border-radius: 8px;
    --container-width: 1200px;
    --transition-fast: 0.2s ease-in-out;
    --transition-medium: 0.4s ease-in-out;

    --shadow-light: 0 4px 15px rgba(0, 224, 255, 0.1);
    --shadow-medium: 0 8px 30px rgba(0, 224, 255, 0.2);
    --text-glow-primary: 0 0 5px var(--color-primary), 0 0 10px var(--color-primary), 0 0 15px var(--color-primary);
    --box-glow-primary: 0 0 10px var(--color-primary), 0 0 20px rgba(0, 224, 255, 0.5);
}

/* ------------------- */
/* 2. Base Styles      */
/* ------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-dark);
    color: var(--color-light);
    font-family: var(--font-secondary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    background: var(--color-dark);
}

body::-webkit-scrollbar-thumb {
    background-color: var(--color-primary);
    border-radius: 20px;
    border: 2px solid var(--color-dark);
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    color: var(--color-light);
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.2rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-secondary);
    text-shadow: 0 0 5px var(--color-secondary);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    position: relative;
    overflow: hidden;
}

.section-padding {
    padding: 100px 0;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

.text-center {
    text-align: center;
}


/* ------------------- */
/* 3. Reusable Comps   */
/* ------------------- */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-weight: 700;
    text-transform: uppercase;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-dark);
    box-shadow: var(--shadow-medium);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 234, 0, 0.4), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--box-glow-primary);
    color: var(--color-dark);
}

.btn-primary:hover::before {
    left: 100%;
}


.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-dark);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(0, 224, 255, 0.1);
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    border-radius: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-secondary);
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-grey);
}

/* ------------------- */
/* 4. Header & Nav     */
/* ------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(11, 19, 43, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition-medium);
    border-bottom: 1px solid rgba(0, 224, 255, 0.1);
}

.header.scrolled {
    height: 70px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-light);
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 900;
}

.logo img {
    height: 70px;
    transition: var(--transition-medium);
}

.logo:hover img {
    transform: rotate(360deg);
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--color-light);
    font-family: var(--font-primary);
    font-size: 1rem;
    padding: 10px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link.active {
    color: var(--color-primary);
    text-shadow: var(--text-glow-primary);
}

.nav-toggle,
.nav-close {
    display: none;
    background: none;
    border: none;
    color: var(--color-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ------------------- */
/* 5. Hero Section     */
/* ------------------- */
.hero-section {
    padding: 180px 0 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle, var(--color-medium) 0%, var(--color-dark) 70%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.hero-title {
    margin-bottom: 20px;
    font-weight: 900;
}

.hero-title .line-1 {
    display: block;
}

.hero-title .line-2 {
    display: block;
    font-size: 0.9em;
}

.hero-title .highlight {
    color: var(--color-secondary);
    text-shadow: 0 0 10px var(--color-secondary);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-grey);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-animation {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    perspective: 1000px;
}

.lab-beaker {
    width: 200px;
    height: 250px;
    background: rgba(0, 224, 255, 0.1);
    border: 2px solid var(--color-primary);
    border-bottom: 10px solid var(--color-primary);
    border-radius: 0 0 50px 50px;
    position: absolute;
    bottom: 50px;
    left: 100px;
    transform-style: preserve-3d;
    transform: rotateX(-10deg) rotateY(20deg);
    box-shadow: inset 0 0 20px rgba(0, 224, 255, 0.2);
}

.beaker-liquid {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, var(--color-primary), rgba(0, 224, 255, 0.4));
    border-radius: 0 0 40px 40px;
    animation: liquid-animate 5s ease-in-out infinite;
}

@keyframes liquid-animate {

    0%,
    100% {
        height: 70%;
    }

    50% {
        height: 75%;
    }
}

.bubble {
    position: absolute;
    bottom: 10px;
    width: 15px;
    height: 15px;
    background: rgba(255, 234, 0, 0.8);
    border-radius: 50%;
    animation: bubble-up 4s linear infinite;
}

.bubble.b1 {
    left: 20%;
    animation-duration: 3s;
}

.bubble.b2 {
    left: 50%;
    animation-duration: 5s;
    animation-delay: 1s;
    width: 10px;
    height: 10px;
}

.bubble.b3 {
    left: 75%;
    animation-duration: 2.5s;
    animation-delay: 2s;
}

.bubble.b4 {
    left: 35%;
    animation-duration: 4.5s;
    animation-delay: 0.5s;
    width: 12px;
    height: 12px;
}

.bubble.b5 {
    left: 60%;
    animation-duration: 3.5s;
    animation-delay: 2.5s;
}

@keyframes bubble-up {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    90% {
        transform: translateY(-160px) scale(1.2);
        opacity: 1;
    }

    100% {
        transform: translateY(-170px) scale(1.3);
        opacity: 0;
    }
}

.data-particle {
    position: absolute;
    background-color: var(--color-secondary);
    border-radius: 50%;
    animation: particle-float 10s infinite ease-in-out;
}

.data-particle.p1 {
    width: 5px;
    height: 5px;
    top: 10%;
    left: 10%;
    animation-delay: -2s;
}

.data-particle.p2 {
    width: 8px;
    height: 8px;
    top: 80%;
    left: 90%;
    animation-delay: -5s;
}

.data-particle.p3 {
    width: 6px;
    height: 6px;
    top: 50%;
    left: 5%;
    animation-delay: -8s;
}

@keyframes particle-float {
    0% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(20px, 30px);
    }

    50% {
        transform: translate(-10px, -20px);
    }

    75% {
        transform: translate(30px, -10px);
    }

    100% {
        transform: translate(0, 0);
    }
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    color: var(--color-primary);
    opacity: 0.5;
    animation: icon-orbit 15s linear infinite;
    transform-style: preserve-3d;
}

.icon1 {
    top: 0;
    left: 50%;
    animation-duration: 12s;
}

.icon2 {
    top: 50%;
    left: 0;
    animation-duration: 15s;
    animation-delay: -5s;
}

.icon3 {
    top: 50%;
    left: 100%;
    animation-duration: 18s;
    animation-delay: -10s;
}

@keyframes icon-orbit {
    from {
        transform: rotateY(0deg) translateX(150px) rotateY(0deg);
    }

    to {
        transform: rotateY(360deg) translateX(150px) rotateY(-360deg);
    }
}

/* ------------------- */
/* 6. Services Section */
/* ------------------- */
.services-section {
    background: var(--color-medium);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--color-dark);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 224, 255, 0.2);
    text-align: center;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, var(--color-primary), transparent 30%);
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-glow-primary);
}

.service-card:hover::before {
    opacity: 1;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

.service-card>* {
    position: relative;
    z-index: 2;
}

/* to cover the border animation */
.service-card::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--color-dark);
    border-radius: var(--border-radius);
    z-index: 1;
}

.service-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    display: inline-block;
    transition: var(--transition-medium);
}

.service-card:hover .service-icon {
    color: var(--color-secondary);
    transform: scale(1.2) rotate(15deg);
}

.service-title {
    margin-bottom: 15px;
}

.service-description {
    color: var(--color-grey);
    margin-bottom: 20px;
}

.service-link {
    font-family: var(--font-primary);
    font-weight: 700;
}

.service-link i {
    transition: transform 0.3s;
    display: inline-block;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ------------------- */
/* 7. About Section    */
/* ------------------- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-image-panel {
    position: relative;
}

.about-image-panel .image-wrapper {
    border-radius: var(--border-radius);
    overflow: hidden;
    transform: rotate(-3deg);
    border: 3px solid var(--color-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.about-image-panel img {
    transform: rotate(3deg) scale(1.1);
}

.malfunctioning-robot {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 3rem;
    color: var(--color-light);
    background: var(--color-dark);
    padding: 10px;
    border-radius: 50%;
    border: 2px solid var(--color-grey);
    animation: robot-shake 3s infinite ease-in-out;
}

.malfunctioning-robot .screw {
    position: absolute;
    font-size: 1rem;
    animation: drop-screw 3s infinite linear;
}

.screw.s1 {
    top: 0;
    left: 0;
    animation-delay: 0.5s;
}

.screw.s2 {
    top: 50%;
    right: -20px;
    animation-delay: 1.5s;
}

@keyframes robot-shake {

    0%,
    100% {
        transform: translate(0, 0) rotate(0);
    }

    10% {
        transform: translate(-2px, 2px) rotate(-2deg);
    }

    20% {
        transform: translate(2px, -2px) rotate(2deg);
    }

    30%,
    50%,
    70% {
        transform: translate(-2px, 2px) rotate(-2deg);
    }

    40%,
    60%,
    80% {
        transform: translate(2px, -2px) rotate(2deg);
    }
}

@keyframes drop-screw {
    0% {
        transform: translateY(0) rotate(0);
        opacity: 1;
    }

    100% {
        transform: translateY(40px) rotate(360deg);
        opacity: 0;
    }
}

.about-content-panel .section-title,
.about-content-panel .section-tag {
    text-align: left;
}

.about-content-panel .section-title::after {
    left: 0;
    transform: translateX(0);
}

.about-checklist {
    margin: 30px 0;
    padding-left: 20px;
}

.about-checklist li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-checklist i {
    color: var(--color-secondary);
}

/* -------------------------- */
/* 8. ROI Calculator Section  */
/* -------------------------- */
.calculator-section {
    background-color: var(--color-medium);
    padding-bottom: 120px;
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--color-dark);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 224, 255, 0.2);
    box-shadow: var(--shadow-medium);
}

.calculator-form .form-group {
    margin-bottom: 20px;
}

.calculator-form label {
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-primary);
    color: var(--color-grey);
}

.calculator-form input {
    width: 100%;
    padding: 12px 15px;
    background: var(--color-medium);
    border: 1px solid rgba(0, 224, 255, 0.3);
    border-radius: var(--border-radius);
    color: var(--color-light);
    font-size: 1.1rem;
    font-family: var(--font-secondary);
}

.calculator-form input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: var(--box-glow-primary);
}

.calculator-results {
    display: flex;
    align-items: center;
    justify-content: center;
}

.results-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #1c2541, #0b132b);
    border: 2px solid var(--color-primary);
    padding: 30px;
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
}

.results-screen .scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-secondary);
    box-shadow: 0 0 10px var(--color-secondary);
    animation: scan 4s linear infinite;
    opacity: 0.7;
}

@keyframes scan {
    0% {
        top: 0;
    }

    100% {
        top: 100%;
    }
}

.results-title {
    text-align: center;
    color: var(--color-secondary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.result-item {
    margin-bottom: 20px;
}

.result-item .label {
    display: block;
    color: var(--color-grey);
    font-size: 0.9rem;
}

.result-item .value {
    display: block;
    font-size: 2rem;
    font-family: var(--font-primary);
    color: var(--color-light);
}

.result-item.potential .value {
    color: var(--color-success);
    text-shadow: 0 0 10px var(--color-success);
}

.uplift {
    text-align: center;
    margin-top: 30px;
    border-top: 1px dashed rgba(0, 224, 255, 0.3);
    padding-top: 20px;
}

.uplift #uplift-percentage {
    font-size: 3rem;
    font-family: var(--font-primary);
    color: var(--color-secondary);
}

.uplift p {
    color: var(--color-grey);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ------------------- */
/* 9. Testimonials     */
/* ------------------- */
.testimonial-card {
    background: var(--color-medium);
    padding: 40px;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--color-primary);
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-light);
    margin-bottom: 30px;
    position: relative;
    padding-left: 40px;
}

.testimonial-text::before {
    content: '\f10d';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 2rem;
    color: var(--color-primary);
    opacity: 0.5;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-name {
    color: var(--color-secondary);
}

.author-title {
    color: var(--color-grey);
}

/* This is a simple placeholder for slider. A real JS slider like Swiper.js would be better */
.testimonial-slider-wrapper {
    overflow: hidden;
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ------------------- */
/* 10. CTA Section     */
/* ------------------- */
.cta-section {
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"%3E%3Cg fill="%231C2541" fill-opacity="0.4"%3E%3Cpath d="M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z"%3E%3C/path%3E%3C/g%3E%3C/svg%3E'),
        linear-gradient(to top, var(--color-dark), var(--color-medium));
    padding: 80px 0;
    text-align: center;
}

.cta-container {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 15px;
}

.cta-subtitle {
    color: var(--color-grey);
    margin-bottom: 40px;
    font-size: 1.2rem;
}

.gear {
    position: absolute;
    font-size: 10rem;
    color: rgba(0, 224, 255, 0.05);
    z-index: 1;
}

.gear.g1 {
    top: -20px;
    left: 20%;
    animation: rotate 20s linear infinite;
}

.gear.g2 {
    bottom: -40px;
    right: 15%;
    font-size: 15rem;
    animation: rotate 30s linear infinite reverse;
}

/* ------------------- */
/* 11. Footer          */
/* ------------------- */
.footer {
    background-color: var(--color-medium);
    padding: 80px 0 0;
    border-top: 2px solid var(--color-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col-title {
    font-size: 1.2rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
    position: relative;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-primary);
}

.footer-about-text {
    color: var(--color-grey);
    margin: 20px 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--color-grey);
    border-radius: 50%;
    color: var(--color-grey);
}

.social-links a:hover {
    color: var(--color-dark);
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--color-grey);
}

.footer-links ul li a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--color-grey);
}

.footer-contact ul li i {
    color: var(--color-primary);
    margin-top: 5px;
}

.footer-contact ul li a {
    color: var(--color-grey);
}

.footer-contact ul li a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 224, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    color: var(--color-grey);
}

/* ------------------- */
/* 12. Inner Pages     */
/* ------------------- */
.page-header-section {
    padding: 160px 0 80px;
    background: radial-gradient(circle, var(--color-medium) 0%, var(--color-dark) 70%);
}

.breadcrumbs a {
    color: var(--color-grey);
}

.breadcrumbs span {
    color: var(--color-primary);
}

.breadcrumbs i {
    margin: 0 10px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: var(--color-medium);
    padding: 50px;
    border-radius: var(--border-radius);
}

.contact-info-panel h3 {
    margin-bottom: 20px;
    color: var(--color-secondary);
}

.contact-info-panel p {
    color: var(--color-grey);
    margin-bottom: 30px;
}

.contact-details-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-details-list i {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-top: 5px;
}

.contact-details-list h4 {
    margin-bottom: 5px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-primary);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    background: var(--color-dark);
    border: 1px solid rgba(0, 224, 255, 0.3);
    border-radius: var(--border-radius);
    color: var(--color-light);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: var(--box-glow-primary);
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2300E0FF' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

/* Success Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 19, 43, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--color-medium);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-primary);
    text-align: center;
    max-width: 500px;
    transform: scale(0.9);
    transition: all 0.3s;
}

.popup.show .popup-content {
    transform: scale(1);
}

.popup-icon {
    font-size: 4rem;
    color: var(--color-success);
    margin-bottom: 20px;
}

.popup h3 {
    color: var(--color-light);
    margin-bottom: 15px;
}

.popup p {
    color: var(--color-grey);
    margin-bottom: 30px;
}


/* Legal Content Page */
.legal-content {
    background: var(--color-medium);
    padding: 50px;
    border-radius: var(--border-radius);
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    color: var(--color-secondary);
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-content p {
    margin-bottom: 20px;
    color: var(--color-grey);
}

.legal-content strong {
    color: var(--color-light);
}

/* ------------------- */
/* 13. Live Chat       */
/* ------------------- */
.live-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.chat-bubble {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    color: var(--color-dark);
    cursor: pointer;
    box-shadow: var(--shadow-medium);
    animation: bubble-pulse 2s infinite;
}

@keyframes bubble-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 224, 255, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 224, 255, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 224, 255, 0);
    }
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background: var(--color-dark);
    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius);
    overflow: hidden;
    transform: translateY(20px) scale(0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    transform-origin: bottom right;
}

.chat-window.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--color-medium);
}

.chat-header h5 {
    margin: 0;
}

.close-chat {
    background: none;
    border: none;
    color: var(--color-grey);
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-body {
    padding: 15px;
    height: 300px;
    overflow-y: auto;
}

.chat-body .message {
    margin-bottom: 15px;
    max-width: 80%;
}

.chat-body .message p {
    padding: 10px 15px;
    border-radius: 15px;
    color: var(--color-dark);
}

.message.received {
    float: left;
    clear: both;
}

.message.received p {
    background: var(--color-primary);
    border-bottom-left-radius: 2px;
}

.chat-footer {
    display: flex;
    padding: 10px;
    border-top: 1px solid var(--color-medium);
}

.chat-footer input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--color-light);
    padding: 0 10px;
}

.chat-footer input:focus {
    outline: none;
}

.chat-footer button {
    background: none;
    border: none;
    color: var(--color-primary);
    font-size: 1.2rem;
    cursor: pointer;
}


/* ------------------- */
/* 14. Responsiveness  */
/* ------------------- */

/* Tablets and larger phones (up to 992px) */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--color-medium);
        padding: 100px 40px;
        transition: right 0.4s ease-in-out;
        z-index: 100;
    }

    .nav-menu.show {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 25px;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 2rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-animation {
        margin: 40px auto 0;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image-panel {
        max-width: 400px;
        margin: 0 auto 40px;
    }

    .about-content-panel {
        text-align: center;
    }

    .about-content-panel .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .calculator-wrapper {
        grid-template-columns: 1fr;
    }

    .testimonial-slider {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        margin-bottom: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about {
        grid-column: 1 / 3;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Small devices (up to 768px) */
@media (max-width: 768px) {
    .section-padding {
        padding: 80px 0;
    }

    h1 {
        font-size: 2.5rem;
    }

    .header .btn {
        display: none;
    }

    .hero-animation {
        width: 300px;
        height: 300px;
    }

    .lab-beaker {
        width: 150px;
        height: 200px;
        left: 75px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-about,
    .footer-col {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-col-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .chat-window {
        width: 90vw;
    }
}

/* Extra small devices (up to 576px) */
@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .nav-menu {
        width: 90%;
    }
}