/* EcoClean Pro - Main CSS */

/* CSS Variables for Color Palette */
:root {
    --primary-color: #57b568;
    --primary-light: #92db96;
    --primary-dark: #46913f;
    --secondary-color: #1ca5eb;
    --secondary-light: #78bfee;
    --secondary-dark: #1a5bc6;
    --accent-color: #ffb700;
    --accent-light: #ffd657;
    --accent-dark: #ffb200;
    --success-color: #3aa044;
    --success-light: #e5efe5;
    --info-color: #09b6de;
    --info-light: #c4e7f1;
    --warning-color: #ffa70a;
    --warning-light: #efc594;
    --danger-color: #ec3639;
    --danger-light: #ffbcbe;
    --light-bg: #F8F9FA;
    --dark-bg: #242a2e;
    --text-primary: #2e2e2e;
    --text-secondary: #727071;
    --border-color: #f7f7f7;
    --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Respect motion preferences */
@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;
    }
}

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
}

/* Typography - Conservative Sizes */
.navbar-brand {
    font-size: 1.33rem;
    font-weight: 600;
    color: var(--primary-color);
}

h1 {
    font-size: 2.62rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.85rem;
}

h3 {
    font-size: 1.63rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.72rem;
}

h4 {
    font-size: 1.38rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.71rem;
}

h5 {
    font-size: 1.22rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.72rem;
}

p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--success-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Cards */
.card {
    border: none;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.22rem;
}

/* Navigation */
.navbar {
    box-shadow: var(--shadow-light);
    backdrop-filter: blur(10px);
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Sections */
section {
    position: relative;
}

.bg-light {
    background-color: var(--light-bg);
}

/* Icon Styling */
.fa-3x {
    font-size: 2.58rem;
}

.text-success {
    color: var(--success-color);
}

.text-primary {
    color: var(--primary-color);
}

.text-warning {
    color: var(--warning-color);
}

.text-info {
    color: var(--info-color);
}

.text-danger {
    color: var(--danger-color);
}

/* Forms */
.form-control {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(94, 174, 92, 0.25);
}

.form-select {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(90, 179, 95, 0.25);
}

/* Contact Info */
.contact-info h5 {
    color: var(--text-primary);
    margin-bottom: 0.66rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
}

footer h5 {
    color: #ffffff;
    margin-bottom: 1rem;
}

footer p {
    color: #e2dfe0;
    margin-bottom: 0.57rem;
}

footer a {
    color: #c7c7c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-light);
}

/* Team Section */
.team img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 3px solid var(--primary-light);
}

/* Gallery */
#gallery img {
    transition: transform 0.3s ease;
    border-radius: 8px;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* Process Steps */
.rounded-circle {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

/* Breadcrumb */
.breadcrumb-icon {
    width: 24px;
    height: 24px;
    opacity: 0.7;
}

/* Utility Classes */
.shadow-sm {
    box-shadow: var(--shadow-light);
}

.shadow {
    box-shadow: var(--shadow-medium);
}

.shadow-lg {
    box-shadow: var(--shadow-heavy);
}

/* Space Page Specific */
#space {
    background: linear-gradient(45deg, var(--primary-light), var(--secondary-light));
    color: white;
}

#space h1 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Responsive Text Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.85rem;
    }
    
    h3 {
        font-size: 1.27rem;
    }
    
    .hero-section {
        min-height: 80vh;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
}

/* Animation Support */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* Eco-friendly accent elements */
.eco-accent {
    position: relative;
}

.eco-accent::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--success-color));
    border-radius: 2px;
}

/* Price styling */
.fw-bold {
    font-weight: 600;
    color: var(--primary-color);
}

/* List styling */
ul li {
    margin-bottom: 0.36rem;
    color: var(--text-secondary);
}

/* Ensure consistent spacing */
.mb-4 {
    margin-bottom: 1.73rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.py-5 {
    padding: 3rem 0;
} 

.hero-section h1 {
    padding-top: 225px;
}


/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
