/*

A modern, visually appealing portfolio website specifically designed for showcasing AI services and solutions. This portfolio is separate from the main website and focuses on AI-related projects, tools, and client success stories.

## Features

### 🎨 Modern Design
- Clean, minimalist design with AI-themed aesthetics
- Gradient backgrounds and modern typography
- Responsive design that works on all devices
- Smooth animations and transitions

### 🚀 Interactive Elements
- Animated neural network visualization in hero section
- Portfolio filtering system (ML, Automation, Analytics, NLP)
- Smooth scrolling navigation
- Hover effects and micro-interactions
- Counter animations for statistics

### 📱 Mobile-First Responsive Design
- Fully responsive layout
- Mobile-friendly navigation menu
- Optimized for all screen sizes
- Touch-friendly interface

### 🎯 Key Sections

#### 1. Hero Section
- Full-screen video background
- Animated neural network visualization
- Key statistics display
- Call-to-action buttons
- Typing animation effect

#### 2. Services Section
- 6 main AI service categories
- Interactive service cards
- Feature highlights for each service
- Hover animations

#### 3. Portfolio Section
- Filterable project showcase
- Project categories: ML, Automation, Analytics, NLP
- Interactive project cards with overlays
- Technology stack display

#### 4. Clients Section
- Client statistics with animated counters
- Testimonial carousel
- Success metrics display
- Client feedback showcase

#### 5. Contact Section
- Contact form with validation
- Company contact information
- Social media links
- Professional contact details

## File Structure

```
ai-portfolio/
├── index.html          # Main portfolio page
├── css/
│   └── style.css      # All styles and animations
├── js/
│   └── script.js      # Interactive functionality
└── README.md          # This file
```

## Technologies Used

- **HTML5**: Semantic markup
- **CSS3**: Modern styling with Flexbox and Grid
- **JavaScript**: Interactive features and animations
- **Font Awesome**: Icons
- **Google Fonts**: Inter font family

## Key Features

### Visual Appeal
- High-quality images and videos from existing assets
- AI-themed color scheme (blues, gradients)
- Professional typography
- Smooth animations and transitions

### Client Showcase
- Client count statistics
- Testimonial system
- Success metrics
- Project portfolio with filtering

### Mobile Optimization
- Responsive grid layouts
- Mobile navigation menu
- Touch-friendly interactions
- Optimized images and videos

### Interactive Elements
- Portfolio filtering system
- Smooth scrolling navigation
- Hover effects and animations
- Form validation and submission

## Customization

### Colors
The portfolio uses a blue-based color scheme:
- Primary: #007bff
- Secondary: #00d4ff
- Background: #f8f9fa
- Text: #333, #666

### Content
- Update project images in the portfolio section
- Modify client testimonials
- Add new service categories
- Update contact information

### Styling
- All styles are in `css/style.css`
- Easy to customize colors, fonts, and layouts
- Modular CSS structure

## Browser Support

- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
- Mobile browsers

## Performance

- Optimized images and videos
- Efficient CSS animations
- Minimal JavaScript footprint
- Fast loading times

## Getting Started

1. Open `index.html` in a web browser
2. Navigate through the different sections
3. Test the portfolio filtering system
4. Try the contact form
5. Test mobile responsiveness

## Future Enhancements

- Add more project categories
- Implement a blog section
- Add case study pages
- Integrate with a CMS
- Add more interactive animations
- Implement dark mode toggle

## Contact

For any questions or customization requests, please contact the development team. 
 ================================================================================
SWENTASOLUTIONS - MAIN STYLESHEET
================================================================================

Modern, responsive CSS architecture inspired by enterprise design systems.
Built with mobile-first approach and CSS custom properties for maintainability.

Table of Contents:
1. CSS Custom Properties (Variables)
2. Reset & Base Styles
3. Typography
4. Layout & Grid System
5. Components
   - Navigation
   - Buttons
   - Cards
   - Forms
6. Sections
   - Hero
   - Awards
   - Services
   - Footer
7. Utilities
8. Animations
9. Media Queries

Author: SwentaSolutions Development Team
Version: 1.0.0
================================================================================
*/

/* ================================
   1. CSS CUSTOM PROPERTIES
   ================================ */

:root {
  /* Color Palette */
  --color-primary: #1A2740;
  --color-secondary: #A3D1F6;
  --color-accent: #A8E6A3;
  --color-success: #38a169;
  --color-warning: #d69e2e;
  --color-error: #e53e3e;
  
  /* Neutral Colors */
  --color-white: #ffffff;
  --color-gray-50: #f7fafc;
  --color-gray-100: #edf2f7;
  --color-gray-200: #e2e8f0;
  --color-gray-300: #cbd5e0;
  --color-gray-400: #a0aec0;
  --color-gray-500: #718096;
  --color-gray-600: #4a5568;
  --color-gray-700: #2d3748;
  --color-gray-800: #1a202c;
  --color-gray-900: #171923;
  
  /* Dark Theme */
  --color-dark-bg: #0f0f23;
  --color-dark-surface: #1a1a2e;
  --color-dark-border: #2d3748;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #A8E6A3 0%, #A3D1F6 100%);
  --gradient-dark: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
  --gradient-hero: linear-gradient(135deg, rgba(15, 15, 35, 0.9) 0%, rgba(26, 26, 46, 0.8) 100%);
  
  /* Typography - Professional Helvetica Neue Stack */
  --font-primary: 'Helvetica Neue', Helvetica, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-heading: 'Helvetica Neue', Helvetica, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  
  /* Font Sizes (Fluid Typography) - Professional mobile-first approach */
  --text-xs: clamp(0.7rem, 0.4vw + 0.6rem, 0.7rem);
  --text-sm: clamp(0.7rem, 0.4vw + 0.62rem, 0.8rem);
  --text-base: clamp(0.8rem, 0.6vw + 0.7rem, 0.9rem);
  --text-lg: clamp(0.9rem, 0.8vw + 0.8rem, 1rem);
  --text-xl: clamp(1rem, 1.2vw + 0.9rem, 1.2rem);
  --text-2xl: clamp(1.2rem, 1.6vw + 1rem, 1.6rem);
  --text-3xl: clamp(1.6rem, 2.4vw + 1.2rem, 2.4rem);
  --text-4xl: clamp(2rem, 3.2vw + 1.6rem, 3.2rem);
  --text-5xl: clamp(2.4rem, 4vw + 2rem, 4rem);
  --text-6xl: clamp(3.2rem, 4.8vw + 2.4rem, 4.8rem);
  
  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  
  /* Z-Index Scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-toast: 1080;
  
  /* Container Sizes */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1536px;
}

/* ================================
   2. RESET & BASE STYLES
   ================================ */

/* Modern CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  line-height: 1.5;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-gray-700);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Remove default list styles */
ul,
ol {
  list-style: none;
}

/* Remove default link styles */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-accent);
}

/* Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Remove built-in form typography styles */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* ================================
   3. TYPOGRAPHY
   ================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-gray-900);
  margin-bottom: var(--space-4);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  margin-bottom: var(--space-4);
  color: var(--color-gray-600);
}

/* Text Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-gray { color: var(--color-gray-600); }
.text-white { color: var(--color-white); }

/* ================================
   4. LAYOUT & GRID SYSTEM
   ================================ */

.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

@media (min-width: 640px) {
  .container { padding: 0 var(--space-6); }
}

@media (min-width: 1024px) {
  .container { padding: 0 var(--space-8); }
}

.section-padding {
  padding: var(--space-16) 0;
}

@media (min-width: 768px) {
  .section-padding {
    padding: var(--space-24) 0;
  }
}

/* Mobile Button Touch Target Improvements */
@media (max-width: 767px) {
  .btn {
    min-height: 44px;
    padding: var(--space-4) var(--space-6);
  }
  
  .btn-small {
    min-height: 44px;
    padding: var(--space-3) var(--space-5);
  }
  
  .btn-large {
    min-height: 48px;
    padding: var(--space-5) var(--space-8);
  }
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Flexbox Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }

/* ================================
   5. COMPONENTS
   ================================ */

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.btn-primary {
  background-color: #1A2740;
  color: var(--color-white);
  border-color: #1A2740;
}

.btn-primary:hover {
  background-color: #1A2740;
  border-color: #1A2740;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  color: #fff;
  border-color: #fff;
  background-color: transparent;
}

.btn-outline:hover {
  color: #1A2740;
  background-color: rgba(255,255,255,0.85);
  border-color: #fff;
}

.btn-large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

.btn-small {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

/* ---- Loading Screen ---- */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--gradient-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
  color: var(--color-white);
}

.loading-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.logo-symbol {
  width: 3rem;
  height: 3rem;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  color: var(--color-white);
  animation: pulse 2s infinite;
}

.loading-text {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-white);
}

.loading-progress {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: var(--space-6) auto;
}

.progress-bar {
  height: 100%;
  background: var(--gradient-primary);
  width: 0%;
  border-radius: var(--radius-full);
  animation: loading 3s ease-in-out infinite;
}

.loading-message {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
}

/* ---- Navigation ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  box-shadow: none;
  z-index: var(--z-fixed);
  transition: all var(--transition-base);
  height: 84px; /* Increased height */
  width: 100%;
  display: flex;
  align-items: center;
  will-change: transform, background-color, box-shadow;
}

.navbar.scrolled {
  background: transparent;
  box-shadow: none;
}

/* Scrolled navbar styles */
.navbar.scrolled .brand-text { color: var(--color-white); }
.navbar.scrolled .nav-link { color: var(--color-white); }
.navbar.scrolled .nav-link:hover { background: rgba(255, 255, 255, 0.1); color: #1A2740 !important; }
.navbar.scrolled .search-btn,
.navbar.scrolled .lang-btn { color: var(--color-white); }
.navbar.scrolled .search-btn:hover,
.navbar.scrolled .lang-btn:hover { background: rgba(255, 255, 255, 0.1); color: var(--color-white); }
.navbar.scrolled .mobile-menu-toggle span { background: var(--color-white); }

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--space-4);
  position: relative; /* Ensure proper positioning context */
  width: 100%; /* Ensure full width */
}
/* Glassmorphism pill container */
.navbar .container .nav-content {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-2xl);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset, 0 8px 24px rgba(0, 0, 0, 0.25);
}

.navbar .container .nav-content::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-2xl);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.06) 100%);
  mix-blend-mode: screen;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  height: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.brand-logo {
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
}
/* Tighter logo sizing inside the navbar */
.navbar .brand-logo {
  width: 120px;
  height: 56px;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-white);
}

.brand-ticker {
  font-size: var(--text-xs);
  color: var(--color-gray-500);
  padding: var(--space-1) var(--space-3);
  background: var(--color-gray-100);
  border-radius: var(--radius-full);
}

.nav-menu {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0 var(--space-4);
}

.nav-item {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  padding: 0 var(--space-4);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  color: var(--color-white);
  font-weight: 500;
  transition: all var(--transition-base);
}

.nav-link:hover {
  color: #1A2740 !important;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
/* Social icon buttons */
.nav-actions .social-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
}

.nav-actions .social-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* Glass CTA variant inside navbar */
.navbar .btn-primary {
  background: linear-gradient(135deg, #4282C2 0%, #98C9FA 100%);
  border-color: transparent;
  color: #fff;
}

.navbar .btn-primary:hover {
  background: linear-gradient(135deg, #3b78ba 0%, #8fbff4 100%);
  box-shadow: 0 8px 20px rgba(66, 130, 194, 0.35);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.search-btn,
.lang-btn {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2);
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  color: var(--color-white);
  cursor: pointer;
  transition: all var(--transition-base);
}

.search-btn:hover,
.lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

/* Dropdown Menus */
.dropdown-content {
  position: absolute;
  top: 100%;
  padding-top: var(--space-4);
  left: 0;
  min-width: 900px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
  z-index: var(--z-dropdown);
}

.nav-item:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  padding: var(--space-6);
  max-width: 1000px;
}

.dropdown-section h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-gray-900);
  margin-bottom: var(--space-3);
}

.dropdown-section a {
  display: block;
  padding: var(--space-2) 0;
  font-size: var(--text-sm);
  color: var(--color-gray-600);
  transition: color var(--transition-base);
}

.dropdown-section a:hover {
  color: var(--color-primary);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  background: transparent !important;
  border: none;
  cursor: pointer;
  padding: var(--space-1);
  margin-left: var(--space-4);
  border-radius: 0;
  transition: none;
  position: relative;
  flex-shrink: 0;
  transform: none !important;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  margin: 3px 0;
  transition: all 0.3s ease;
  transform-origin: center;
  border-radius: 1px;
}

@media (max-width: 1023px) {
  .navbar {
    height: 72px;
  }
  
  .nav-menu {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
    position: relative;
    flex-shrink: 0;
  }
  
  .nav-actions .nav-link {
    display: none;
  }
  
  .dropdown-content {
    min-width: 400px;
  }
  
  .dropdown-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
}

@media (max-width: 767px) {
  .navbar {
    height: 64px;
  }
  
  .nav-menu {
    display: none;
  }
  
  .nav-actions .nav-link,
  .nav-actions .dropdown {
    display: none;
  }
  
  .nav-actions .btn {
    display: none;
  }
  
  .search-btn {
    display: none;
  }
}

/* ================================
   6. SECTIONS
   ================================ */

/* ---- Hero Section ---- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);

background: linear-gradient(135deg, rgba(15, 15, 35, 0.3) 0%, rgba(26, 26, 46, 0.2) 100%);
}

/* ================================
   VIDEO SLIDER STYLES - START
   (Comment this section to disable video slider)
   ================================ */

.video-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.video-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.video-slide.active {
  opacity: 1;
  z-index: 2;
}

.video-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.video-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: none; /* Hidden by default, shown if video fails */
}

/* Video Filter Effects for Visual Variety */
.video-slide[data-filter="normal"] video {
  filter: none;
}

.video-slide[data-filter="sepia"] video {
  filter: sepia(0.3) contrast(1.1);
}

.video-slide[data-filter="contrast"] video {
  filter: contrast(1.2) brightness(0.9);
}

.video-slide[data-filter="saturate"] video {
  filter: saturate(1.3) hue-rotate(10deg);
}

/* Video Slider Controls */
.video-slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 10;
  pointer-events: none;
}

.video-prev,
.video-next {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  pointer-events: auto;
  font-size: 1.2rem;
}

.video-prev:hover,
.video-next:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.1);
}

/* Video Slider Indicators */
.video-slider-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.video-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-indicator.active {
  background: white;
  border-color: white;
}

.video-indicator:hover {
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

/* ================================
   VIDEO SLIDER STYLES - END
   ================================ */

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--space-32);
  max-width: 800px;
}

.hero-text {
  max-width: 600px;
}

.hero-tag {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
  backdrop-filter: blur(10px);
  width: max-content;
  max-width: 90vw;
  min-width: 0;
}

.hero-title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: var(--space-6);
  opacity: 1; /* Ensure visibility even if animations fail */
  position: relative;
  z-index: 2;
  will-change: transform, opacity;
}

.title-line {
  display: block;
  position: relative;
  z-index: 2;
}

.title-line.highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
  line-height: 1.4;
  opacity: 1; /* Ensure visibility even if animations fail */
  position: relative;
  z-index: 2;
  will-change: transform, opacity;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
  opacity: 1; /* Ensure visibility even if animations fail */
  position: relative;
  z-index: 2;
  will-change: transform, opacity;
}

.hero-navigation {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-arrow {
  width: 48px;
  height: 48px;
  border: 2px solid var(--color-white);
  border-radius: 50%;
  background: transparent;
  color: var(--color-white);
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-arrow:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

.hero-indicators {
  display: flex;
  gap: var(--space-2);
}

.indicator {
  width: 12px;
  height: 12px;
  border: 2px solid var(--color-white);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-base);
}

.indicator.active {
  background: var(--color-white);
}

/* ---- Awards Section ---- */
.awards {
  background: #ebe8e8;
  padding: var(--space-16) 0;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.award-card {
  background: #111;
  border-radius: var(--radius-2xl);
  padding: var(--space-8) var(--space-6);
  box-shadow: 0 4px 24px rgba(255,255,255,0.04);
  border: 1.5px solid #fff;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  will-change: transform, opacity;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.award-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 20px);
  pointer-events: none;
  z-index: 0;
}

.award-image {
  background: #181818;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4) auto;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
}

.award-icon, .award-trophy {
  font-size: 2rem;
  /* color: #ffd700; */
  color: #A8E6A3;
  z-index: 2;
}

.award-divider {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #fff 0%, #ffd700 100%);
  opacity: 0.25;
  border-radius: 1px;
  margin: var(--space-4) auto;
}

.award-content h3 {
  color: #fff;
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  font-weight: 700;
  text-align: center;
}

.award-subtitle {
  color: #ffd700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
  text-align: center;
  font-weight: 600;
}

.award-content p {
  color: #e0e0e0;
  font-size: var(--text-sm);
  text-align: center;
}

/* ---- Impact Section ---- */
.impact {
  background: var(--color-white);
}

.impact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.section-title {
  font-size: var(--text-4xl);
  color: var(--color-gray-900);
  margin-bottom: var(--space-6);
  line-height: 1.2;
}

.section-description {
  font-size: var(--text-lg);
  color: var(--color-gray-600);
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

.link-with-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: #ff6b35;
  text-decoration: none;
  transition: all var(--transition-base);
}

.link-with-arrow:hover {
  gap: var(--space-3);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.metric-card {
  text-align: left;
  padding: var(--space-4);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base);
}

.metric-card:hover {
  transform: translateY(-2px);
}

.metric-number {
  display: flex;
  align-items: baseline;
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: var(--space-2);
  line-height: 1;
}

.metric-suffix {
  font-size: var(--text-3xl);
  margin-left: var(--space-1);
  color: var(--color-primary);
}

.metric-label {
  font-size: var(--text-sm);
  color: var(--color-gray-600);
  line-height: 1.4;
}

/* ---- Services Section ---- */
.services {
  background: linear-gradient(135deg, #132038 0%, #1a2948 100%);
  position: relative;
  overflow-x: visible;
  overflow-y: visible;
  min-height: auto;
  padding: var(--space-20) 0;
}

/* SERVICES INTRO COMMENTED OUT FOR NOW - FOCUSING ON CARDS
.services-intro {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #132038 0%, #1a2948 100%);
  border-radius: 0;
  margin-bottom: 100px;
}
*/

/* SERVICES INTRO CONTENT COMMENTED OUT FOR NOW
.services-intro-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-intro-title {
  position: relative;
  z-index: 3;
  font-size: clamp(3rem, 8vw, 8rem);
  color: #fff;
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.02em;
  line-height: 0.9;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
*/

/* HANDS ANIMATION CSS COMMENTED OUT FOR NOW
.services-hands {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.services-hand {
  position: absolute;
  width: min(40vw, 600px);
  max-height: 60%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
  opacity: 0;
  will-change: transform, opacity, scale;
  transform-origin: center center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  perspective: 1000px;
}

.services-hand-left { 
  /* Robot hand from bottom left */
  /* left: -30%;
  bottom: 10%;
  transform: rotate(-8deg);
}

.services-hand-right { 
  /* Human hand from top right */
  /* right: -30%;
  top: 10%;
  transform: rotate(8deg); */
/* } */
*/ */

/* Services Content - SIMPLIFIED WITHOUT HANDS ANIMATION */
.services-content {
  position: relative;
  z-index: 10;
  background: transparent;
  padding: 0;
  min-height: auto;
  overflow-x: visible;
  margin-top: 0;
  clear: both;
}

/* Services Final Header - SIMPLIFIED AND VISIBLE */
.services-final-header {
  position: relative;
  text-align: center;
  opacity: 1 !important;
  transform: translateY(0) !important;
  padding: var(--space-8) 0;
  margin-top: 0;
  z-index: 12;
}

.services-final-title {
  font-size: var(--text-3xl);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: var(--space-4);
  line-height: 1.2;
}

.services-final-description {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  line-height: 1.6;
}

/* Professional Services Grid - HARDCODED FOR 8 CARDS */
.services-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
  gap: 1.75rem !important;
  margin-top: var(--space-8) !important;
  margin-bottom: var(--space-20) !important;
  padding: var(--space-4) !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  position: relative !important;
  z-index: 15 !important;
}

.service-card {
  transform-style: preserve-3d !important;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform, opacity, box-shadow;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative !important;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%) !important;
  border-radius: 20px;
  padding: 2rem 1.75rem !important;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  min-height: 280px !important;
  max-height: 320px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  height: auto !important;
  box-sizing: border-box !important;
  transform: none !important;
  z-index: 20 !important;
  overflow: hidden !important;
}

/* Mobile optimizations for hands animation */
@media (max-width: 768px) {
  .services-hand {
    width: min(50vw, 400px);
    max-height: 50%;
  }
  
  .services-hand-left { 
    left: -35%;
    bottom: 5%;
  }
  
  .services-hand-right { 
    right: -35%;
    top: 5%;
  }
  
  .services-intro-title {
    font-size: clamp(2.5rem, 6vw, 6rem);
  }
}

/* Animated Services Cards */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200..800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap");

.services-cards-container {
  position: relative;
  width: 1000px;
  height: 400px;
  z-index: 100;
  margin: 0 auto;
  margin-top: var(--space-12);
  margin-bottom: var(--space-12);
}

.animated-card {
  width: 300px;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 50%;
  border-radius: 1rem;
  transform: translateX(-50%) translateY(calc(50px * var(--card))) rotate(45deg)
    skew(-15deg, -10deg) scale(0.8);
  box-shadow: 25px 20px 100px rgba(0, 0, 0, 0.2);
  z-index: calc(-1 * var(--card));
  transition: 0.5s;
  overflow: hidden;
  cursor: pointer;
}

/* Background images for each service card */
.ai-card {
  background-image: url('../assets/images/ai-banner1.jpg');
}

.it-card {
  background-image: url('../assets/images/IT-banner.png');
}

.security-card {
  background-image: url('../assets/images/cyber.png');
}

.data-card {
  background-image: url('../assets/images/Data Analytics.jpg');
}

/* Overlay for better text readability */
.animated-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 1rem;
  z-index: 1;
}

.animated-card__content {
  position: relative;
  z-index: 2;
}

/* Removed nth-child background override to allow background images */

.services-cards-container:hover .animated-card {
  position: absolute;
  z-index: 1;
  transform: translateX(calc(-50% + calc(110% * var(--card)) - 500px));
}

.animated-card__content {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  justify-content: space-between;
  height: 100%;
}

.animated-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-icon {
  font-size: 32px;
  color: #ffffff;
}

.service-badge {
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.animated-card__footer {
  display: flex;
  flex-direction: column;
  line-height: 150%;
  gap: 0.8em;
}

.animated-card__footer h3 {
  font-size: 1.5em;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.animated-card__footer p {
  font-size: 0.9em;
  color: #ffffff;
  margin: 0;
  line-height: 1.4;
  opacity: 0.9;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.service-features span {
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-size: 10px;
  font-weight: 500;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Removed decorative pseudo-elements to allow clean background images */

/* Responsive Design for Animated Cards */
@media (max-width: 1200px) {
  .services-cards-container {
    width: 95vw;
    max-width: 900px;
  }
  
  .services-cards-container:hover .animated-card {
    transform: translateX(calc(-50% + calc(100% * var(--card)) - 420px));
  }
}

@media (max-width: 1024px) {
  .services-cards-container {
    width: 95vw;
    max-width: 700px;
  }
  
  .services-cards-container:hover .animated-card {
    transform: translateX(calc(-50% + calc(90% * var(--card)) - 380px));
  }
}

@media (max-width: 768px) {
  .services-cards-container {
    width: 95vw;
    height: 300px;
    max-width: 500px;
  }
  
  .animated-card {
    width: 250px;
  }
  
  .animated-card__content {
    padding: 24px;
  }
  
  .animated-card__footer h3 {
    font-size: 1.2em;
  }
  
  .animated-card__footer p {
    font-size: 0.8em;
  }
  
  .service-features span {
    font-size: 9px;
    padding: 3px 6px;
  }
  
  .services-cards-container:hover .animated-card {
    transform: translateX(calc(-50% + calc(80% * var(--card)) - 320px));
  }
}

/* Mobile: Simple Professional Grid Layout */
@media (max-width: 768px) {
  .services-cards-container {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    margin-top: var(--space-8) !important;
    margin-bottom: var(--space-8) !important;
  }
  
  .animated-card {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border-radius: 16px !important;
    transform: none !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    overflow: hidden !important;
    cursor: pointer !important;
    z-index: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  
  .animated-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15) !important;
  }
  
  /* Background images will be applied via class names */
  
  /* Overlay for better text readability on mobile */
  .animated-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 16px;
    z-index: 1;
  }
  
  .animated-card__content {
    padding: 24px !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 16px !important;
    pointer-events: none !important;
    position: relative !important;
    z-index: 2 !important;
  }
  
  .animated-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .service-icon {
    font-size: 28px;
    color: #ffffff;
  }
  
  .service-badge {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .animated-card__footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .animated-card__footer h3 {
    font-size: 1.25em;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
  }
  
  .animated-card__footer p {
    font-size: 0.9em;
    color: #ffffff;
    margin: 0;
    line-height: 1.5;
    opacity: 0.9;
  }
  
  .service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
  }
  
  .service-features span {
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  /* Remove all decorative elements on mobile */
  .animated-card::before,
  .animated-card::after,
  .animated-card__ornament {
    display: none;
  }
  
  /* Disable hover animation on mobile */
  .services-cards-container:hover .animated-card {
    transform: none !important;
    position: static !important;
    z-index: auto !important;
  }
  
  .services-cards-container:hover .animated-card:hover {
    transform: translateY(-4px) !important;
    position: static !important;
    z-index: auto !important;
  }
}

@media (max-width: 480px) {
  .services-cards-container {
    gap: 20px !important;
    margin-top: var(--space-6) !important;
    margin-bottom: var(--space-6) !important;
    position: static !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  
  .animated-card {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
    z-index: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    cursor: pointer !important;
  }
  
  .animated-card__content {
    padding: 20px !important;
    gap: 14px !important;
    pointer-events: none !important;
  }
  
  .service-icon {
    font-size: 24px !important;
  }
  
  .service-badge {
    padding: 4px 10px !important;
    font-size: 10px !important;
  }
  
  .animated-card__footer h3 {
    font-size: 1.1em !important;
  }
  
  .animated-card__footer p {
    font-size: 0.85em !important;
  }
  
  .service-features span {
    padding: 4px 8px !important;
    font-size: 10px !important;
  }
  
  /* Ensure all cards are visible and clickable on small screens */
  .animated-card:nth-child(1),
  .animated-card:nth-child(2),
  .animated-card:nth-child(3),
  .animated-card:nth-child(4) {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: auto !important;
    pointer-events: auto !important;
  }
  
  /* Disable all hover animations on small screens */
  .services-cards-container:hover .animated-card {
    transform: none !important;
    position: static !important;
  }
}

/* Professional Service Card Content Styling */
.service-card .service-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
  color: white;
  box-shadow: 
    0 8px 16px rgba(102, 126, 234, 0.25),
    0 4px 8px rgba(118, 75, 162, 0.15);
  position: relative;
  overflow: hidden;
}

.service-card .service-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}

.service-card:hover .service-icon::before {
  left: 100%;
}

.service-card h3 {
  color: #1e293b;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.service-card p {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-card .service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  max-height: 60px;
  overflow: hidden;
}

.service-card .feature-tag {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  color: #475569;
  padding: 0.3rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(148, 163, 184, 0.2);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.service-card:hover .feature-tag {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  transform: translateY(-1px);
}

.service-card .service-link {
  color: #667eea;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(226, 232, 240, 0.6);
}

.service-card .service-link:hover {
  color: #764ba2;
  gap: 0.75rem;
  transform: translateX(2px);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before {
  opacity: 1;
}

/* Mobile: 1 column for 8 cards */
@media (max-width: 767px) {
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

/* Tablet: 2 columns for 8 cards (4 rows) */
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem !important;
  }
}

/* Desktop: 3 columns for 8 cards */
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2.5rem !important;
  }
}

/* Large Desktop: 4 columns for 8 cards (2 rows) */
@media (min-width: 1400px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2.5rem !important;
  }
}

/* Mobile responsive design for professional cards */
@media (max-width: 767px) {
  .service-card {
    min-height: 260px !important;
    max-height: 300px !important;
    padding: 1.5rem 1.25rem !important;
    margin-bottom: 1rem;
  }
  
  .service-card .service-icon {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  
  .service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.65rem;
  }
  
  .service-card p {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    -webkit-line-clamp: 2;
  }
  
  .service-card .service-features {
    gap: 0.3rem;
    margin-bottom: 1rem;
    max-height: 50px;
  }
  
  .service-card .feature-tag {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
  }
  
  .service-card .service-link {
    font-size: 0.85rem;
    padding-top: 0.4rem;
  }
}

/* Tablet responsive design */
@media (min-width: 768px) and (max-width: 1023px) {
  .service-card {
    min-height: 270px !important;
    max-height: 310px !important;
    padding: 1.75rem 1.5rem !important;
  }
  
  .service-card .service-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .service-card h3 {
    font-size: 1.3rem;
  }
  
  .service-card p {
    font-size: 0.88rem;
    -webkit-line-clamp: 3;
  }
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-16);
}

.section-tag {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.section-tag.light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-8);
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  will-change: transform, opacity;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  color: var(--color-white);
  margin-bottom: var(--space-6);
}

.service-card h3 {
  font-size: var(--text-2xl);
  color: var(--color-gray-900);
  margin-bottom: var(--space-4);
}

.service-card p {
  color: var(--color-gray-600);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.feature-tag {
  padding: var(--space-1) var(--space-3);
  background: var(--color-gray-100);
  color: var(--color-gray-700);
  font-size: var(--text-xs);
  border-radius: var(--radius-full);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  color: var(--color-primary);
  transition: gap var(--transition-base);
}

.service-link:hover {
  gap: var(--space-3);
}

/* ---- Global Presence Section ---- */
.bg-dark {
  background: var(--color-dark-bg);
}

.section-title.light,
.section-description.light {
  color: var(--color-white);
}

.section-description.light {
  color: rgba(255, 255, 255, 0.8);
}

.presence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-6);
}

.presence-card {
  background: var(--color-dark-surface);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  transition: transform var(--transition-base);
  will-change: transform, opacity;
}

.presence-card:hover {
  transform: translateY(-4px);
}

.presence-flag {
  width: 3rem;
  height: 3rem;
  /* background: var(--gradient-primary); */
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  font-size: var(--text-lg);
  color: var(--color-white);
}

.presence-flag .fi {
  font-size: 2.5rem;
  width: 70%;
  height: 70%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: -50%; /* Maintain circular shape */
}

.presence-card h3 {
  color: var(--color-white);
  margin-bottom: var(--space-3);
}

.presence-card p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
}

.presence-info {
  font-size: var(--text-xs);
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---- CTA Section ---- */
/* .cta {
  background: var(--gradient-primary);
  color: var(--color-white);
  text-align: center;
}

.cta-title {
  font-size: var(--text-4xl);
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.cta-description {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
} */

/* CTA Section */
.cta {
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
     */
    background: linear-gradient(135deg, #A8E6A3 0%, #A3D1F6 100%); 
    color: white;
    text-align: center;
    padding: 120px 0;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.cta-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta .btn-outline {
    background: none;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}


/* ---- Footer ---- */
.footer {
  background: var(--color-gray-900);
  color: var(--color-white);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-16);
  margin-bottom: var(--space-12);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.footer-logo {
  width: 180px;
  height: auto;
}

.footer-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-base);
  line-height: 1.6;
  margin: var(--space-4) 0;
}

.social-links {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-2);
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.social-link:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.footer-column h4 {
  color: var(--color-white);
  margin-bottom: var(--space-4);
  font-size: var(--text-base);
  font-weight: 600;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column a {
  display: block;
  padding: var(--space-1) 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  transition: color var(--transition-base);
}

.footer-column a:hover {
  color: var(--color-white);
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-gray-700);
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.7);
}

.legal-links {
  display: flex;
  gap: var(--space-6);
}

.legal-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  transition: color var(--transition-base);
}

.legal-links a:hover {
  color: var(--color-white);
}

/* ================================
   7. ANIMATIONS
   ================================ */

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

@keyframes loading {
  0% {
    width: 0%;
  }
  50% {
    width: 100%;
  }
  100% {
    width: 0%;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ================================
   8. RESPONSIVE DESIGN
   ================================ */

@media (max-width: 767px) {
  .hero {
    height: 90vh;
    min-height: 500px;
  }
  
  .hero-text {
    transform: none !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 2;
    display: flex !important;
    flex-direction: column !important;
    gap: var(--space-4) !important;
  }

  .hero-content {
    padding-top: 30vh;
    text-align: center;
    transform: none !important;
    opacity: 1 !important;
  }

  /* Ensure hero tags are centered on mobile */
  .hero-tag {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  /* Video Slider Mobile Styles */
  .video-slider-controls {
    padding: 0 1rem;
  }

  .video-prev,
  .video-next {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .video-slider-indicators {
    bottom: 1rem;
    gap: 0.5rem;
  }

  .video-indicator {
    width: 10px;
    height: 10px;
  }
  
  /* Mobile Video Responsiveness */
  .video-slide video {
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
  }
  
  /* Ensure video covers the entire screen on mobile */
  .video-slider {
    width: 100vw;
    height: 100vh;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .hero-title {
    margin-bottom: var(--space-4) !important;
    transform: none !important;
    position: relative !important;
    z-index: 2;
  }
  
  .hero-subtitle {
    margin-bottom: var(--space-6) !important;
    transform: none !important;
    position: relative !important;
    z-index: 2;
  }
  
  .hero-actions {
    transform: none !important;
    position: relative !important;
    z-index: 2;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: var(--space-3) !important;
  }
  
  .hero-actions .btn {
    margin: 0 !important;
    transform: none !important;
  }

  .nav-arrow {
    width: 40px;
    height: 40px;
  }

  .indicator {
    width: 10px;
    height: 10px;
  }

  .impact-content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .impact-text {
    text-align: center;
    padding: 0 var(--space-4);
    transform: none !important;
    opacity: 1 !important;
  }
  
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-top: var(--space-6);
  }
  
  .metric-card {
    text-align: center;
    padding: var(--space-6);
  }
  
  .metric-number {
    justify-content: center;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
  }
  
  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: 
      "services industries"
      "company resources";
    gap: var(--space-6);
    text-align: center;
  }
  
  .footer-column:nth-child(1) { grid-area: services; }
  .footer-column:nth-child(2) { grid-area: industries; }
  .footer-column:nth-child(3) { grid-area: company; }
  .footer-column:nth-child(4) { grid-area: resources; }
  
  .footer-column {
    margin-bottom: 0;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-legal {
    flex-direction: column;
    text-align: center;
    gap: var(--space-4);
  }

  .legal-links {
    justify-content: center;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-navigation,
  .hero-indicators {
    display: none;
  }
  
  .brand-logo {
    width: 110px;
    height: 110px;
  }
}

/* Medium Mobile - Tablets and Large Phones */
@media (max-width: 640px) {
  /* Improved video responsiveness for medium mobile */
  .video-slide video {
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
  }
  
  .hero {
    height: 85vh;
    min-height: 450px;
  }
  
  .hero-content {
    padding-top: 25vh;
  }
  
  .hero-title {
    font-size: 2rem;
    line-height: 1.1;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-3);
  }
  
  .section-padding {
    padding: var(--space-12) 0;
  }
  
  .hero {
    height: 80vh;
    min-height: 400px;
  }

  .hero-navigation {
    bottom: var(--space-4);
  }
  
  /* Enhanced mobile video responsiveness */
  .video-slide video {
    object-fit: cover;
    object-position: center;
    width: 100vw;
    height: 100vh;
    min-width: 100vw;
    min-height: 100vh;
  }
  
  .video-slider {
    width: 100vw;
    height: 100vh;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0;
    margin-right: 0;
  }
  
  .hero-background {
    width: 100vw;
    height: 100vh;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .impact-text {
    text-align: center;
    padding: 0 var(--space-2);
    transform: none !important;
    opacity: 1 !important;
  }
  
  .section-title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-4);
  }
  
  .section-description {
    font-size: var(--text-base);
    margin-bottom: var(--space-6);
  }
  
  .awards-grid,
  .services-grid,
  .presence-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4) var(--space-6);
  }

  .footer-logo {
    width: 140px;
    margin: 0 auto;
  }
}

/* ================================
   9. ACCESSIBILITY
   ================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ================================
   10. JAVASCRIPT FALLBACKS
   ================================ */

/* Ensure hero elements are visible even if JavaScript fails */
.hero-title,
.hero-subtitle,
.hero-actions,
.hero-text {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Force hero text to stay visible during all animations */
.hero-title *,
.hero-subtitle *,
.hero-actions * {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Prevent hero text overlap */
.hero-text {
  display: flex !important;
  flex-direction: column !important;
  gap: var(--space-4) !important;
}

.hero-title,
.hero-subtitle,
.hero-actions {
  position: relative !important;
  z-index: 2 !important;
  transform: none !important;
}

/* Ensure proper spacing between elements */
.hero-title {
  margin-bottom: var(--space-4) !important;
}

.hero-subtitle {
  margin-bottom: var(--space-6) !important;
}

.hero-actions {
  margin-bottom: var(--space-8) !important;
}

/* Ensure all content sections are visible */
.award-card,
.service-card,
.metric-card,
.presence-card,
.impact-text {
  opacity: 1 !important;
  transform: none !important;
  will-change: unset !important; /* Remove will-change on fallback to prevent conflicts */
}

/* Focus states for keyboard navigation */
.btn:focus,
.nav-link:focus,
.service-link:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Screen reader only content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .btn-primary {
    border: 2px solid var(--color-white);
  }
  
  .nav-link:hover {
    outline: 1px solid currentColor;
  }
}

/* ================================
   MOBILE MENU OVERLAY SYSTEM
   ================================ */

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-white);
    z-index: var(--z-modal);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) var(--space-6);
    border-bottom: 1px solid var(--color-gray-200);
    background: var(--color-white);
    position: relative;
    z-index: 2;
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.mobile-menu-logo img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.mobile-menu-logo span {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-primary);
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--color-gray-700);
    font-size: var(--text-xl);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.mobile-menu-close:hover {
    background: var(--color-gray-100);
    color: var(--color-primary);
}

.mobile-menu-content {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.mobile-menu-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: var(--space-6);
    transform: translateX(0);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu-main.slide-out {
    transform: translateX(-100%);
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item {
    margin-bottom: var(--space-2);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-4) 0;
    border: none;
    background: transparent;
    color: var(--color-gray-900);
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-base);
    border-bottom: 1px solid var(--color-gray-100);
}

.mobile-nav-link:hover {
    color: var(--color-primary);
}

.mobile-nav-link span {
    flex: 1;
}

.mobile-nav-link i {
    font-size: var(--text-lg);
    color: var(--color-gray-400);
    transition: all var(--transition-base);
}

.mobile-nav-link:hover i {
    color: var(--color-primary);
    transform: translateX(4px);
}

.mobile-menu-actions {
    margin-top: auto;
    padding-top: var(--space-8);
}

.mobile-menu-actions .btn {
    width: 100%;
    justify-content: center;
    font-size: var(--text-lg);
    padding: var(--space-4) var(--space-6);
}

/* Mobile Submenu Styles */
.mobile-submenu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-white);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: var(--space-6);
    overflow-y: auto;
}

.mobile-submenu.active {
    transform: translateX(0);
}

.mobile-submenu-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--color-gray-200);
}

.mobile-submenu-back {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    border: none;
    background: transparent;
    color: var(--color-primary);
    font-size: var(--text-lg);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
}

.mobile-submenu-back:hover {
    color: var(--color-accent);
}

.mobile-submenu-header h3 {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--color-gray-900);
    margin: 0;
}

.mobile-submenu-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.mobile-submenu-section {
    margin-bottom: var(--space-6);
}

.mobile-submenu-section h4 {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--color-gray-100);
}

.mobile-submenu-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-submenu-section li {
    margin-bottom: var(--space-2);
}

.mobile-submenu-section a {
    display: block;
    padding: var(--space-3) 0;
    color: var(--color-gray-700);
    font-size: var(--text-base);
    font-weight: 400;
    transition: all var(--transition-base);
    border-bottom: 1px solid transparent;
}

.mobile-submenu-section a:hover {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
    transform: translateX(4px);
}

/* Mobile Menu Footer */
.mobile-menu-footer {
    padding: var(--space-6);
    border-top: 1px solid var(--color-gray-200);
    background: var(--color-gray-50);
}

.mobile-menu-featured {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.featured-image {
    width: 80px;
    height: 60px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex-shrink: 0;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content h4 {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: var(--space-2);
    line-height: 1.4;
}

.featured-content p {
    font-size: var(--text-xs);
    color: var(--color-gray-600);
    line-height: 1.4;
    margin: 0;
}

/* Mobile Menu Toggle Button Updates */
.mobile-menu-toggle:hover {
    background: transparent !important;
}

.mobile-menu-toggle:focus,
.mobile-menu-toggle:active,
.mobile-menu-toggle:visited {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsive Behavior */
@media (max-width: 1023px) {
    .mobile-menu-toggle {
        display: flex;
        position: relative;
        flex-shrink: 0;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-actions .nav-link,
    .nav-actions .dropdown {
        display: none;
    }
    
    .nav-actions .btn {
        display: none;
    }
    
    .search-btn {
        display: none;
    }
}

@media (max-width: 767px) {
    .mobile-menu-header {
        padding: var(--space-3) var(--space-4);
    }
    
    .mobile-menu-main {
        padding: var(--space-4);
    }
    
    .mobile-submenu {
        padding: var(--space-4);
    }
    
    .mobile-menu-footer {
        padding: var(--space-4);
    }
    
    .mobile-nav-link {
        font-size: var(--text-xl);
        padding: var(--space-3) 0;
    }
    
    .mobile-submenu-header h3 {
        font-size: var(--text-xl);
    }
}

@media (max-width: 480px) {
    .mobile-menu-main {
        padding: var(--space-3);
    }
    
    .mobile-submenu {
        padding: var(--space-3);
    }
    
    .mobile-nav-link {
        font-size: var(--text-lg);
    }
    
    .featured-content h4 {
        font-size: var(--text-xs);
    }
    
    .featured-content p {
        font-size: var(--text-xs);
    }
}

/* Extra Small Mobile - iPhone SE and similar */
@media (max-width: 375px) {
  .hero {
    height: 75vh;
    min-height: 350px;
  }
  
  .hero-content {
    padding-top: 20vh;
  }
  
  .hero-title {
    font-size: 1.8rem;
    line-height: 1.1;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.3;
  }
  
  /* Ultra-responsive video for very small screens */
  .video-slide video {
    object-fit: cover;
    object-position: center center;
    width: 100vw;
    height: 100vh;
    min-width: 100vw;
    min-height: 100vh;
    transform: scale(1.05); /* Slight zoom to ensure full coverage */
  }
  
  .video-slider {
    width: 100vw;
    height: 100vh;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
  }
  
  .hero-background {
    width: 100vw;
    height: 100vh;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: var(--space-2);
    align-items: center;
  }
  
  .hero-actions .btn {
    width: 100%;
    max-width: 200px;
    text-align: center;
  }
}

/* Prevent body scroll when menu is open */
body.mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* ================================
   FORCE LOGO COLOR SCHEME - START
   (Override any remaining blue colors)
   ================================ */

/* Force all primary color references to use logo navy blue */
:root {
  --color-primary: #1A2740 !important;
  --color-secondary: #A3D1F6 !important;
  --color-accent: #A8E6A3 !important;
  --gradient-primary: linear-gradient(135deg, #A8E6A3 0%, #A3D1F6 100%) !important;
}

/* Force all button hover states */
.btn:hover,
.btn-primary:hover,
.btn-outline:hover,
.btn-outline-primary:hover,
.btn-light:hover,
.btn-outline-light:hover {
  background-color: #A8E6A3 !important;
  border-color: #A8E6A3 !important;
  color: #1A2740 !important;
}

/* Force navbar link hover states */
.nav-link:hover,
.nav-link:focus,
.nav-link.active,
.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #A8E6A3 !important;
}

/* Force any elements using CSS variables */
*[style*="var(--color-primary)"],
*[style*="var(--color-accent)"] {
  color: #A8E6A3 !important;
  background-color: #A8E6A3 !important;
  border-color: #A8E6A3 !important;
}

/* Force any remaining hardcoded brown/orange colors */
*[style*="#c07835"],
*[style*="#9c5442"],
*[style*="brown"] {
  color: #A8E6A3 !important;
  background-color: #A8E6A3 !important;
  border-color: #A8E6A3 !important;
}

/* ================================
   FORCE LOGO COLOR SCHEME - END
   ================================ */

/* ================================
   INDUSTRY EXPERTISE SHOWCASE
   ================================ */

/* Industry Showcase Section */
.industry-showcase {
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 0 0 var(--space-24) 0; /* remove top padding to eliminate white space */
    overflow: hidden;
}

/* Industry Hero */
.industry-hero {
    position: relative;
    text-align: center;
    padding: var(--space-16) 0;
    background: linear-gradient(135deg, #1A2740 0%, #2D3748 100%);
    color: var(--color-white);
    margin-bottom: var(--space-16);
}

.industry-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 39, 64, 0.9) 0%, rgba(45, 55, 72, 0.8) 100%);
    z-index: 1;
}

.industry-hero-title {
    position: relative;
    z-index: 2;
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-6);
    line-height: 1.2;
}

.scroll-line {
    position: relative;
    z-index: 2;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: var(--radius-full);
}

/* Industry Main Container */
.industry-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-8);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

/* Industry Cards */
.industry-card {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.industry-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-base);
}

.industry-card:hover img {
    transform: scale(1.05);
}

.industry-card__contents {
    padding: var(--space-6);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.industry-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    font-size: var(--text-2xl);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.industry-card h2 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: var(--space-4);
    line-height: 1.3;
}

.industry-card p {
    color: var(--color-gray-600);
    line-height: 1.6;
    margin-bottom: var(--space-6);
    flex: 1;
}

.industry-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    background: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--text-sm);
    transition: all var(--transition-base);
    width: fit-content;
    margin-top: auto;
}

.industry-btn:hover {
    background: var(--color-accent);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.industry-btn::after {
    content: '→';
    transition: transform var(--transition-base);
}

.industry-btn:hover::after {
    transform: translateX(4px);
}

/* Animation Direction Classes */
.industry-card[data-animation-direction="left"] {
    animation: slideInLeft 0.8s ease-out;
}

.industry-card[data-animation-direction="right"] {
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .industry-showcase {
        padding: var(--space-16) 0;
    }
    
    .industry-hero {
        padding: var(--space-12) 0;
    }
    
    .industry-hero-title {
        font-size: var(--text-4xl);
    }
    
    .industry-main {
        grid-template-columns: 1fr;
        gap: var(--space-6);
        padding: 0 var(--space-3);
    }
    
    .industry-card {
        max-width: 100%;
    }
    
    .industry-card img {
        height: 200px;
    }
    
    .industry-card__contents {
        padding: var(--space-4);
    }
    
    .industry-icon {
        width: 50px;
        height: 50px;
        font-size: var(--text-xl);
    }
    
    .industry-card h2 {
        font-size: var(--text-xl);
    }
}

@media (max-width: 480px) {
    .industry-hero-title {
        font-size: var(--text-3xl);
    }
    
    .industry-card img {
        height: 180px;
    }
    
    .industry-card__contents {
        padding: var(--space-3);
    }
    
    .industry-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ================================
   TECH CAROUSEL SECTION
   ================================ */

.tech-carousel {
    background: #ffffff !important; /* white background for logo slider */
    padding: var(--space-4) 0 0; /* further reduced top padding to move heading up more */
    overflow: hidden;
    position: relative;
}

.tech-carousel .container {
    overflow: hidden;
}

.tech-carousel .slider {
    animation: slidein 40s linear infinite; /* marquee scroll */
    white-space: nowrap;
}

.tech-carousel .logos {
    width: 100%;
    display: inline-flex; /* inline for continuous line */
    align-items: center;
    gap: 56px; /* spacing between logos */
    margin: 0;
    padding: 12px 32px;
}

.tech-carousel .logos .fab,
.tech-carousel .logos .fas {
    flex: 0 0 auto;
    animation: fade-in 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955) both;
    transition: all 0.3s ease;
    font-size: 2.25rem; /* override fa-4x size to reduce crowding */
}

/* Uniform image logo sizing */
.tech-carousel .tech-logo-img {
    flex: 0 0 auto;
    width: 130px;
    height: 64px;
    object-fit: contain;
    filter: saturate(1) contrast(1);
    transition: transform 0.3s ease;
}

.tech-carousel .tech-logo-img:hover {
    transform: scale(1.08);
}

.tech-carousel .logos .fab:hover,
.tech-carousel .logos .fas:hover {
    transform: scale(1.1);
}

.tech-carousel h1 {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-gray-900); /* dark text for white background */
    margin-bottom: var(--space-16); /* increased spacing between heading and logos */
    text-align: center;
}

@keyframes slidein {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-100%, 0, 0);
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .tech-carousel {
        padding: var(--space-16) 0;
    }
    
    .tech-carousel h1 {
        font-size: var(--text-2xl);
        margin-bottom: var(--space-6);
    }
    
    .tech-carousel .logos {
        gap: 32px 40px;
        padding: 8px 16px;
    }
    .tech-carousel .logos .fab,
    .tech-carousel .logos .fas {
        font-size: 1.9rem;
    }
    .tech-carousel .tech-logo-img {
        width: 120px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .tech-carousel h1 {
        font-size: var(--text-xl);
        margin-bottom: var(--space-4);
    }
    
    .tech-carousel .logos {
        gap: 20px 28px;
        padding: 6px 12px;
    }
    .tech-carousel .logos .fab,
    .tech-carousel .logos .fas {
        font-size: 1.6rem;
    }
    .tech-carousel .tech-logo-img {
        width: 110px;
        height: 56px;
    }
}

/* Pause animation on reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .tech-carousel .slider {
        animation: none;
    }
    
    .tech-carousel .logos .fab:hover,
    .tech-carousel .logos .fas:hover {
        transform: none;
    }
}



