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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Courier New', monospace;
    background-color: #000000;
    color: #C0C0C0;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header Styles */
.header {
    text-align: center;
    padding: 60px 0 40px 0;
    border-bottom: 2px solid #C0C0C0;
    margin-bottom: 40px;
}

.company-name {
    font-size: 4rem;
    font-weight: bold;
    letter-spacing: 8px;
    margin-bottom: 10px;
    text-shadow: 0 0 10px #C0C0C0;
    animation: glow 2s ease-in-out infinite alternate;
}

.company-full-name {
    font-size: 1.2rem;
    margin-bottom: 15px;
    opacity: 0.8;
    font-weight: normal;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.9;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

/* Glow Animation */
@keyframes glow {
    from {
        text-shadow: 0 0 10px #C0C0C0;
    }
    to {
        text-shadow: 0 0 20px #C0C0C0, 0 0 30px #C0C0C0;
    }
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 20px 0;
}

/* Section Styles */
.section {
    margin-bottom: 50px;
    padding: 30px 0;
    border-left: 3px solid #00AA00;
    padding-left: 30px;
    transition: border-left-width 0.3s ease;
}

.section:hover {
    border-left-width: 6px;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: bold;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #00AA00;
    transition: width 0.3s ease;
}

.section:hover .section-title::after {
    width: 120px;
}

.section-content {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
}

/* Research Domains Styling */
.research-domains {
    margin: 30px 0;
}

.domain-item {
    margin-bottom: 30px;
    padding: 20px 0;
    border-left: 2px solid rgba(0, 170, 0, 0.3);
    padding-left: 25px;
    transition: border-left-color 0.3s ease;
}

.domain-item:hover {
    border-left-color: #00AA00;
}

.domain-item h3 {
    color: #00AA00;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.domain-item p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

.research-footer {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 170, 0, 0.3);
}

.research-footer p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    opacity: 0.9;
}

/* Service List */
.service-list {
    list-style: none;
    margin-top: 20px;
}

.service-item {
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    transition: padding-left 0.3s ease, opacity 0.3s ease;
}

.service-item::before {
    content: '>';
    position: absolute;
    left: 0;
    color: #00AA00;
    font-weight: bold;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.service-item:hover {
    padding-left: 35px;
    opacity: 1;
}

.service-item:hover::before {
    transform: scale(1.2);
}

/* Contact Section */
.contact-info {
    margin-top: 20px;
}

.contact-label {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.chat-prompt {
    font-size: 1.1rem;
    line-height: 1.6;
    padding: 20px;
    background-color: rgba(0, 170, 0, 0.1);
    border-left: 4px solid #00AA00;
    border-radius: 8px;
    margin-top: 15px;
    animation: gentle-pulse 3s ease-in-out infinite alternate;
}

@keyframes gentle-pulse {
    from {
        background-color: rgba(0, 170, 0, 0.1);
    }
    to {
        background-color: rgba(0, 170, 0, 0.15);
    }
}

/* Footer */
.footer {
    border-top: 2px solid #00AA00;
    padding: 30px 0;
    text-align: center;
    margin-top: 40px;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 40px 0 30px 0;
    }
    
    .company-name {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }
    
    .company-full-name {
        font-size: 1rem;
    }
    
    .tagline {
        font-size: 0.9rem;
    }
    
    .section {
        padding-left: 20px;
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-content {
        font-size: 1.1rem;
    }
    
    .service-item {
        font-size: 1rem;
    }
    
    .email-link {
        font-size: 1.1rem;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .company-name {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-content {
        font-size: 1rem;
    }
    
    .service-item {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .company-name {
        animation: none;
    }
    
    .section,
    .service-item,
    .email-link {
        transition: none;
    }
}

/* Focus Styles for Better Accessibility */
.email-link:focus {
    outline: 2px solid #00AA00;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    body {
        background-color: white;
        color: black;
    }
    
    .company-name {
        animation: none;
        text-shadow: none;
    }
    
    .section {
        border-left-color: black;
    }
    
    .section-title::after {
        background-color: black;
    }
    
    .email-link {
        color: black;
        background-color: transparent;
        border-color: black;
    }
}

/* Work Showcase Preview Styles */
.showcase-preview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.preview-card {
    background: rgba(0, 170, 0, 0.05);
    border: 1px solid #00AA00;
    border-radius: 5px;
    padding: 25px;
    transition: all 0.3s ease;
}

.preview-card:hover {
    background: rgba(0, 170, 0, 0.1);
    box-shadow: 0 0 15px rgba(0, 170, 0, 0.3);
    transform: translateY(-5px);
}

.preview-card h3 {
    color: #00AA00;
    margin: 0 0 15px 0;
    font-size: 1.3em;
}

.preview-card p {
    color: #CCCCCC;
    line-height: 1.6;
    margin: 0;
}

.showcase-cta {
    margin-top: 40px;
    text-align: center;
}

.showcase-link {
    display: inline-block;
    background: transparent;
    color: #00AA00;
    text-decoration: none;
    padding: 15px 30px;
    border: 2px solid #00AA00;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.showcase-link:hover {
    background: #00AA00;
    color: #000000;
    text-shadow: none;
    box-shadow: 0 0 20px rgba(0, 170, 0, 0.5);
}

@media (max-width: 768px) {
    .showcase-preview-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .preview-card {
        padding: 20px;
    }
}
