/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1e3a8a;
    --secondary: #06b6d4;
    --accent: #f59e0b;
    --dark: #0f172a;
    --light: #f1f5f9;
    --white: #ffffff;
    --gray: #64748b;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #06b6d4 0%, #1e3a8a 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 999;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 50px;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
    margin-left: auto;
}

.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.order-btn {
    background: var(--secondary);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
}

.nav-link.order-btn::after {
    display: none;
}

.nav-link.order-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 182, 212, 0.4);
}
.nav-link.demo-btn {
    background: var(--accent);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
}

.nav-link.demo-btn::after {
    display: none;
}

.nav-link.demo-btn:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.4);
}
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding-top: 100px;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -30px); }
    66% { transform: translate(-20px, 20px); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    color: white;
    padding-left: 40px;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.btn {
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: #d97706;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
}

.btn-outline {
    background: rgb(182, 182, 218);
    color:black;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-light {
    background: white;
    color: var(--primary);
}

.btn-light:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255,255,255,0.3);
}

.btn-lg {
    padding: 20px 50px;
    font-size: 1.2rem;
}

.hero-features {
    display: flex;
    gap: 40px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.hero-feature-item i {
    font-size: 24px;
}

.hero-image {
    position: relative;
}

.floating-panel {
    position: relative;
    animation: floatPanel 6s ease-in-out infinite;
}

@keyframes floatPanel {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Hero Slideshow Container */
.hero-slideshow {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 500px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
    opacity: 0;
    transform: scale(0.8);
    transition: all 1s ease-in-out;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slideshow {
        max-width: 100%;
        height: 350px;
    }
}

@media (max-width: 480px) {
    .hero-slideshow {
        height: 280px;
    }
}

.panel-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid white;
    border-radius: 15px;
    margin: 0 auto 10px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 15px); }
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-right {
    animation: fadeInRight 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: var(--dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-card {
    text-align: center;
    color: white;
    padding: 30px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-10px);
}

.stat-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-subtitle {
    color: var(--secondary);
    font-weight: 600;
    font-size: 2.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray);
}

/* Products Section */
.products-section {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.product-card.featured {
    border: 3px solid var(--accent);
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    z-index: 10;
    animation: badge-bounce 2s infinite;
}

@keyframes badge-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.product-badge.best-seller {
    background: #10b981;
}

.product-badge.elite {
    background: var(--primary);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-order {
    background: #25d366;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.product-card:hover .quick-order {
    transform: scale(1);
}

.quick-order:hover {
    background: #20ba5a;
    transform: scale(1.1);
}

.product-info {
    padding: 30px;
}

.product-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.product-specs {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.product-specs span {
    background: var(--light);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-features {
    list-style: none;
    margin-bottom: 25px;
}

.product-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--light);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
}

.product-features li:last-child {
    border: none;
}

.product-features i {
    color: var(--secondary);
}

.product-footer {
    padding-top: 20px;
    border-top: 2px solid var(--light);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    transition: all 0.3s ease;
}

.feature-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.feature-card:hover .feature-icon {
    transform: rotate(360deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.8;
}

.tech-highlights {
    margin-top: 60px;
    display: grid;
    gap: 30px;
}

.tech-highlight-item {
    display: flex;
    align-items: center;
    gap: 25px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.tech-highlight-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.tech-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
}

.tech-content h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.tech-content p {
    color: var(--gray);
}

/* Applications Section */
.applications-section {
    background: var(--dark);
    color: white;
}

.applications-section .section-title,
.applications-section .section-description {
    color: white;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.app-card {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.app-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.1);
}

.app-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.app-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.app-card:hover .app-image img {
    transform: scale(1.1);
}

.app-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(102, 126, 234, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.app-card:hover .app-overlay {
    opacity: 1;
}

.app-content {
    padding: 30px;
}

.app-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.app-content ul {
    list-style: none;
}

.app-content li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
}

.app-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Specifications Section */
.specifications-section {
    background: var(--light);
}

.spec-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    padding: 15px 35px;
    background: white;
    border: 2px solid var(--light);
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--dark);
}

.tab-btn:hover {
    border-color: var(--secondary);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid var(--light);
}

.spec-label {
    font-weight: 600;
    color: var(--dark);
}

.spec-value {
    color: var(--secondary);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    background: var(--gradient);
    text-align: center;
    padding: 80px 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    color: white;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.3rem;
    color: white;
    opacity: 0.9;
    margin-bottom: 40px;
}

/* Contact Section */
.contact-section {
    background: var(--light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-info > p {
    color: var(--gray);
    margin-bottom: 40px;
}

.contact-methods {
    display: grid;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
}

.method-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.method-content h4 {
    margin-bottom: 5px;
    color: var(--dark);
}

.method-content a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
}

.method-content a:hover {
    text-decoration: underline;
}

.certifications h4 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.cert-badge {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form h3 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--light);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* ============================================
   FIX SELECT DROPDOWN ON iOS MOBILE
   ============================================ */

@media (max-width: 768px) {
    .form-group select {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        padding: 15px 40px 15px 15px; /* Extra right padding for dropdown arrow */
        font-size: 1rem;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 15px center;
        background-size: 12px;
        cursor: pointer;
    }
    
    .form-group {
        width: 100%;
        margin-bottom: 20px;
    }
    
    /* Fix for iOS Safari select styling */
    .form-group select:focus {
        outline: none;
        border-color: var(--secondary);
        background-color: white;
    }
    
    /* Ensure select options are readable */
    .form-group select option {
        padding: 15px;
        font-size: 1rem;
        background: white;
        color: var(--dark);
    }
    
    /* Fix contact form wrapper width on mobile */
    .contact-form-wrapper {
        width: 100%;
        padding: 25px;
    }
    
    .contact-form {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .form-group select {
        padding: 12px 35px 12px 12px;
        font-size: 0.95rem;
    }
    
    .form-group select option {
        padding: 12px;
        font-size: 0.95rem;
    }
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary);
}

.form-group label {
    position: absolute;
    left: 15px;
    top: 15px;
    color: var(--gray);
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group select:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group select:not([value=""]) + label {
    top: -10px;
    left: 10px;
    font-size: 0.85rem;
    background: white;
    padding: 0 5px;
    color: var(--secondary);
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.developer-credit {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.developer-credit a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.developer-credit a:hover {
    color: var(--secondary);
    text-decoration: underline;
}
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Keep products as 2 columns on tablets */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        padding: 40px;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .products-grid,
    .features-grid,
    .applications-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .spec-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    .hero-buttons {
        flex-direction: column;
        padding-right: 5px; /* Move buttons slightly left */
    }
    
    .hero-text {
        padding-left: 20px; /* Reduce left padding on mobile */
        padding-right: 20px; /* Add right padding */
    }
    .hero-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}

/* AOS Animation Styles */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}
/* Disable AOS animations on mobile for better performance */
/* Disable AOS animations on mobile - show products immediately */
@media (max-width: 768px) {
    /* Remove all AOS animations on mobile */
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
    
    /* Ensure product cards are visible immediately */
    .product-card {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    
    /* Disable section reveal animations on mobile */
    section {
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* Show products section immediately */
    .products-section {
        opacity: 1 !important;
    }
    
    .products-grid {
        opacity: 1 !important;
    }
}

[data-aos="zoom-in"] {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease;
}

[data-aos="zoom-in"].aos-animate {
    opacity: 1;
    transform: scale(1);
}

[data-aos="fade-right"] {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

[data-aos="fade-right"].aos-animate {
    opacity: 1;
    transform: translateX(0);
}
/* ============================================
   MODAL / POPUP STYLES
   ============================================ */

/* Modal Container */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    overflow-y: auto;
    padding: 20px;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark Overlay Background */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

/* Modal Content Box */
.modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10001;
    animation: modalSlideIn 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Modal Header */
.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px 40px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.modal-header-text h2 {
    font-size: 2rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.modal-header-text p {
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Close Button */
.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Modal Body */
.modal-body {
    padding: 40px;
}

/* Specs Category */
.specs-category {
    margin-bottom: 35px;
}

.specs-category:last-child {
    margin-bottom: 0;
}

.specs-category h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

/* Specs Grid */
.specs-grid-modal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.spec-item-modal {
    background: var(--light);
    padding: 18px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.spec-item-modal:hover {
    background: #e5e7eb;
    border-color: var(--secondary);
    transform: translateY(-2px);
}

.spec-label-modal {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.spec-value-modal {
    font-size: 1.15rem;
    color: var(--dark);
    font-weight: 600;
}

/* Modal Footer */
.modal-footer {
    background: var(--dark);
    color: white;
    padding: 30px 40px;
    text-align: center;
    border-radius: 0 0 20px 20px;
}

.modal-footer p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 98%;
        max-height: 95vh;
        border-radius: 15px;
    }
    
    .modal-header {
        padding: 25px;
        padding-right: 70px; /* Add space for close button */
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .modal-close {
        position: absolute;
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
        z-index: 10; /* Ensure it's on top */
    }
    
    .modal-header-text h2 {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 25px;
    }
    
    .specs-grid-modal {
        grid-template-columns: 1fr;
    }
    
    .modal-footer {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .modal-header-text h2 {
        font-size: 1.3rem;
    }
    
    .specs-category h3 {
        font-size: 1.2rem;
    }
    
    .spec-item-modal {
        padding: 15px;
    }
}

/* ============================================
   ABOUT US SECTION
   ============================================ */

.about-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content {
    padding-right: 20px;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 20px;
}

.about-content p strong {
    color: var(--primary);
    font-weight: 600;
}

.about-right-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* About Features - now on right side */
.about-features {
    margin: 0;
    display: grid;
    gap: 20px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.about-feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.about-feature-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.about-feature-text p {
    font-size: 0.95rem;
    color: var(--gray);
    margin: 0;
}

/* About Buttons - now on right side */
.about-buttons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

/* About Stats Box */
.about-stats-box {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.about-stats-box h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 25px;
    text-align: center;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.about-stat-card {
    text-align: center;
    padding: 20px 15px;
    background: var(--light);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.about-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    background: white;
}

.stat-icon-box {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: white;
}

.about-stat-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 5px;
}

.about-stat-card p {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-content {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .about-stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .about-buttons {
        flex-direction: column;
    }
}


@media (max-width: 768px) {
    .about-image img {
        height: 400px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .about-stat h3 {
        font-size: 2rem;
    }
    
    .about-buttons {
        flex-direction: column;
    }
}

/* ============================================
   DEMO VIDEO SECTION
   ============================================ */

.demo-video-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.video-container {
    max-width: 1000px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    background: #000;
    margin-bottom: 40px;
}

.video-wrapper video,
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.video-wrapper video {
    object-fit: cover;
}

.video-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.video-feature {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.video-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.video-feature i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.video-feature h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.video-feature p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .video-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .video-wrapper {
        border-radius: 10px;
    }
}

/* ============================================
   MODAL FOOTER BUTTONS LAYOUT
   ============================================ */

.modal-footer-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Secondary Button Style (Download Button) */
.btn-secondary {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: white;
    border: none;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(100, 116, 139, 0.4);
}

.btn-secondary i {
    margin-right: 8px;
}

/* Large Button Size */
.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .modal-footer-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .modal-footer-buttons .btn {
        width: 100%;
    }
    
    .btn-lg {
        padding: 12px 25px;
        font-size: 1rem;
    }
}
/* ============================================
   CONTACT TABS STYLING
   ============================================ */

.contact-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.contact-tab-btn {
    padding: 15px 40px;
    background: white;
    border: 2px solid var(--light);
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-tab-btn i {
    font-size: 1.2rem;
}

.contact-tab-btn:hover {
    border-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(6, 182, 212, 0.3);
}

.contact-tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(30, 58, 138, 0.4);
}

.contact-tabs-content {
    position: relative;
}

.contact-tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.contact-tab-content.active {
    display: block;
}

/* Demo Benefits Styling */
.demo-benefits {
    display: grid;
    gap: 25px;
    margin-bottom: 30px;
}

.demo-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.demo-benefit-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.benefit-content h4 {
    margin-bottom: 5px;
    color: var(--dark);
    font-size: 1.1rem;
}

.benefit-content p {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0;
}

.demo-note {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #fff3cd;
    border-left: 4px solid var(--accent);
    border-radius: 10px;
}

.demo-note i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 3px;
}

.demo-note p {
    margin: 0;
    color: #856404;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Date Input Styling */
input[type="date"] {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--light);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

input[type="date"]:focus {
    outline: none;
    border-color: var(--secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-tabs {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-tab-btn {
        width: 100%;
        justify-content: center;
    }
}
/* ============================================
   DATASHEET SELECTION MENU
   ============================================ */

.datasheet-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.datasheet-menu-overlay.active {
    opacity: 1;
}

.datasheet-menu {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.datasheet-menu-overlay.active .datasheet-menu {
    transform: scale(1);
}

.datasheet-menu-header {
    background: var(--gradient);
    color: white;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.datasheet-menu-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.datasheet-menu-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.datasheet-menu-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.datasheet-menu-content {
    padding: 30px;
    max-height: 60vh;
    overflow-y: auto;
}

.datasheet-option {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--light);
    border-radius: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.datasheet-option:last-child {
    margin-bottom: 0;
}

.datasheet-option:hover {
    background: white;
    border-color: var(--secondary);
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(6, 182, 212, 0.2);
}

.datasheet-option-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    flex-shrink: 0;
}

.datasheet-option-info {
    flex: 1;
}

.datasheet-option-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.datasheet-option-info p {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
}

.datasheet-option-btn {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    flex-shrink: 0;
}

.datasheet-option:hover .datasheet-option-btn {
    background: var(--primary);
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .datasheet-menu {
        width: 95%;
        max-height: 90vh;
    }
    
    .datasheet-menu-header {
        padding: 20px;
    }
    
    .datasheet-menu-header h3 {
        font-size: 1.2rem;
    }
    
    .datasheet-menu-content {
        padding: 20px;
    }
    
    .datasheet-option {
        padding: 15px;
        gap: 15px;
    }
    
    .datasheet-option-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .datasheet-option-info h4 {
        font-size: 1rem;
    }
    
    .datasheet-option-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}