/* Color Variables */
:root {
    --primary-color: #2E7D32;
    --primary-light: #66BB6A;
    --primary-dark: #1B5E20;
    --secondary-color: #FF8F00;
    --secondary-light: #FFB74D;
    --secondary-dark: #E65100;
    --accent-color: #1976D2;
    --accent-light: #64B5F6;
    --accent-dark: #0D47A1;
    --neutral-color: #455A64;
    --neutral-light: #78909C;
    --neutral-dark: #263238;
    --success-color: #388E3C;
    --success-light: #81C784;
    --success-dark: #2E7D32;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--neutral-dark);
    overflow-x: hidden;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Header Styles */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--neutral-color);
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
}

.hero-content h1 {
    color: var(--primary-dark);
    font-size: 2.5rem;
}

.hero-content h2 {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.hero-buttons .btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 500;
}

.hero-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Feature Cards */
.feature-card {
    padding: 2rem 1rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

/* Service Cards */
.service-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.price-tag {
    margin-top: auto;
    padding-top: 1rem;
}

/* Price Cards */
.price-card {
    border-radius: 15px;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.price-display {
    margin-top: auto;
    padding-top: 1rem;
}

/* Team Members */
.team-member img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

/* Review Cards */
.review-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.reviewer-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

/* Case Study Cards */
.case-study-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* Process Steps */
.process-step {
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
}

/* Timeline Items */
.timeline-item {
    position: relative;
}

.timeline-year {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 1rem;
    font-size: 0.9rem;
}

/* Career Cards */
.career-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.career-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* Info Items */
.info-item i {
    margin-bottom: 0.5rem;
}

/* Blog Cards */
.blog-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.blog-card .card-img-top {
    height: 180px;
    object-fit: cover;
}

/* FAQ Cards */
.faq-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.faq-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Gallery */
#gallery img {
    transition: transform 0.3s ease;
    border-radius: 8px;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* Contact Form */
.contact-form .form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(46, 125, 50, 0.25);
}

.contact-info .contact-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1rem;
}

/* Footer - High Contrast Design */
#footer {
    background: #1a1a1a !important;
    color: #ffffff !important;
}

#footer h4, #footer h5, #footer h6 {
    color: #ffffff !important;
    font-weight: 600 !important;
}

#footer .text-muted {
    color: #f0f0f0 !important;
}

#footer p, #footer .text-muted {
    color: #f0f0f0 !important;
}

#footer small, #footer .small {
    color: #e0e0e0 !important;
}

#footer a {
    color: #93c5fd !important;
    text-decoration: underline !important;
    transition: color 0.3s ease !important;
}

#footer a:hover, #footer a:focus {
    color: #dbeafe !important;
    text-decoration: underline !important;
}

#footer ul li {
    margin-bottom: 8px !important;
}

#footer hr {
    border-color: #4a4a4a !important;
    opacity: 0.5 !important;
}

/* Footer Contact Information */
#footer .contact-info {
    color: #ffffff !important;
}

#footer .contact-info p {
    color: #ffffff !important;
}

/* High Contrast Focus Styles for Footer */
#footer a:focus {
    outline: 2px solid #ffffff !important;
    outline-offset: 2px !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-radius: 2px !important;
}

/* Footer Fallback Styles */
footer[id="footer"] {
    background: #1a1a1a !important;
    color: #ffffff !important;
}

footer[id="footer"] * {
    color: inherit !important;
}

footer[id="footer"] h4, footer[id="footer"] h5, footer[id="footer"] h6 {
    color: #ffffff !important;
}

footer[id="footer"] p, footer[id="footer"] .text-muted {
    color: #f0f0f0 !important;
}

footer[id="footer"] small {
    color: #e0e0e0 !important;
}

footer[id="footer"] a {
    color: #93c5fd !important;
    text-decoration: underline !important;
}

footer[id="footer"] a:hover {
    color: #dbeafe !important;
}

/* Breadcrumb */
.breadcrumb-icon {
    width: 20px;
    height: 20px;
    object-fit: cover;
}

/* Additional Page Elements */
.element-card, .process-card, .material-card, .spec-card, .support-card,
.innovation-card, .partner-card, .project-card, .publication-card, .lab-card {
    padding: 1.5rem 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}

.element-card:hover, .process-card:hover, .material-card:hover, .spec-card:hover, .support-card:hover,
.innovation-card:hover, .partner-card:hover, .project-card:hover, .publication-card:hover, .lab-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.process-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 1rem;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Section Spacing */
section {
    position: relative;
}

.py-5 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Custom Animations for ScrollReveal */
.reveal-fade {
    opacity: 0;
    transform: translateY(30px);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
} 


/* Team Social Links - Minimal Style */
.team-social-links {
    margin-top: 16px;
    padding: 10px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: white;
}

.social-link:hover {
    transform: translateY(-1px);
    color: white;
}

.facebook-link:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.linkedin-link:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: white;
}

.instagram-link:hover {
    background: #e4405f;
    border-color: #e4405f;
    color: white;
}

.x-link {
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 18px;
    color: inherit;
}

.x-link:hover {
    background: #000000;
    border-color: #000000;
    color: white;
}

.x-link:hover::after {
    color: white;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
