/* XDimensionRobotics - Light Theme Styles */

:root {
    --primary-color: #ff3946;
    --secondary-color: #314584;
    --accent-color: #ff3946;
    --text-dark: #2d3748;
    --text-light: #4a5568;
    --bg-light: #ffffff;
    --bg-gray: #f9fafb;
    --border-color: #e5e7eb;
    --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --primary-color: #ff3946;
    --secondary-color: #314584;
    --accent-color: #ff3946;
    --text-dark: #f7fafc;
    --text-light: #e2e8f0;
    --bg-light: #1a202c;
    --bg-gray: #2d3748;
    --border-color: #4a5568;
    --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

/* Theme Toggle Button */
.theme-toggle {
    margin-left: 1rem;
}

.theme-toggle-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-dark);
    position: relative;
}

.theme-toggle-btn:hover {
    border-color: var(--primary-color);
    background: rgba(255, 57, 70, 0.1);
    transform: scale(1.05);
}

.theme-toggle-btn i {
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

#light-icon {
    display: none;
}

#dark-icon {
    display: block;
}

[data-theme="dark"] #light-icon {
    display: block;
}

[data-theme="dark"] #dark-icon {
    display: none;
}

/* Global Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Header Styles */
.header-area {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-gray) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .header-area {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-gray) 100%);
}

.header-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e5e7eb" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

[data-theme="dark"] .header-area::before {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%234a5568" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.2;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.main-title .highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.top-title {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-top: 1rem;
}

/* Navigation Styles */
.mainmenu-area {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}

[data-theme="dark"] .mainmenu-area {
    background: rgba(26, 32, 44, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-light);
}

.navbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.site-logo img {
    max-height: 48px;
    transition: transform 0.3s ease;
}

.site-logo img:hover {
    transform: scale(1.05);
}

.primary-menu ul.nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.primary-menu ul.nav li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.primary-menu ul.nav li a:hover {
    color: var(--primary-color);
    background: rgba(255, 57, 70, 0.1);
}

/* Button Styles */
.button-red {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
}

.button-red:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
    color: white;
    text-decoration: none;
}

.button-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.button-outline:hover {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Feature Boxes */
.feature-box {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    margin-bottom: 2rem;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.feature-box:hover .title,
.feature-box:hover .desc {
    color: #000000 !important;
    font-weight: 700 !important;
}

.feature-box.active {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 57, 70, 0.05), rgba(49, 69, 132, 0.05));
}

.feature-box .icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.feature-box .title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.feature-box .desc {
    color: var(--text-light);
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.4;
}

/* Product Showcase */
.product-showcase {
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.about-image {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: scale(1.02);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    padding: 2rem;
}

.features-list {
    margin: 1.5rem 0;
}

.features-list h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.features-list ul {
    list-style: none;
    padding: 0;
}

.features-list ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.features-list ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.product-actions {
    margin-top: 2rem;
}

/* Service Cards */
.services-area {
    background: var(--bg-gray);
    padding: 5rem 0;
}

.service-card {
    background: var(--bg-light);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
    border-color: var(--primary-color);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.service-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-content p {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* About Section Styles */
.about-area {
    background: var(--bg-light);
    padding: 5rem 0;
}

.about-content {
    padding: 2rem;
}

.about-description {
    margin: 2rem 0;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-gray);
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.tech-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.tech-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.tech-item span {
    color: var(--text-dark);
    font-weight: 500;
}

.highlight-text {
    background: linear-gradient(135deg, rgba(255, 57, 70, 0.1), rgba(49, 69, 132, 0.1));
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary-color);
    margin: 2rem 0;
    font-weight: 500;
    color: var(--text-dark);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-gray);
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
}

.stat-item h4 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-light);
    font-weight: 500;
    margin: 0;
}

/* Project Section Styles */
.projects-area {
    background: var(--bg-light);
    padding: 5rem 0;
}

.project-tabs {
    margin-top: 3rem;
}

.project-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    border: none;
}

.project-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    background: var(--bg-light);
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-nav .nav-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.project-nav .nav-link.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.project-nav .nav-link i {
    font-size: 1.25rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
    border-color: var(--primary-color);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.project-code {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.project-header h4 {
    color: var(--text-dark);
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.project-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background: rgba(255, 57, 70, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Why Choose Us Section */
.why-choose-us {
    background: var(--bg-gray);
}

/* Contact Section Styles */
.contact-area {
    background: var(--bg-light);
    padding: 5rem 0;
}

.contact-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    margin-bottom: 2rem;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.contact-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-content p {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

.contact-link {
    text-decoration: none;
    color: inherit;
}

.contact-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Contact Form Styles */
.contact-form-container {
    background: var(--bg-gray);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: var(--shadow-medium);
}

.contact-form-modern .form-group {
    margin-bottom: 1.5rem;
}

.contact-form-modern .form-control {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.contact-form-modern .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 57, 70, 0.1);
}

.contact-form-modern textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.margin-bottom-30 {
    margin-bottom: 1.875rem;
}

/* Footer Styles */
.footer-area {
    background: var(--text-dark);
    color: white;
    padding: 4rem 0 0;
}

[data-theme="dark"] .footer-area {
    background: #0f1419;
    color: white;
}

.footer-widget {
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-description {
    color: #a0aec0;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.widget-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #a0aec0;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.125rem;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    margin-top: 3rem;
}

.copyright {
    color: #a0aec0;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* Section Spacing */
.section-padding {
    padding: 5rem 0;
}

.section-padding-top {
    padding-top: 5rem;
}

.section-padding-bottom {
    padding-bottom: 5rem;
}

.margin-bottom-60 {
    margin-bottom: 3.75rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .primary-menu ul.nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .button-outline {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .feature-box {
        margin-bottom: 1.5rem;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    .tech-stack {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .project-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .theme-toggle {
        margin-left: 0.5rem;
    }
    
    .theme-toggle-btn {
        width: 36px;
        height: 36px;
    }
    
    .theme-toggle-btn i {
        font-size: 1rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

[data-theme="dark"] .preloader {
    background: var(--bg-light);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.flex-center {
    display: flex;
    align-items: center;
}

.flex-reverse {
    flex-direction: row-reverse;
}

.align-items-center {
    align-items: center;
}

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

p {
    margin-bottom: 1rem;
}

/* Link Styles */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Container Enhancements */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Grid System Enhancements */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1rem;
}

.col-xs-12, .col-sm-6, .col-md-4, .col-lg-6 {
    padding: 0 1rem;
}

.col-xs-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

@media (max-width: 768px) {
    .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
} 

/* Our Products Template Section */
.products-template-area {
    background: #235385;
    color: #fff;
    padding: 5rem 0 0 0;
    position: relative;
}
.products-title-box {
    text-align: left;
    margin-bottom: 2rem;
}
.products-main-title {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
    color: #fff;
}
.products-underline {
    width: 80px;
    height: 6px;
    background: #ffd600;
    margin-bottom: 2rem;
}
.products-list {
    list-style: disc inside;
    font-size: 1.35rem;
    line-height: 2.2;
    color: #fff;
    margin-bottom: 3rem;
    padding-left: 1rem;
}
.products-list li {
    margin-bottom: 0.5rem;
}
.products-image-row {
    display: flex;
    align-items: stretch;
    margin-top: 2rem;
}
.products-yellow-bar {
    width: 60px;
    background: #ffd600;
    min-height: 300px;
    margin-right: 0;
}
.products-image-container {
    flex: 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 0;
}
.products-image {
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
    display: block;
}
@media (max-width: 768px) {
    .products-image-row {
        flex-direction: column;
    }
    .products-yellow-bar {
        width: 100%;
        height: 30px;
        min-height: unset;
        margin-bottom: 1rem;
    }
    .products-image-container {
        min-height: 200px;
    }
} 