/*
--- Algorithmic Jungle Theme ---
*   Bio Green: #76FF03
*   Cyber Blue: #2979FF
*   Charcoal: #111111
*   Dark Gray: #222222
*   Medium Gray: #3a3a3a
*   Light Gray: #f4f4f4
*   White: #ffffff
*/

:root {
    --bio-green: #76FF03;
    --cyber-blue: #2979FF;
    --charcoal: #111111;
    --dark-gray: #1a1a1a;
    --medium-gray: #3a3a3a;
    --light-gray: #888;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --font-family: 'Poppins', sans-serif;
    --header-height: 80px;
    --transition-speed: 0.3s;
}

/* --- Base Styles & Resets --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--white);
    color: var(--medium-gray);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--charcoal);
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--cyber-blue);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--bio-green);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header & Navigation --- */
.header {
    background-color: var(--charcoal);
    color: var(--white);
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.header.scrolled {
    background-color: rgba(17, 17, 17, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 60px;
    filter: invert(1);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    padding: 10px 5px;
    position: relative;
    transition: color var(--transition-speed) ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--bio-green), var(--cyber-blue));
    transition: width var(--transition-speed) ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--bio-green);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    overflow: hidden;
    position: relative;
}

.btn-primary {
    background: linear-gradient(90deg, var(--cyber-blue), var(--bio-green));
    color: var(--charcoal);
    box-shadow: 0 4px 15px rgba(118, 255, 3, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(41, 121, 255, 0.4);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid var(--bio-green);
}

.btn-secondary:hover {
    background-color: var(--bio-green);
    color: var(--charcoal);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 22px;
    position: relative;
    z-index: 1001;
}

.bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--white);
    border-radius: 3px;
    position: absolute;
    transition: all 0.4s ease-in-out;
}

.bar-top {
    top: 0;
}

.bar-middle {
    top: 50%;
    transform: translateY(-50%);
}

.bar-bottom {
    bottom: 0;
}

.mobile-toggle.active .bar-top {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-toggle.active .bar-middle {
    opacity: 0;
}

.mobile-toggle.active .bar-bottom {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav ul {
    text-align: center;
}

.mobile-nav li {
    margin: 20px 0;
}

.mobile-nav-link {
    font-size: 1.8rem;
    color: var(--white);
    font-weight: 600;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
    background-color: var(--charcoal);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: transform 0.2s ease-out;
}

.layer-1 {
    background-image: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.05;
}

.layer-2 {
    background-image: url('https://i.imgur.com/2s09h1T.png');
    opacity: 0.1;
}

/* Circuit faint */
.layer-3 {
    background-image: url('https://i.imgur.com/gL9ePaA.png');
    opacity: 0.3;
}

/* Vines */
.layer-4 {
    background-image: url('https://i.imgur.com/R3tXY0y.png');
    opacity: 0.2;
}

/* Circuit foreground */

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: var(--header-height);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 0 20px rgba(118, 255, 3, 0.4);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    color: rgba(255, 255, 255, 0.8);
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* --- General Section Styling --- */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--cyber-blue), var(--bio-green));
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--light-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Services Section --- */
.services-section {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 180deg at 50% 50%, var(--cyber-blue), var(--bio-green), var(--cyber-blue));
    transform: rotate(0deg);
    transition: transform 0.5s ease;
    opacity: 0;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    opacity: 1;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.service-card>* {
    position: relative;
    z-index: 2;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 4px;
    background-color: var(--white);
    border-radius: 10px;
    z-index: 1;
}

.service-icon {
    font-size: 3rem;
    color: var(--cyber-blue);
    margin-bottom: 20px;
    display: inline-block;
    transition: color var(--transition-speed) ease;
}

.service-card:hover .service-icon {
    color: var(--bio-green);
}

.service-title {
    margin-bottom: 15px;
}

.service-description {
    color: var(--light-gray);
    margin-bottom: 20px;
}

.service-link {
    font-weight: 600;
    color: var(--charcoal);
}

/* --- About Section --- */
.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image-wrapper {
    flex: 1;
    position: relative;
}

.about-image {
    width: 100%;
    padding-bottom: 100%;
    /* 1:1 Aspect Ratio */
    background-image: url('https://i.imgur.com/u5RBCwB.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 70%;
    height: 70%;
    background: linear-gradient(135deg, var(--cyber-blue), var(--bio-green));
    border-radius: 12px;
    z-index: -1;
    opacity: 0.8;
}

.about-content {
    flex: 1.2;
}

.about-features {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.about-features .fa-check-circle {
    color: var(--bio-green);
    font-size: 1.3rem;
}


/* --- Process Section --- */
.process-section {
    background-color: var(--charcoal);
    color: var(--white);
}

.process-section .section-title,
.process-section .section-subtitle {
    color: var(--white);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--medium-gray);
    transform: translateX(-50%);
}

.timeline-item {
    padding: 40px 0;
    position: relative;
    display: flex;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 80px;
    justify-content: flex-end;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 80px;
}

.timeline-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--dark-gray);
    border: 3px solid var(--bio-green);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--bio-green);
    z-index: 1;
    transition: all var(--transition-speed) ease;
}

.timeline-item:hover .timeline-icon {
    background-color: var(--bio-green);
    color: var(--charcoal);
    transform: translateY(-50%) scale(1.1);
}

.timeline-item:nth-child(odd) .timeline-icon {
    right: -30px;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -30px;
}

.timeline-content {
    background-color: var(--dark-gray);
    padding: 30px;
    border-radius: 10px;
    width: 100%;
}

.timeline-step {
    font-size: 1rem;
    font-weight: 700;
    color: var(--bio-green);
    margin-bottom: 10px;
    display: block;
}

.timeline-content h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--light-gray);
    margin-bottom: 0;
}

/* --- Testimonials Section --- */
.testimonials-section {
    background-color: var(--bg-light);
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    transition: transform var(--transition-speed) ease-in-out;
}

.testimonial-slide {
    flex: 0 0 100%;
    padding: 40px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    margin-bottom: 30px;
    font-style: italic;
    font-size: 1.1rem;
    position: relative;
}

.testimonial-content .fa-quote-left {
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 3rem;
    color: var(--bio-green);
    opacity: 0.2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-info h4 {
    margin: 0;
    font-size: 1.2rem;
}

.author-info span {
    color: var(--light-gray);
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

.slider-controls button {
    background-color: var(--white);
    border: 2px solid var(--cyber-blue);
    color: var(--cyber-blue);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed) ease;
}

.slider-controls button:hover {
    background-color: var(--cyber-blue);
    color: var(--white);
}

/* --- Interactive Section --- */
.interactive-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    background: var(--charcoal);
    color: var(--white);
    padding: 60px;
    border-radius: 15px;
}

.interactive-content {
    flex: 1.5;
}

.interactive-content .section-title {
    color: var(--white);
    text-align: left;
    display: block;
}

.interactive-content .section-title::after {
    left: 0;
    transform: none;
}

.interactive-buttons {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.interactive-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-placeholder {
    width: 250px;
    height: 250px;
    border: 5px dashed var(--medium-gray);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--bio-green);
    text-align: center;
    animation: pulse 2s infinite ease-in-out;
}

.visual-placeholder i {
    font-size: 4rem;
}

.visual-placeholder span {
    font-weight: 600;
    margin-top: 15px;
    letter-spacing: 1px;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(118, 255, 3, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(118, 255, 3, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(118, 255, 3, 0);
    }
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://i.imgur.com/8Q73I2S.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Footer --- */
.footer {
    background-color: var(--charcoal);
    color: var(--light-gray);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.footer-shape {
    position: absolute;
    background-color: var(--bio-green);
    border-radius: 50%;
    opacity: 0.05;
}

.shape-1 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -100px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: -100px;
    right: -50px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--medium-gray);
}

.footer-col-title {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 2px;
    background-color: var(--bio-green);
}

.footer-about-text {
    margin: 20px 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--medium-gray);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all var(--transition-speed) ease;
}

.social-link:hover {
    background-color: var(--bio-green);
    color: var(--charcoal);
    transform: translateY(-3px);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul a {
    color: var(--light-gray);
}

.footer-links ul a:hover {
    color: var(--white);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--bio-green);
    margin-top: 5px;
}

.contact-info a {
    color: var(--light-gray);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

/* --- Modals --- */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 40px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 12px;
    position: relative;
    animation: slideIn 0.4s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        top: -100px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

.close-btn {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
}

.calculator-form .form-group {
    margin-bottom: 20px;
}

.calculator-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.calculator-form select,
.calculator-form input {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.calculator-result {
    margin-top: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-left: 4px solid var(--cyber-blue);
    display: none;
}

/* --- Live Chat Widget --- */
.live-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 998;
}

.chat-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--cyber-blue), var(--bio-green));
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    position: relative;
}

.chat-toggle-btn .fa-times {
    display: none;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    max-height: 500px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}

.live-chat-widget.open .chat-window {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.live-chat-widget.open .fa-comment-dots {
    display: none;
}

.live-chat-widget.open .fa-times {
    display: block;
}

.chat-header {
    background: var(--charcoal);
    color: var(--white);
    padding: 20px;
}

.chat-header h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.chat-header p {
    color: var(--light-gray);
    margin: 0;
    font-size: 0.9rem;
}

.chat-body {
    padding: 20px;
    flex-grow: 1;
    overflow-y: auto;
}

.message {
    margin-bottom: 15px;
    max-width: 80%;
}

.message p {
    padding: 10px 15px;
    border-radius: 15px;
    margin: 0;
}

.message.received {
    align-self: flex-start;
}

.message.received p {
    background: var(--bg-light);
    border-bottom-left-radius: 0;
}

.chat-footer {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.chat-footer input {
    flex-grow: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 10px 15px;
    outline: none;
}

.chat-footer button {
    background: var(--cyber-blue);
    border: none;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

/* --- Subpage Styles --- */
body.subpage {
    padding-top: var(--header-height);
}

.page-header {
    padding: 80px 0;
    background: var(--charcoal);
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 15px;
}

.page-subtitle {
    max-width: 700px;
    margin: 0 auto 20px;
    color: var(--light-gray);
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--bio-green);
}

.breadcrumbs span {
    color: var(--light-gray);
}

.page-content {
    padding: 80px 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 10px;
}

/* --- Contact Page Specifics --- */
.contact-section {
    background: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background-color: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.contact-info-panel h2 {
    margin-bottom: 15px;
}

.contact-methods {
    margin-top: 30px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.method-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--cyber-blue), var(--bio-green));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.method-details h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.method-details p,
.method-details p a {
    margin: 0;
    color: var(--light-gray);
}

.contact-form .form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.full-width {
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-family);
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--cyber-blue);
    box-shadow: 0 0 0 3px rgba(41, 121, 255, 0.2);
}

textarea {
    resize: vertical;
}

/* --- Form Submission Popup --- */
.popup {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 1002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.popup.show {
    display: flex;
}

.popup-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 450px;
    position: relative;
    animation: popup-scale 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popup-scale {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: #aaa;
    text-decoration: none;
}

.popup-close:hover {
    color: #333;
}

.popup-icon {
    font-size: 4rem;
    color: var(--bio-green);
    margin-bottom: 20px;
}

.popup-content h3 {
    margin-bottom: 10px;
}

.popup-content p {
    color: var(--light-gray);
    margin-bottom: 25px;
}

.popup-close-btn {
    display: inline-block;
}


/* --- Animation on Scroll --- */
.animate-on-load,
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-load.animated,
.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-load:nth-child(2) {
    transition-delay: 0.1s;
}

.animate-on-load:nth-child(3) {
    transition-delay: 0.2s;
}

.services-grid .animate-on-scroll:nth-child(2) {
    transition-delay: 0.1s;
}

.services-grid .animate-on-scroll:nth-child(3) {
    transition-delay: 0.2s;
}

.services-grid .animate-on-scroll:nth-child(4) {
    transition-delay: 0.3s;
}

/* --- Responsiveness --- */
@media (max-width: 992px) {
    .nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .mobile-nav {
        display: flex;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .about-container {
        flex-direction: column;
    }

    .interactive-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .interactive-content .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .interactive-buttons {
        justify-content: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    section {
        padding: 80px 0;
    }

    .process-timeline::before {
        left: 30px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        width: 100%;
        left: 0;
        padding-left: 80px;
        padding-right: 0;
        justify-content: flex-start;
        text-align: left;
    }

    .timeline-item:nth-child(odd) {
        padding-right: 0;
        justify-content: flex-start;
        text-align: left;
    }

    .timeline-icon,
    .timeline-item:nth-child(odd) .timeline-icon,
    .timeline-item:nth-child(even) .timeline-icon {
        left: 0;
    }

    .slider-controls {
        display: none;
    }

    /* Hide for touch swiping */
    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .contact-info li {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .header-cta span {
        display: none;
    }

    .btn {
        padding: 10px 20px;
    }

    .interactive-wrapper,
    .contact-wrapper {
        padding: 30px;
    }
}