/* 
   Mindtech IA - Main Styles
   A modern, dark-themed landing page with pixel art elements and smooth animations
*/

/* ---------- Base Styles ---------- */
:root {
    /* Color Palette */
    --chat--color-primary: #7e22ce !important;
    --chat--color-primary-shade-50: #7e22ce !important;
	--chat--color-primary-shade-100: #9333ea !important;
    --primary-color: #7e22ce;
    --primary-light: #9333ea;
    --secondary-color: #10b981;
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --light-text: #f8fafc;
    --gray-text: #94a3b8;
    --card-bg: #1e293b;
    --accent-pink: #f472b6;
    --accent-purple: #a855f7;
    --accent-blue: #3b82f6;
    --accent-teal: #2dd4bf;
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Typography */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Poppins', sans-serif;
    
    /* Shadows */
    --card-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    --hover-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    --btn-shadow: 0 5px 15px rgba(126, 34, 206, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Reset and normalize to prevent any unwanted side spacing */
html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    position: relative;
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--light-text);
    background: var(--dark-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--gray-text);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ensure all containers are properly constrained */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

section {
    padding: 100px 0;
    position: relative;
}

/* Highlight span in headings */
h1 span, h2 span {
    color: var(--primary-light);
    position: relative;
    z-index: 1;
}

/* Section Header Styles */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

.text-left {
    text-align: left;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.primary-btn {
    background: var(--primary-color);
    color: var(--light-text);
    box-shadow: var(--btn-shadow);
    border: none;
}

.primary-btn:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(126, 34, 206, 0.5);
}

.secondary-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--light-text);
}

.secondary-btn:hover {
    background: rgba(126, 34, 206, 0.1);
    transform: translateY(-3px);
}

.view-btn {
    background: var(--primary-color);
    color: var(--light-text);
    font-size: 0.875rem;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
}

.center-btn {
    text-align: center;
    margin-top: 3rem;
}

/* ---------- Header & Navigation ---------- */
/* Ensure header takes full width */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.header.scrolled {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    display: inline-block;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.logo span {
    color: var(--primary-light);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--gray-text);
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary-light);
    transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--light-text);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
    margin: -0.5rem;
    background: transparent;
    border: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease;
    background: var(--light-text);
}

/* ---------- Hero Section ---------- */
/* Fix for hero section which may be causing the issue */
.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.95));
    z-index: -1;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--primary-color) 0%, rgba(126, 34, 206, 0) 70%);
    top: -400px;
    right: -200px;
    opacity: 0.3;
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse 8s infinite alternate;
}

.hero-bg::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-teal) 0%, rgba(45, 212, 191, 0) 70%);
    bottom: -300px;
    left: -100px;
    opacity: 0.2;
    border-radius: 50%;
    filter: blur(80px);
    animation: pulse 12s infinite alternate-reverse;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

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

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.accent-circle {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
    opacity: 0.8;
    z-index: -1;
}

.notification {
    position: absolute;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    animation: float 3s infinite alternate ease-in-out;
    z-index: 2;
}

.notification-1 {
    top: 30%;
    left: 10%;
    background: var(--accent-pink);
    animation-delay: 0.5s;
}

.notification-2 {
    bottom: 30%;
    right: 10%;
    background: var(--accent-blue);
    animation-delay: 1s;
}

.notification i {
    font-size: 1.25rem;
    color: white;
}

/* Floating animation for hero image */
.floating {
    animation: float 4s infinite ease-in-out;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.1;
        transform: scale(0.9);
    }
    50% {
        opacity: 0.3;
    }
    100% {
        opacity: 0.1;
        transform: scale(1.1);
    }
}

/* ---------- Services Section ---------- */
.services {
    background-color: var(--darker-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    color: white;
    font-size: 2rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--light-text);
}

.service-card p {
    color: var(--gray-text);
    font-size: 0.9rem;
}

/* ---------- Agents Section ---------- */
.agents {
    background: var(--dark-bg);
}

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

.filter-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--gray-text);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-color);
    color: var(--light-text);
}

.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.agent-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.agent-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.agent-image {
    position: relative;
    height: 270px;
    overflow: hidden;
}

.agent-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* We'll add pixel art images later */
    transition: transform 0.5s ease;
}

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

.agent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.agent-card:hover .agent-overlay {
    opacity: 1;
}

.agent-info {
    padding: 1.5rem;
}

.agent-info h3 {
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.agent-category {
    display: inline-block;
    background: rgba(126, 34, 206, 0.2);
    color: var(--primary-light);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.agent-info p {
    color: var(--gray-text);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.agent-rating {
    display: flex;
    align-items: center;
}

.agent-rating i {
    color: #f59e0b;
    font-size: 0.875rem;
    margin-right: 0.25rem;
}

.agent-rating span {
    color: var(--gray-text);
    font-size: 0.875rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

/* ---------- About Section ---------- */
.about {
    background: var(--darker-bg);
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.about-image {
    flex: 1;
    position: relative;
    max-width: 500px;
}

.about-image img {
    border-radius: 20px;
    position: relative;
    z-index: 1;
    box-shadow: var(--card-shadow);
}

.accent-shape {
    position: absolute;
    width: 70%;
    height: 70%;
    bottom: -30px;
    right: -30px;
    border-radius: 20px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-blue));
    z-index: 0;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.stat-item h3 {
    font-size: 2.5rem;
    background: linear-gradient(to right, var(--primary-light), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-size: 0.9rem;
    margin: 0;
}

/* ---------- Process Section ---------- */
.process {
    background: var(--dark-bg);
}

.process-steps {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 2px;
    background: var(--primary-color);
    left: 35px;
    top: 0;
}

.process-step {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
    margin-right: 1.5rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 5px rgba(126, 34, 206, 0.2);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.step-content p {
    color: var(--gray-text);
    margin-bottom: 0;
}

/* ---------- Testimonials Section ---------- */
.testimonials {
    padding-top: 1px;
    background: var(--darker-bg);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    margin: 1rem;
}

.testimonial-text {
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-text::before {
    content: '\201C';
    font-size: 4rem;
    font-family: Georgia, serif;
    position: absolute;
    top: -2rem;
    left: -1rem;
    color: var(--primary-color);
    opacity: 0.2;
}

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

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.author-info span {
    font-size: 0.875rem;
    color: var(--gray-text);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 1rem;
}

.testimonial-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--card-bg);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

.testimonial-btn:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.testimonial-btn i {
    font-size: 1.125rem;
}

/* ---------- FAQ Section ---------- */
.faq {
    background: var(--dark-bg);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.125rem;
    margin: 0;
}

.faq-toggle i {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

/* ---------- CTA Section ---------- */
.cta {
    background: linear-gradient(to right, var(--primary-color), var(--accent-blue));
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    /* background: url('../images/grid-pattern.png') repeat; */
    opacity: 0.1;
}

.cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cta-content {
    flex: 2;
}

.cta-content h2 {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.cta-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-image img {
    max-width: 300px;
}

/* ---------- Contact Section ---------- */
.contact {
    background: var(--darker-bg);
}

.contact-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--card-bg);
    border-radius: 10px;
    color: var(--light-text);
    font-family: var(--body-font);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(126, 34, 206, 0.1);
}

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

.contact-info {
    flex: 1;
    min-width: 300px;
    padding-left: 2rem;
}

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

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--light-text);
    flex-shrink: 0;
}

.info-text h3 {
    margin-bottom: 0.5rem;
    color: var(--light-text);
    font-size: 1.25rem;
}

.info-text p {
    color: var(--gray-text);
    margin-bottom: 0;
}

.social-links h3 {
    margin-bottom: 1rem;
    color: var(--light-text);
    font-size: 1.25rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    transition: all 0.3s ease;
}

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

/* ---------- Footer ---------- */
.footer {
    background: var(--darker-bg);
    padding: 80px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    flex: 2;
    min-width: 250px;
}

.footer-logo h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--primary-light);
}

.footer-links {
    flex: 3;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-column {
    flex: 1;
    min-width: 160px;
}

.footer-column h3 {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    color: var(--light-text);
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: var(--gray-text);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-column ul li a:hover {
    color: var(--primary-light);
    margin-left: 5px;
}

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

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--gray-text);
    margin-bottom: 0;
}

.back-to-top {
    width: 40px !important;
    height: 40px !important;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: var(--primary-light);
    transform: translateY(-5px);
}

/* ---------- Responsive Styles ---------- */
@media (max-width: 992px) {
    h1 {
        font-size: 2.75rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    .hero-content {
        flex-direction: column;
    }

    .hero-image-container {
        height: 400px;
    }

    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }
    
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    /* Improved mobile menu styles */
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Fix for mobile nav that could be breaking layout */
    .nav-menu {
        width: 100%;
    }
    
    .nav-menu.active {
        width: 100%;
    }

    .nav-menu {
        position: fixed;
        top: -100%;
        left: 0;
        width: 83%;
        height: auto;
        max-height: 0;
        padding: 0;
        background: rgba(2, 6, 23, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        text-align: center;
        transition: all 0.4s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        z-index: 1000;
    }

    .nav-menu.active {
        top: 70px;
        max-height: 400px;
        padding: 1rem 0;
    }

    .nav-menu li {
        margin: 0.5rem 0;
    }

    .nav-link {
        font-size: 0.95rem;
        display: block;
        padding: 0.4rem 0;
    }

    .nav-link::after {
        bottom: 0;
    }

    .hero {
        padding: 150px 0 80px;
    }

    .cta .container {
        flex-direction: column;
        text-align: center;
    }

    .contact-info {
        padding-left: 0;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .service-card {
        padding: 1.5rem;
    }

    .hero-image-container {
        height: 300px;
    }

    .accent-circle {
        width: 250px;
        height: 250px;
    }

    .notification {
        width: 40px;
        height: 40px;
    }
    
    /* Additional mobile menu adjustments for very small screens */
    .nav-menu.active {
        max-height: 350px;
        padding: 0.75rem 0;
    }
    
    .nav-menu li {
        margin: 0.3rem 0;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.3rem 0;
    }
}

/* Pixel Art Effect Styles for Agent Images */
.agent-image img {
    image-rendering: pixelated;  /* Makes the image look pixelated for pixel art effect */
}

/* Animation for Section Transitions */
[data-aos] {
    visibility: hidden;
}

[data-aos].aos-animate {
    visibility: visible;
}

/* ---------- Packages Section ---------- */
.packages {
    background: var(--darker-bg);
    padding-bottom: 1px
}

.packages-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.packages-ending {
    max-width: 800px;
    margin: 50px auto 3rem;
    text-align: center;
    font-size: 18px;
}

.packages-grid {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.package-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    flex: 1;
    min-width: 280px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.package-name {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.package-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
}

.basic-icon {
    background: linear-gradient(135deg, #22c55e, #15803d);
}

.pro-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.elite-icon {
    background: linear-gradient(135deg, #a855f7, #7e22ce);
}

.package-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.package-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.package-price span {
    font-size: 1rem;
    color: var(--gray-text);
    font-weight: 400;
}

.package-features {
    margin-bottom: 2rem;
    text-align: left;
}

.package-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    color: var(--gray-text);
}

.package-features li:last-child {
    border-bottom: none;
}

.feature-icon {
    margin-right: 0.75rem;
    color: var(--success);
    font-size: 1rem;
}

.feature-icon.disabled {
    color: var(--error);
}

.package-cta {
    margin-top: auto;
}

/* Comparison Table Styles */
.comparison-table {
    margin-top: 4rem;
    overflow-x: auto;
}

.comparison-table-wrapper {
    min-width: 750px;
}

.comparison-table h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.package-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
}

.package-table th, 
.package-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.package-table th {
    background: var(--card-bg);
    color: var(--light-text);
    font-weight: 600;
}

.package-table tr:nth-child(odd) {
    background: rgba(30, 41, 59, 0.6);
}

.package-table tr:nth-child(even) {
    background: var(--card-bg);
}

.package-table th:first-child,
.package-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.package-name-cell {
    display: flex;
    align-items: center;
    justify-content: center;
}

.package-table .package-icon {
    width: 30px;
    height: 30px;
    margin-right: 0.5rem;
}

.check-icon {
    color: var(--success);
    font-size: 1.25rem;
}

.x-icon {
    color: var(--error);
    font-size: 1.25rem;
}