/* EcoStrategy - Main CSS */

/* Color Palette Variables */
:root {
    --primary-color: #2d6a4f;
    --primary-light: #40916c;
    --primary-dark: #1b4332;
    --secondary-color: #52b788;
    --secondary-light: #74c69d;
    --secondary-dark: #2d6a4f;
    --accent-color: #95d5b2;
    --accent-light: #b7e4c7;
    --accent-dark: #74c69d;
    --neutral-color: #d8f3dc;
    --neutral-light: #f1f8e9;
    --neutral-dark: #c7d2cc;
    --text-dark: #1b4332;
    --text-light: #40916c;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
}

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Typography - Conservative sizes */
h1, .h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2, .h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3, .h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

h4, .h4 {
    font-size: 1.5rem;
    font-weight: 500;
}

h5, .h5 {
    font-size: 1.25rem;
    font-weight: 500;
}

h6, .h6 {
    font-size: 1rem;
    font-weight: 500;
}

/* Header */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neutral-color);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--neutral-light) 0%, var(--neutral-color) 100%);
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    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="%2340916c" opacity="0.1"/><circle cx="80" cy="40" r="3" fill="%2352b788" opacity="0.1"/><circle cx="60" cy="80" r="2" fill="%2395d5b2" opacity="0.1"/></svg>');
    z-index: 1;
}

#hero .container {
    position: relative;
    z-index: 2;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
}

.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);
}

/* Cards */
.card {
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Sections */
section {
    scroll-margin-top: 80px;
}

.bg-light {
    background-color: var(--neutral-light);
}

/* Services Section */
#services .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Team Section */
#team .card-img-top {
    border-radius: 50%;
    margin: 1rem auto;
}

/* Features Icons */
.fa-3x {
    font-size: 2.5rem;
}

.text-success {
    color: var(--secondary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Footer */
#footer {
    background-color: var(--text-dark);
}

#footer a:hover {
    color: var(--accent-color) !important;
}

/* Form Styles */
.form-control {
    border-radius: 0.5rem;
    border: 1px solid var(--neutral-dark);
    padding: 0.75rem 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(45, 106, 79, 0.25);
}

/* Animation Enhancements */
[data-sal] {
    transition-duration: 0.8s;
}

/* Utility Classes */
.text-muted {
    color: var(--medium-gray) !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* FAQ Section */
#faq .card {
    margin-bottom: 1rem;
}

#faq .card-title {
    color: var(--primary-color);
    font-weight: 600;
}

/* Gallery Section */
#gallery img {
    transition: transform 0.3s ease;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* Process Section */
#process .rounded-circle {
    background-color: var(--primary-color);
}

/* Pricing Cards */
#priceplan .card.border-primary {
    border-color: var(--primary-color) !important;
    transform: scale(1.05);
}

/* Contact Section */
#contact .form-control::placeholder {
    color: var(--medium-gray);
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
}

.breadcrumb-item img {
    opacity: 0.7;
}

/* Responsive Adjustments - Covered in responsive.css */ 


/* 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;
    }
}
