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

:root {
    --primary-blue: #0066CC;
    --dark-blue: #003d7a;
    --light-blue: #4d94ff;
    --accent-blue: #00A3FF;
    --dark-bg: #0a1929;
    --light-bg: #f5f8fa;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --gradient-primary: linear-gradient(135deg, #0066CC 0%, #00A3FF 100%);
    --gradient-dark: linear-gradient(135deg, #0a1929 0%, #1a2f45 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

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

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-brand h2 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 700;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

.btn-nav {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    background: var(--gradient-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-video::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(10, 25, 41, 0.95) 0%, rgba(10, 25, 41, 0.7) 50%, transparent 100%);
    z-index: 1;
}

.hero-features {
    position: absolute;
    top: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 3;
    max-width: 280px;
}

.hero-feature-badge {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: slideInRight 0.6s ease-out;
}

.hero-feature-badge:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-feature-badge:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-feature-badge:nth-child(3) {
    animation-delay: 0.3s;
}

.hero-feature-badge:hover {
    transform: translateX(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-text strong {
    color: var(--dark-blue);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.feature-text span {
    color: var(--text-gray);
    font-size: 0.85rem;
    line-height: 1.2;
}

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

.hero-content {
    padding: 3rem 0 4rem;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text {
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero h1 span {
    background: linear-gradient(135deg, #4d94ff 0%, #00D4FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--light-blue);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
}


.btn-primary {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-gray);
}

.highlight {
    color: var(--primary-blue);
}

/* AI Bot Section */
.ai-bot-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

.ai-bot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ai-bot-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.intro-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.feature-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--dark-blue);
}

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

/* Why Choose Us Section */
.why-choose-us {
    padding: 6rem 0;
    background: var(--white);
}

.benefits-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-card {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-blue);
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateX(5px);
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-blue);
}

.benefit-card p {
    color: var(--text-gray);
}

/* Industry Solutions Section */
.industry-solutions {
    padding: 6rem 0;
    background: var(--light-bg);
}

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

.solution-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.solution-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.solution-card ul {
    list-style: none;
    text-align: left;
}

.solution-card li {
    color: var(--text-gray);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.solution-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.solutions-image {
    margin-top: 3rem;
}

.solutions-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

/* Core Services Section */
.core-services {
    padding: 6rem 0;
    background: var(--white);
}

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

.service-item {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    background: var(--gradient-primary);
    color: var(--white);
}

.service-item:hover h3 {
    color: var(--white);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-item h3 {
    font-size: 1.2rem;
    color: var(--dark-blue);
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.btn-cta {
    display: inline-block;
    background: var(--white);
    color: var(--primary-blue);
    padding: 1.25rem 3rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: var(--shadow-lg);
}

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

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: var(--dark-bg);
    color: var(--white);
}

.contact-section .section-header h2,
.contact-section .section-header p {
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.contact-card {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.contact-card a {
    color: var(--light-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-card a:hover {
    color: var(--accent-blue);
}

/* Footer */
.footer {
    background: #000;
    color: var(--white);
    padding: 3rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-header.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
}

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

.footer-about h3 {
    margin-bottom: 1rem;
    color: var(--light-blue);
}

.footer-about p {
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
}

.footer-links h4 {
    margin-bottom: 1rem;
    color: var(--light-blue);
}

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

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--light-blue);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255,255,255,0.6);
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        gap: 1rem;
    }
    
    .hero {
        min-height: 60vh;
    }
    
    .hero-features {
        top: 1rem;
        right: 1rem;
        max-width: 240px;
    }
    
    .hero-feature-badge {
        padding: 0.75rem 1rem;
    }
    
    .feature-icon {
        font-size: 1.5rem;
    }
    
    .feature-text strong {
        font-size: 0.9rem;
    }
    
    .feature-text span {
        font-size: 0.8rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .ai-bot-grid,
    .benefits-container {
        grid-template-columns: 1fr;
    }
    
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: 50vh;
    }
    
    .hero-features {
        position: relative;
        top: auto;
        right: auto;
        max-width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        margin: 1rem;
        padding: 0 1rem;
    }
    
    .hero-feature-badge {
        flex: 1;
        min-width: 140px;
        padding: 0.75rem;
    }
    
    .feature-icon {
        font-size: 1.25rem;
    }
    
    .feature-text strong {
        font-size: 0.85rem;
    }
    
    .feature-text span {
        font-size: 0.75rem;
    }
    
    .hero-content {
        padding: 2rem 0 3rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .solutions-grid,
    .services-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
}

/* Industry Page Styles */
.industry-hero {
    min-height: 60vh;
}

.industry-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.retail-hero-bg {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.9) 0%, rgba(0, 163, 255, 0.85) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23f0f0f0" width="1200" height="600"/></svg>');
}

.healthcare-hero-bg {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.9) 0%, rgba(0, 163, 255, 0.85) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23f0f0f0" width="1200" height="600"/></svg>');
}

.restaurant-hero-bg {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.9) 0%, rgba(0, 163, 255, 0.85) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23f0f0f0" width="1200" height="600"/></svg>');
}

.ecommerce-hero-bg {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.9) 0%, rgba(0, 163, 255, 0.85) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23f0f0f0" width="1200" height="600"/></svg>');
}

.industry-hero .hero-background::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(10, 25, 41, 0.95) 0%, rgba(10, 25, 41, 0.7) 50%, transparent 100%);
    z-index: 1;
}

.industry-hero .hero-content {
    position: relative;
    z-index: 2;
}

/* Industry Features Section */
.industry-features {
    padding: 6rem 0;
    background: var(--white);
}

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

.industry-feature-card {
    background: var(--light-bg);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.industry-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.industry-feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.industry-feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark-blue);
    font-weight: 700;
}

.industry-feature-card p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 1rem;
}

/* Industry Benefits Section */
.industry-benefits {
    padding: 6rem 0;
    background: var(--light-bg);
}

.industry-benefits .benefits-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.check-icon {
    background: var(--gradient-primary);
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.benefit-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-blue);
    font-weight: 700;
}

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

.benefits-visual {
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 4rem 3rem;
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.visual-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
}

.benefits-visual p {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
}

/* Solution Card Links */
.solution-card a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    display: inline-block;
    margin-top: 1rem;
}

.solution-card a:hover {
    color: var(--accent-blue);
}

/* Responsive for Industry Pages */
@media (max-width: 968px) {
    .industry-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .industry-benefits .benefits-container {
        grid-template-columns: 1fr;
    }
    
    .benefits-visual {
        min-height: 250px;
        padding: 3rem 2rem;
    }
}

@media (max-width: 640px) {
    .industry-features-grid {
        grid-template-columns: 1fr;
    }
    
    .industry-feature-card {
        padding: 2rem 1.5rem;
    }
    
    .benefits-content h2 {
        font-size: 2rem;
    }
    
    .visual-icon {
        font-size: 4rem;
    }
    
    .benefits-visual p {
        font-size: 1.2rem;
    }
}

/* Make hero content less obstructive */
.hero-content {
    background: linear-gradient(to top, rgba(10, 25, 41, 0.85) 0%, rgba(10, 25, 41, 0.6) 60%, transparent 100%) !important;
}

.hero-text {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero h1,
.hero-subtitle,
.hero-description {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

/* Move hero text to the right */
.hero-content .container {
    display: flex;
    justify-content: flex-end;
}

.hero-text {
    text-align: left;
    margin-left: auto;
    max-width: 600px;
}

/* Make hero heading and subtitle white */
.hero h1,
.hero h1 span,
.hero-subtitle {
    color: #FFFFFF !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
}

/* Move feature badges to the left */
.hero-features {
    position: absolute;
    top: 2rem;
    left: 2rem;
    right: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 3;
    max-width: 280px;
}

/* About intro section styling */
.about-intro {
    padding: 3rem 0;
    background: var(--white);
    text-align: center;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-dark);
    max-width: 900px;
    margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-features {
        left: 1rem;
        max-width: 200px;
        gap: 0.75rem;
    }
}

/* Move hero text further to the right */
.hero-text {
    margin-right: 2rem;
    padding-right: 2rem;
}

@media (max-width: 768px) {
    .hero-text {
        margin-right: 1rem;
        padding-right: 1rem;
    }
}

/* Right align hero text closer to the edge */
.hero-text {
    text-align: right;
    margin-right: 3rem;
    padding-right: 0;
}

.hero-text h1,
.hero-text .hero-subtitle,
.hero-text .btn-primary {
    text-align: right;
}

@media (max-width: 768px) {
    .hero-text {
        margin-right: 1.5rem;
        text-align: right;
    }
}
