:root {
    --primary-gradient: linear-gradient(135deg, #F97316 0%, #DC2626 100%);
    --primary-1: #F97316;
    --primary-2: #DC2626;
    --primary-1-light: rgba(249, 115, 22, 0.1);
    --primary-2-light: rgba(220, 38, 38, 0.1);
    --bg: #ffffff;
    --bg-secondary: #fafbfc;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --card-bg: #ffffff;
    --border: rgba(15, 23, 42, 0.08);
    --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 32px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.12);
    --max-width: 1200px;
    --radius: 16px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    color: var(--text-primary);
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    height: 80px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.brand:hover {
    transform: translateY(-2px);
}

.logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
}

.brand-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.025em;
}

.brand-text p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-1);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background: var(--primary-gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(249, 115, 22, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--primary-1);
    color: var(--primary-1);
    transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.mobile-menu nav {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--primary-1);
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, var(--primary-1-light) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, var(--primary-2-light) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, var(--primary-1-light) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    font-size: 0.875rem;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.feature-badge:hover {
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    animation: slideInRight 1s ease-out;
}

.hero-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.floating-elements {
    position: absolute;
    top: -2rem;
    right: -2rem;
    width: 100px;
    height: 100px;
    background: var(--primary-gradient);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 3s ease-in-out infinite;
}

.floating-elements:nth-child(2) {
    top: 50%;
    left: -3rem;
    animation-delay: -1s;
}

/* Services Section with Professional Icons */
.services {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: var(--shadow-md);
}

.service-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Industries Section with Professional Icons */
.industries {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.industries-content {
    display: -moz-grid-line;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.industry-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.industry-card:hover::before {
    transform: scaleX(1);
}

.industry-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.industry-icon {
    font-size: 2rem;
    color: var(--primary-1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--primary-1-light);
}

.industry-icon img {
    width: 32px;
    height: 32px;
    filter: opacity(0.8);
}

.industry-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.industry-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.industry-cta {
    margin-top: 2rem;
    text-align: center;
}

/* Why Choose Us Card Styling */
.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.why-card {
    background: white;
    padding: 1rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.why-card:hover::before {
    transform: scaleX(1);
}

.why-card:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
}

.why-icon {
    font-size: 1.5rem;
    color: var(--primary-1);
}

.why-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Testimonials Section with Client Images */
.testimonials {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.client-details h4 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.client-details p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.testimonial-quote {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-style: italic;
    position: relative;
    padding-left: 1.5rem;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-size: 3rem;
    color: var(--primary-1);
    line-height: 1;
    font-family: serif;
}

/* Portfolio Section with Video-like Animation */
.portfolio {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-1);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.play-button:hover {
    transform: scale(1.1);
    background: white;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.portfolio-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.portfolio-tech {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Enhanced Contact Section */
.contact {
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    position: relative;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: var(--bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-1);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.error-message {
    color: var(--primary-2);
    font-size: 0.8rem;
    display: none;
    margin-top: 0.25rem;
}

.contact-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Enhanced Form Features */
.form-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

.form-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.form-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.form-feature-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.trust-indicators {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.trust-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-indicator i {
    color: var(--primary-1);
}

/* Footer */
footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-brand-link {
    display: flex;
    gap: 1rem;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.footer-logo {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.35);
    flex: 0 0 72px;
    overflow: hidden;
}

.footer-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.logo-fallback {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: #fff;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    display: none;
}

/* show fallback when image not available (JS onerror sets display none on image) */
.footer-logo .no-img {
    display: block;
}

.footer-brand-text h3 {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    text-transform: none;
    letter-spacing: 0;
}

.footer-brand-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-1);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.footer-contact-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-contact-text span {
    display: block;
    color: white;
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Loading Animation for Portfolio Cards */
.portfolio-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.staggered-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.staggered-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Success animation */
.success-checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #4CAF50;
    stroke-miterlimit: 10;
    margin: 10px auto;
    box-shadow: inset 0px 0px 0px #4CAF50;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.success-checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #4CAF50;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

.slideshow-container {
    max-width: 900px;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}

.mySlides {
    display: none;
}

.mySlides img {
    width: 100%;
    max-width: 900px;
    height: auto;
    max-height: 405px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    display: block;
    margin: 0 auto;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: #717171;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

#portfolioContent {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

#portfolioDescription {
    max-width: 900px;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
    color: #fff;
}


/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    100% {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {

    0%,
    100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #4CAF50;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-content,
    .industries-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .industry-grid {
        grid-template-columns: 1fr;
    }

    .form-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .mySlides img {
        width: 100%;
        height: 300px;
    }

    #portfolioContent {
        max-width: 100%;
        padding: 1.5rem;
    }

    #portfolioDescription {
        max-width: 100%;
    }

    .slideshow-container {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .mobile-menu {
        display: none;
    }

    .mobile-menu a.btn-primary {
        text-align: center;
        font-weight: 700;
        display: block;
        padding: 0.75rem;
        font-size: 18px;
        color: white;
    }

    .hero {
        padding: 8rem 0 2rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .services-grid,
    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .industry-grid {
        grid-template-columns: 1fr;
    }

    .form-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .form-feature {
        padding: 0.5rem;
    }

    .form-feature-icon {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }

    .form-feature-text {
        font-size: 0.7rem;
    }

    .trust-indicators {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .slideshow-container {
        max-width: 100%;
        padding: 0 1rem;
    }

    .mySlides img {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: contain;
    }

    #portfolioContent {
        max-width: 100%;
        padding: 1rem;
    }

    #portfolioDescription {
        max-width: 100%;
        font-size: 0.85rem;
    }

    .prev,
    .next {
        padding: 10px;
        font-size: 16px;
    }

    .dot {
        height: 12px;
        width: 12px;
    }

    #portfolioModal {
        padding: 1rem;
    }

    #portfolioModal>div {
        max-width: 95%;
        max-height: 95%;
    }

    .contact-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .contact-actions .btn-primary {
        white-space: nowrap;
        width: 100%;
        text-align: center;
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    .contact-actions>div {
        white-space: nowrap;
        font-size: 0.8rem;
        text-align: left;
        width: 100%;
    }

    .contact-actions>div strong {
        display: inline;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .mySlides img {
        max-height: 250px;
    }

    .prev,
    .next {
        padding: 8px;
        font-size: 14px;
    }

    .text {
        font-size: 12px;
        padding: 6px 10px;
    }

    .numbertext {
        font-size: 10px;
        padding: 6px 10px;
    }

    .dot {
        height: 10px;
        width: 10px;
    }

    .form-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.3rem;
        padding: 0.5rem;
    }

    .form-feature {
        padding: 0.4rem;
    }

    .form-feature-icon {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }

    .form-feature-text {
        font-size: 0.65rem;
    }

    .contact-actions {
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .contact-actions .btn-primary {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }

    .contact-actions>div {
        font-size: 0.75rem;
    }

    .contact-actions>div strong {
        font-size: 0.8rem;
    }
}

/* =========================
   FRONT-END PRODUCTS SECTION
============================== */

/* --- Filters --- */
#product-filters {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.filter-group {
    position: relative;
    display: flex;
    align-items: center;
}
.filter-group i {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
}
#product-filters input,
#product-filters select {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.75rem; /* Icon සඳහා ඉඩ */
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    background: var(--bg);
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
#product-filters select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}
#product-filters input:focus,
#product-filters select:focus {
    outline: none;
    border-color: var(--primary-1);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}
#product-filter-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-1);
}

/* --- Product Grid --- */
#product-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    min-height: 300px;
    position: relative;
}
.product-no-results {
    text-align: center;
    grid-column: 1 / -1;
    padding: 3rem 0;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* --- Product Card --- */
.product-card {
    text-decoration: none;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.product-card-image {
    height: 220px;
    background-size: contain; /* 'cover' සිට 'contain' 'වෙනස් කරන්න */
    background-position: center;
    background-repeat: no-repeat; /* මෙය අලුතින් එකතු කරන්න */
    background-color: #f9f9f9; /* හිස් තැන් පිරවීමට ලා අළු පැහැයක් */
    transition: transform 0.4s ease;
}
.product-card:hover .product-card-image {
    transform: scale(1.05);
}
.product-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.product-card-category {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-1);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.product-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}
.product-card-model {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.product-card-button {
    font-weight: 600;
    color: var(--primary-1);
    transition: all 0.3s ease;
}
.product-card-button i {
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
}
.product-card:hover .product-card-button i {
    transform: translateX(4px);
}

/* --- Pagination --- */
#product-pagination {
    margin-top: 3rem;
    text-align: center;
}
.pagination {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.pagination a {
    text-decoration: none;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.pagination a:hover {
    border-color: var(--primary-1);
    color: var(--primary-1);
}
.pagination a.active {
    background: var(--primary-gradient);
    color: white;
    border-color: var(--primary-1);
    box-shadow: var(--shadow-md);
}

/* =========================
   PRODUCT DETAILS PAGE
============================== */
.product-details-page {
    padding: 8rem 0 6rem;
    background: white;
}
.product-details-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 4rem;
}

/* --- Gallery --- */
.product-gallery {
    position: sticky;
    top: 100px;
}
.gallery-main-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
}
.gallery-main-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
}
.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.gallery-thumbnails .thumbnail {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 3px solid var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}
.gallery-thumbnails .thumbnail:hover {
    opacity: 1;
    border-color: var(--primary-2);
}
.gallery-thumbnails .thumbnail.active {
    opacity: 1;
    border-color: var(--primary-1);
    box-shadow: var(--shadow-sm);
}

/* --- Info --- */
.product-info-category {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-1);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.product-info-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.product-info-model {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 1.5rem;
}
.product-info-price-stock {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}
.product-info-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-2);
}
.product-info-stock {
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.product-info-stock.in-stock {
    background: #f0fdf4;
    color: #15803d;
}
.product-info-stock.out-of-stock {
    background: #fef2f2;
    color: #b91c1c;
}
.product-info-stock.pre-order {
    background: #fffbeb;
    color: #b45309;
}
.product-info-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}
.btn-whatsapp {
    width: 100%;
    text-align: center;
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
}
.btn-whatsapp i {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}
.whatsapp-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

/* --- Specs Table --- */
.product-specs {
    margin-top: 2.5rem;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
}
.product-specs h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}
.spec-table tr {
    border-bottom: 1px solid var(--border);
}
.spec-table tr:last-child {
    border-bottom: none;
}
.spec-table td {
    padding: 1rem;
}
.spec-table td:first-child {
    font-weight: 600;
    color: var(--text-primary);
    width: 40%;
    background: var(--bg-secondary);
}
.spec-table td:last-child {
    color: var(--text-secondary);
}

/* --- Responsive for Products --- */
@media (max-width: 1024px) {
    #product-filters {
        grid-template-columns: 1fr;
    }
    .product-details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .product-gallery {
        position: static;
        top: 0;
    }
}
@media (max-width: 768px) {
    #product-filters {
        grid-template-columns: 1fr;
    }
    .product-details-page {
        padding: 6rem 0 3rem;
    }
    .product-info-title {
        font-size: 2rem;
    }
    .product-info-price-stock {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .product-info-price {
        font-size: 1.75rem;
    }
    .gallery-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }
}