/* EcoClean Pro - Main CSS */

/* CSS Variables for Color Palette */
:root {
    --primary-color: #5fb769;
    --primary-light: #92cc9b;
    --primary-dark: #40984b;
    --secondary-color: #1dabf2;
    --secondary-light: #74bde9;
    --secondary-dark: #26a3e9;
    --accent-color: #ffc105;
    --accent-light: #f5c361;
    --accent-dark: #ffb100;
    --success-color: #52a14f;
    --success-light: #accdaa;
    --info-color: #00a7d6;
    --info-light: #c1e1eb;
    --warning-color: #ffc017;
    --warning-light: #ffdaae;
    --danger-color: #dc5644;
    --danger-light: #ffbdbc;
    --light-bg: #F8F9FA;
    --dark-bg: #232527;
    --text-primary: #252323;
    --text-secondary: #676767;
    --border-color: #d3d1d0;
    --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: 10px !important;
    font-size: 1.32rem;
    font-weight: 600;
    color: var(--primary-color);
}

h1 {
    font-size: 2.63rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.94rem;
}

h3 {
    font-size: 1.63rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.66rem;
}

h4 {
    font-size: 1.27rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.60rem;
}

h5 {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.61rem;
}

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 {
    font-size: 10px !important;
    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.55rem;
}

.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(79, 170, 93, 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(64, 158, 81, 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.73rem;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
}

footer h5 {
    color: #ffffff;
    margin-bottom: 1rem;
}

footer p {
    color: #dcd5d6;
    margin-bottom: 0.69rem;
}

footer a {
    color: #ccbdbb;
    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.86rem;
    }
    
    h3 {
        font-size: 1.38rem;
    }
    
    .hero-section {
        min-height: 80vh;
    }
    
    .navbar-brand {
    font-size: 10px !important;
        font-size: 1.16rem;
    }
}

/* 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.38rem;
    color: var(--text-secondary);
}

/* Ensure consistent spacing */
.mb-4 {
    margin-bottom: 1.59rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.py-5 {
    padding: 3rem 0;
} 

.hero-section h1 {
    padding-top: 150px;
}


/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
