:root {
    --primary-color: #0a192f; /* Deep tech blue */
    --secondary-color: #ffffff;
    --accent-color: #64ffda; /* Teal/mint for tech feel */
    --accent-secondary: #5468ff; /* Electric blue for secondary accents */
    --text-color: #333333;
    --light-gray: #f8fafc;
    --dark-gray: #4b5563;
    --tech-gradient: linear-gradient(135deg, #5468ff 0%, #64ffda 100%); /* Tech-inspired gradient */
    --automation-gradient: linear-gradient(135deg, #0a192f 0%, #5468ff 100%); /* Automation theme gradient */
    --box-shadow: 0 10px 25px rgba(10, 25, 47, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Navbar Styles */
.navbar {
    background: rgba(255, 255, 255, 0.92); /* Slightly transparent navbar */
    backdrop-filter: blur(10px); /* Modern blur effect */
    padding: 1.2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--tech-gradient);
    border-radius: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--tech-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links a:hover {
    color: var(--accent-secondary);
}

.dropdown {
    position: relative;
}

.dropdown i {
    font-size: 0.8rem;
    margin-left: 5px;
    transition: transform 0.3s;
}

.dropdown.show-dropdown i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--secondary-color);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.8rem 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 100;
}

.dropdown:hover .dropdown-menu,
.dropdown.show-dropdown .dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown-menu li {
    display: block;
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.dropdown-menu li a:hover {
    color: var(--accent-color);
    background-color: rgba(0, 0, 0, 0.03);
    border-left: 3px solid var(--accent-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.85)), url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
    color: var(--secondary-color);
    padding-top: 80px;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235468ff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--primary-color), transparent);
    z-index: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background-clip: text;
    -webkit-background-clip: text;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.2rem;
    border-radius: 50px; /* Rounded buttons */
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: var(--tech-gradient);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(84, 104, 255, 0.3);
    font-weight: 700;
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(84, 104, 255, 0.5);
    transform: translateY(-3px);
}

.btn-outline {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(100, 255, 218, 0.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.8;
    transition: var(--transition);
    z-index: 2;
}

.scroll-indicator span {
    width: 30px;
    height: 50px;
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
}

/* Services Section */
.services {
    padding: 8rem 0;
    background-color: var(--secondary-color);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--tech-gradient);
}

.section-header p {
    font-size: 1.3rem;
    color: var(--dark-gray);
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    padding: 3rem 2rem;
    background: var(--secondary-color);
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, rgba(100, 255, 218, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.service-card:hover::before {
    height: 100%;
}

.number {
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(255, 77, 77, 0.1);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
    position: relative;
}

.service-card p {
    color: var(--dark-gray);
    line-height: 1.7;
}

.icon-container {
    width: 70px;
    height: 70px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.icon-container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--tech-gradient);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .icon-container::before {
    opacity: 1;
}

.icon-container i {
    font-size: 2rem;
    color: var(--accent-secondary);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.service-card:hover .icon-container i {
    color: var(--secondary-color);
}

.service-features {
    list-style: none;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.service-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.service-features li i {
    color: var(--accent-color);
    margin-right: 0.8rem;
    font-size: 0.9rem;
}

/* CTA Section */
.cta {
    padding: 7rem 0;
    background: var(--automation-gradient);
    color: var(--secondary-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2364ffda' fill-opacity='0.1' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.2;
}

.cta h2 {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.cta p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn-outline {
    background: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.cta .btn-outline:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 5rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--tech-gradient);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-info h3 {
    font-size: 1.6rem;
    margin-bottom: 1.8rem;
    position: relative;
    display: inline-block;
    color: var(--accent-color);
}

.footer-info h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-secondary);
}

.footer-form {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
    outline: none;
    transition: var(--transition);
}

.footer-form input:focus {
    background: rgba(255, 255, 255, 0.15);
}

.footer-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-form .btn {
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    background: var(--accent-color);
    color: var(--primary-color);
}

.footer-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(100, 255, 218, 0.3);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 1.8rem;
    position: relative;
    display: inline-block;
    color: var(--accent-color);
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-secondary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding-left: 15px;
}

.footer-col ul li a::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: var(--transition);
    color: var(--accent-color);
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-left: 22px;
}

.footer-col ul li a:hover::before {
    opacity: 1;
}

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

.social-links {
    display: flex;
    gap: 1.2rem;
}

.social-links a {
    color: var(--secondary-color);
    font-size: 1.2rem;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    color: var(--primary-color);
    background: var(--accent-color);
    transform: translateY(-3px);
}

/* Portfolio Styles */
.portfolio-filter {
    padding: 2rem 0;
    text-align: center;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.filter-btn {
    padding: 0.8rem 1.8rem;
    background: var(--light-gray);
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-gray);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--accent-color);
    color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.3);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 24, 39, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-10px);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

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

.portfolio-overlay h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-overlay .btn {
    transform: translateY(20px);
    transition: var(--transition);
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p,
.portfolio-item:hover .portfolio-overlay .btn {
    transform: translateY(0);
    opacity: 1;
}

/* Testimonials */
.testimonials {
    padding: 8rem 0;
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease;
    margin-top: 4rem;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 1rem;
}

.testimonial-content {
    background-color: var(--secondary-color);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 5rem;
    color: var(--accent-color);
    opacity: 0.2;
    line-height: 0;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    border: 3px solid var(--accent-secondary);
}

.author-img img {
    width: 100%;
    height: auto;
}

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

.author-info p {
    font-size: 0.9rem;
    color: var(--accent-secondary);
    margin: 0;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--light-gray);
    border: 2px solid var(--accent-secondary);
    margin: 0 8px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--accent-secondary);
    transform: scale(1.2);
}

/* Contact Section */
.contact-section {
    padding: 7rem 0;
    background-color: var(--secondary-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
}

.contact-form-container h2,
.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.contact-form-container h2::after,
.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--tech-gradient);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: var(--light-gray);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 77, 77, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    background: rgba(255, 77, 77, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.info-item p {
    color: var(--dark-gray);
    line-height: 1.6;
}

.contact-social {
    margin-top: 3rem;
}

.contact-social h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Map Section */
.map-section {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.map-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: var(--primary-color);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}

/* FAQ Section */
.faq-section {
    padding: 7rem 0;
    background-color: var(--secondary-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.faq-item {
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.faq-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
    padding-left: 30px;
}

.faq-item h3::before {
    content: 'Q:';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
    font-weight: 700;
}

.faq-item p {
    color: var(--dark-gray);
    line-height: 1.7;
    position: relative;
    padding-left: 30px;
}

.faq-item p::before {
    content: 'A:';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* About Story Section */
.about-story {
    padding: 7rem 0;
    background-color: var(--secondary-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-color);
    border-radius: 15px;
    z-index: -1;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-text p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Team Section */
.team {
    padding: 7rem 0;
    background-color: var(--light-gray);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-member {
    background: var(--secondary-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 0.5rem;
    color: var(--primary-color);
}

.team-member p.position {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-member p.bio {
    color: var(--dark-gray);
    padding: 0 1.5rem 2rem;
    line-height: 1.7;
}

/* Values Section */
.values {
    padding: 7rem 0;
    background-color: var(--secondary-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.value-card {
    padding: 3rem 2rem;
    background: var(--light-gray);
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--tech-gradient);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-card:hover::before {
    width: 100%;
    opacity: 0.05;
}

.value-card .number {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 4rem;
    color: rgba(255, 77, 77, 0.1);
}

.value-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
}

.value-card p {
    color: var(--dark-gray);
    line-height: 1.7;
}

/* Animations */
[data-animation] {
    opacity: 0;
    transition: var(--transition);
}

[data-animation="fade-in"] {
    transform: translateY(30px);
}

[data-animation="fade-in-left"] {
    transform: translateX(-30px);
}

[data-animation="fade-in-right"] {
    transform: translateX(30px);
}

[data-animation].animate {
    opacity: 1;
    transform: translate(0);
}

/* Automation Particles Animation */
.automation-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: floatParticle 15s infinite linear;
}

.particle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.p1 {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.p2 {
    top: 40%;
    left: 80%;
    animation-delay: 2s;
}

.p3 {
    top: 70%;
    left: 30%;
    animation-delay: 4s;
}

.p4 {
    top: 20%;
    left: 60%;
    animation-delay: 6s;
}

.p5 {
    top: 80%;
    left: 70%;
    animation-delay: 8s;
}

@keyframes floatParticle {
    0% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(50px, 50px);
    }
    50% {
        transform: translate(0, 100px);
    }
    75% {
        transform: translate(-50px, 50px);
    }
    100% {
        transform: translate(0, 0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

.highlight {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--accent-color);
    opacity: 0.2;
    z-index: -1;
}

/* How It Works Section */
.how-it-works {
    padding: 8rem 0;
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235468ff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--accent-secondary);
    transform: translateX(-50%);
    opacity: 0.2;
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.timeline-item:nth-child(even) {
    direction: rtl;
}

.timeline-item:nth-child(even) .timeline-content {
    direction: ltr;
    text-align: right;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: var(--tech-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    box-shadow: 0 5px 15px rgba(84, 104, 255, 0.3);
}

.timeline-content {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    position: relative;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.timeline-content p {
    color: var(--dark-gray);
    line-height: 1.7;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    border-width: 10px 0 10px 10px;
    border-style: solid;
    border-color: transparent transparent transparent var(--secondary-color);
}

.timeline-item:nth-child(even) .timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    transform: translateY(-50%);
    border-width: 10px 10px 10px 0;
    border-style: solid;
    border-color: transparent var(--secondary-color) transparent transparent;
}

/* Results Section */
.results {
    padding: 8rem 0;
    background-color: var(--secondary-color);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.stat-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--light-gray);
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--tech-gradient);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-number span:first-child {
    background: var(--tech-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-number span:last-child {
    font-size: 2rem;
    color: var(--accent-secondary);
    margin-left: 0.3rem;
}

.stat-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.stat-card p {
    color: var(--dark-gray);
}

/* Brands Section */
.brands {
    padding: 5rem 0;
    background-color: var(--light-gray);
    text-align: center;
}

.brands h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
}

.brand-item {
    transition: var(--transition);
    padding: 1rem;
}

.brand-item img {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Responsive adjustments for timeline */
@media (max-width: 768px) {
    .process-timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        direction: ltr;
        padding-left: 60px;
    }
    
    .timeline-item:nth-child(even) {
        direction: ltr;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
    }
    
    .timeline-number {
        left: 30px;
        transform: translateX(-50%);
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        display: none;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 2rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        gap: 1rem;
        height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        padding: 0.5rem 0 0.5rem 1rem;
        background: transparent;
        transform: none !important;
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-form {
        flex-direction: column;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

.menu-btn {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 2;
}

.menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    position: absolute;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-btn span:nth-child(1) {
    top: 0;
}

.menu-btn span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-btn span:nth-child(3) {
    bottom: 0;
}

.menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Navigation Styles */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 21px;
    z-index: 1100;
}

.bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

@media (max-width: 992px) {
    .hamburger {
        display: block;
        cursor: pointer;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: var(--secondary-color);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 999;
        padding: 20px 0;
        overflow-y: auto;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 16px 0;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        width: 100%;
        padding: 0;
        margin: 0 auto;
        width: 80%;
        border-radius: 0;
        background-color: #f5f5f5;
    }
    
    .dropdown.show-dropdown .dropdown-menu {
        max-height: 300px;
    }
    
    .dropdown-menu li {
        margin: 8px 0;
    }
    
    .dropdown-menu li a {
        padding: 10px;
        text-align: center;
        border-left: none;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .dropdown-menu li:last-child a {
        border-bottom: none;
    }
}

/* ROI Calculator Section */
.roi-calculator {
    padding: 8rem 0;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.roi-calculator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%235468ff' fill-opacity='0.1' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.roi-calculator .section-header h2,
.roi-calculator .section-header p {
    color: var(--secondary-color);
}

.roi-calculator .section-header h2::after {
    background: var(--accent-color);
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.calculator-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.calculator-form .form-group {
    margin-bottom: 1.5rem;
}

.calculator-form label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: var(--accent-color);
}

.calculator-form input,
.calculator-form select {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--secondary-color);
    font-size: 1rem;
    transition: var(--transition);
}

.calculator-form input:focus,
.calculator-form select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(100, 255, 218, 0.2);
}

.calculator-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.calculator-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.calculator-results {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.results-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.results-header h3 {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.results-header p {
    opacity: 0.8;
}

.results-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.result-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.result-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
}

.result-icon {
    width: 50px;
    height: 50px;
    background: var(--tech-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.result-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.result-value {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.result-value span:first-child {
    font-size: 2.2rem;
    background: var(--tech-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.result-value span:last-child {
    color: var(--accent-color);
    opacity: 0.8;
}

.result-label {
    color: var(--secondary-color);
    opacity: 0.7;
}

.results-note {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.text-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: var(--transition);
}

.text-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.text-link:hover {
    color: var(--accent-color);
}

.text-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Media queries for ROI calculator */
@media (max-width: 992px) {
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .results-content {
        grid-template-columns: 1fr;
    }
}

/* Interactive Automation Demo Section */
.automation-demo {
    padding: 8rem 0;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.automation-demo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235468ff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.automation-demo .section-header h2,
.automation-demo .section-header p {
    color: var(--secondary-color);
}

.automation-demo .section-header h2::after {
    background: var(--accent-color);
}

.demo-wrapper {
    margin-top: 4rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.demo-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-tab {
    flex: 1;
    padding: 1.5rem;
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.6;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.demo-tab:hover {
    opacity: 0.8;
}

.demo-tab.active {
    opacity: 1;
}

.demo-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--tech-gradient);
}

.demo-content-wrapper {
    position: relative;
    overflow: hidden;
}

.demo-content {
    display: none;
    width: 100%;
}

.demo-content.active {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
}

/* Demo Device and Preview */
.demo-preview {
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.demo-device {
    width: 100%;
    max-width: 600px;
    height: 400px;
    background: #1a2842;
    border-radius: 15px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.demo-device::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: rgba(0, 0, 0, 0.3);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    z-index: 1;
}

.demo-device::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 15px;
    width: 50px;
    height: 10px;
    display: flex;
    gap: 5px;
    z-index: 2;
}

.demo-device::after::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5f57;
}

.demo-screen {
    width: 100%;
    height: 100%;
    overflow: auto;
    padding: 40px 20px 20px;
}

/* Demo Controls */
.demo-controls {
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    margin: 2rem;
    display: flex;
    flex-direction: column;
}

.demo-controls h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.demo-controls p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.demo-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.demo-btn {
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.demo-btn:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.demo-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.feature-item i {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1rem;
}

/* Email Automation Demo */
.email-automation-demo {
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.email-flow-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.flow-node {
    width: 120px;
    height: 80px;
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    color: var(--secondary-color);
}

.flow-node:hover {
    background: rgba(100, 255, 218, 0.2);
    transform: translateY(-3px);
}

.flow-node i {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.flow-node.trigger {
    background: rgba(84, 104, 255, 0.2);
    border-color: var(--accent-secondary);
}

.flow-node.trigger i {
    color: var(--accent-secondary);
}

.flow-node.action {
    background: rgba(100, 255, 218, 0.1);
}

.flow-arrow {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
}

.flow-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.flow-condition {
    width: 140px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.flow-condition i {
    color: rgba(255, 255, 255, 0.7);
}

.flow-paths {
    display: flex;
    justify-content: space-around;
    width: 100%;
    gap: 1.5rem;
}

.flow-path {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    flex: 1;
}

.flow-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.email-stats {
    display: flex;
    justify-content: space-around;
    margin-top: auto;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.stat-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Content Automation Demo */
.content-automation-demo {
    padding: 1.5rem;
    height: 100%;
}

.content-calendar {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.calendar-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calendar-header h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.calendar-controls {
    display: flex;
    gap: 0.5rem;
}

.calendar-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--secondary-color);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

.calendar-day {
    height: 80px;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.5rem;
    position: relative;
}

.day-number {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.content-item {
    font-size: 0.8rem;
    margin-top: 20px;
    padding: 0.5rem;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.content-item.blog {
    background: rgba(84, 104, 255, 0.2);
}

.content-item.social {
    background: rgba(100, 255, 218, 0.2);
}

.content-item.email {
    background: rgba(255, 193, 7, 0.2);
}

.content-creation {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
}

.creation-header h4 {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.creation-input {
    display: flex;
    gap: 0.5rem;
}

.creation-input input {
    flex: 1;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--secondary-color);
}

.generate-btn {
    padding: 0.8rem 1.2rem;
    background: var(--accent-secondary);
    color: var(--secondary-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.generate-btn:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

/* Workflow Automation Demo */
.workflow-automation-demo {
    padding: 1.5rem;
    height: 100%;
}

.workflow-builder {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.workflow-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
}

.workflow-header h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.workflow-canvas {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.workflow-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    position: relative;
}

.workflow-step.trigger {
    border-left: 3px solid var(--accent-secondary);
}

.workflow-step.action {
    border-left: 3px solid var(--accent-color);
}

.workflow-step .connector {
    position: absolute;
    left: 30px;
    bottom: -24px;
    width: 2px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
}

.step-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}

.workflow-step.trigger .step-icon {
    color: var(--accent-secondary);
}

.step-content h5 {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 0.3rem;
}

.step-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Media Queries for Demo Section */
@media (max-width: 992px) {
    .demo-content.active {
        grid-template-columns: 1fr;
    }
    
    .demo-preview {
        padding-bottom: 0;
    }
    
    .demo-controls {
        margin: 0 2rem 2rem;
    }
}

@media (max-width: 768px) {
    .demo-device {
        height: 350px;
    }
    
    .demo-features {
        grid-template-columns: 1fr;
    }
    
    .flow-paths {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .demo-tabs {
        flex-direction: column;
    }
    
    .demo-actions {
        flex-direction: column;
    }
}

/* Hero sections for other pages */
.services-hero,
.about-hero,
.portfolio-hero,
.contact-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    color: var(--secondary-color);
    padding-top: 100px;
    overflow: hidden;
}

.services-hero {
    background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.85)), url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
}

.about-hero {
    background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.85)), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
}

.portfolio-hero {
    background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.85)), url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
}

.contact-hero {
    background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.85)), url('https://images.unsplash.com/photo-1534536281715-e28d76689b4d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
}

.services-hero-content,
.about-hero-content,
.portfolio-hero-content,
.contact-hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 2;
}

/* Service detail sections */
.service-detail {
    padding: 100px 0;
}

.service-detail.alt-bg {
    background-color: var(--light-gray);
}

.service-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.service-content.reverse {
    flex-direction: row-reverse;
}

.service-text {
    flex: 1;
}

.service-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-text p {
    margin-bottom: 25px;
    line-height: 1.8;
}

.service-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.service-image:hover img {
    transform: scale(1.03);
}

@media (max-width: 992px) {
    .service-content,
    .service-content.reverse {
        flex-direction: column;
        gap: 40px;
    }
    
    .service-text,
    .service-image {
        width: 100%;
    }
}

/* Contact page styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin: 60px 0;
}

.contact-form-container,
.contact-info {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.contact-form-container h2,
.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.contact-form-container h2::after,
.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--tech-gradient);
    border-radius: 2px;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.contact-form input,
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus {
    border-color: var(--accent-secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(84, 104, 255, 0.1);
}

.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    resize: vertical;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form textarea:focus {
    border-color: var(--accent-secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(84, 104, 255, 0.1);
}

.info-item {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-secondary);
    margin-right: 20px;
    background: rgba(84, 104, 255, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.info-item p {
    line-height: 1.6;
}

.contact-social {
    margin-top: 40px;
}

.contact-social h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.map-section {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.map-section h2 {
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* About page styles */
.about-story {
    padding: 100px 0;
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--accent-color);
    border-radius: 5px;
    z-index: -1;
}

.about-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image::before {
        display: none;
    }
}

/* Chatbot Styles - Fixed */
.chatbot {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Poppins', sans-serif;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: var(--transition);
    z-index: 10000;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

.toggle-icon {
    color: white;
    font-size: 24px;
}

.toggle-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 22px;
    height: 22px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    border: 2px solid var(--secondary-color);
}

.chatbot-container {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 350px;
    height: 450px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 9998;
}

.chatbot.active .chatbot-container {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chatbot-header {
    background: var(--primary-color);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-title i {
    font-size: 20px;
}

.chatbot-title span {
    font-weight: 600;
}

.chatbot-controls button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
    padding: 5px;
}

.chatbot-controls button:hover {
    opacity: 0.8;
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 80%;
    padding: 12px 15px;
    border-radius: 18px;
    position: relative;
    animation: fadeIn 0.3s ease;
}

.message.bot {
    align-self: flex-start;
    background-color: var(--light-gray);
    border-bottom-left-radius: 5px;
}

.message.user {
    align-self: flex-end;
    background-color: var(--accent-secondary);
    color: white;
    border-bottom-right-radius: 5px;
}

.message-content p {
    margin-bottom: 8px;
    line-height: 1.4;
}

.message-time {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 5px;
    text-align: right;
}

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.quick-reply-btn {
    background-color: white;
    border: 1px solid var(--accent-secondary);
    color: var(--accent-secondary);
    border-radius: 18px;
    padding: 8px 12px;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}

.quick-reply-btn:hover {
    background-color: var(--accent-secondary);
    color: white;
}

.chatbot-input {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.chatbot-input input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 10px 15px;
    outline: none;
    transition: var(--transition);
}

.chatbot-input input:focus {
    border-color: var(--accent-secondary);
    box-shadow: 0 0 0 3px rgba(84, 104, 255, 0.1);
}

.chatbot-input button {
    background-color: var(--accent-secondary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add JavaScript for the chatbot toggle functionality */

/* Pricing Section */
.pricing-section {
    padding: 8rem 0;
    background-color: var(--secondary-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
    transform: scale(1.05);
    border: 2px solid var(--accent-color);
    z-index: 10;
}

.pricing-card.popular:hover {
    transform: translateY(-10px) scale(1.05);
}

.popular-tag {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom-left-radius: 10px;
}

.pricing-header {
    padding: 2.5rem 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-header h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.price .amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    background: var(--tech-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.price .period {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-left: 0.5rem;
}

.pricing-header p {
    color: var(--dark-gray);
    font-size: 1rem;
    line-height: 1.5;
}

.pricing-features {
    padding: 2.5rem;
    flex-grow: 1;
}

.pricing-features ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    color: var(--dark-gray);
}

.pricing-features li i {
    color: var(--accent-color);
    margin-right: 1rem;
    font-size: 1.1rem;
}

.pricing-features li.not-included {
    opacity: 0.6;
}

.pricing-features li.not-included i {
    color: var(--dark-gray);
}

.pricing-cta {
    padding: 0 2.5rem 2.5rem;
    text-align: center;
}

.pricing-note {
    text-align: center;
    margin-top: 3rem;
    color: var(--dark-gray);
}

.pricing-note .text-link {
    color: var(--accent-color);
    font-weight: 600;
}

@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-10px) scale(1);
    }
}

@media (max-width: 768px) {
    .pricing-card {
        margin-bottom: 2rem;
    }
}

.results-note {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1.1rem;
        max-width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .services-grid,
    .pricing-grid,
    .team-grid,
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card {
        padding: 25px;
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .demo-tabs {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .demo-tab {
        width: 100%;
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .demo-device {
        transform: scale(0.8);
        margin: 0 auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-col {
        margin-bottom: 20px;
    }
    
    .contact-grid,
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .automation-particles {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .brands-grid {
        grid-template-columns: 1fr;
    }
    
    .chatbot-toggle {
        width: 50px;
        height: 50px;
        right: 15px;
        bottom: 15px;
    }
    
    .chatbot-container {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        right: 0;
        bottom: 0;
        border-radius: 0;
    }
}

/* Chatbot Mobile Improvements */
@media (max-width: 768px) {
    .chatbot-toggle {
        right: 20px;
        bottom: 20px;
    }
    
    .chatbot-container {
        width: 90%;
        max-width: 350px;
        height: 70vh;
        right: 5%;
        bottom: 80px;
    }
    
    .chatbot.active .chatbot-container {
        transform: translateY(0) scale(1);
    }
    
    .chatbot-messages {
        max-height: calc(70vh - 120px);
    }
    
    .message {
        max-width: 85%;
        padding: 10px 12px;
        margin-bottom: 10px;
    }
    
    .quick-replies {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .quick-reply-btn {
        margin: 5px;
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .chatbot-toggle {
        width: 50px;
        height: 50px;
    }
    
    .toggle-icon {
        font-size: 1.3rem;
    }
    
    .toggle-badge {
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
        right: -5px;
        top: -5px;
    }
    
    .chatbot-container {
        width: 100%;
        max-width: 100%;
        height: 100vh;
        bottom: 0;
        right: 0;
        border-radius: 0;
    }
    
    .chatbot-header {
        border-radius: 0;
        padding: 12px 15px;
    }
    
    .chatbot-messages {
        max-height: calc(100vh - 120px);
        padding: 15px;
    }
    
    .chatbot-input {
        padding: 10px;
    }
    
    .chatbot-input input {
        font-size: 0.9rem;
    }
}