* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #1a202c;
    overflow-x: hidden;
    background: #ffffff;
    scroll-behavior: smooth;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Performance optimizations - only for animated elements */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Ensure footer stays at bottom */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.footer {
    margin-top: auto;
}

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

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.nav-logo {
    display: flex;
    align-items: center;
    animation: logoSlideIn 1s ease-out;
}

@keyframes logoSlideIn {
    0% { opacity: 0; transform: translateX(-30px); }
    100% { opacity: 1; transform: translateX(0); }
}

.logo-img {
    width: 320px;
  height: auto;
  /*max-height: 80px;*/
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  margin-top: 16px;
}

.logo-img:hover {
    transform: scale(1.05) rotate(3deg);
}

/* Logo text styles removed as we're using only the image now */

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    padding: 12px 0;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
    transform: translateY(-2px);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 2px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    0% { width: 0; }
    100% { width: 100%; }
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.phone-number {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    white-space: nowrap;
}

.phone-number:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    will-change: transform;
}

.hamburger:hover {
    background: rgba(37, 99, 235, 0.1);
}

.bar {
    width: 28px;
    height: 3px;
    background: #374151;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 50%, #f1f5f9 100%);
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 95vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(29, 78, 216, 0.04) 100%);
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 1;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    color: #1a202c;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #2563eb;
    margin-bottom: 30px;
    font-weight: 700;
}

.hero-description {
    font-size: 1.2rem;
    color: #4b5563;
    margin-bottom: 40px;
    line-height: 1.8;
}

.talk-to-expert-main-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 22px 40px;
    text-decoration: none;
    border-radius: 35px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.3);
}

.talk-to-expert-main-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

.hero-meeting-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
}

.image-container:hover {
    transform: scale(1.03) rotate(1deg);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.25);
}

.meeting-img {
    width: 100%;
    max-width: 650px;
    min-height: 450px;
    border-radius: 30px;
    display: block;
    object-fit: cover;
}

.floating-tech-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.tech-icon {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #2563eb;
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    animation: floatTech 4s ease-in-out infinite;
}

.tech-1 {
    top: 15%;
    right: -15px;
    animation-delay: 0s;
}

.tech-2 {
    bottom: 20%;
    right: -20px;
    animation-delay: 1s;
}

.tech-3 {
    top: 50%;
    left: -15px;
    animation-delay: 2s;
}

.tech-4 {
    bottom: 15%;
    left: -20px;
    animation-delay: 3s;
}

@keyframes floatTech {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

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

.section-title {
    font-size: 3.2rem;
    font-weight: 900;
    color: #1a202c;
    margin-bottom: 20px;
    position: relative;
    letter-spacing: -1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 3px;
}

.section-subtitle {
    font-size: 1.3rem;
    color: #6b7280;
    margin-top: 30px;
    font-weight: 500;
}

/* Products Section */
.products-section {
    padding: 120px 0;
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-showcase {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    transition: all 0.5s ease;
    border: 1px solid #f3f4f6;
}

.product-showcase:hover {
    transform: translateY(-15px);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.18);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-showcase:hover .product-img {
    transform: scale(1.08);
}

.product-content {
    padding: 40px;
}

.product-content h3 {
    font-size: 2rem;
    color: #1a202c;
    margin-bottom: 20px;
    font-weight: 700;
}

.product-content p {
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 16px;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-tag {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.products-grid-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.product-card {
    background: white;
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid #f9fafb;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}

.product-icon {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.product-card:hover .product-icon {
    transform: scale(1.15) rotate(8deg);
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1a202c;
    font-weight: 700;
}

.product-card p {
    color: #6b7280;
    line-height: 1.6;
    font-size: 15px;
}

/* Services Overview */
.services-overview {
    padding: 120px 0;
    background: #f8fafc;
}

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

.service-card {
    background: white;
    padding: 45px 35px;
    border-radius: 25px;
    transition: all 0.4s ease;
    border: 1px solid #f3f4f6;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.08), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}

.service-icon {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(-8deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 18px;
    color: #1a202c;
    font-weight: 700;
}

.service-card p {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 16px;
}

.service-arrow {
    color: #2563eb;
    font-size: 20px;
    transition: transform 0.3s ease;
}

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

/* Why Choose Us */
.why-choose-us {
    padding: 120px 0;
    background: white;
}

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

.feature {
    text-align: center;
    padding: 50px 35px;
    background: white;
    border-radius: 25px;
    transition: all 0.4s ease;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #f9fafb;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature:hover::before {
    transform: scaleX(1);
}

.feature:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}

.feature-icon {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    width: 90px;
    height: 90px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.2rem;
    transition: transform 0.3s ease;
}

.feature:hover .feature-icon {
    transform: scale(1.15) rotate(8deg);
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 18px;
    color: #1a202c;
    font-weight: 700;
}

.feature p {
    color: #6b7280;
    line-height: 1.7;
    font-size: 16px;
}

/* Floating Demo Button */
.floating-demo-btn {
    position: fixed;
    bottom: 35px;
    right: 35px;
    z-index: 1000;
}

.floating-demo-btn a {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 18px 24px;
    border-radius: 60px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse 3s infinite;
    font-weight: 700;
    font-size: 16px;
}

.floating-demo-btn a:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 20px 50px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
    0% { box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 12px 35px rgba(37, 211, 102, 0.7); }
    100% { box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4); }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1f2e 0%, #0d1117 50%, #161b22 100%);
    color: white;
    padding: 80px 0 40px;
    position: relative;
    margin-top: auto;
    border-top: 3px solid #2563eb;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #2563eb, transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-img {
    width: 250px;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1);
    transition: transform 0.3s ease;
}

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

.footer-section h3 {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-weight: 900;
}

.footer-section h4 {
    margin-bottom: 25px;
    color: #e2e8f0;
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 12px;
    font-size: 16px;
}

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

.footer-section ul li {
    margin-bottom: 15px;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 16px;
}

.footer-section ul li a:hover {
    color: #2563eb;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.social-links {
    display: flex;
    gap: 18px;
    margin-top: 25px;
}

.social-links a {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 18px;
}

.social-links a:hover {
    background: #2563eb;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    text-align: center;
    color: #94a3b8;
    font-size: 16px;
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 180px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.08)" points="0,1000 1000,0 1000,1000"/></svg>');
}

.page-header h1 {
    font-size: 3.8rem;
    margin-bottom: 25px;
    font-weight: 900;
    position: relative;
    z-index: 2;
    letter-spacing: -1px;
}

.page-header p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
    font-weight: 500;
}

/* Content Sections */
.content-section {
    padding: 100px 0;
}

.content-section:nth-child(even) {
    background: #f8fafc;
}

/* Scroll-based reveal animations (Enhanced) */
.hero-content,
.hero-image,
.section-header,
.product-card,
.product-showcase,
.service-card,
.feature,
.stat-card,
.about-main-content,
.stats-container,
.founder-card,
.mission-card,
.vision-card,
.value-card,
.service-detailed-card,
.contact-hero-content,
.contact-cards-grid,
.form-container,
.info-card,
.portfolio-item,
.fade-in,
.slide-in-left,
.slide-in-right,
.bounce-in {
    opacity: 0;
    transform: translateY(80px);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-in-left {
    transform: translateX(-80px) translateY(50px);
}

.slide-in-right {
    transform: translateX(80px) translateY(50px);
}

.hero-content.animate-in,
.hero-image.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.section-header.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.product-card.animate-in,
.service-card.animate-in,
.feature.animate-in,
.value-card.animate-in,
.service-detailed-card.animate-in,
.info-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.product-showcase.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.stat-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.about-main-content.animate-in {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.1s;
}

.stats-container.animate-in {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.2s;
}

.founder-card.animate-in,
.mission-card.animate-in,
.vision-card.animate-in,
.form-container.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.contact-hero-content.animate-in {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.1s;
}

.contact-cards-grid.animate-in {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.2s;
}

.portfolio-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for multiple items */
.product-card:nth-child(1).animate-in { transition-delay: 0.1s; }
.product-card:nth-child(2).animate-in { transition-delay: 0.2s; }
.product-card:nth-child(3).animate-in { transition-delay: 0.3s; }
.product-card:nth-child(4).animate-in { transition-delay: 0.4s; }

.service-card:nth-child(1).animate-in { transition-delay: 0.1s; }
.service-card:nth-child(2).animate-in { transition-delay: 0.2s; }
.service-card:nth-child(3).animate-in { transition-delay: 0.3s; }
.service-card:nth-child(4).animate-in { transition-delay: 0.4s; }
.service-card:nth-child(5).animate-in { transition-delay: 0.5s; }
.service-card:nth-child(6).animate-in { transition-delay: 0.6s; }

.feature:nth-child(1).animate-in { transition-delay: 0.1s; }
.feature:nth-child(2).animate-in { transition-delay: 0.2s; }
.feature:nth-child(3).animate-in { transition-delay: 0.3s; }
.feature:nth-child(4).animate-in { transition-delay: 0.4s; }
.feature:nth-child(5).animate-in { transition-delay: 0.5s; }
.feature:nth-child(6).animate-in { transition-delay: 0.6s; }

.value-card:nth-child(1).animate-in { transition-delay: 0.1s; }
.value-card:nth-child(2).animate-in { transition-delay: 0.2s; }
.value-card:nth-child(3).animate-in { transition-delay: 0.3s; }
.value-card:nth-child(4).animate-in { transition-delay: 0.4s; }

.service-detailed-card:nth-child(1).animate-in { transition-delay: 0.1s; }
.service-detailed-card:nth-child(2).animate-in { transition-delay: 0.2s; }
.service-detailed-card:nth-child(3).animate-in { transition-delay: 0.3s; }
.service-detailed-card:nth-child(4).animate-in { transition-delay: 0.4s; }
.service-detailed-card:nth-child(5).animate-in { transition-delay: 0.5s; }
.service-detailed-card:nth-child(6).animate-in { transition-delay: 0.6s; }
.service-detailed-card:nth-child(7).animate-in { transition-delay: 0.7s; }

.stat-card:nth-child(1).animate-in { transition-delay: 0.1s; }
.stat-card:nth-child(2).animate-in { transition-delay: 0.2s; }
.stat-card:nth-child(3).animate-in { transition-delay: 0.3s; }
.stat-card:nth-child(4).animate-in { transition-delay: 0.4s; }

.info-card:nth-child(1).animate-in { transition-delay: 0.1s; }
.info-card:nth-child(2).animate-in { transition-delay: 0.2s; }
.info-card:nth-child(3).animate-in { transition-delay: 0.3s; }

.portfolio-item:nth-child(1).animate-in { transition-delay: 0.1s; }
.portfolio-item:nth-child(2).animate-in { transition-delay: 0.2s; }
.portfolio-item:nth-child(3).animate-in { transition-delay: 0.3s; }
.portfolio-item:nth-child(4).animate-in { transition-delay: 0.4s; }
.portfolio-item:nth-child(5).animate-in { transition-delay: 0.5s; }
.portfolio-item:nth-child(6).animate-in { transition-delay: 0.6s; }

/* Smooth scroll behavior */
.smooth-scroll {
    animation: smoothScrollIn 1s ease-out;
}

@keyframes smoothScrollIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover animations for cards */
.product-card, .service-card, .feature {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover, .service-card:hover, .feature:hover {
    transform: translateY(-15px) scale(1.02);
}

/* Enhanced floating animations */
@keyframes enhancedFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    25% { 
        transform: translateY(-10px) rotate(1deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(0deg); 
    }
    75% { 
        transform: translateY(-10px) rotate(-1deg); 
    }
}

/* AOS Animation Enhancements */
[data-aos="fade-right"] {
    transform: translate3d(-100px, 0, 0);
}

[data-aos="fade-left"] {
    transform: translate3d(100px, 0, 0);
}

[data-aos="fade-up"] {
    transform: translate3d(0, 100px, 0);
}

/* Ensure smooth transitions */
.product-card {
    will-change: transform, opacity;
}

/* Fix blank page issues */
html, body {
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1400px;
}

.bounce-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.bounce-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Add visible state for all animated elements */
.fade-in.animate-in,
.slide-in-left.animate-in,
.slide-in-right.animate-in,
.bounce-in.animate-in,
.bounce-in.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

.hover-effect {
    transition: all 0.3s ease;
}

/* Forms */
.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: #1a202c;
    font-size: 15px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 18px 22px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.btn {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 18px 35px;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.4);
}

/* Body lock when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-container {
        gap: 60px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .products-grid-right {
        grid-template-columns: 1fr 1fr;
    }
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 90px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: left 0.4s ease;
        box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        padding: 50px 0;
        gap: 35px;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

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

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid-right {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 90px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: left 0.4s ease;
        box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        padding: 50px 0;
        gap: 35px;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-container {
        height: 80px;
        padding: 0 15px;
    }

    .logo-img {
        width: 220px;
        height: auto;
        max-height: 75px;
    }

    .phone-number {
        font-size: 12px;
        padding: 12px 16px;
        gap: 6px;
    }

    .phone-number i {
        font-size: 12px;
    }

    .logo-text h2 {
        font-size: 28px;
    }

    .hero {
        padding: 120px 0 80px;
        min-height: 85vh;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .products-grid-right {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .floating-demo-btn {
        bottom: 25px;
        right: 25px;
    }

    .floating-demo-btn a {
        padding: 15px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .floating-demo-btn a span {
        display: none;
    }

    .floating-demo-btn a {
        border-radius: 50%;
        padding: 18px;
        width: 65px;
        height: 65px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }

    .product-card,
    .service-card,
    .feature {
        padding: 30px 20px;
    }

    .nav-container {
        padding: 0 10px;
    }

    .logo-img {
        width: 130px;
        max-height: 80px;
    }

    .phone-number {
        font-size: 11px;
        padding: 10px 14px;
    }
}

/* Performance optimizations */
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Enhanced performance - minimal GPU acceleration */
.hero-container {
    backface-visibility: hidden;
}

/* Smooth animations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* GPU acceleration for navbar only */
.navbar {
    transform: translateZ(0);
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Portfolio Placeholder Styles */
.portfolio-placeholder {
    background: white;
    border-radius: 25px;
    padding: 80px 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border: 1px solid #f3f4f6;
    grid-column: 1 / -1;
    margin: 40px 0;
}

.placeholder-icon {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    width: 120px;
    height: 120px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 3rem;
}

.portfolio-placeholder h3 {
    font-size: 2.5rem;
    color: #1a202c;
    margin-bottom: 20px;
    font-weight: 700;
}

.portfolio-placeholder p {
    color: #6b7280;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.placeholder-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #4a5568;
    font-weight: 500;
    font-size: 16px;
}

.feature-item i {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    width: 8px;
}

/* Firefox scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: #667eea #f8fafc;
}
