/* ═══════════════════════════════════════════════════════════
   ECOG CORE TECHNOLOGIES - ZOHO DESIGN SYSTEM
   Color Theme, Typography & Font Weight inspired by Zoho.com
   ═══════════════════════════════════════════════════════════ */

/* CSS Variables - Zoho Color Palette */
:root {
    /* Primary Colors - Blue Palette */
    --zoho-red: #3A7BD5;
    --zoho-dark-red: #2563EB;
    --zoho-orange: #60A5FA;
    --zoho-blue: #3A7BD5;
    --zoho-dark-blue: #2563EB;
    
    /* Zoho Neutral Colors */
    --white: #FFFFFF;
    --light-bg: #F8F9FA;
    --lighter-bg: #FAFBFC;
    --text-dark: #1F2937;
    --text-gray: #6B7280;
    --text-light: #9CA3AF;
    --border: #E5E7EB;
    --border-light: #F3F4F6;
    
    /* Zoho Accent Colors */
    --zoho-green: #10B981;
    --zoho-yellow: #F59E0B;
    --zoho-purple: #8B5CF6;
    
    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-xxl: 64px;
    --space-xxxl: 96px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base - Zoho Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

/* Hardware Acceleration for Smooth Performance */
.nav-menu a,
.btn,
.card,
.service-card,
.feature-card,
.cta-button,
.hero-image,
.section-image {
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}

/* Typography - Zoho Font Weights */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

h1 { font-size: 56px; font-weight: 700; }
h2 { font-size: 40px; font-weight: 600; }
h3 { font-size: 28px; font-weight: 600; }
h4 { font-size: 22px; font-weight: 600; }
h5 { font-size: 18px; font-weight: 500; }
h6 { font-size: 16px; font-weight: 500; }

p { font-weight: 400; line-height: 1.7; color: var(--text-gray); font-size: 16px; }
a { text-decoration: none; color: inherit; font-weight: 400; transition: var(--transition); }
span { font-weight: 400; }
strong, b { font-weight: 600; }
button { font-weight: 500; }
input, textarea, select { font-weight: 400; }

img {
    max-width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Smooth Transitions for All Interactive Elements */
a, button, input, select, textarea {
    transition: var(--transition);
}

/* Optimize Animations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Section */
.section {
    padding: var(--space-xxxl) 0;
}

.section-header {
    margin-bottom: var(--space-xxl);
}

.section-header.center {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-xxl);
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--zoho-red);
    margin-bottom: var(--space-sm);
}

/* Navigation - WNS.com Inspired Style */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-nav.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
}

.nav-logo {
    z-index: 1002;
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 60px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
}

/* Desktop Navigation Links - Horizontal */
.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links > li {
    position: relative;
}

.nav-links > li > a {
    font-size: 14px;
    font-weight: 400;
    color: #1a1a1a;
    padding: 28px 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
    text-decoration: none;
    position: relative;
}

.nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: #3A7BD5;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-links > li > a:hover::after,
.nav-links > li > a.active::after {
    transform: scaleX(1);
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
    color: #3A7BD5;
}

/* Dropdown Menu */
.nav-links li.has-dropdown > a .fa-chevron-down {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.nav-links li.has-dropdown:hover > a .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border-top: 3px solid #3A7BD5;
}

.nav-links li.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 400;
    color: #1a1a1a;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: #3A7BD5;
    border-left-color: #3A7BD5;
    padding-left: 28px;
}

/* Right Side - Demo Button & Menu Toggle */
.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-demo-btn {
    padding: 12px 28px;
    background: #3A7BD5;
    color: #FFFFFF;
    border: none;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.nav-demo-btn:hover {
    background: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(58, 123, 213, 0.3);
    color: #FFFFFF;
}

/* WNS-Style Hamburger Menu Toggle */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 1002;
    position: relative;
    background: transparent;
    border: none;
    padding: 0;
}

.nav-toggle-inner {
    width: 28px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #1a1a1a;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background: #fff;
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background: #fff;
}

/* Full Screen Overlay Menu - WNS Style */
.nav-overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 100%);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.nav-overlay-menu.active {
    opacity: 1;
    visibility: visible;
}

/* Close Button for Overlay Menu */
.overlay-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1002;
}

.overlay-close-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    transform: rotate(90deg);
}

.overlay-close-btn span {
    position: relative;
    width: 20px;
    height: 20px;
}

.overlay-close-btn span::before,
.overlay-close-btn span::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}

.overlay-close-btn span::before {
    transform: rotate(45deg);
}

.overlay-close-btn span::after {
    transform: rotate(-45deg);
}

.overlay-menu-content {
    text-align: center;
    padding: 40px;
    max-width: 600px;
    width: 100%;
}

.overlay-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.overlay-menu-links li {
    margin: 0;
    overflow: hidden;
}

.overlay-menu-links li a {
    display: block;
    font-size: 32px;
    font-weight: 300;
    color: #ffffff;
    padding: 16px 0;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: translateY(100%);
    opacity: 0;
    letter-spacing: 1px;
}

.nav-overlay-menu.active .overlay-menu-links li a {
    transform: translateY(0);
    opacity: 1;
}

.nav-overlay-menu.active .overlay-menu-links li:nth-child(1) a { transition-delay: 0.1s; }
.nav-overlay-menu.active .overlay-menu-links li:nth-child(2) a { transition-delay: 0.15s; }
.nav-overlay-menu.active .overlay-menu-links li:nth-child(3) a { transition-delay: 0.2s; }
.nav-overlay-menu.active .overlay-menu-links li:nth-child(4) a { transition-delay: 0.25s; }
.nav-overlay-menu.active .overlay-menu-links li:nth-child(5) a { transition-delay: 0.3s; }
.nav-overlay-menu.active .overlay-menu-links li:nth-child(6) a { transition-delay: 0.35s; }
.nav-overlay-menu.active .overlay-menu-links li:nth-child(7) a { transition-delay: 0.4s; }

.overlay-menu-links li a:hover {
    color: #60A5FA;
    transform: translateX(10px);
}

.overlay-menu-links li a.active {
    color: #60A5FA;
}

/* Overlay Submenu */
.overlay-submenu {
    list-style: none;
    padding: 0 0 0 20px;
    margin: 10px 0 0 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.overlay-menu-links li.has-submenu.open .overlay-submenu {
    max-height: 300px;
    opacity: 1;
}

.overlay-submenu li {
    margin: 0;
    padding: 0;
}

.overlay-submenu li a {
    font-size: 18px;
    padding: 8px 0;
    color: rgba(255,255,255,0.7);
    display: block;
}

.overlay-submenu li a:hover {
    color: #60A5FA;
}

/* Mobile Submenu Toggle Arrow */
.overlay-menu-links li.has-submenu > a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
}

.overlay-menu-links li.has-submenu > a .menu-text {
    flex: 1;
}

.overlay-menu-links li.has-submenu > a .submenu-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: 10px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.1);
}

.overlay-menu-links li.has-submenu > a .submenu-arrow:hover {
    background: rgba(255,255,255,0.2);
}

.overlay-menu-links li.has-submenu > a .submenu-arrow i {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    transition: transform 0.3s ease, color 0.3s ease;
}

.overlay-menu-links li.has-submenu.open > a .submenu-arrow {
    background: rgba(96, 165, 250, 0.2);
}

.overlay-menu-links li.has-submenu.open > a .submenu-arrow i {
    transform: rotate(180deg);
    color: #60A5FA;
}

/* Overlay Contact Info */
.overlay-contact {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.overlay-contact p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin-bottom: 16px;
}

.overlay-contact a {
    color: #60A5FA;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
}

/* Hide desktop nav-links on mobile, show overlay menu toggle */
@media (min-width: 1025px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-overlay-menu {
        display: flex;
    }
}

/* Responsive Navigation */
@media (max-width: 1200px) {
    .nav-links > li > a {
        padding: 28px 16px;
        font-size: 13px;
    }
}

@media (max-width: 1024px) {
    .nav-container {
        padding: 0 24px;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-demo-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        height: 70px;
        padding: 0 16px;
    }
    
    .nav-logo img {
        height: 50px;
    }
    
    .nav-demo-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .nav-toggle {
        width: 44px;
        height: 44px;
    }
    
    .nav-toggle-inner {
        width: 24px;
        height: 18px;
    }
    
    .overlay-menu-links li a {
        font-size: 24px;
        padding: 12px 0;
    }
    
    .overlay-submenu li a {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        height: 60px;
        padding: 0 12px;
    }
    
    .nav-logo img {
        height: 45px;
    }
    
    .nav-demo-btn {
        display: none;
    }
    
    .overlay-menu-links li a {
        font-size: 22px;
        padding: 10px 0;
    }
}

/* Body scroll lock when menu is open */
body.nav-open {
    overflow: hidden;
}

/* Buttons - Zoho Style */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 500;
    border: 2px solid var(--border);
    background: transparent;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border-radius: 6px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: var(--zoho-red);
    color: var(--white);
    border-color: var(--zoho-red);
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--zoho-dark-red);
    border-color: var(--zoho-dark-red);
}

.btn-secondary {
    background: transparent;
    color: var(--zoho-red);
    border-color: var(--zoho-red);
    font-weight: 500;
}

.btn-secondary:hover {
    background: var(--zoho-red);
    color: var(--white);
}

.btn-large {
    padding: 18px 36px;
    font-size: 16px;
    font-weight: 600;
}

.btn i {
    margin-right: var(--space-xs);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    border-color: #25D366;
    font-weight: 500;
}

.btn-whatsapp:hover {
    background: #128C7E;
    border-color: #128C7E;
}

.btn-email {
    background: var(--zoho-blue);
    color: var(--white);
    border-color: var(--zoho-blue);
    font-weight: 500;
}

.btn-email:hover {
    background: var(--zoho-dark-blue);
    border-color: var(--zoho-dark-blue);
}

/* Hero Video Section - Zoho Style */
.hero-video-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 70px;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 123, 213, 0.85) 0%, rgba(58, 123, 213, 0.75) 100%);
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    color: var(--white);
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-md);
    letter-spacing: -0.03em;
}

.hero-content p {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
}

/* About Section */
.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xxl);
    align-items: center;
}

.about-content h2 {
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.about-content p {
    font-weight: 400;
    margin-bottom: var(--space-md);
}

.about-content .btn {
    margin-top: var(--space-md);
}

.about-video {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.about-video video {
    width: 100%;
    height: auto;
    display: block;
}

/* Leader Section */
.leader-section {
    background: var(--light-bg);
}

.leader-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: var(--space-xxl);
    align-items: center;
}

.leader-image {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.leader-image img {
    width: 100%;
    height: auto;
    display: block;
}

.quote-icon {
    font-size: 48px;
    font-weight: 400;
    color: var(--zoho-red);
    margin-bottom: var(--space-md);
}

.leader-quote {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
}

.leader-info {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
}

.leader-info h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.leader-info p {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-gray);
}

/* Services Section - Zoho Style */
.services-section {
    background: var(--white);
}

.services-sharp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.service-card {
    padding: var(--space-xl);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: var(--transition);
    background: var(--white);
}

.service-card:hover {
    border-color: var(--zoho-red);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(58, 123, 213, 0.12);
}

.service-icon {
    font-size: 48px;
    font-weight: 400;
    color: var(--zoho-red);
    margin-bottom: var(--space-md);
}

.service-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.service-card p {
    font-weight: 400;
    margin-bottom: var(--space-md);
}

.service-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--zoho-red);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--zoho-dark-red);
}

.service-link i {
    margin-left: var(--space-xs);
    font-weight: 400;
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Trust Logos */
.trust-logos-section {
    padding: var(--space-xxl) 0;
    background: var(--lighter-bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-label {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-gray);
    margin-bottom: var(--space-lg);
}

.trust-logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-lg);
}

.trust-logo-item {
    text-align: center;
    padding: var(--space-lg);
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--white);
    color: var(--text-gray);
    font-weight: 500;
    transition: var(--transition);
}

.trust-logo-item:hover {
    border-color: var(--zoho-red);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Problem & Branding Section - Unique Design */
.problem-branding-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--lighter-bg) 100%);
    position: relative;
    overflow: hidden;
}

.problem-branding-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(58, 123, 213, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

/* Featured Challenge with Video */
.featured-challenge {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: var(--space-xxl);
    margin: var(--space-xxl) 0;
    padding: var(--space-xl);
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.featured-challenge::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--zoho-red) 0%, var(--zoho-orange) 100%);
}

.featured-video-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16/9;
}

.featured-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay-controls {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: var(--transition);
}

.featured-video-wrapper:hover .video-overlay-controls {
    opacity: 1;
}

.play-btn-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--zoho-red);
    border: 4px solid var(--white);
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(58, 123, 213, 0.4);
}

.play-btn-large:hover {
    transform: scale(1.1);
    background: var(--zoho-dark-red);
}

.play-btn-large i {
    margin-left: 4px;
}

.video-info-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: var(--space-md);
}

.video-progress-wrapper {
    margin-bottom: var(--space-sm);
}

.video-progress-track {
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.video-progress-track::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--zoho-red);
    border-radius: 2px;
    transition: width 0.1s;
}

.video-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.video-action-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    padding: var(--space-xs);
}

.video-action-btn:hover {
    color: var(--zoho-red);
    transform: scale(1.1);
}

.video-duration {
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
}

.featured-challenge-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-md);
}

.challenge-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    background: linear-gradient(135deg, rgba(58, 123, 213, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    border: 1px solid rgba(58, 123, 213, 0.2);
    border-radius: 20px;
    color: var(--zoho-red);
    font-size: 13px;
    font-weight: 600;
    width: fit-content;
}

.challenge-badge i {
    font-size: 14px;
}

.featured-challenge-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.featured-challenge-content p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-gray);
}

/* Challenge Cards Grid */
.challenges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xxl);
}

.challenge-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: var(--space-xl);
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.challenge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--zoho-red) 0%, var(--zoho-orange) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.challenge-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(58, 123, 213, 0.15);
    border-color: var(--zoho-red);
}

.challenge-card:hover::before {
    transform: scaleX(1);
}

.challenge-icon-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.challenge-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(58, 123, 213, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--zoho-red);
    font-size: 28px;
    transition: var(--transition);
}

.challenge-card:hover .challenge-icon {
    background: var(--zoho-red);
    color: var(--white);
    transform: rotate(5deg) scale(1.1);
}

.challenge-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--border);
    line-height: 1;
    transition: var(--transition);
}

.challenge-card:hover .challenge-number {
    color: var(--zoho-red);
}

.challenge-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-dark);
}

.challenge-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: var(--space-md);
}

.challenge-impact {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.impact-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.impact-bar {
    flex: 1;
    height: 6px;
    background: var(--border-light);
    border-radius: 3px;
    overflow: hidden;
}

.impact-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--zoho-red) 0%, var(--zoho-orange) 100%);
    border-radius: 3px;
    transition: width 0.6s ease;
}

.impact-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--zoho-red);
}

.challenge-solution-hint {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-light);
    color: var(--zoho-blue);
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.challenge-card:hover .challenge-solution-hint {
    opacity: 1;
    transform: translateY(0);
}

.challenge-solution-hint i {
    font-size: 16px;
}

/* Challenges CTA */
.challenges-cta {
    text-align: center;
    margin-top: var(--space-xxxl);
    padding: var(--space-xxl);
    background: linear-gradient(135deg, var(--zoho-red) 0%, var(--zoho-dark-red) 100%);
    border-radius: 16px;
    color: var(--white);
}

.challenges-cta h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.challenges-cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-lg);
}

.challenges-cta .btn {
    background: var(--white);
    color: var(--zoho-red);
    border-color: var(--white);
}

.challenges-cta .btn:hover {
    background: var(--lighter-bg);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Product Demo Section */
.product-demo-section {
    background: var(--light-bg);
}

.demo-videos-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.demo-video-card {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    background: var(--white);
}

.demo-video-card:hover {
    transform: translateY(-10px);
    border-color: var(--zoho-red);
    box-shadow: 0 12px 32px rgba(58, 123, 213, 0.15);
}

.demo-video-card.center-demo {
    transform: scale(1.05);
}

.demo-video-card.center-demo:hover {
    transform: scale(1.1) translateY(-10px);
}

.demo-video-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.demo-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.demo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    background: linear-gradient(to top, rgba(31, 41, 55, 0.95) 0%, transparent 100%);
    color: var(--white);
    transform: translateY(100%);
    transition: var(--transition);
}

.demo-video-card:hover .demo-overlay {
    transform: translateY(0);
}

.demo-overlay h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.demo-overlay p {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.demo-cta {
    text-align: center;
    margin-top: var(--space-xl);
}

/* FAQ Section */
.faq-section {
    background: var(--white);
}

.faq-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-xxl);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
}

.faq-question {
    width: 100%;
    padding: var(--space-lg);
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--zoho-red);
}

.faq-question i {
    font-size: 14px;
    font-weight: 400;
    color: var(--zoho-red);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 var(--space-lg) var(--space-lg);
    font-weight: 400;
    margin: 0;
}

/* Live Message Box */
.live-message-box {
    position: sticky;
    top: 100px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.message-header {
    padding: var(--space-lg);
    background: var(--zoho-red);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    border-radius: 8px 8px 0 0;
}

.message-header i {
    font-size: 24px;
    font-weight: 400;
}

.message-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin: 0;
}

.message-content {
    padding: var(--space-lg);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.message-bubble {
    max-width: 80%;
    padding: var(--space-md);
    border-radius: 12px;
    position: relative;
}

.message-bubble.received {
    background: var(--light-bg);
    align-self: flex-start;
}

.message-bubble.sent {
    background: var(--zoho-red);
    color: var(--white);
    align-self: flex-end;
}

.message-bubble p {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
}

.message-time {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-light);
    margin-top: var(--space-xs);
    display: block;
}

.message-bubble.sent .message-time {
    color: rgba(255, 255, 255, 0.8);
}

.message-typing {
    padding: var(--space-md);
    background: var(--light-bg);
    border-radius: 12px;
    display: flex;
    gap: 5px;
    width: fit-content;
}

.message-typing span {
    width: 8px;
    height: 8px;
    background: var(--zoho-red);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.message-typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.message-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-10px); }
}

/* CTA Section - Zoho Style */
.cta-section {
    padding: var(--space-xxxl) 0;
    background: linear-gradient(135deg, var(--zoho-red) 0%, var(--zoho-dark-red) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.cta-content > p {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-xl);
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

/* Footer - Tata.com Inspired Design */
footer {
    background: #FFFFFF;
    color: var(--text-dark);
    padding: 60px 0 0;
    border-top: 1px solid #E5E7EB;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #E5E7EB;
}

.footer-section h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-transform: none;
    letter-spacing: 0;
}

.footer-section p {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand h2 {
    font-size: 24px;
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: 0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
    font-weight: 300;
}

.footer-links a {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-gray);
    transition: var(--transition);
    display: inline-block;
}


.footer-links a:hover {
    color: var(--text-dark);
    transform: translateX(3px);
}

.footer-links i {
    margin-right: 8px;
    font-weight: 300;
    color: var(--text-gray);
    width: 16px;
    font-size: 12px;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-gray);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-gray);
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--text-dark);
}

.footer-newsletter {
    margin-top: 24px;
}

.footer-newsletter h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 14px;
    background: var(--white);
    border: 1px solid #D1D5DB;
    border-radius: 0;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 300;
    transition: var(--transition);
}

.newsletter-form input::placeholder {
    color: var(--text-light);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--text-dark);
}

.newsletter-form button {
    padding: 10px 20px;
    background: var(--text-dark);
    border: none;
    border-radius: 0;
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #000000;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #3A7BD5;
    background: transparent;
    color: #3A7BD5;
    font-size: 18px;
    transition: var(--transition);
    border-radius: 0;
}

.social-links a i {
    display: block;
    line-height: 1;
}

.social-links a:hover {
    background: #3A7BD5;
    color: var(--white);
    border-color: #3A7BD5;
    transform: translateY(-2px);
}

.footer-divider {
    height: 1px;
    background: #E5E7EB;
    margin: 40px 0;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 40px 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 12px;
    }
}

/* Google Translate Widget Styling */
.google-translate {
    position: absolute;
    right: var(--space-xl);
}

#google_translate_element {
    display: inline-block;
}

#google_translate_element select {
    background: var(--white);
    border: 1px solid #E0E0E0;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 300;
    color: var(--text-dark);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

#google_translate_element select:hover {
    border-color: var(--zoho-red);
}

#google_translate_element select:focus {
    outline: none;
    border-color: var(--zoho-red);
}

/* Hide Google Translate branding */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0 !important;
}

.goog-te-gadget {
    font-family: inherit !important;
}

.goog-te-gadget-simple {
    background-color: transparent !important;
    border: none !important;
    font-size: 13px !important;
    font-weight: 300 !important;
}

.goog-te-gadget-simple .goog-te-menu-value span {
    color: var(--text-dark) !important;
}

.goog-te-gadget-simple .goog-te-menu-value span:hover {
    color: var(--zoho-red) !important;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin-left: auto;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--zoho-red);
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-grid,
    .leader-grid,
    .faq-layout {
        grid-template-columns: 1fr;
    }
    
    .featured-challenge {
        grid-template-columns: 1fr;
    }
    
    .challenges-grid {
        grid-template-columns: 1fr;
    }
    
    .services-sharp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .demo-videos-grid {
        grid-template-columns: 1fr;
    }
    
    .demo-video-card.center-demo {
        transform: scale(1);
    }
    
    .trust-logos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .google-translate {
        position: static;
        margin-top: var(--space-md);
        padding-top: var(--space-md);
        border-top: 1px solid var(--border);
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 300px;
        max-width: 80%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: var(--space-lg);
        border-left: 1px solid var(--border);
        box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 36px; }
    h2 { font-size: 28px; }
    h3 { font-size: 22px; }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .services-sharp-grid,
    .trust-logos-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .live-message-box {
        position: static;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-bottom-links {
        gap: 20px;
    }
}


/* Scroll Down Arrow */
.scroll-down-arrow {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    cursor: pointer;
    animation: bounce 2s infinite;
}

.scroll-arrow-btn {
    width: 50px;
    height: 50px;
    background: rgba(58, 123, 213, 0.9);
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.scroll-arrow-btn:hover {
    background: rgba(58, 123, 213, 1);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(58, 123, 213, 0.4);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Hide on mobile */
@media (max-width: 768px) {
    .scroll-down-arrow {
        bottom: 20px;
    }
    
    .scroll-arrow-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}


/* Scroll Up Arrow */
.scroll-up-arrow {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.scroll-up-arrow.show {
    opacity: 1;
    visibility: visible;
}

.scroll-up-btn {
    width: 50px;
    height: 50px;
    background: rgba(231, 76, 60, 0.9);
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.scroll-up-btn:hover {
    background: rgba(231, 76, 60, 1);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .scroll-up-arrow {
        bottom: 80px;
        right: 20px;
    }
    
    .scroll-up-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}


/* Floating Enquiry Button - Home & Services Pages */
.floating-enquiry-btn-global {
    position: fixed;
    bottom: 40px;
    left: 40px;
    background: #3A7BD5;
    color: #ffffff;
    border: none;
    padding: 16px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(58, 123, 213, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

.floating-enquiry-btn-global:hover {
    background: #2a5fb5;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(58, 123, 213, 0.4);
}

.floating-enquiry-btn-global i {
    font-size: 20px;
}

@media (max-width: 768px) {
    .floating-enquiry-btn-global {
        bottom: 20px;
        left: 20px;
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .floating-enquiry-btn-global span {
        display: none;
    }
    
    .floating-enquiry-btn-global i {
        font-size: 18px;
    }
}
