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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
}

/* Color Variables */
:root {
    --primary-color: #20B2AA;
    --secondary-color: #1e3a8a;
    --accent-color: #00CED1;
    --dark-color: #1a1a1a;
    --light-color: #f8fafc;
    --white: #ffffff;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(32, 178, 170, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(32, 178, 170, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

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

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px 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-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language Toggle */
.language-toggle {
    display: flex;
    align-items: center;
}

.lang-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 50px;
}

.lang-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.nav-logo .logo {
    height: 65px;
    width: auto;
}

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

.nav-link {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--white);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: var(--white);
}

.hero-image {
    display: none; /* Hide background image for white background */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Graph Design Background */
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="graphGradient" x1="0%" y1="100%" x2="100%" y2="0%"><stop offset="0%" style="stop-color:%2320B2AA;stop-opacity:0.15"/><stop offset="50%" style="stop-color:%2300CED1;stop-opacity:0.2"/><stop offset="100%" style="stop-color:%2320B2AA;stop-opacity:0.1"/></linearGradient></defs><g transform="translate(50,500)"><path d="M0,50 L120,35 L240,20 L360,-10 L480,-35 L600,-60 L720,-85 L840,-110 L960,-140 L1080,-170" stroke="%2320B2AA" stroke-width="4" fill="none" opacity="0.4"/><path d="M0,50 L120,40 L240,28 L360,8 L480,-15 L600,-35 L720,-50 L840,-70 L960,-95 L1080,-125" stroke="%2300CED1" stroke-width="3" fill="none" opacity="0.5"/><g><circle cx="0" cy="50" r="5" fill="%2320B2AA" opacity="0.7"/><circle cx="240" cy="20" r="5" fill="%2320B2AA" opacity="0.7"/><circle cx="480" cy="-35" r="6" fill="%2300CED1" opacity="0.8"/><circle cx="720" cy="-85" r="6" fill="%2300CED1" opacity="0.8"/><circle cx="960" cy="-140" r="7" fill="%2320B2AA" opacity="0.9"/><circle cx="1080" cy="-170" r="8" fill="%2320B2AA" opacity="1"/></g><g opacity="0.3"><rect x="0" y="50" width="20" height="40" fill="%2320B2AA"/><rect x="240" y="20" width="20" height="70" fill="%2300CED1"/><rect x="480" y="-35" width="20" height="125" fill="%2320B2AA"/><rect x="720" y="-85" width="20" height="175" fill="%2300CED1"/><rect x="960" y="-140" width="20" height="230" fill="%2320B2AA"/><rect x="1080" y="-170" width="20" height="260" fill="%2300CED1"/></g></g><g opacity="0.1"><line x1="0" y1="0" x2="0" y2="600" stroke="%23E5E7EB" stroke-width="1"/><line x1="200" y1="0" x2="200" y2="600" stroke="%23E5E7EB" stroke-width="1"/><line x1="400" y1="0" x2="400" y2="600" stroke="%23E5E7EB" stroke-width="1"/><line x1="600" y1="0" x2="600" y2="600" stroke="%23E5E7EB" stroke-width="1"/><line x1="800" y1="0" x2="800" y2="600" stroke="%23E5E7EB" stroke-width="1"/><line x1="1000" y1="0" x2="1000" y2="600" stroke="%23E5E7EB" stroke-width="1"/><line x1="1200" y1="0" x2="1200" y2="600" stroke="%23E5E7EB" stroke-width="1"/><line x1="0" y1="150" x2="1200" y2="150" stroke="%23E5E7EB" stroke-width="1"/><line x1="0" y1="300" x2="1200" y2="300" stroke="%23E5E7EB" stroke-width="1"/><line x1="0" y1="450" x2="1200" y2="450" stroke="%23E5E7EB" stroke-width="1"/></g></svg>');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    animation: gradientShift 8s ease-in-out infinite;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(32, 178, 170, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 206, 209, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(32, 178, 170, 0.05) 0%, transparent 50%);
    animation: floatingShapes 12s ease-in-out infinite;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, 
        rgba(32, 178, 170, 0.1) 0%, 
        rgba(0, 206, 209, 0.15) 50%, 
        rgba(32, 178, 170, 0.05) 100%);
    border-radius: 20px;
    transform: perspective(1000px) rotateX(20deg) rotateY(20deg);
    animation: graphRise 6s ease-in-out infinite;
    box-shadow: 
        0 20px 40px rgba(32, 178, 170, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

@keyframes graphRise {
    0%, 100% {
        transform: perspective(1000px) rotateX(20deg) rotateY(20deg) translateY(0px) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: perspective(1000px) rotateX(15deg) rotateY(25deg) translateY(-10px) scale(1.05);
        opacity: 0.9;
    }
    50% {
        transform: perspective(1000px) rotateX(25deg) rotateY(15deg) translateY(-20px) scale(1.1);
        opacity: 1;
    }
    75% {
        transform: perspective(1000px) rotateX(20deg) rotateY(30deg) translateY(-5px) scale(1.02);
        opacity: 0.8;
    }
}

/* 3D Animation Keyframes */
@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes floatingShapes {
    0%, 100% {
        transform: translate(0px, 0px) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.hero-content {
    text-align: center;
    color: var(--gray-800);
    max-width: 800px;
    z-index: 1;
    padding: 60px 20px;
    border-radius: 20px;
    /* 3D effect on content */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 20px 40px rgba(32, 178, 170, 0.1),
        0 10px 20px rgba(0, 206, 209, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(32, 178, 170, 0.1);
}

.hero-title {
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.title-main {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-sub {
    display: block;
    font-size: 3rem;
    font-weight: 300;
    color: var(--gray-600);
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 1s ease 1.5s forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-color);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

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

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

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    color: var(--gray-800);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    color: var(--gray-800);
    margin-bottom: 16px;
}

.service-card p {
    margin-bottom: 24px;
    font-size: 1rem;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 8px 0;
    color: var(--gray-600);
    position: relative;
    padding-left: 20px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Portfolio Section */
.portfolio {
    background: var(--white);
}

.client-showcase {
    margin-bottom: 80px;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.client-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(32, 178, 170, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.client-card:hover {
    background: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.client-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-text {
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
}

.client-image {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    transition: all 0.3s ease;
    transform: scale(1.1);
}

.client-card:hover .client-image {
    transform: scale(1.3);
}

/* Client Brand Styling */
.myhouse { color: #4a6741; }
.lapomme { color: #d4a574; }
.dewbell { color: #2c5aa0; }
.poled { color: #1a1a1a; }
.elj { color: #0066cc; }
.jmw { color: #8e2f9e; }
.philips { color: #0066cc; }
.bissell { color: #e60026; }
.iriver { color: #e60026; }
.yonex { 
    color: #ffffff;
    background: linear-gradient(135deg, #0066cc, #00cc66);
    padding: 8px 16px;
    border-radius: 8px;
}

.portfolio-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* About Section */
.about {
    background: var(--light-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text .section-header {
    text-align: left;
    margin-bottom: 30px;
}

.about-description {
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.feature-item span {
    font-weight: 500;
    color: var(--gray-700);
}

.about-image {
    position: relative;
}

.team-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: row;
    gap: 60px;
    justify-content: center;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--gray-800);
    margin-bottom: 8px;
}

.contact-details p {
    color: var(--gray-600);
    margin: 0;
}

/* Form Styles */
.form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.form input,
.form select,
.form textarea {
    padding: 16px 20px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: var(--white);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(32, 178, 170, 0.1);
}

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

.form select {
    cursor: pointer;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(32, 178, 170, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: 2px solid transparent;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(32, 178, 170, 0.4);
}

.btn-full {
    width: 100%;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo .logo {
    height: 40px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-logo p {
    color: var(--gray-400);
    margin: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

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

.footer-section a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-500);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 40px 0;
        gap: 20px;
    }

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

    .nav-actions {
        gap: 15px;
    }

    .lang-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
        min-width: 40px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

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

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

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

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

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

    .hero-buttons .btn {
        width: 80%;
        max-width: 300px;
    }

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

    .client-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

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

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

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

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

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    section { padding: 60px 0; }
}

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

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

    .portfolio-stats {
        grid-template-columns: 1fr;
    }

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

    .title-sub {
        font-size: 1.5rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 40px; }

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
