/* ================================
   Vector Circuit - Material Design
   Modern Gradient Design System
   ================================ */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables - Material Design Palette */
:root {
    /* Vibrant Gradient Colors */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-warm: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-cool: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    --gradient-sunset: linear-gradient(135deg, #ff6a00 0%, #ee0979 100%);
    --gradient-ocean: linear-gradient(135deg, #2e3192 0%, #1bffff 100%);
    --gradient-forest: linear-gradient(135deg, #134e5e 0%, #71b280 100%);

    /* Solid Colors */
    --primary-color: #667eea;
    --primary-dark: #5568d3;
    --secondary-color: #f5576c;
    --accent-color: #4facfe;
    --success-color: #00f2fe;
    --warning-color: #fee140;

    /* Neutral Colors */
    --dark-color: #1a202c;
    --text-color: #2d3748;
    --text-light: #4a5568;
    --text-muted: #718096;
    --white: #ffffff;
    --off-white: #f7fafc;
    --light-bg: #edf2f7;
    --border-color: #e2e8f0;

    /* Material Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --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);

    /* Material Elevation */
    --elevation-1: 0 2px 4px rgba(0,0,0,0.1);
    --elevation-2: 0 4px 8px rgba(0,0,0,0.12);
    --elevation-3: 0 8px 16px rgba(0,0,0,0.15);
    --elevation-4: 0 16px 32px rgba(0,0,0,0.18);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius - Material */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;

    /* Typography */
    --font-display: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* ================================
   Base Styles
   ================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    min-width: 0;
}

/* Prevent horizontal scrolling on all elements */
* {
    max-width: 100%;
}

/* Allow specific elements to exceed */
.container,
.hero,
.section,
.navbar,
.footer,
body,
html {
    max-width: none;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: clamp(14px, 2vw, 16px);
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(to bottom, #f7fafc 0%, #edf2f7 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100vw;
    min-width: 0;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all var(--transition-base);
}

a:hover {
    color: var(--primary-dark);
}

p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive images */
img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

svg {
    max-width: 100%;
    height: auto;
    flex-shrink: 0;
}

::selection {
    background: var(--gradient-primary);
    color: var(--white);
}

/* ================================
   Container
   ================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    width: 100%;
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-lg);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 0.75rem;
    }
}

/* ================================
   Material Navigation
   ================================ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    border-bottom: none;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav-brand h1 {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Logo Link Styling */
.logo-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.logo-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.logo-link:active {
    transform: scale(0.98);
}

.logo {
    height: 100px;
    width: auto;
    max-width: 120px;
    margin-left: clamp(10px, 5vw, 80px);
    object-fit: contain;
    transition: inherit;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    position: relative;
    min-height: 44px;
    display: flex;
    align-items: center;
    touch-action: manipulation;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: -1;
}

.nav-menu a:hover::before {
    opacity: 0.1;
}

.nav-menu a.active {
    color: var(--white);
    background: var(--gradient-primary);
    box-shadow: var(--elevation-2);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 0.5rem;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* ================================
   Material Buttons
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1.5;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--elevation-2);
    font-family: var(--font-display);
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%);
    transition: transform var(--transition-base);
}

.btn:hover::before {
    transform: translateX(0);
}

.btn:active {
    transform: translateY(2px);
    box-shadow: var(--elevation-1);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--white);
}

.btn-accent {
    background: var(--gradient-success);
    color: var(--white);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.0625rem;
}

/* ================================
   Hero Section - Material with Background Image
   ================================ */
.hero {
    background: var(--gradient-primary);
    color: var(--white);
    padding: clamp(4rem, 10vw, 8rem) 0;
    position: relative;
    overflow: hidden;
    min-height: clamp(450px, 70vh, 600px);
    display: flex;
    align-items: center;
}

/* Background Image with Blur and Animation */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/hero/homepage-hero.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(1px);
    transform: scale(1.05);
    z-index: 0;
    animation: subtleZoom 20s ease-in-out infinite alternate;
}

/* Dark Overlay for better text readability with gradient */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.5) 0%, rgba(118, 75, 162, 0) 100%);
    backdrop-filter: blur(1px);
    z-index: 1;
}

/* Alternative: Glass morphism effect (uncomment to use)
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.7) 100%);
    backdrop-filter: blur(10px) saturate(150%);
    z-index: 1;
}
*/

/* Subtle zoom animation for background */
@keyframes subtleZoom {
    0% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1.1);
    }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(1.75rem, 5vw + 1rem, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
    animation: fadeInUp 1s ease-out 0.2s both;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .hero-title {
        white-space: normal;
    }
}

.hero-tagline {
    font-size: 1rem;
    font-weight: 700;
    opacity: 0.95;
    font-style: italic;
    letter-spacing: 0.5px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw + 0.5rem, 1.25rem);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.no-break {
    white-space: nowrap;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Fade in up animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   Page Header - Material
   ================================ */
.page-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 5rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--white);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}

.page-header h1 {
    font-size: clamp(2rem, 4vw + 1rem, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-header p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Enhanced Page Header Content */
.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.page-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.page-header-badge svg {
    width: 20px;
    height: 20px;
}

.page-header-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 1rem auto 2rem;
    max-width: 700px;
    font-weight: 500;
}

.page-header-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.header-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-base);
}

.header-feature:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: var(--elevation-3);
}

.header-feature svg {
    width: 20px;
    height: 20px;
    color: var(--white);
}

.header-feature span {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--white);
}

/* Process Section Enhanced */
.process-header {
    text-align: center;
    margin-bottom: 4rem;
}

.process-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 60px;
    bottom: 60px;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--radius-full);
}

.process-timeline .process-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.process-timeline .process-step:last-child {
    margin-bottom: 0;
}

.process-icon {
    position: relative;
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--elevation-3);
    border: 3px solid var(--primary-color);
    z-index: 2;
}

.process-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

.process-number {
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-display);
    box-shadow: var(--elevation-2);
}

.process-content {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--elevation-2);
    border-left: 4px solid var(--primary-color);
    transition: all var(--transition-base);
}

.process-content:hover {
    transform: translateX(8px);
    box-shadow: var(--elevation-3);
}

.process-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    font-family: var(--font-display);
}

.process-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.process-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.process-list li {
    font-size: 0.9375rem;
    color: var(--text-color);
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.process-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1rem;
}

/* ================================
   Material Sections
   ================================ */
.section {
    padding: clamp(3rem, 8vw, 5rem) 0;
}

.section-title {
    font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 1rem auto 0;
    border-radius: var(--radius-full);
}

.section-intro,
.section-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* ================================
   Material Cards
   ================================ */
.feature-card,
.service-card,
.industry-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--elevation-2);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover,
.service-card:hover,
.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--elevation-4);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ================================
   Features Grid
   ================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* ================================
   Service Cards with Gradients
   ================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-image-wrapper {
    width: 100%;
    height: 200px;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
}

@media (max-width: 768px) {
    .service-image-wrapper {
        height: auto;
        min-height: 180px;
    }
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-image {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    transition: gap var(--transition-base);
}

.service-link:hover {
    gap: 0.75rem;
}

/* ================================
   Industries Grid
   ================================ */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.industry-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.industry-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    transition: transform var(--transition-slow);
    aspect-ratio: 4 / 3;
}

@media (max-width: 768px) {
    .industry-image {
        height: auto;
        min-height: 200px;
    }
}

.industry-card:hover .industry-image {
    transform: scale(1.05);
}

.industry-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.industry-card p {
    color: var(--text-light);
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 1rem;
}

/* ================================
   Stats Section - Material
   ================================ */
.stats-section {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 5rem 0;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-base);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-8px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-family: var(--font-display);
}

.stat-label {
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--white);
}

/* ================================
   CTA Section - Material
   ================================ */
.cta-section {
    background: var(--gradient-sunset);
    color: var(--white);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(80px);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    filter: blur(60px);
}

.cta-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.cta-section .section-title {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-section .section-title::after {
    background: var(--white);
}

.cta-section .section-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    margin-bottom: 0;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.cta-buttons .btn svg {
    margin-right: 0.5rem;
}

/* Contact Cards Grid */
.cta-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
    margin: 3rem 0;
    position: relative;
    z-index: 2;
}

.cta-contact-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-base);
}

.cta-contact-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: var(--elevation-4);
    border-color: rgba(255, 255, 255, 0.4);
}

.cta-contact-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--elevation-2);
}

.cta-contact-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary-color);
}

.cta-contact-details {
    flex: 1;
    text-align: left;
}

.cta-contact-details h4 {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.cta-contact-details a {
    color: var(--white);
    font-size: 1.0625rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    display: inline-block;
}

.cta-contact-details a:hover {
    transform: translateX(5px);
    text-decoration: underline;
}

.cta-contact-details p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* Divider */
.cta-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    margin: 3rem 0;
    position: relative;
    z-index: 2;
}

/* Social Section */
.cta-social {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-social h3 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    box-shadow: var(--elevation-2);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-6px) scale(1.05);
    box-shadow: var(--elevation-3);
    border-color: var(--white);
}

/* ================================
   Material Footer
   ================================ */
.footer {
    background: linear-gradient(180deg, #1a1f2e 0%, #0f1419 100%);
    color: var(--white);
    padding: 4.5rem 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

/* Column 1: Brand */
.footer-brand {
    padding-right: 2rem;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo {
    max-width: 50px;
    height: auto;
}

.footer-brand-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    margin: 0;
    font-family: var(--font-display);
}

.footer-tagline {
    font-size: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.footer-description {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.footer-social {
    margin-top: auto;
}

.footer-social-heading {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.footer-social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    color: var(--white);
    transition: all var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
    box-shadow: var(--elevation-3);
    border-color: transparent;
}

/* Column 2: Quick Links */
.footer-heading {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
    font-family: var(--font-display);
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all var(--transition-base);
}

.footer-links li svg {
    width: 14px;
    height: 14px;
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-base);
}

.footer-links li:hover svg {
    opacity: 1;
    transform: translateX(0);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9375rem;
    transition: all var(--transition-base);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

/* Column 3: Contact */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all var(--transition-base);
}

.footer-contact-item:hover {
    transform: translateX(5px);
}

.footer-contact-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: rgba(102, 126, 234, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.footer-contact-icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}

.footer-contact-text {
    flex: 1;
}

.footer-contact-text p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin: 0;
}

.footer-contact-text a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all var(--transition-base);
    display: inline-block;
}

.footer-contact-text a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Footer Bottom */
.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 0;
}

.footer-bottom-tagline {
    font-style: italic;
    color: rgba(255, 255, 255, 0.5);
}

/* ================================
   Alternate Section Backgrounds
   ================================ */
.who-we-are {
    background: var(--white);
}

.what-we-do {
    background: var(--off-white);
}

.our-expertise {
    background: var(--white);
}

.why-choose-section {
    background: var(--off-white);
}

.testimonials-section {
    background: var(--white);
    overflow: hidden;
    position: relative;
}

/* ================================
   Testimonials Carousel
   ================================ */
.testimonials-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.testimonials-wrapper {
    position: relative;
}

.testimonials-grid {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2rem;
}

.testimonial-card {
    min-width: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: var(--radius-xl);
    padding: 3.5rem 3rem 3rem;
    box-shadow: var(--elevation-3);
    transition: all var(--transition-base);
    position: relative;
    border: 2px solid transparent;
    overflow: hidden;
}

/* Gradient border effect */
.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-xl);
    padding: 2px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-base);
}

/* Quote icon with gradient background circle */
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 2rem;
    font-size: 6rem;
    font-family: Georgia, serif;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.15;
    line-height: 1;
    font-weight: bold;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--elevation-4);
    border-color: transparent;
}

.testimonial-card:hover::after {
    opacity: 1;
}

.testimonial-content {
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
    padding-left: 1.5rem;
    border-left: 3px solid var(--gradient-primary);
    border-image: var(--gradient-primary) 1;
}

.testimonial-content p {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text-color);
    font-style: italic;
    margin: 0;
    font-weight: 400;
}

/* Rating stars */
.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.testimonial-rating::before {
    content: '★★★★★';
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.25rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: var(--radius-md);
    margin: 0 -1rem -1rem;
}

.testimonial-author-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--elevation-2);
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark-color);
    display: block;
}

.testimonial-author span {
    font-size: 0.9375rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Carousel Navigation */
.testimonial-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.testimonial-btn {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all var(--transition-base);
    box-shadow: var(--elevation-2);
}

.testimonial-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--elevation-3);
}

.testimonial-btn:active {
    transform: scale(0.95);
}

.testimonial-dots {
    display: flex;
    gap: 0.75rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: var(--border-color);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 0;
}

.testimonial-dot.active {
    background: var(--gradient-primary);
    width: 32px;
}

/* ================================
   Two Column Layout
   ================================ */
.two-column-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.content-column,
.image-column {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.section-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
    border-radius: var(--radius-xl);
    box-shadow: var(--elevation-3);
    margin-top: 7%;
}

/* ================================
   Responsive Design
   ================================ */

/* Large Desktop - 1200px+ */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }

    .hero-title {
        font-size: clamp(3rem, 5vw, 5rem);
    }

    .section-title {
        font-size: clamp(2rem, 3vw, 2.5rem);
    }
}

/* Desktop - 992px to 1199px */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid,
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .logo {
        height: 80px;
        max-width: 100px;
        margin-left: clamp(10px, 3vw, 40px);
    }

    .container {
        padding: 0 2rem;
    }
}

/* Tablets - 768px to 992px Range Optimization */
@media (min-width: 769px) and (max-width: 992px) {
    .services-grid,
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .two-column-layout {
        gap: 3rem;
    }

    .cta-contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .testimonial-card {
        padding: 3rem 2.5rem 2.5rem;
    }

    .process-timeline-item {
        padding-left: 5rem;
    }

    .service-detail-content,
    .product-detail-content,
    .industry-detail-content {
        gap: 3rem;
    }
}

/* Tablets and Below - 768px */
@media (max-width: 768px) {
    /* Logo link touch optimization */
    .logo-link {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .logo-link:hover {
        transform: none;
    }

    .logo-link:active {
        transform: scale(0.95);
        opacity: 0.8;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 73px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: left var(--transition-slow);
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 0;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0.5rem 0;
    }

    .hero {
        padding: 4rem 0;
        min-height: 500px;
    }

    .hero-title {
        font-size: 2rem;
        white-space: normal;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .hero-subtitle {
        font-size: 1.0625rem;
    }

    .no-break {
        white-space: normal;
    }

    .section {
        padding: 3rem 0;
    }

    /* Page Header Mobile */
    .page-header {
        padding: 3rem 0 2.5rem;
    }

    .page-header-badge {
        font-size: 0.8125rem;
        padding: 0.5rem 1rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header-subtitle {
        font-size: 1.0625rem;
    }

    .page-header-features {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }

    .header-feature {
        width: 100%;
        justify-content: center;
    }

    /* Process Timeline Mobile */
    .process-header {
        margin-bottom: 3rem;
    }

    .process-timeline::before {
        left: 24px;
    }

    .process-timeline .process-step {
        grid-template-columns: 48px 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .process-icon {
        width: 48px;
        height: 48px;
    }

    .process-icon svg {
        width: 24px;
        height: 24px;
    }

    .process-number {
        width: 24px;
        height: 24px;
        font-size: 0.6875rem;
        bottom: -6px;
        right: -6px;
    }

    .process-content {
        padding: 1.5rem;
    }

    .process-content h3 {
        font-size: 1.25rem;
    }

    .process-content p {
        font-size: 0.9375rem;
    }

    .process-list {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .process-list li {
        font-size: 0.875rem;
    }

    .services-grid,
    .features-grid,
    .industries-grid {
        grid-template-columns: 1fr;
    }

    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-image {
        min-height: 300px;
    }

    /* CTA Section Mobile */
    .cta-section {
        padding: 4rem 0;
    }

    .cta-section .section-title {
        font-size: 2rem;
    }

    .cta-section .section-text {
        font-size: 1.0625rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 3rem;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .cta-contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }

    .cta-contact-card {
        padding: 1.5rem;
    }

    .cta-contact-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    .cta-contact-icon svg {
        width: 24px;
        height: 24px;
    }

    .cta-contact-details h4 {
        font-size: 1rem;
    }

    .cta-contact-details a,
    .cta-contact-details p {
        font-size: 0.9375rem;
    }

    .cta-social h3 {
        font-size: 1.25rem;
    }

    .social-links a {
        width: 48px;
        height: 48px;
    }

    /* Footer Mobile */
    .footer {
        padding: 3rem 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-brand {
        padding-right: 0;
    }

    .footer-logo-wrapper {
        justify-content: flex-start;
    }

    .footer-logo {
        max-width: 40px;
    }

    .footer-brand-name {
        font-size: 1.5rem;
    }

    .footer-description {
        margin-bottom: 1.5rem;
    }

    .footer-social {
        margin-top: 0;
    }

    .footer-social-heading {
        font-size: 0.9375rem;
    }

    .footer-social-links a {
        width: 40px;
        height: 40px;
    }

    .footer-heading {
        font-size: 1.125rem;
    }

    .footer-links li {
        margin-bottom: 0.75rem;
    }

    .footer-contact-item {
        gap: 0.875rem;
    }

    .footer-contact-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .footer-contact-icon svg {
        width: 18px;
        height: 18px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    /* Testimonials Mobile */
    .testimonial-card {
        padding: 2.5rem 2rem 2rem;
    }

    .testimonial-card::before {
        font-size: 4rem;
        top: -5px;
        right: 1rem;
    }

    .testimonial-content {
        padding-left: 1rem;
        margin-bottom: 2rem;
    }

    .testimonial-content p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .testimonial-rating {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .testimonial-author {
        padding: 1rem;
        margin: 0 -0.5rem -0.5rem;
    }

    .testimonial-author-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .testimonial-author strong {
        font-size: 1rem;
    }

    .testimonial-author span {
        font-size: 0.875rem;
    }

    .testimonial-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* Contact Info Cards - Mobile */
    .contact-info-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }

    .contact-info-icon {
        width: 48px;
        height: 48px;
    }

    .social-links-grid {
        grid-template-columns: 1fr;
    }
}

/* Large Phones / Small Tablets - 600px */
@media (max-width: 600px) {
    .logo {
        height: 60px;
        max-width: 80px;
        margin-left: clamp(5px, 2vw, 20px);
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.9375rem;
    }

    .btn-large {
        padding: 1rem 2rem;
    }

    .stats-card h3 {
        font-size: 2rem;
    }

    .process-timeline-item {
        padding-left: 3rem;
    }

    .process-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        left: 0;
    }

    .testimonial-card {
        padding: 2.5rem 1.5rem 1.5rem;
    }

    .cta-contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Mobile - 480px and below */
@media (max-width: 480px) {
    .hero {
        min-height: 450px;
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
        white-space: normal;
    }

    .hero-tagline {
        font-size: 0.875rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .no-break {
        white-space: normal;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }

    /* CTA Section Small Mobile */
    .cta-section .section-title {
        font-size: 1.75rem;
    }

    .cta-section .section-text {
        font-size: 1rem;
    }

    .cta-contact-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }

    .cta-contact-icon {
        margin: 0 auto 1rem;
    }

    .cta-contact-details {
        text-align: center;
    }

    .social-links {
        gap: 0.75rem;
    }

    /* Footer Small Mobile */
    .footer-brand-name {
        font-size: 1.25rem;
    }

    .footer-description {
        font-size: 0.875rem;
    }

    .footer-heading {
        font-size: 1rem;
    }

    .footer-links a {
        font-size: 0.875rem;
    }

    .footer-contact-text p,
    .footer-contact-text a {
        font-size: 0.875rem;
    }

    .footer-bottom p {
        font-size: 0.8125rem;
    }

    /* Form Inputs - Mobile Optimized */
    .modern-contact-form input,
    .modern-contact-form textarea,
    .modern-contact-form select {
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

    /* Footer Links - Touch Friendly */
    .footer-links li {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .footer-links a {
        padding: 0.5rem 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .footer-social-links a {
        min-width: 48px;
        min-height: 48px;
    }

    /* Logo Extra Small */
    .logo {
        height: 50px;
        max-width: 70px;
        margin-left: clamp(5px, 1vw, 10px);
    }

    .container {
        padding: 0 1rem;
    }
}

/* Very Small Screens - 360px and below */
@media (max-width: 360px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.375rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.8125rem;
    }

    .btn-large {
        padding: 0.875rem 1.5rem;
    }

    .logo {
        height: 45px;
        max-width: 60px;
        margin-left: 5px;
        min-width: 45px;
    }

    .stats-card h3 {
        font-size: 1.75rem;
    }

    .stats-card p {
        font-size: 0.875rem;
    }

    .service-card,
    .product-card,
    .industry-card {
        padding: 1.25rem;
    }

    .process-timeline-item {
        padding-left: 2.5rem;
    }

    .process-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .testimonial-card {
        padding: 2rem 1.25rem 1.25rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem 1rem;
    }
}

/* Landscape Mode - Mobile Devices */
@media (max-height: 480px) and (orientation: landscape) {
    .hero {
        min-height: 400px;
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .logo {
        height: 50px;
    }

    .nav-menu {
        top: 60px;
    }

    .page-header {
        min-height: 300px;
        padding: 2rem 0;
    }

    .section {
        padding: 2rem 0;
    }
}

/* Image Constraints - All Breakpoints */
img {
    max-width: 100%;
    height: auto;
}

.detail-image,
.section-image,
.service-image,
.product-image,
.industry-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Table Responsiveness */
@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
}

/* ================================
   Service Detail Pages
   ================================ */
.service-detail,
.product-detail,
.industry-detail {
    margin-bottom: 4rem;
}

.service-detail h2,
.product-detail h2,
.industry-detail h2 {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.service-detail h3,
.product-detail h3,
.industry-detail h3 {
    color: var(--dark-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-list,
.product-feature-list,
.industry-solution-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.service-list li,
.product-feature-list li,
.industry-solution-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    line-height: 1.7;
    color: var(--text-light);
}

.service-list li::before,
.product-feature-list li::before,
.industry-solution-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.25rem;
}

.service-detail-content,
.product-detail-content,
.industry-detail-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: 3rem;
    align-items: start;
    margin-bottom: 2rem;
}

.detail-image {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--elevation-3);
    min-height: 400px;
    object-fit: cover;
}

.tech-stack {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
    margin: 1.5rem 0;
    line-height: 1.7;
}

/* Service Detail Image Column - Stack image, tech stack, and button */
.service-detail-image-column,
.product-detail-image-column,
.industry-detail-image-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-detail-image-column .tech-stack,
.product-detail-image-column .tech-stack,
.industry-detail-image-column .tech-stack {
    margin: 0;
}

.service-detail-image-column .btn,
.product-detail-image-column .btn,
.industry-detail-image-column .btn {
    align-self: flex-start;
}

/* Product Use Cases Section */
.product-use-cases {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--accent-color);
}

.product-use-cases h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.product-use-cases .use-cases {
    margin: 0;
    line-height: 1.7;
    color: var(--text-light);
}

/* Product CTA Buttons */
.product-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-image-caption,
.industry-image-caption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: -0.5rem;
}

/* Industry Tech Integration Section */
.industry-tech-integration {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--success-color);
}

.industry-tech-integration h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.industry-tech-integration .tech-integration {
    margin: 0;
    line-height: 1.7;
    color: var(--text-light);
}

/* Industry CTA Buttons */
.industry-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-base);
    background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

/* Contact Information Cards */
.contact-info-container h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.contact-intro {
    color: var(--text-light);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: var(--radius-xl);
    box-shadow: var(--elevation-2);
    transition: all var(--transition-base);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--elevation-3);
}

.contact-info-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--radius-lg);
    color: var(--white);
}

.contact-info-details {
    flex: 1;
}

.contact-info-details h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-info-details p {
    font-size: 1rem;
    color: var(--text-color);
    margin: 0;
    line-height: 1.7;
}

.contact-info-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.contact-info-details a:hover {
    color: var(--primary-dark);
}

.contact-time {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Contact Social Section */
.contact-social-section {
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.contact-social-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-social-section > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    transition: all var(--transition-base);
}

.social-card:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    transform: translateY(-2px);
}

.social-card svg {
    flex-shrink: 0;
    color: var(--primary-color);
}

.social-card span {
    font-size: 1rem;
}

/* Modern Contact Form */
.contact-form-section {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.contact-form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--elevation-3);
}

.contact-form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-form-header .section-title {
    margin-bottom: 1rem;
}

.contact-form-header .section-text {
    color: var(--text-light);
    font-size: 1.0625rem;
    line-height: 1.7;
}

.modern-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.9375rem;
}

.modern-contact-form input,
.modern-contact-form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-base);
    background: var(--white);
    min-height: 44px;
    touch-action: manipulation;
    -webkit-appearance: none;
    appearance: none;
}

@media (max-width: 768px) {
    .modern-contact-form input,
    .modern-contact-form textarea,
    .modern-contact-form select {
        font-size: 16px;
    }
}

.modern-contact-form input:focus,
.modern-contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.modern-contact-form input::placeholder,
.modern-contact-form textarea::placeholder {
    color: var(--text-muted);
}

.modern-contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.form-submit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.form-submit .btn {
    min-width: 250px;
}

.form-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
    margin: 0;
}

/* Map Section Styling */
.map-section {
    padding: 4rem 0;
}

.map-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--elevation-3);
}

.map-container iframe {
    display: block;
    width: 100%;
}

/* ================================
   Under Development Section
   ================================ */
.under-development-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
}

.under-development-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 1.5rem;
}

.under-development-icon {
    margin-bottom: 2rem;
}

.under-development-icon svg {
    width: 120px;
    height: 120px;
    color: var(--primary-color);
    opacity: 0.8;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.under-development-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.under-development-text {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.under-development-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.development-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--elevation-1);
    transition: all var(--transition-base);
}

.development-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--elevation-3);
}

.development-feature svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.development-feature span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
    text-align: left;
}

.under-development-cta {
    margin-top: 3rem;
}

.cta-subtext {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.under-development-cta .btn {
    margin: 0 0.5rem;
}

/* Page Header for Case Studies */
.page-header-case-studies {
    background: var(--gradient-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .under-development-title {
        font-size: 2rem;
    }

    .under-development-text {
        font-size: 1rem;
    }

    .under-development-features {
        grid-template-columns: 1fr;
    }

    .under-development-cta .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }

    .under-development-icon svg {
        width: 80px;
        height: 80px;
    }
}
