/* Corporate Sustainability Reporting Service - Main CSS */

/* Color Palette Variables */
:root {
    --primary-color: #2d5a4a;      /* Forest Green */
    --primary-light: #4a7c59;      /* Light Forest Green */
    --primary-dark: #1d3d32;       /* Dark Forest Green */
    
    --secondary-color: #7eb3a3;    /* Sage Green */
    --secondary-light: #a3ccbf;    /* Light Sage */
    --secondary-dark: #5c8a7d;     /* Dark Sage */
    
    --accent-color: #e8f4f1;       /* Very Light Green */
    --accent-light: #f5faf8;       /* Lightest Green */
    --accent-dark: #d1e7e0;        /* Light Green */
    
    --neutral-color: #6c757d;      /* Gray */
    --neutral-light: #e9ecef;      /* Light Gray */
    --neutral-dark: #495057;       /* Dark Gray */
    
    --highlight-color: #17a2b8;    /* Teal */
    --highlight-light: #58b7c7;    /* Light Teal */
    --highlight-dark: #138496;     /* Dark Teal */
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--neutral-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Typography - Conservative Sizes */
h1, .h1, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-dark);
}

h2, .h2 {
    font-weight: 500;
    color: var(--primary-color);
}

h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-weight: 500;
    color: var(--primary-color);
}

.lead {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--neutral-color);
}

/* Conservative navbar-brand size */
.navbar-brand {
    font-size: 1.2rem !important;
    font-weight: 600;
    color: var(--primary-color);
}

/* Header Styles */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    color: var(--neutral-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-color) 100%);
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23ffffff" opacity="0.1"/><circle cx="80" cy="40" r="3" fill="%23ffffff" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="%23ffffff" opacity="0.1"/></svg>');
    pointer-events: none;
}

/* Section Backgrounds */
.bg-light {
    background-color: var(--accent-light) !important;
}

/* Cards and Components */
.card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-body {
    padding: 1.5rem;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
}

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

/* Form Styles */
.form-control {
    border: 2px solid var(--neutral-light);
    border-radius: 8px;
    padding: 0.75rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(45, 90, 74, 0.25);
}

.form-select {
    border: 2px solid var(--neutral-light);
    border-radius: 8px;
    padding: 0.75rem;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(45, 90, 74, 0.25);
}

/* Services Section */
#services .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Team Section */
.team-member img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid var(--accent-color);
}

/* Pricing Cards */
.card.border-primary {
    border-color: var(--primary-color) !important;
    border-width: 2px !important;
}

.card-header.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Footer */
footer {
    background-color: var(--primary-dark) !important;
}

footer h5, footer h6 {
    color: var(--accent-color);
}

footer .text-muted {
    color: var(--neutral-light) !important;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-color) !important;
}

/* Process Steps */
.process-step {
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -50%;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    transform: translateY(-50%);
}

.process-step:last-child::after {
    display: none;
}

/* FAQ Cards */
#faq .card {
    border-left: 4px solid var(--primary-color);
}

/* Gallery */
#gallery img {
    transition: transform 0.3s ease;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

/* Shadow utilities */
.shadow-sm {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}

.shadow {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
}

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

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid var(--neutral-dark);
    }
    
    .btn-primary {
        border: 2px solid var(--primary-dark);
    }
} 


/* Team Social Links - Gradient Style */
.team-social-links {
    margin-top: 20px;
    padding: 18px 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 20px;
}

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

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 24px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.social-link::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: inherit;
    border-radius: inherit;
    z-index: -1;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.linkedin-link {
    background: linear-gradient(135deg, #2196f3 0%, #21cbf3 100%);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #21cbf3 0%, #2196f3 100%);
}

.instagram-link {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.instagram-link:hover {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
}

.x-link {
    background: linear-gradient(135deg, #232526 0%, #414345 100%);
    position: relative;
}

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

.x-link:hover {
    background: linear-gradient(135deg, #414345 0%, #232526 100%);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}
