/* Simple Professional Styles for SoMuchIP */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Header */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
}

.company-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e40af;
}

.tagline {
    font-size: 0.8rem;
    color: #666;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #1e40af;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #1e40af;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    background: 
        linear-gradient(to right, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 30%, rgba(255,255,255,0.3) 60%, transparent 100%),
        url('../images/hero-innovation.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0 100px;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #1e40af;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(255,255,255,0.8);
}

.hero p {
    font-size: 1.2rem;
    color: #374151;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

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

.stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.stat .number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #1e40af;
}

.stat .label {
    font-size: 0.9rem;
    color: #666;
}

.buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn.primary {
    background: #1e40af;
    color: white;
}

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

.btn.secondary {
    background: transparent;
    color: #1e40af;
    border: 2px solid #1e40af;
}

.btn.secondary:hover {
    background: #1e40af;
    color: white;
}

.hero-image {
    text-align: center;
    /* Remove the placeholder image since we're using background */
}

.hero-image img {
    display: none; /* Hide the img element since we're using background */
}

/* Services Section */
.services {
    padding: 100px 0;
    background: white;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e40af;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service {
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: transform 0.3s;
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.2);
    transition: all 0.3s ease;
}

.service:hover .icon {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.3);
}

/* Innovation Management Icon */
.service .icon.innovation::before {
    content: '';
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    position: relative;
}

.service .icon.innovation::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #1e40af;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 
        -15px -15px 0 -10px white,
        15px -15px 0 -10px white,
        -15px 15px 0 -10px white,
        15px 15px 0 -10px white,
        -20px 0 0 -12px white,
        20px 0 0 -12px white,
        0 -20px 0 -12px white,
        0 20px 0 -12px white;
}

/* Product Management Icon */
.service .icon.product::before {
    content: '';
    width: 45px;
    height: 35px;
    background: white;
    border-radius: 4px;
    position: relative;
}

.service .icon.product::after {
    content: '';
    position: absolute;
    width: 35px;
    height: 3px;
    background: #1e40af;
    top: 35%;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 
        0 -8px 0 #1e40af,
        0 8px 0 #1e40af;
}

/* 3D Prototyping Icon */
.service .icon.prototyping {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
}

.service .icon.prototyping::before {
    content: '';
    width: 35px;
    height: 35px;
    background: transparent;
    border: 3px solid white;
    border-radius: 6px;
    position: relative;
    transform: rotateY(45deg) rotateX(15deg);
}

.service .icon.prototyping::after {
    content: '';
    position: absolute;
    width: 35px;
    height: 35px;
    background: transparent;
    border: 3px solid rgba(255,255,255,0.6);
    border-radius: 6px;
    top: 18px;
    left: 28px;
    transform: rotateY(45deg) rotateX(15deg);
}

/* Commercialisation Icon */
.service .icon.commercial::before {
    content: '';
    width: 40px;
    height: 30px;
    background: white;
    clip-path: polygon(0 100%, 50% 0, 100% 100%);
    position: relative;
}

.service .icon.commercial::after {
    content: '';
    position: absolute;
    width: 35px;
    height: 4px;
    background: #1e40af;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 8px 0 #1e40af;
}

/* Industrialisation Icon */
.service .icon.industrial::before {
    content: '';
    width: 45px;
    height: 25px;
    background: white;
    border-radius: 4px 4px 0 0;
    position: relative;
}

.service .icon.industrial::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 15px;
    background: white;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 
        -15px 0 0 white,
        15px 0 0 white;
}

/* Digital Transformation Icon */
.service .icon.digital::before {
    content: '';
    width: 40px;
    height: 30px;
    background: white;
    border-radius: 4px;
    position: relative;
}

.service .icon.digital::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 20px;
    background: #1e40af;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 2px;
    box-shadow: 
        inset 0 0 0 2px white,
        0 0 0 2px #1e40af;
}

.service h3 {
    font-size: 1.3rem;
    color: #1e40af;
    margin-bottom: 1rem;
}

.service p {
    color: #666;
    margin-bottom: 1rem;
}

.service-links {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.service-links p {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1e40af;
}

.service-link {
    display: inline-block;
    color: #1e40af;
    text-decoration: none;
    font-weight: 500;
    margin-right: 1rem;
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.service-links small {
    color: #666;
    font-style: italic;
    margin-top: 0.5rem;
    display: block;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f8fafc;
}

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

.about h2 {
    font-size: 2.5rem;
    color: #1e40af;
    margin-bottom: 1.5rem;
}

.about p {
    color: #666;
    margin-bottom: 1.5rem;
}

.highlights {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.highlight {
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #1e40af;
}

.about-image {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

.about-image img {
    width: 100%;
    border-radius: 20px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('../images/contact.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact h2 {
    font-size: 2.5rem;
    color: #1e40af;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-details {
    margin-top: 2rem;
}

.detail {
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.detail strong {
    color: white;
}

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    color: #333;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e40af;
}

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

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group.checkbox input {
    width: auto;
}

.form-group.checkbox a {
    color: #1e40af;
    text-decoration: none;
}

.form-group.checkbox a:hover {
    text-decoration: underline;
}

.success {
    background: #dcfce7;
    color: #166534;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.errors {
    background: #fef2f2;
    color: #dc2626;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: #1d2644;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section a {
    color: #bfdbfe;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: white;
}

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

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    position: relative;
}

.modal-content h2 {
    background: #1e40af;
    color: white;
    padding: 1.5rem;
    margin: 0;
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-body h3 {
    color: #1e40af;
    margin: 1.5rem 0 1rem 0;
}

.modal-body p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.modal-body ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 60px; /* Position below header */
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transform: translateY(-100%); /* Start hidden above */
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        gap: 0;
    }
    
    .nav-links.mobile-active {
        transform: translateY(0); /* Slide down to visible */
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links li {
        margin: 0;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        border-bottom: 1px solid #e2e8f0;
        transition: all 0.3s ease;
    }
    
    .nav-links a:hover {
        background: #f8fafc;
        color: #1e40af;
    }
    
    .nav-links li:last-child a {
        border-bottom: none;
    }
    
    .hero {
        background: 
            linear-gradient(to bottom, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0.3) 100%),
            url('../images/hero-innovation.jpg');
        background-size: cover;
        background-position: center;
        padding: 120px 0 80px;
        text-align: center;
    }
    
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact {
        background-attachment: scroll; /* Better for mobile */
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}
/* Compact Professional Expertise List */
.expertise-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.expertise-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px 20px;
    flex: 1;
    min-width: 280px;
    transition: all 0.2s ease;
}

.expertise-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.expertise-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.expertise-desc {
    display: block;
    font-size: 14px;
    color: #64748b;
    line-height: 1.4;
}

/* Mobile: Stack vertically */
@media (max-width: 768px) {
    .expertise-list {
        flex-direction: column;
    }
    
    .expertise-item {
        min-width: auto;
    }
}