/* =================================================================
   Renewable Energy Microgrid Design Consulting Template
   Main CSS File - Conservative Design with Pastel Colors
   ================================================================= */

/* CSS Variables for Color Palette */
:root {
    --primary-color: #6B9BD3;      /* Soft Blue */
    --secondary-color: #A8E6CF;    /* Soft Green */
    --accent-color: #FFB4B4;       /* Soft Coral */
    --highlight-color: #F7DC6F;    /* Soft Yellow */
    --neutral-color: #E6E6FA;      /* Soft Lavender */
    
    /* Light/Dark Shades */
    --primary-light: #A8C8E8;
    --primary-dark: #4A7BA3;
    --secondary-light: #D4F4E4;
    --secondary-dark: #7BC99F;
    --accent-light: #FFCCCC;
    --accent-dark: #FF9999;
    --highlight-light: #FBE89F;
    --highlight-dark: #F3D54F;
    --neutral-light: #F3F3FD;
    --neutral-dark: #CCCCF0;
    
    /* Text Colors */
    --text-dark: #2C3E50;
    --text-light: #6C7B7F;
    --text-white: #FFFFFF;
    
    /* Conservative Typography */
    --font-size-small: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-h6: 1rem;
    --font-size-h5: 1.125rem;
    --font-size-h4: 1.25rem;
    --font-size-h3: 1.375rem;
    --font-size-h2: 1.5rem;
    --font-size-h1: 1.75rem;
    
    /* Spacing */
    --section-padding: 4rem 0;
    --card-padding: 1.5rem;
}

/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #FFFFFF;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }
h5 { font-size: var(--font-size-h5); }
h6 { font-size: var(--font-size-h6); }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: var(--font-size-base);
}

/* Navbar Styles */
.navbar-brand {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    padding: var(--section-padding);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    padding-top: 225px;
}

.hero-section h2 {
    color: var(--secondary-dark);
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: var(--font-size-lg);
    color: var(--text-dark);
}

/* Card Styles */
.feature-card,
.service-card,
.price-card,
.team-card,
.review-card,
.case-card,
.career-card,
.info-card,
.blog-card,
.faq-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: var(--card-padding);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--neutral-color);
}

.feature-card:hover,
.service-card:hover,
.case-card:hover,
.career-card:hover,
.info-card:hover,
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Service Cards */
.service-card {
    display: flex;
    flex-direction: column;
}

.service-card .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card .price {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-color);
    margin-top: auto;
    padding-top: 1rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.service-card ul li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

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

/* Price Plan Cards */
.price-card {
    border: 2px solid var(--neutral-color);
    text-align: center;
}

.price-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.02);
}

.price-card .card-header {
    background: var(--primary-light);
    padding: 1.5rem;
    border-radius: 6px 6px 0 0;
}

.price-card .price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.price-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--neutral-color);
}

/* Team Cards */
.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
}

/* Review Cards */
.review-card {
    border-left: 4px solid var(--accent-color);
}

.reviewer {
    margin-top: 1rem;
    font-style: italic;
    color: var(--text-light);
}

/* Process Steps */
.process-step {
    position: relative;
    padding: 2rem 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* Timeline Items */
.timeline-item {
    padding: 1.5rem;
    border-left: 3px solid var(--highlight-color);
    margin-bottom: 2rem;
}

.timeline-year {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Feature Items */
.feature-item {
    padding: 1.5rem;
    border-radius: 8px;
    background: var(--neutral-light);
    margin-bottom: 1rem;
}

.feature-item i {
    color: var(--primary-color);
}

/* Contact Form */
.contact-form {
    background: var(--neutral-light);
    padding: 2rem;
    border-radius: 10px;
}

.form-control {
    border: 1px solid var(--neutral-color);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: var(--font-size-base);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(107, 155, 211, 0.25);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 6px;
}

.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);
}

/* Gallery */
.gallery-img {
    border-radius: 8px;
    transition: transform 0.3s ease;
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.gallery-img:hover {
    transform: scale(1.02);
}

/* FAQ Section */
.faq-card {
    margin-bottom: 1rem;
    border-left: 4px solid var(--highlight-color);
}

.faq-card h5 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--text-white);
}

footer h5 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

footer a {
    color: var(--neutral-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--text-white);
}

/* Breadcrumb */
.breadcrumb-section {
    padding-top: 80px;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

/* Space Page */
#space {
    background: linear-gradient(135deg, var(--neutral-light) 0%, var(--primary-light) 100%);
    padding-top: 80px;
}

/* Utility Classes */
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-accent { color: var(--accent-color); }

.bg-primary { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-accent { background-color: var(--accent-color); }

/* Icon Styles */
.fas, .far {
    color: var(--primary-color);
}

/* Section Spacing */
section {
    padding: var(--section-padding);
}

/* Animation Optimization */
.sal-animate {
    transition: all 0.3s ease;
} 


/* Team Social Links - Retro Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 0;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 3px solid;
    background: transparent;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
}

.social-link:hover {
    transform: translateX(3px) translateY(-3px);
    box-shadow: -3px 3px 0px currentColor;
    color: white;
}

.facebook-link {
    border-color: #1877f2;
    background: #1877f2;
}

.facebook-link:hover {
    background: transparent;
    color: #1877f2;
}

.linkedin-link {
    border-color: #0a66c2;
    background: #0a66c2;
}

.linkedin-link:hover {
    background: transparent;
    color: #0a66c2;
}

.instagram-link {
    border-color: #e4405f;
    background: #e4405f;
}

.instagram-link:hover {
    background: transparent;
    color: #e4405f;
}

.x-link {
    border-color: #000000;
    background: #000000;
    position: relative;
}

.x-link::after {
    content: 'X';
    font-weight: bold;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: transparent;
    color: #000000;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
