/* Critical CSS - Above the fold */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Optimize for mobile first */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    overflow-x: hidden;
    background: #fafafa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    overflow-x: hidden;
    background: #fafafa;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.logo-image {
    width: 200px;
    height: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: #3182ce;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #3182ce;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #3182ce;
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
    background: #3182ce;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 50%, #4a5568 100%);
    overflow: hidden;
    padding: 120px 0 60px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-text {
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: slideInLeft 1s ease-out;
}

.highlight {
    position: relative;
    color: #63b3ed;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #63b3ed, #4299e1);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: slideInLeft 1s ease-out 0.2s both;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    animation: slideInLeft 1s ease-out 0.4s both;
}

.stat {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex: 1;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #63b3ed;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: slideInLeft 1s ease-out 0.6s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::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 ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #63b3ed, #4299e1);
    color: white;
    box-shadow: 0 10px 30px rgba(99, 179, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(99, 179, 237, 0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.hero-visual {
    animation: slideInRight 1s ease-out 0.3s both;
}

.hero-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.showcase-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
}

.showcase-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.showcase-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #63b3ed, #4299e1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(99, 179, 237, 0.3);
}

.fixed-mosquito-net-icon {
    width: 35px;
    height: 35px;
    background: #ffffff;
    border: 2px solid #2d3748;
    border-radius: 4px;
    position: relative;
    background-image: 
        linear-gradient(90deg, rgba(0, 0, 0, 0.4) 1px, transparent 1px),
        linear-gradient(rgba(0, 0, 0, 0.4) 1px, transparent 1px);
    background-size: 4px 4px;
}

.showcase-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.showcase-item p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #4a5568, #2d3748);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4a5568, #2d3748);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.about-card h3 {
    font-size: 1.3rem;
    color: #1a202c;
    margin-bottom: 1rem;
}

.about-card p {
    color: #718096;
    line-height: 1.7;
}

/* Products Section */
.products {
    background: #f7fafc;
    padding: 5rem 0;
    position: relative;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.product-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #63b3ed, #4299e1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #63b3ed, #4299e1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(99, 179, 237, 0.3);
}

.product-card h3 {
    font-size: 1.5rem;
    color: #1a202c;
    margin-bottom: 1rem;
    font-weight: 600;
}

.product-card p {
    color: #718096;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.product-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.product-features-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #4a5568;
    font-size: 0.9rem;
}

.product-features-list li i {
    color: #48bb78;
    font-size: 0.8rem;
}

/* Configurator Section */
.configurator {
    background: white;
}

.configurator-main {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.configurator-left {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 350px;
    flex-shrink: 0;
}

.configurator-right {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-height: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Dimensions Section */
.dimensions-section {
    margin-bottom: 2rem;
}

.dimensions-section h3 {
    font-size: 1.3rem;
    color: #1a202c;
    margin-bottom: 1rem;
    font-weight: 600;
}

.dimensions-inputs {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

.dimension-input {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dimension-input label {
    font-weight: 600;
    color: #4a5568;
    font-size: 0.9rem;
}

.dimension-input .form-input {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.dimension-input .form-input:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.input-hint {
    font-size: 0.8rem;
    color: #a0aec0;
}

.dimensions-info {
    background: #ebf8ff;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #3182ce;
}

.dimensions-info p {
    font-size: 0.9rem;
    color: #2c5282;
    line-height: 1.6;
}

/* Color Section */
.color-section {
    margin-top: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.color-section h3 {
    font-size: 1.3rem;
    color: #1a202c;
    margin-bottom: 1rem;
    font-weight: 600;
}

.color-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.color-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-option:hover {
    border-color: #3182ce;
    transform: translateY(-2px);
}

.color-option.active {
    border-color: #3182ce;
    background: #ebf8ff;
}

.color-preview {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
}

.color-preview.ral-9016 {
    background: #000000;
}

.color-preview.ral-8019 {
    background: #5d4037;
}

.color-preview.ral-7016 {
    background: #383838;
}

.color-preview.ral-9003 {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.color-preview.ral-custom {
    background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #f0f0f0 75%), 
                linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 10px 10px;
    background-position: 0 0, 0 5px, 5px -5px, -5px 0px;
    border: 1px solid #d1d5db;
}

.color-option span {
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 500;
    line-height: 1.3;
}

/* Preview Section */
.preview-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 720px;
}

.dimensions-display {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.dimension-line {
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 500;
}

.dimension-line span {
    font-weight: 700;
    color: #1a202c;
}

.screen-controls {
    display: flex;
    gap: 0.5rem;
}

.screen-btn {
    background: #4a5568;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.screen-btn:hover {
    background: #2d3748;
    transform: translateY(-1px);
}

.screen-btn.active {
    background: #3182ce;
}

.wireframe-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: #f7fafc;
    border-radius: 10px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    max-width: 100%;
    transition: all 0.3s ease;
    border: 1px dashed #ccc;
    overflow: hidden;
    box-sizing: border-box;
}

.wireframe-frame {
    position: relative;
    border: 8px solid #cbd5e0;
    background: transparent;
    transition: all 0.3s ease;
    overflow: hidden;
    width: 100%;
    height: auto;
    aspect-ratio: 3/2;
    --border-color: #e2e8f0;
    box-sizing: border-box;
}

.wireframe-frame::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 3px solid var(--border-color);
    pointer-events: none;
    z-index: 1;
}

.wireframe-screen {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    background-image: 
        linear-gradient(90deg, rgba(0, 0, 0, 0.6) 1px, transparent 1px),
        linear-gradient(rgba(0, 0, 0, 0.6) 1px, transparent 1px);
    background-size: 4px 4px;
    transition: all 0.5s ease;
    transform: translateX(-100%);
    opacity: 0;
    z-index: 2;
}

.wireframe-screen.open {
    transform: translateX(0);
    opacity: 1;
}

.wireframe-handle {
    position: absolute;
    top: 50%;
    width: 6px;
    height: 30px;
    background: #000000;
    transform: translateY(-50%);
    transition: all 0.5s ease;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 3;
}

.wireframe-handle.left {
    left: 8px;
}

.wireframe-handle.right {
    display: none;
}

.wireframe-screen.open ~ .wireframe-handle.left {
    left: calc(100% - 8px);
}

.preview-header h3 {
    font-size: 1.2rem;
    color: #1a202c;
    font-weight: 600;
}

.preview-controls {
    display: flex;
    gap: 0.5rem;
}

.preview-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.preview-btn:hover {
    border-color: #3182ce;
    color: #3182ce;
}

.preview-btn.active {
    background: #3182ce;
    color: white;
    border-color: #3182ce;
}

/* Contact Section */
.contact {
    background: #f7fafc;
    padding: 5rem 0;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info-card,
.contact-form-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-info-card::before,
.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #63b3ed, #4299e1);
}

.contact-info-card h3,
.contact-form-card h3 {
    font-size: 1.5rem;
    color: #1a202c;
    margin-bottom: 2rem;
    font-weight: 600;
}



.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item.clickable {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contact-item.clickable::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(49, 130, 206, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-item.clickable:hover::before {
    left: 100%;
}

.contact-item:hover {
    background: #edf2f7;
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #63b3ed, #4299e1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: #1a202c;
    margin-bottom: 0.3rem;
    font-weight: 600;
    font-size: 1rem;
}

.contact-details p {
    color: #718096;
    margin: 0;
    font-size: 0.9rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-input,
.form-textarea {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #63b3ed;
    box-shadow: 0 0 0 3px rgba(99, 179, 237, 0.1);
}





.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    align-self: flex-start;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: #1a202c;
    color: white;
    padding: 1rem 0 0.5rem;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #2d3748;
    color: #a0aec0;
}

/* 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 expandWidth {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 60px !important;
    height: 60px !important;
    background: linear-gradient(135deg, #3182ce, #2b6cb0) !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem !important;
    box-shadow: 0 8px 25px rgba(49, 130, 206, 0.4) !important;
    transition: all 0.3s ease !important;
    z-index: 9999 !important;
    opacity: 0.9 !important;
}

.scroll-to-top:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 40px rgba(49, 130, 206, 0.5) !important;
    opacity: 1 !important;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
    z-index: 10;
}

.scroll-indicator span {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.scroll-indicator i {
    font-size: 1.2rem;
    animation: fadeInOut 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

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

/* Loading animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* ===== MOBILE OPTIMIZATION ===== */

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 64px;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: left;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.08);
        padding: 0.75rem 0;
        backdrop-filter: blur(12px);
        border-top: 1px solid #e2e8f0;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
    }

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

    .nav-menu li {
        margin: 0;
    }

    .nav-menu li + li {
        border-top: 1px solid #edf2f7;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.9rem 1.25rem;
        display: block;
        line-height: 1.3;
        transition: color 0.2s ease, background 0.2s ease;
    }

    .nav-link:hover {
        background: #f7fafc;
        color: #2b6cb0;
    }

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

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

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

    .nav-container {
        height: 64px;
    }

    .logo-image {
        width: 136px;
    }
}

/* Mobile Hero Section */
@media (max-width: 768px) {
    .hero {
        padding: 90px 0 24px;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.1rem;
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .stat {
        min-width: auto;
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
    }

    .hero-showcase {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .showcase-item {
        padding: 1.5rem;
    }

    .showcase-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .scroll-indicator {
        display: flex !important;
        bottom: 16px;
        z-index: 20;
    }
}

/* Mobile About Section */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-card {
        padding: 2rem;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Mobile Products Section */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-card {
        padding: 2rem;
    }

    .product-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Mobile Configurator */
@media (max-width: 768px) {
    .configurator-main {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .configurator-left {
        width: 100%;
        padding: 1.5rem;
        order: 1; /* Mobile: inputs first */
    }

    .configurator-right {
        padding: 1.5rem;
        min-height: auto;
        order: 2; /* Mobile: preview after inputs */
    }

    /* Force full-width cards and prevent horizontal overflow */
    .configurator .container,
    .configurator-main,
    .configurator-left,
    .configurator-right,
    .preview-section,
    .color-section,
    .dimensions-section {
        width: 100%;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
        margin-left: auto;
        margin-right: auto;
    }

    .color-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .color-option {
        padding: 1rem;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .color-preview {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }

    .wireframe-container {
        width: 100%;
        height: auto;
        padding: 1rem;
        margin: 1rem 0;
        overflow: hidden;
        box-sizing: border-box;
    }

    .wireframe-frame {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 2;
        max-width: 100%;
        min-width: 220px;
        min-height: 160px;
        box-sizing: border-box;
        overflow: hidden;
    }

    .preview-header {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        text-align: center;
    }

    .screen-controls {
        width: 100%;
        justify-content: center;
        gap: 1rem;
    }

    .screen-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        min-width: 120px;
    }

    .dimensions-display {
        text-align: center;
        font-size: 1rem;
    }

    .dimension-line {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .preview-section,
    .color-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .color-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .dimensions-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        text-align: center;
    }

    .dimension-input {
        margin-bottom: 1rem;
    }

    .dimension-input label {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .form-input {
        padding: 0.9rem;
        font-size: 1rem;
    }

    .dimensions-info {
        margin-top: 1rem;
        padding: 1.5rem;
    }

    .dimensions-info p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Hide the helper text under dimension inputs on mobile only */
    .dimensions-info {
        display: none !important;
    }

    /* Mobile Gallery Optimization */
    .gallery-grid {
        width: 100% !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        gap: 8px !important;
        margin-bottom: 1.5rem;
    }

    .gallery-image {
        height: 150px;
    }

    .lightbox-content {
        padding: 10px;
        width: 95%;
    }

    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }

    .lightbox-nav {
        padding: 0.8rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

/* Gallery Section */
.gallery {
    padding: 5rem 0;
    background: #f8fafc;
}



.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}



/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1000px;
    height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #3182ce;
}

#lightbox-image {
    max-width: 100%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.lightbox-caption {
    color: white;
    margin-top: 1rem;
    font-size: 1.1rem;
    max-width: 600px;
    text-align: center;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Mobile Contact Section */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-item {
        padding: 0.8rem;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .contact-form .form-input,
    .contact-form .form-textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

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

    .about-card {
        padding: 1.5rem;
    }

    .product-card {
        padding: 1.5rem;
    }

    .configurator-left {
        padding: 1rem;
    }

    .configurator-right {
        padding: 1rem;
    }

    .preview-section,
    .color-section {
        padding: 1rem;
    }

    .wireframe-container {
        height: 300px;
        padding: 1rem;
    }

    .wireframe-frame {
        min-width: 200px;
        min-height: 150px;
    }

    .color-option {
        padding: 0.8rem;
        gap: 0.8rem;
    }

    .color-preview {
        width: 40px;
        height: 40px;
    }

    .screen-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        min-width: 100px;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 1.5rem;
    }

    .scroll-to-top {
        width: 50px !important;
        height: 50px !important;
        bottom: 20px !important;
        right: 20px !important;
        font-size: 1.2rem !important;
    }

    .logo-image {
        width: 150px;
    }



    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .gallery-image {
        height: 200px;
    }

    .gallery-overlay-content h4 {
        font-size: 1rem;
    }

    .gallery-overlay-content p {
        font-size: 0.8rem;
    }

    .gallery-view-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .lightbox-content {
        padding: 10px;
        width: 95%;
    }

    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }

    .lightbox-nav {
        padding: 0.8rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

/* Tablet Optimization */
@media (min-width: 769px) and (max-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .configurator-main {
        grid-template-columns: 300px 1fr;
        gap: 1.5rem;
    }

    .configurator-left {
        width: 300px;
    }

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

/* Large Screen Optimization */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }

    .hero-content {
        max-width: 1400px;
    }
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    animation: slideInRight 0.3s ease-out;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.notification-success {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
}

.notification-error {
    background: linear-gradient(135deg, #f56565, #e53e3e);
    color: white;
}

.notification-info {
    background: linear-gradient(135deg, #4299e1, #3182ce);
    color: white;
}

.notification-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.notification-close:hover {
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Form loading state */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn:disabled:hover {
    transform: none;
}

/* Enhanced Mobile Contact Experience */
@media (max-width: 768px) {
    .contact-item.clickable {
        /* Better touch targets for mobile */
        min-height: 70px;
        padding: 1.2rem;
        
        /* Add visual feedback for touch */
        -webkit-tap-highlight-color: rgba(49, 130, 206, 0.2);
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    .contact-item.clickable:active {
        background: #e2e8f0;
        transform: scale(0.98);
        transition: all 0.1s ease;
    }
    
    .contact-item.clickable::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(49, 130, 206, 0.05), rgba(49, 130, 206, 0.1));
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }
    
    .contact-item.clickable:active::after {
        opacity: 1;
    }
    
    /* Better icon sizing for mobile */
    .contact-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    /* Enhanced text readability on mobile */
    .contact-details h4 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }
    
    .contact-details p {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    /* Better touch targets for mobile */
}

/* iOS Safari specific optimizations */
@supports (-webkit-touch-callout: none) {
    .contact-item.clickable {
        -webkit-touch-callout: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    .contact-item.clickable:active {
        -webkit-tap-highlight-color: rgba(49, 130, 206, 0.2);
    }
}

/* Android specific optimizations */
@media (pointer: coarse) {
    .contact-item.clickable {
        /* Ensure minimum touch target size */
        min-height: 72px;
        padding: 1.3rem;
    }
    
    .contact-item.clickable:active {
        background: #e2e8f0;
        transform: scale(0.97);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .contact-item.clickable {
        border: 2px solid #1a202c;
    }
    
    .contact-item.clickable:hover {
        border-color: #3182ce;
        background: #ebf8ff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .contact-item.clickable::before,
    .contact-item.clickable::after {
        transition: none;
    }
    
    .contact-item.clickable:hover {
        transform: none;
    }
    
    .contact-item.clickable:active {
        transform: none;
    }
}

/* Enhanced Touch Interactions for Mobile */
@media (max-width: 768px) {
    /* Prevent text selection on touch devices */
    .contact-item.clickable {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-touch-callout: none;
        -webkit-tap-highlight-color: rgba(49, 130, 206, 0.2);
    }
    
    /* Better touch feedback */
    .contact-item.clickable:active {
        background: linear-gradient(135deg, #e2e8f0, #cbd5e0);
        transform: scale(0.96);
        transition: all 0.1s ease;
    }
    
    /* Better touch targets for mobile */
}

/* iOS Safari specific touch optimizations */
@supports (-webkit-touch-callout: none) {
    .contact-item.clickable {
        -webkit-touch-callout: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    .contact-item.clickable:active {
        -webkit-tap-highlight-color: rgba(49, 130, 206, 0.3);
    }
}

/* Android specific touch optimizations */
@media (pointer: coarse) and (hover: none) {
    .contact-item.clickable {
        /* Ensure minimum touch target size for Android */
        min-height: 76px;
        padding: 1.4rem;
    }
    
    .contact-item.clickable:active {
        background: #e2e8f0;
        transform: scale(0.95);
    }
    
    /* Remove hover effects on touch devices */
    .contact-item.clickable:hover {
        transform: none;
        background: #f8fafc;
    }
}

/* High DPI display optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .contact-icon {
        /* Ensure crisp icons on high DPI displays */
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Dark mode support - removed to prevent styling issues */ 

/* Logo size adjustments (visual only, no layout shift) */
.nav-logo .logo-image {
	/* Keep within navbar height and enlarge slightly without layout shift */
	max-height: 60px;
	height: auto;
	width: auto;
	transform: scale(1.1);
	transform-origin: left center;
}

@media (max-width: 768px) {
    .nav-logo .logo-image {
        transform: none;
        max-height: 50px;
    }
}