/* MindSight AI - Light Theme Styles */
:root {
    --primary-bg: #FAFBFF;
    --primary-purple: #7C3AED;
    --secondary-purple: #5B21B6;
    --light-purple: #EDE9FE;
    --accent-blue: #3B82F6;
    --body-text: #1F2937;
    --subtext: #6B7280;
    --card-bg: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-large: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --gradient: linear-gradient(135deg, #7C3AED, #5B21B6);
    --purple-gradient: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-bg);
    color: var(--body-text);
    line-height: 1.6;
    overflow-x: hidden;
    min-width: 320px; /* Minimum mobile width */
}

/* Desktop Navigation */
.desktop-navbar {
    background-color: rgba(249, 251, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
    box-shadow: var(--shadow-light);
    z-index: 1030;
}

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

.desktop-navbar .navbar-brand {
    text-decoration: none;
}

.desktop-logo {
    height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

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

.nav-link {
    color: var(--body-text);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

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

.nav-dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--body-text);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: var(--light-purple);
    color: var(--primary-purple);
}

/* Mobile Navigation */
.mobile-navbar {
    background-color: rgba(249, 251, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
    box-shadow: var(--shadow-light);
    z-index: 1030;
    display: none;
}

.mobile-nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-brand {
    text-decoration: none;
}

.mobile-logo {
    height: 65px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.mobile-text-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-purple);
    text-decoration: none;
    display: inline-block;
}

.hamburger-btn {
    display: flex;
    flex-direction: column;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    justify-content: space-between;
}

.hamburger-btn .line {
    width: 100%;
    height: 3px;
    background-color: var(--primary-purple);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-btn.active .line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

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

.hamburger-btn.active .line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Side Menu */
.mobile-side-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 15px rgba(0,0,0,0.1);
    z-index: 2000;
    transition: right 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
}

.mobile-side-menu.active {
    right: 0;
}

.menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.menu-text-logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-purple);
    text-decoration: none;
    display: inline-block;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--body-text);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-content {
    padding: 1rem;
}

.menu-link {
    display: block;
    padding: 1rem 0;
    color: var(--body-text);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
    transition: color 0.3s ease;
}

.menu-link:hover {
    color: var(--primary-purple);
}

.menu-dropdown {
    border-bottom: 1px solid var(--border-color);
}

.dropdown-trigger {
    width: 100%;
    padding: 1rem 0;
    background: none;
    border: none;
    text-align: left;
    color: var(--body-text);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropdown-menu {
    display: none;
    padding: 0.5rem 0 0.5rem 1.5rem;
    background: rgba(124, 58, 237, 0.05);
    border-left: 3px solid var(--primary-purple);
    margin: 0.5rem 0;
    position: relative;
    z-index: 1;
}

.dropdown-menu.active {
    display: block !important;
}

.dropdown-menu a {
    display: block !important;
    padding: 0.75rem 0.5rem !important;
    color: var(--body-text) !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    transition: color 0.3s ease !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.dropdown-menu a:hover {
    color: var(--primary-purple) !important;
    background-color: rgba(124, 58, 237, 0.1) !important;
}

.menu-cta {
    width: 100%;
    margin-top: 1rem;
    text-align: center;
    background: linear-gradient(135deg, #7C3AED, #5B21B6) !important;
    border: none !important;
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Display */
@media (min-width: 992px) {
    .mobile-navbar {
        display: none !important;
    }
    
    .desktop-navbar {
        display: block;
    }
    
    body {
        padding-top: 80px;
    }
}

@media (max-width: 991px) {
    .desktop-navbar {
        display: none !important;
    }
    
    .mobile-navbar {
        display: block !important;
    }
    
    body {
        padding-top: 70px;
    }
}

@media (max-width: 576px) {
    .mobile-logo {
        height: 60px;
        max-width: 180px;
    }
    
    .mobile-text-logo {
        font-size: 22px;
    }
    
    .mobile-side-menu {
        width: 260px;
        right: -260px;
    }
    
    body {
        padding-top: 65px;
    }
}

/* Services Page Styles */
.excellence-section {
    padding: 80px 0;
}

.ai-cube-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.cube-container {
    position: relative;
    width: 200px;
    height: 200px;
}

.cube {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #7C3AED, #5B21B6);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(45deg) rotateY(45deg);
    animation: rotateCube 8s infinite linear;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.5);
}

.orbit-ring {
    width: 180px;
    height: 180px;
    border: 2px solid rgba(124, 58, 237, 0.3);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotateRing 12s infinite linear;
}

@keyframes rotateCube {
    0% { transform: translate(-50%, -50%) rotateX(45deg) rotateY(45deg); }
    100% { transform: translate(-50%, -50%) rotateX(45deg) rotateY(405deg); }
}

@keyframes rotateRing {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.navbar-brand img {
    filter: none;
    height: 60px !important;
    width: 350px !important;
    min-width: 350px !important;
    max-width: 420px !important;
    object-fit: contain !important;
    transform: scale(2.3) !important;
    transform-origin: left center !important;
    position: relative !important;
    left: -150px !important;
}

.footer img {
    height: 70px !important;
    width: auto !important;
    max-width: 300px !important;
    object-fit: contain !important;
}

.navbar-nav .nav-link {
    color: var(--body-text) !important;
    font-weight: 500;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

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

.cta-btn {
    background: var(--gradient);
    border: none;
    padding: 0.875rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
    color: white !important;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
    filter: brightness(1.1);
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px 0;
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--light-purple) 100%);
    position: relative;
    overflow: hidden;
    min-height: auto;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--body-text);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.375rem;
    margin-bottom: 2.5rem;
    color: var(--subtext);
    line-height: 1.6;
    font-weight: 400;
}

.animated-graphic {
    animation: float 6s ease-in-out infinite;
}

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

/* Section Titles */
.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 3.5rem;
    text-align: center;
    color: var(--body-text);
    line-height: 1.2;
}

/* Solutions Section */
.solutions-section {
    background: var(--primary-bg);
    padding: 80px 0;
}

.solution-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: var(--shadow-light);
}

.problem-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 30px rgba(124, 58, 237, 0.2) !important;
}

/* Ensure equal heights for problem cards */
.solutions-section .row.g-4 {
    display: flex;
    flex-wrap: wrap;
}

.solutions-section .row.g-4 .col-lg-4 {
    display: flex;
}

.solutions-section .row.g-4 .col-lg-4 .problem-card {
    width: 100%;
}

.solution-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-purple);
    box-shadow: var(--shadow-large);
}

.card-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--light-purple), rgba(124, 58, 237, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary-purple);
}

.card-icon img {
    width: 36px;
    height: 36px;
    filter: none;
}

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

.solution-card p {
    color: var(--subtext);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.card-link {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.card-link:hover {
    color: var(--secondary-purple);
    text-decoration: none;
}

/* AI Agents Section */
.ai-agents-section {
    background: var(--gradient);
    color: white;
    padding: 80px 0;
}

.ai-agents-section .section-title {
    color: white;
}

.ai-agents-section .lead {
    color: rgba(255, 255, 255, 0.9);
}

/* Metrics Section */
.metrics-section {
    background: var(--primary-bg);
    padding: 80px 0;
}

.metric-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-purple);
    box-shadow: var(--shadow-large);
}

.metric-number {
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.metric-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--body-text);
}

/* Carousel Section */
.carousel-section {
    background: var(--card-bg);
    padding: 80px 0;
}

.action-carousel {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.carousel-content {
    padding: 4rem 3rem;
}

.carousel-text h3 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--body-text);
}

.carousel-text p {
    font-size: 1.125rem;
    color: var(--subtext);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.metric-highlight {
    display: inline-block;
    background: var(--gradient);
    padding: 0.75rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    color: white;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    filter: none;
    opacity: 0.7;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--primary-bg);
    padding: 80px 0;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-purple);
    box-shadow: var(--shadow-large);
}

.stars {
    color: #fbbf24;
}

.testimonial-card blockquote {
    font-style: italic;
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--body-text);
    line-height: 1.7;
}

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

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-purple);
}

.author-name {
    font-weight: 600;
    color: var(--body-text);
}

.author-title {
    color: var(--subtext);
    font-size: 0.9rem;
}

/* Industries Section */
.industries-section {
    background: var(--card-bg);
    padding: 80px 0;
}

.industries-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.industry-pill {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 0.875rem 1.75rem;
    border-radius: 30px;
    font-weight: 500;
    color: var(--body-text);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: var(--shadow-light);
}

.industry-pill:hover {
    background: var(--gradient);
    border-color: var(--primary-purple);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* FAQ Section */
.faq-section {
    background: var(--primary-bg);
    padding: 80px 0;
}

.accordion-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px !important;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-light);
}

.accordion-button {
    background: transparent;
    color: var(--body-text);
    border: none;
    font-weight: 600;
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: transparent;
    color: var(--primary-purple);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-purple);
}

.accordion-body {
    background: transparent;
    color: var(--subtext);
    padding: 0 1.5rem 1.5rem;
    line-height: 1.7;
}

/* Final CTA Section */
.final-cta-section {
    background: var(--primary-bg);
    padding: 80px 0;
}

.happy-clients {
    margin-top: 2rem;
}

.client-avatars {
    display: flex;
    justify-content: center;
    gap: -10px;
    margin-bottom: 1rem;
}

.client-avatars img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--primary-purple);
    object-fit: cover;
    margin-left: -10px;
    transition: transform 0.3s ease;
}

.client-avatars img:hover {
    transform: scale(1.1);
    z-index: 10;
}

.client-text {
    font-weight: 600;
    color: var(--primary-purple);
}

/* Contact Section */
.contact-section {
    background: var(--primary-bg);
    padding: 80px 0;
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow-light);
}

.form-control,
.form-select {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--body-text);
    padding: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background: var(--card-bg);
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
    color: var(--body-text);
}

.form-control::placeholder {
    color: var(--subtext);
}

.form-select option {
    background: var(--card-bg);
    color: var(--body-text);
}

/* Footer */
.footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 40px;
}

.footer-email {
    color: var(--primary-purple);
    font-weight: 500;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--body-text);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.social-link:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.copyright {
    color: var(--subtext);
    margin: 0;
}

/* Comprehensive Responsive Design */

/* Tablet styles (768px and down) */
@media (max-width: 768px) {
    /* Navigation responsive */
    .custom-navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand img {
        height: 50px !important;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        text-align: center;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
    }
    
    /* Hero section responsive */
    .hero-section {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-content .btn {
        width: 100%;
        margin-bottom: 1rem;
        font-size: 1rem;
        padding: 12px 24px;
    }
    
    /* Section spacing */
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* Cards responsive */
    .solution-card,
    .metric-card,
    .testimonial-card {
        margin-bottom: 2rem;
        padding: 2rem 1.5rem;
    }
    
    .solution-card h3,
    .metric-card h3,
    .testimonial-card h3 {
        font-size: 1.25rem;
    }
    
    .solution-card p,
    .metric-card p,
    .testimonial-card p {
        font-size: 0.95rem;
    }
    
    /* Metrics */
    .metric-number {
        font-size: 3rem;
    }
    
    .metric-text {
        font-size: 0.9rem;
    }
    
    /* Carousel */
    .carousel-content {
        padding: 2rem 1rem;
        text-align: center;
    }
    
    .carousel-text h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .carousel-text p {
        font-size: 0.95rem;
    }
    
    /* Contact form */
    .contact-form {
        padding: 2rem 1rem;
    }
    
    .form-control {
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    /* Industries grid */
    .industries-grid {
        gap: 0.5rem;
        justify-content: center;
    }
    
    .industry-pill {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    /* Client avatars */
    .client-avatars img {
        width: 40px;
        height: 40px;
    }
    
    /* Footer responsive */
    .footer {
        text-align: center;
    }
    
    .footer .row > div {
        text-align: center !important;
        margin-bottom: 2rem;
    }
    
    .footer .col-lg-4,
    .footer .col-lg-2 {
        margin-bottom: 2rem;
    }
    
    /* CTA sections */
    .cta-section {
        padding: 50px 0;
        text-align: center;
    }
    
    .cta-section h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .cta-section .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
}

/* Mobile styles (576px and down) */
@media (max-width: 576px) {
    /* Base layout */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Navigation */
    .navbar-brand img {
        height: 45px !important;
    }
    
    .navbar-collapse {
        margin-top: 1rem;
    }
    
    /* Hero section */
    .hero-section {
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* Typography */
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    /* Buttons */
    .btn {
        font-size: 0.95rem;
        padding: 10px 20px;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 12px 24px;
    }
    
    /* Cards */
    .solution-card,
    .metric-card,
    .testimonial-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .solution-card h3,
    .metric-card h3,
    .testimonial-card h3 {
        font-size: 1.1rem;
    }
    
    .solution-card i,
    .metric-card i,
    .testimonial-card i {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    /* Metrics */
    .metric-number {
        font-size: 2.5rem;
    }
    
    .metric-text {
        font-size: 0.85rem;
    }
    
    /* Carousel */
    .carousel-content {
        padding: 1.5rem 1rem;
    }
    
    .carousel-text h3 {
        font-size: 1.25rem;
    }
    
    .carousel-image {
        margin-bottom: 1rem;
    }
    
    /* Contact */
    .contact-form {
        padding: 1.5rem 1rem;
    }
    
    .contact-form h3 {
        font-size: 1.5rem;
    }
    
    /* FAQ */
    .faq-item {
        margin-bottom: 1rem;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .faq-answer {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    /* Industries */
    .industry-pill {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin: 0.25rem;
    }
    
    /* Animations - reduce on mobile for performance */
    .ai-cube-animation {
        height: 250px;
    }
    
    .cube-container {
        width: 150px;
        height: 150px;
    }
    
    .cube {
        width: 75px;
        height: 75px;
    }
    
    .orbit-ring {
        width: 130px;
        height: 130px;
    }
}

/* Extra small mobile (480px and down) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .solution-card,
    .metric-card,
    .testimonial-card {
        padding: 1rem 0.75rem;
    }
    
    .carousel-content {
        padding: 1rem 0.75rem;
    }
    
    .contact-form {
        padding: 1rem 0.75rem;
    }
    
    .industry-pill {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    .btn {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

/* Landscape mobile specific fixes */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        padding: 60px 0 40px;
    }
    
    .section-padding {
        padding: 40px 0;
    }
}

/* High DPI display optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .navbar-brand img,
    .solution-card i,
    .metric-card i {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 2s infinite;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0099dd;
}

/* Footer Social Icons Fix */
.footer .social-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.footer .social-link:hover {
    color: #FFD700 !important;
    transform: translateY(-2px) !important;
}

/* Mobile-specific utilities */
.mobile-center {
    text-align: center;
}

.mobile-full-width {
    width: 100%;
}

.mobile-spacing {
    margin-bottom: 1rem;
}

/* Touch-friendly interactive elements */
@media (max-width: 768px) {
    .btn,
    .nav-link,
    .dropdown-toggle {
        min-height: 44px; /* Minimum touch target size */
        min-width: 44px;
    }
    
    .dropdown-menu {
        width: 100%;
        border-radius: 8px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    }
    
    .dropdown-item {
        padding: 12px 20px;
        font-size: 16px;
    }
    
    /* Improve form usability on mobile */
    .form-control,
    .form-select {
        min-height: 48px;
        font-size: 16px;
        border-radius: 8px;
    }
    
    /* Better spacing for mobile */
    .row {
        margin-left: -10px;
        margin-right: -10px;
    }
    
    .row > * {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Prevent horizontal scroll issues */
.container-fluid {
    overflow-x: hidden;
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
}

/* Mobile navigation improvements */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        border-radius: 8px;
        margin-top: 0.5rem;
        padding: 1rem;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }
    
    .navbar-nav .dropdown-menu {
        position: static;
        float: none;
        box-shadow: none;
        border: none;
        background: transparent;
        margin-top: 0.5rem;
    }
    
    .navbar-nav .dropdown-item {
        color: var(--body-text);
        text-align: center;
        padding: 8px 16px;
    }
    
    .navbar-nav .dropdown-item:hover {
        background-color: var(--light-purple);
        color: var(--primary-purple);
    }
}
