:root {
    --primary-color: #00ff9d;
    --secondary-color: #ff00ff;
    --background-color: #0a0a0a;
    --text-color: #ffffff;

    /* Removing potentially conflicting n8n chat variables */
    /* --n8n-chat-bubble-bg: var(--primary-color);
    --n8n-chat-bubble-text: var(--background-color);
    --n8n-chat-window-bg: rgba(10, 10, 10, 0.95);
    --n8n-chat-window-border: 1px solid var(--primary-color); */

    /* Removing n8n Chat specific variables that might cause conflicts */
    /* --chat--color-primary: #00ff9d;
    --chat--color-primary-shade-50: #00e68d;
    --chat--color-primary-shade-100: #00cc7d;
    --chat--color-secondary: #00ff9d;
    --chat--color-white: #ffffff;
    --chat--color-light: #f2f4f8;
    --chat--color-dark: #0a0a0a;
    --chat--color-disabled: #777980;
    --chat--color-typing: #404040;

    --chat--window--width: 400px;
    --chat--window--height: 600px;
    
    --chat--header--background: #0a0a0a;
    --chat--header--color: #00ff9d;
    --chat--header--border-bottom: 1px solid #00ff9d;
    
    --chat--message--bot--background: rgba(255, 255, 255, 0.05);
    --chat--message--bot--color: #ffffff;
    --chat--message--user--background: #00ff9d;
    --chat--message--user--color: #0a0a0a;
    
    --chat--textarea--background: rgba(255, 255, 255, 0.05);
    --chat--textarea--color: #ffffff;
    --chat--textarea--border: 1px solid #00ff9d;
    
    --chat--toggle--background: #0a0a0a !important;
    --chat--toggle--color: #00ff9d !important;
    --chat--toggle--hover--background: #0a0a0a !important;
    --chat--toggle--active--background: #0a0a0a !important;
    --chat--toggle--border: 2px solid #00ff9d !important;
    --chat--toggle--size: 60px !important;
    --chat--toggle--box-shadow: 0 0 15px rgba(0, 255, 157, 0.3) !important; */
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

/* Navbar Styles */
.navbar {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 157, 0.2);
}

.navbar-brand {
    color: var(--primary-color);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
}

.navbar-brand:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.nav-item {
    margin: 0 5px;
    position: relative;
}

.nav-link {
    color: var(--text-color) !important;
    padding: 8px 15px !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link:hover::before {
    width: 100%;
}

.nav-item:hover .nav-link {
    box-shadow: 0 0 10px var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    background: rgba(0, 255, 157, 0.1);
}

/* Active nav link state */
.nav-item .nav-link.active {
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    background: rgba(0, 255, 157, 0.1);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Add these styles for the background particles */
#particles-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Update section styles to ensure content stays above particles */
section {
    position: relative;
    z-index: 1;
}

/* Remove the old particles-js styles since we're not using that div anymore */
#particles-js {
    display: none;
}

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

.hero-section h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.glitch {
    font-size: 4rem;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0.05em 0 0 var(--primary-color),
                -0.05em -0.025em 0 var(--secondary-color);
    animation: glitch 725ms infinite;
}

/* Hero Section Styles */
.cyber-text {
    font-size: 2.5rem;
    font-weight: 400;
    margin: 20px 0;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 4px;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

/* Keeping the same glow animation but with slightly reduced intensity */
@keyframes glow {
    from {
        text-shadow: 0 0 5px rgba(0, 255, 157, 0.5),
                     0 0 10px rgba(0, 255, 157, 0.3),
                     0 0 15px rgba(0, 255, 157, 0.2);
    }
    to {
        text-shadow: 0 0 10px rgba(0, 255, 157, 0.6),
                     0 0 20px rgba(0, 255, 157, 0.4),
                     0 0 30px rgba(0, 255, 157, 0.3);
    }
}

/* Service Cards */
.service-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--primary-color);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    transition: all 0.5s ease;
    margin-bottom: 2rem;
    text-align: center;
    height: 500px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    flex: 1;
}

.service-front {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-back {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.service-card:hover {
    flex: 2;
    background: rgba(0, 255, 157, 0.05);
    border-color: var(--primary-color);
}

.service-card:hover .service-back {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover ~ .service-card,
.service-card:not(:hover) {
    flex: 0.5;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.service-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-back ul {
    list-style: none;
    padding: 10px 20px;
    margin: 1rem 0;
    text-align: left;
    font-size: 0.9em;
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
    column-gap: 50px;
}

.service-back ul li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
}

.service-back ul li::before {
    content: '→';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.service-btn {
    margin-top: auto;
    padding: 8px 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Update the services row to use flexbox */
#services .row {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #services .row {
        flex-direction: column;
    }
    
    .service-card {
        height: auto;
        padding: 2rem 1.5rem;
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .service-card:hover,
    .service-card:not(:hover) {
        flex: 1;
    }

    .hero-section h1,
    .glitch {
        font-size: 3rem;
    }
}

/* Cyber Button */
.cyber-button {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cyber-button:hover {
    background: var(--primary-color);
    color: var(--background-color);
}

/* Blog Cards */
.blog-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(0, 255, 157, 0.1);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    height: 100%;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-source {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(10, 10, 10, 0.8);
    padding: 8px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
}

.blog-source i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: var(--text-color);
    line-height: 1.5;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.blog-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-meta span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.blog-meta i {
    margin-right: 5px;
}

.cyber-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cyber-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 255, 157, 0.1);
    border-color: var(--primary-color);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

/* Contact Form */
.cyber-input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--primary-color);
    color: var(--text-color);
    padding: 10px;
    font-size: 1.1rem;
}

.cyber-input:focus {
    box-shadow: 0 0 10px var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

/* Section Padding */
.section-padding {
    padding: 100px 0;
}

/* Animations */
@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 var(--primary-color),
                     -0.05em -0.025em 0 var(--secondary-color);
    }
    14% {
        text-shadow: 0.05em 0 0 var(--primary-color),
                     -0.05em -0.025em 0 var(--secondary-color);
    }
    15% {
        text-shadow: -0.05em -0.025em 0 var(--primary-color),
                     0.025em 0.025em 0 var(--secondary-color);
    }
    49% {
        text-shadow: -0.05em -0.025em 0 var(--primary-color),
                     0.025em 0.025em 0 var(--secondary-color);
    }
    50% {
        text-shadow: 0.025em 0.05em 0 var(--primary-color),
                     0.05em 0 0 var(--secondary-color);
    }
    99% {
        text-shadow: 0.025em 0.05em 0 var(--primary-color),
                     0.05em 0 0 var(--secondary-color);
    }
    100% {
        text-shadow: -0.025em 0 0 var(--primary-color),
                     -0.025em -0.025em 0 var(--secondary-color);
    }
}

/* Tech Stack Cards */
.tech-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 2rem;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.tech-card img {
    max-height: 85%;
    width: auto;
    object-fit: contain;
}

/* Tech Stack Section */
.tech-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    border-radius: 15px;
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Special styling for integration cards */
.tech-category .row .tech-card {
    height: 160px;
    aspect-ratio: auto;
    padding: 1.5rem;
}

.tech-card img {
    max-width: 80%;
    height: auto;
    transition: all 0.3s ease;
}

/* Larger images for integration cards */
.tech-category .row .tech-card img {
    max-height: 85%;
    width: auto;
}

.tech-card::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background: var(--background-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    z-index: 10;
}

.tech-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.2);
    transform: translateY(-5px);
}

.tech-card:hover::before {
    opacity: 1;
    visibility: visible;
    bottom: -30px;
}

.tech-card:hover img {
    transform: scale(1.1);
}

/* Add responsive adjustments */
@media (max-width: 768px) {
    .tech-card {
        height: 120px;
        padding: 1.5rem;
    }
    
    .tech-card::before {
        font-size: 0.7rem;
    }
}

/* Floating Button Styles */
.floating-button {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--background-color);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 255, 157, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
}

.floating-button:hover {
    transform: scale(1.1);
    color: var(--background-color);
    box-shadow: 0 6px 20px rgba(0, 255, 157, 0.4);
}

.floating-button i {
    font-size: 24px;
    animation: bounce 1.5s infinite;
}

.phone-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    animation: ring 1.5s infinite;
}

@keyframes ring {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Media Query for mobile devices */
@media (max-width: 768px) {
    .floating-button {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .floating-button i {
        font-size: 20px;
    }
}

/* Floating Button Styles */
.floating-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--background-color);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    white-space: nowrap;
    border: 1px solid var(--primary-color);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.2);
    z-index: 1001;
}

.floating-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid var(--primary-color);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.floating-button:hover .floating-tooltip {
    opacity: 1;
    visibility: visible;
    right: 80px;
}

/* Add to the media query section */
@media (max-width: 768px) {
    .floating-tooltip {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* Tech Stack Categories */
.tech-category {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 157, 0.1);
    height: 100%;
    transition: all 0.3s ease;
}

.tech-category h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem !important;
    padding: 0.5rem 0;
    text-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
}

.tech-category:hover h3 {
    text-shadow: 0 0 15px var(--primary-color);
    transition: all 0.3s ease;
}

.tech-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tech-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.2);
    transform: translateX(10px);
}

.tech-card img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tech-category {
        margin-bottom: 1.5rem;
    }
}

/* Blog title link styles */
.blog-title {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-title:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

/* Get Started Button */
.get-started-btn {
    font-size: 1.2rem;
    padding: 15px 40px;
    background: rgba(0, 255, 157, 0.1);
    border-width: 2px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.get-started-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 255, 157, 0.3);
}

.get-started-btn i {
    transition: transform 0.3s ease;
}

.get-started-btn:hover i {
    transform: translateX(5px);
}

/* Cycling text animation */
.text-cycling-container {
    position: relative;
    overflow: hidden;
    min-height: 2em;
    margin: 1.5rem 0;
}

#cycling-text {
    position: relative;
    margin: 0;
    animation-duration: 0.5s;
    animation-fill-mode: both;
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-out {
    animation-name: slideOutRight;
}

.slide-in {
    animation-name: slideInLeft;
}

.text-cycling-container:hover #cycling-text {
    animation-play-state: paused;
}

.text-cycling-container:hover {
    cursor: pointer;
}

/* Add text shadow for better contrast */
h1, h2, h3, h4, h5, h6 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Increase opacity of text on dark backgrounds */
p, .service-card p, .blog-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Improve section headings */
.section-padding h2 {
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

/* Add subtle text glow to important elements */
.navbar-brand, .section-padding h2, .tech-category h3 {
    text-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
}

/* Improve form input readability */
.cyber-input {
    background: rgba(255, 255, 255, 0.08);
    font-size: 1.1rem;
}

/* Add subtle backdrop blur to cards for better contrast */
.service-card, .blog-card, .tech-card {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Calendly Widget Styles */
.calendly-inline-widget {
    min-width: 320px;
    height: 700px;
}

/* Contact Card Styles */
.contact-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--primary-color);
    border-radius: 15px;
    padding: 3rem 2rem;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 255, 157, 0.1);
}

.cyber-border {
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 3px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.2);
}

.cyber-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    animation: borderGlow 2s linear infinite;
    opacity: 0.5;
}

@keyframes borderGlow {
    0% {
        clip-path: inset(0 0 98% 0);
    }
    25% {
        clip-path: inset(0 98% 0 0);
    }
    50% {
        clip-path: inset(98% 0 0 0);
    }
    75% {
        clip-path: inset(0 0 0 98%);
    }
    100% {
        clip-path: inset(0 0 98% 0);
    }
}

.video-wrapper {
    margin: 20px;
    background: rgba(255, 255, 255, 0.03);
    padding: 3px;
}

.hero-section .video-wrapper {
    margin: 0;
}

@media (max-width: 768px) {
    .hero-section .row {
        text-align: center;
    }
    
    .hero-section .video-wrapper {
        margin-top: 30px;
    }
}

/* Remove underlines from buttons and button-styled links */
.cyber-button,
.get-started-btn,
a.cyber-button,
a.get-started-btn {
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cyber-button:hover,
.get-started-btn:hover,
a.cyber-button:hover,
a.get-started-btn:hover {
    text-decoration: none !important;
}

/* Team Profiles Styling */
.team-profiles {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.profile-card {
    text-align: center;
}

.profile-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    padding: 3px;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.profile-card .title {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .team-profiles {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
}

.profile-image.cyber-border {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    padding: 3px;
}

.profile-image.cyber-border::before {
    border-radius: 50%;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.profile-card a:hover {
    transform: translateY(-5px);
    color: inherit;
}

/* Responsive Typography */
@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }
    
    .glitch, .hero-section h1 {
        font-size: 2.5rem !important;
    }
    
    .cyber-text {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    :root {
        font-size: 13px;
    }
    
    .glitch, .hero-section h1 {
        font-size: 2rem !important;
    }
    
    .cyber-text {
        font-size: 1.5rem;
    }
}

/* Responsive Navigation */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(10, 10, 10, 0.95);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
    }

    .nav-item {
        margin: 0.5rem 0;
    }
    
    .nav-link {
        text-align: center;
    }
}

/* Responsive Hero Section */
@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        height: auto;
        padding: 100px 0 50px;
    }

    .hero-section .row {
        text-align: center;
    }

    .get-started-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .video-wrapper {
        margin-top: 2rem;
    }
}

/* Responsive Service Cards */
@media (max-width: 991px) {
    .service-card {
        height: auto;
        min-height: 400px;
    }

    #services .row {
        flex-direction: column;
    }

    .service-card:hover,
    .service-card:not(:hover) {
        flex: 1;
    }

    .service-back ul {
        columns: 1;
        -webkit-columns: 1;
        -moz-columns: 1;
    }
}

/* Responsive Tech Stack */
@media (max-width: 768px) {
    .tech-category {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }

    .tech-card {
        height: 120px;
    }

    .tech-cards-wrapper .row {
        margin: -0.5rem;
    }

    .tech-cards-wrapper .col-md-4 {
        padding: 0.5rem;
    }
}

/* Responsive Blog Cards */
@media (max-width: 991px) {
    .blog-card {
        margin-bottom: 2rem;
    }

    .blog-content h3 {
        font-size: 1.2rem;
    }

    .blog-content p {
        font-size: 1rem;
    }
}

/* Responsive Contact Section */
@media (max-width: 768px) {
    .contact-card {
        padding: 2rem 1rem;
    }

    .team-profiles {
        flex-direction: column;
        gap: 2rem;
    }

    .button-group {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cyber-button {
        width: 100%;
        max-width: 300px;
        margin: 0.5rem 0;
        text-align: center;
    }
}

/* Responsive Floating Button */
@media (max-width: 576px) {
    .floating-button {
        width: 45px;
        height: 45px;
        bottom: 90px;
        right: 15px;
    }

    .floating-button i {
        font-size: 18px;
    }

    .floating-tooltip {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* General Responsive Utilities */
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .hero-section {
        height: -webkit-fill-available;
    }
}

/* Improve touch targets on mobile */
@media (max-width: 768px) {
    button, 
    .nav-link,
    .cyber-button,
    .tech-card {
        min-height: 44px; /* Apple's recommended minimum */
    }

    .nav-link {
        padding: 12px 20px !important;
    }
}

/* Better scrolling on mobile */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 80px; /* Account for fixed header */
    }

    body {
        -webkit-overflow-scrolling: touch;
    }
}

/* Optimize images for different screen sizes */
@media (max-width: 768px) {
    .blog-image img {
        height: 160px;
    }

    .tech-card img {
        max-width: 70%;
    }
}

/* Improve form elements on mobile */
@media (max-width: 768px) {
    input, 
    textarea, 
    select {
        font-size: 16px !important; /* Prevent iOS zoom on focus */
    }

    .cyber-input {
        padding: 12px;
    }
}

/* Add smooth transitions for orientation changes */
@media screen and (orientation: landscape) and (max-height: 500px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
    }

    .service-card {
        height: auto;
    }
}

/* Chatbot Custom Styles */
body .n8n-chat-window {
    background-color: #0a0a0a !important;
    border: 2px solid #00ff9d !important;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.2) !important;
}

body .n8n-chat-header {
    background-color: #0a0a0a !important;
    border-bottom: 1px solid #00ff9d !important;
}

body .n8n-chat-header-title {
    color: #00ff9d !important;
    font-weight: bold !important;
}

body .n8n-chat-header-subtitle {
    color: rgba(255, 255, 255, 0.8) !important;
}

body .n8n-chat-messages {
    background-color: #0a0a0a !important;
}

body .n8n-chat-input-container {
    background-color: #0a0a0a !important;
    border-top: 1px solid #00ff9d !important;
}

body .n8n-chat-input {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid #00ff9d !important;
    color: #ffffff !important;
}

body .n8n-chat-input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

body .n8n-chat-send-button {
    background-color: #00ff9d !important;
    color: #0a0a0a !important;
}

body .n8n-chat-bubble {
    background-color: #0a0a0a !important;
    color: #00ff9d !important;
    border: 2px solid #00ff9d !important;
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.3) !important;
    transition: all 0.3s ease !important;
}

body .n8n-chat-bubble:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.5) !important;
}

/* Add a subtle glow animation */
@keyframes toggleGlow {
    0% {
        box-shadow: 0 0 15px rgba(0, 255, 157, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 255, 157, 0.5);
    }
    100% {
        box-shadow: 0 0 15px rgba(0, 255, 157, 0.3);
    }
}

body .n8n-chat-bubble {
    animation: toggleGlow 2s infinite ease-in-out !important;
}

body .n8n-chat-loading-indicator {
    color: #00ff9d !important;
}

body .n8n-chat-messages::-webkit-scrollbar {
    width: 6px !important;
}

body .n8n-chat-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05) !important;
}

body .n8n-chat-messages::-webkit-scrollbar-thumb {
    background: #00ff9d !important;
    border-radius: 3px !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    body .n8n-chat-window {
        width: 90vw !important;
        height: 80vh !important;
        max-height: 600px !important;
        margin: 20px !important;
    }

    body .n8n-chat-bubble {
        width: 50px !important;
        height: 50px !important;
        right: 20px !important;
        bottom: 20px !important;
    }

    body .n8n-chat-message-bubble {
        max-width: 90% !important;
        font-size: 14px !important;
    }
}

/* Cyber Glitch Effect for Chat Header */
.n8n-chat-header-title::after {
    content: attr(data-text);
    position: absolute;
    left: 2px;
    text-shadow: -1px 0 var(--primary-color);
    top: 0;
    color: var(--primary-color);
    background: rgba(10, 10, 10, 0.98);
    overflow: hidden;
    animation: noise-anim 2s infinite linear alternate-reverse;
}

@keyframes noise-anim {
    0% {
        clip-path: inset(40% 0 61% 0);
    }
    20% {
        clip-path: inset(92% 0 1% 0);
    }
    40% {
        clip-path: inset(43% 0 1% 0);
    }
    60% {
        clip-path: inset(25% 0 58% 0);
    }
    80% {
        clip-path: inset(54% 0 7% 0);
    }
    100% {
        clip-path: inset(58% 0 43% 0);
    }
}

/* Message Timestamp */
.n8n-chat-message-timestamp {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 0.8em !important;
    margin-top: 4px !important;
}

/* Links in Messages */
.n8n-chat-message-bubble a {
    color: #00ff9d !important;
    text-decoration: underline !important;
}

/* Code Blocks in Messages */
.n8n-chat-message-bubble code {
    background-color: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(0, 255, 157, 0.2) !important;
    color: #00ff9d !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
}

/* Removing hover effect on bot messages */
/* body .n8n-chat-message-bubble.bot:hover {
    background-color: rgba(0, 255, 157, 0.15) !important;
    border-color: rgba(0, 255, 157, 0.4) !important;
} */

/* Scheduling Section */
.schedule-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 3rem 2rem;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.date-selector, .time-slots {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    height: 100%;
    min-height: 400px;
    border-radius: 12px;
}

.cyber-calendar {
    width: 100%;
    background: rgba(10, 10, 10, 0.5);
    border-radius: 10px;
    overflow: hidden;
    padding: 1rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.calendar-header button {
    background: transparent;
    border: 1px solid rgba(0, 255, 157, 0.5);
    color: var(--primary-color);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-header button:hover {
    background: var(--primary-color);
    color: var(--background-color);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-day:hover:not(.disabled) {
    background: rgba(0, 255, 157, 0.2);
}

.calendar-day.selected {
    background: var(--primary-color);
    color: var(--background-color);
}

.calendar-day.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.day-label {
    font-size: 0.8rem;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Time Slots */
.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 10px;
}

.time-slot {
    background: rgba(0, 255, 157, 0.1);
    border: none;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.time-slot:hover {
    background: var(--primary-color);
    color: var(--background-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 157, 0.2);
}

.time-slot.selected {
    background: var(--primary-color);
    color: var(--background-color);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 255, 157, 0.3);
}

.time-slot.disabled {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.time-slot.disabled:hover {
    transform: none;
    box-shadow: none;
}

.time-slot.disabled::after {
    content: "×";
    position: absolute;
    font-size: 16px;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: rgba(255, 0, 0, 0.5);
}

.slot-message {
    grid-column: span 2;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.time-slots::-webkit-scrollbar {
    width: 5px;
}

.time-slots::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.time-slots::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

.booking-summary {
    background: rgba(0, 255, 157, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
    border: none;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.booking-summary h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 255, 157, 0.2);
}

.summary-item:last-child {
    border-bottom: none;
}

.confirm-booking {
    margin-top: 1.5rem;
    width: 100%;
}

/* Toast Notification - Enhanced Visibility */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 350px;
    pointer-events: none;
    display: block !important;
}

.toast {
    background: rgba(10, 10, 10, 0.95);
    border-left: 4px solid;
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 157, 0.2);
    animation: slideIn 0.3s ease forwards;
    pointer-events: auto;
    opacity: 1;
    min-width: 300px;
    color: white;
    font-weight: 500;
}

.toast-success {
    border-color: var(--primary-color);
}

.toast-error {
    border-color: #ff3860;
}

.toast-title {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toast-success .toast-title {
    color: var(--primary-color);
}

.toast-error .toast-title {
    color: #ff3860;
}

.toast-message {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.toast.hiding {
    animation: slideOut 0.3s ease forwards;
}

@media (max-width: 768px) {
    .time-slots-grid {
        grid-template-columns: 1fr;
    }
    
    .slot-message {
        grid-column: span 1;
    }
    
    .date-selector, .time-slots {
        margin-bottom: 2rem;
    }
}

/* Booking Form Styles */
.booking-form-container {
    margin-top: 3rem;
    transition: all 0.3s ease;
}

.booking-form {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 2rem;
}

.booking-form .form-label {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.booking-form .cyber-input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 157, 0.3);
    color: var(--text-color);
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.booking-form .cyber-input:focus {
    background: rgba(0, 255, 157, 0.1);
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.2);
    outline: none;
}

.booking-form select.cyber-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%2300ff9d' d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
    appearance: none;
    padding-right: 2.5rem;
}

.booking-form textarea.cyber-input {
    min-height: 100px;
    resize: vertical;
}

.booking-form .confirm-booking {
    background: rgba(0, 255, 157, 0.1);
    border: 1px solid var(--primary-color);
    padding: 12px 25px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.booking-form .confirm-booking:hover {
    background: var(--primary-color);
    color: var(--background-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 157, 0.3);
}

/* Form Responsive Styles */
@media (max-width: 768px) {
    .booking-form .row {
        flex-direction: column;
    }
    
    .booking-form .col-md-6 {
        width: 100%;
    }
}

/* Modal Styles */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid var(--primary-color);
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 0;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 255, 157, 0.2);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    position: relative;
}

.modal-backdrop.show .modal-container {
    transform: translateY(0);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 255, 157, 0.2);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header .close-btn {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: all 0.3s ease;
}

.modal-header .close-btn:hover {
    color: #fff;
    transform: scale(1.1);
}

.modal-body {
    padding: 1.5rem;
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.6;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 255, 157, 0.2);
    text-align: right;
}

.modal-btn {
    background: rgba(0, 255, 157, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.modal-btn:hover {
    background: var(--primary-color);
    color: var(--background-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 157, 0.2);
}

.modal-icon {
    font-size: 1.5rem;
    margin-right: 10px;
}

.modal-success .modal-icon {
    color: var(--primary-color);
}

.modal-error .modal-icon {
    color: #ff3860;
}

@media (max-width: 576px) {
    .modal-container {
        width: 95%;
        padding: 0;
    }
    
    .modal-header, .modal-body, .modal-footer {
        padding: 1rem;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
} 