/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Logo Styles */
.brand-logo {
    height: 32px;
    width: auto;
    transition: all 0.3s ease;
    display: block;
}

.brand-logo:hover {
    transform: scale(1.05);
}

/* Ensure logo colors work with nav background */
.nav .brand-logo {
    filter: brightness(0) saturate(100%) invert(13%) sepia(15%) saturate(1647%) hue-rotate(206deg) brightness(96%) contrast(94%);
}

/* On scroll, adjust logo color for better contrast */
.nav.scrolled .brand-logo {
    filter: brightness(0) saturate(100%) invert(13%) sepia(15%) saturate(1647%) hue-rotate(206deg) brightness(96%) contrast(94%);
}

/* Logo accessibility */
@media (prefers-reduced-motion: reduce) {
    .brand-logo:hover,
    .footer-logo {
        transform: none;
    }
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #0f4c75;
}

.cta-nav {
    background: linear-gradient(135deg, #0f4c75, #3282b8);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(15, 76, 117, 0.3);
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    display: block;
    animation: slideDown 0.3s ease;
}

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

.mobile-nav-link {
    display: block;
    padding: 1rem 2rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav-link:hover {
    background: rgba(50, 130, 184, 0.05);
    color: #0f4c75;
}

.mobile-nav-link.mobile-cta {
    background: linear-gradient(135deg, #0f4c75, #3282b8);
    color: white !important;
    margin: 1rem 2rem;
    border-radius: 25px;
    text-align: center;
    border: none;
}

.mobile-nav-link.mobile-cta:hover {
    background: linear-gradient(135deg, #0f4c75, #3282b8);
    transform: scale(1.02);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f4c75 100%);
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 100vh;
}

.hero-content {
    color: white;
}

.hero-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, #3282b8, #bbe1fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subheadline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

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

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #3282b8, #bbe1fa);
    color: #1a1a2e;
    box-shadow: 0 8px 25px rgba(50, 130, 184, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(50, 130, 184, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-cta {
    background: white;
    color: #1a1a2e;
    font-size: 1.1rem;
    padding: 1.25rem 2.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-interface {
    position: relative;
    width: 300px;
    height: 300px;
}

.interface-node {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3282b8, #bbe1fa);
    box-shadow: 0 0 30px rgba(50, 130, 184, 0.5);
    animation: pulse 2s infinite;
}

.node-1 {
    top: 20px;
    left: 120px;
    animation-delay: 0s;
}

.node-2 {
    bottom: 20px;
    left: 20px;
    animation-delay: 0.7s;
}

.node-3 {
    bottom: 20px;
    right: 20px;
    animation-delay: 1.4s;
}

.interface-connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, rgba(50, 130, 184, 0.8), rgba(187, 225, 250, 0.8));
    animation: flow 3s infinite;
}

.connection-1 {
    top: 50px;
    left: 140px;
    width: 100px;
    transform: rotate(45deg);
}

.connection-2 {
    bottom: 50px;
    left: 50px;
    width: 150px;
    transform: rotate(0deg);
}

.connection-3 {
    top: 150px;
    right: 80px;
    width: 120px;
    transform: rotate(-45deg);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes flow {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

/* Services Section */
.services {
    padding: 8rem 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 4rem;
    color: #1a1a2e;
}

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

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3282b8, #bbe1fa);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    color: #3282b8;
}

.service-icon i {
    font-size: 3rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.service-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-arrow {
    color: #3282b8;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-arrow {
    transform: translateX(10px);
}

/* Industries Carousel Section */
.industries {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    font-style: italic;
}

.industries-carousel {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    padding: 0 60px; /* Add padding for arrows */
}

.industry-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
    padding: 1rem;
}

.industry-card {
    min-width: 350px;
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3282b8, #bbe1fa);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.industry-card:hover::before {
    transform: scaleX(1);
}

.industry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.industry-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    color: #3282b8;
}

.industry-icon i {
    font-size: 3rem;
}

.industry-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #1a1a2e;
}

.industry-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.industry-features li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.4;
}

.industry-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3282b8;
    font-weight: bold;
}

.industry-impact {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(50, 130, 184, 0.1), rgba(187, 225, 250, 0.1));
    border-radius: 10px;
    margin-top: 1rem;
}

.impact-stat {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #3282b8;
    margin-bottom: 0.25rem;
}

.impact-text {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    color: #3282b8;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.carousel-nav:hover {
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 5px; /* Position within the padding */
}

.carousel-next {
    right: 5px; /* Position within the padding */
}

/* Carousel Dots */
.carousel-dots {
    text-align: center;
    margin-top: 2rem;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(50, 130, 184, 0.3);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: #3282b8;
    transform: scale(1.2);
}

/* Industries CTA */
.industries-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.cta-text {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-text strong {
    color: #1a1a2e;
}

/* Why Choose Section */
.why-choose {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.differentiator {
    text-align: center;
    padding: 2rem;
}

.diff-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    color: #3282b8;
}

.diff-icon i {
    font-size: 3rem;
}

.diff-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}

.diff-description {
    color: #666;
}

.section-subtext {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

/* Case Studies Section */
.case-studies {
    padding: 8rem 0;
    background: white;
}

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

.study-card {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.study-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(50, 130, 184, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.study-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    color: #3282b8;
}

.study-icon i {
    font-size: 3rem;
}

.study-metric {
    margin-bottom: 1rem;
}

.metric-number {
    font-size: 3rem;
    font-weight: 700;
    color: #3282b8;
}

.metric-symbol {
    font-size: 1.5rem;
    color: #bbe1fa;
}

.metric-text {
    font-size: 2rem;
    font-weight: 700;
    color: #3282b8;
}

.study-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 8rem 0;
    text-align: center;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.cta-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #3282b8 0%, #0f4c75 100%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: white;
    margin-bottom: 1rem;
}

.cta-subtext {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: #1a1a2e;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
    margin-bottom: 0.5rem;
    display: block;
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #3282b8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 3rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
}

.modal-close:hover {
    color: #333;
}

.consultation-form h3 {
    margin-bottom: 2rem;
    color: #1a1a2e;
    text-align: center;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3282b8;
}

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

/* Enhanced Mobile-First Responsive Design */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-container {
        gap: 3rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .differentiators-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    /* Navigation improvements */
    .nav-container {
        padding: 0.75rem 1.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .brand-text {
        font-size: 1.25rem;
    }
    
    .brand-logo {
        height: 28px;
    }
    
    /* Hero section mobile optimization */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 1.5rem;
        min-height: auto;
        padding-top: 6rem; /* Account for fixed nav */
    }
    
    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 1rem;
    }
    
    .hero-subheadline {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        padding: 1rem 1.5rem;
    }
    
    /* AI Interface - smaller on mobile */
    .ai-interface {
        width: 250px;
        height: 250px;
    }
    
    .interface-node {
        width: 50px;
        height: 50px;
    }
    
    /* Services section */
    .services {
        padding: 4rem 0;
    }
    
    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .service-icon i {
        font-size: 2.5rem;
    }
    
    /* Industries carousel */
    .industries {
        padding: 4rem 0;
    }
    
    .industries-carousel {
        padding: 0 50px; /* Reduced padding for tablet */
    }
    
    .industry-card {
        min-width: 300px;
        padding: 2rem 1.5rem;
    }
    
    .industry-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .industry-icon i {
        font-size: 2.5rem;
    }
    
    .industry-card h3 {
        font-size: 1.2rem;
    }
    
    .impact-stat {
        font-size: 1.5rem;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .carousel-prev {
        left: 10px; /* Adjust for tablet */
    }
    
    .carousel-next {
        right: 10px; /* Adjust for tablet */
    }
    
    .industries-cta {
        margin-top: 3rem;
        padding: 2rem 1.5rem;
    }
    
    .section-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        margin-bottom: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .service-title {
        font-size: 1.25rem;
    }
    
    /* Why Choose section */
    .why-choose {
        padding: 4rem 0;
    }
    
    .differentiators-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .differentiator {
        padding: 1.5rem;
    }
    
    .diff-icon {
        font-size: 2.5rem;
    }
    
    /* Case studies */
    .case-studies {
        padding: 4rem 0;
    }
    
    .studies-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .study-card {
        padding: 2rem 1.5rem;
    }
    
    .metric-number {
        font-size: 2.5rem;
    }
    
    .metric-text {
        font-size: 1.5rem;
    }
    
    /* CTA section */
    .cta-section {
        padding: 4rem 0;
    }
    
    .cta-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .cta-subtext {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-logo {
        height: 50px;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    /* Modal improvements */
    .modal-content {
        margin: 5% auto;
        padding: 2rem;
        width: 95%;
        max-width: 400px;
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    /* Base containers */
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0.75rem 1rem;
    }
    
    .brand-logo {
        height: 24px;
    }
    
    /* Hero adjustments */
    .hero-container {
        padding: 1rem;
        padding-top: 5rem;
        gap: 1.5rem;
    }
    
    .hero-headline {
        font-size: clamp(1.75rem, 10vw, 2.5rem);
        line-height: 1.2;
    }
    
    .hero-subheadline {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .hero-buttons {
        gap: 0.75rem;
    }
    
    .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
    
    /* AI Interface - even smaller */
    .ai-interface {
        width: 200px;
        height: 200px;
    }
    
    .interface-node {
        width: 40px;
        height: 40px;
    }
    
    /* Sections spacing */
    .services,
    .industries,
    .why-choose,
    .case-studies,
    .cta-section {
        padding: 3rem 0;
    }
    
    /* Industries mobile adjustments */
    .industry-card {
        min-width: 280px;
        padding: 1.5rem 1rem;
    }
    
    .industry-icon {
        font-size: 2rem;
    }
    
    .industry-icon i {
        font-size: 2rem;
    }
    
    .industry-card h3 {
        font-size: 1.1rem;
    }
    
    .industry-features li {
        font-size: 0.85rem; /* Even smaller text on very small screens */
        padding: 0.35rem 0;
        padding-left: 1rem; /* Even tighter spacing for very small screens */
        line-height: 1.3;
    }
    
    .industry-features li::before {
        font-size: 0.7rem; /* Even smaller checkmark */
        left: 0;
        top: 0.35rem;
    }
    
    .industry-features li {
        font-size: 0.9rem;
        padding: 0.4rem 0;
        padding-left: 1.25rem; /* Reduce left padding for mobile */
    }
    
    .industry-features li::before {
        font-size: 0.8rem; /* Smaller checkmark on mobile */
        left: 0;
        top: 0.4rem; /* Adjust vertical position */
    }
    
    .impact-stat {
        font-size: 1.25rem;
    }
    
    .impact-text {
        font-size: 0.8rem;
    }
    
    .carousel-nav {
        display: none; /* Hide on mobile, use swipe instead */
    }
    
    .industries-carousel {
        padding: 0; /* Remove padding on mobile since arrows are hidden */
    }
    
    .industries-cta {
        padding: 1.5rem 1rem;
    }
    
    .cta-text {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: clamp(1.25rem, 8vw, 2rem);
        margin-bottom: 1.5rem;
    }
    
    /* Service cards */
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .service-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .service-icon i {
        font-size: 2rem;
    }
    
    .service-title {
        font-size: 1.1rem;
    }
    
    .service-description {
        font-size: 0.9rem;
    }
    
    /* Differentiators */
    .differentiator {
        padding: 1rem;
    }
    
    .diff-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .diff-icon i {
        font-size: 2rem;
    }
    
    .diff-title {
        font-size: 1.1rem;
    }
    
    .diff-description {
        font-size: 0.9rem;
    }
    
    /* Study cards */
    .study-card {
        padding: 1.5rem 1rem;
    }
    
    .study-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .study-icon i {
        font-size: 2rem;
    }
    
    .metric-number {
        font-size: 2rem;
    }
    
    .metric-symbol {
        font-size: 1.25rem;
    }
    
    .metric-text {
        font-size: 1.25rem;
    }
    
    .study-description {
        font-size: 0.9rem;
    }
    
    /* CTA section */
    .cta-headline {
        font-size: clamp(1.5rem, 10vw, 2.5rem);
    }
    
    .cta-subtext {
        font-size: 1rem;
    }
    
    /* Footer */
    .footer-links {
        gap: 0.75rem;
    }
    
    .footer-logo {
        height: 40px;
    }
    
    .footer-link {
        font-size: 0.9rem;
    }
    
    /* Modal for mobile */
    .modal-content {
        margin: 2% auto;
        padding: 1.5rem;
        width: 98%;
        max-width: 350px;
        border-radius: 15px;
    }
    
    .consultation-form h3 {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .modal-close {
        font-size: 1.5rem;
        top: 0.75rem;
        right: 1rem;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .hero-headline {
        font-size: 1.5rem;
    }
    
    .hero-subheadline {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .service-card,
    .study-card {
        padding: 1.25rem 0.75rem;
    }
    
    .ai-interface {
        width: 150px;
        height: 150px;
    }
    
    .interface-node {
        width: 30px;
        height: 30px;
    }
    
    /* Industry features for very small screens */
    .industry-card {
        min-width: 260px;
        padding: 1.25rem 0.75rem;
    }
    
    .industry-features li {
        font-size: 0.8rem; /* Smallest text size */
        padding: 0.3rem 0;
        padding-left: 0.9rem; /* Minimum left padding */
        line-height: 1.2;
    }
    
    .industry-features li::before {
        font-size: 0.65rem; /* Smallest checkmark */
        left: 0;
        top: 0.3rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices and add active states */
    .service-card:hover {
        transform: none;
    }
    
    .service-card:active {
        transform: scale(0.98);
    }
    
    .btn:hover {
        transform: none;
    }
    
    .btn:active {
        transform: scale(0.95);
    }
    
    .nav-link:hover,
    .mobile-nav-link:hover {
        background: none;
    }
    
    .nav-link:active,
    .mobile-nav-link:active {
        background: rgba(50, 130, 184, 0.1);
    }
    
    /* Larger touch targets */
    .btn {
        min-height: 48px;
        min-width: 48px;
        padding: 1rem 2rem;
    }
    
    .nav-link {
        padding: 0.75rem;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .mobile-nav-link {
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    .modal-close {
        min-width: 48px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }
    
    .mobile-menu-toggle {
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
        align-items: center;
    }
    
    /* Prevent text selection on touch */
    .btn,
    .nav-link,
    .mobile-nav-link,
    .service-card,
    .study-card {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    /* Improve tap highlights */
    .btn,
    .nav-link,
    .mobile-nav-link {
        -webkit-tap-highlight-color: rgba(50, 130, 184, 0.2);
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Crisp text rendering */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Animation on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Loading state */
.loading {
    pointer-events: none;
    opacity: 0.7;
}

/* Thank You Page Styles */
.thank-you-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.thank-you-content {
    text-align: center;
    max-width: 600px;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.thank-you-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1.5rem;
}

.thank-you-title {
    font-size: 2.5rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.thank-you-message {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.thank-you-details {
    margin: 2rem 0;
    text-align: left;
}

.thank-you-details h3 {
    font-size: 1.25rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
    text-align: center;
}

.next-steps {
    list-style: none;
    padding: 0;
}

.next-steps li {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    font-size: 1rem;
    color: #555;
}

.next-steps i {
    color: #3282b8;
    margin-right: 1rem;
    width: 20px;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .thank-you-section {
        padding: 6rem 1rem 4rem;
    }
    
    .thank-you-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .thank-you-title {
        font-size: 2rem;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .thank-you-actions .btn {
        width: 100%;
        max-width: 250px;
    }
}
