/* Main CSS for Smart Recycling Bin Manufacturing Template */

/* Color Variables */
:root {
    --primary-green: #3c8040;
    --secondary-blue: #0959e2;
    --accent-orange: #ff9b10;
    --neutral-gray: #475c64;
    --success-mint: #4bb347;
    
    /* Light/Dark Shades */
    --primary-green-light: #67b75c;
    --primary-green-dark: #105418;
    --secondary-blue-light: #6faff3;
    --secondary-blue-dark: #1958a4;
    --accent-orange-light: #f5c237;
    --accent-orange-dark: #d94605;
    --neutral-gray-light: #939da2;
    --neutral-gray-dark: #435c62;
    --success-mint-light: #90bc8c;
    --success-mint-dark: #347b41;
    
    /* Background Colors */
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-dark: #21272d;
    
    /* Text Colors */
    --text-primary: #2d333d;
    --text-secondary: #626c73;
    --text-white: #ffffff;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
}

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

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green-dark);
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-green);
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--neutral-gray-dark);
}

p {
    font-size: 1rem;
    color: var(--text-secondary);
}

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

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: var(--accent-orange-light);
    border-radius: 50%;
    opacity: 0.1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: var(--secondary-blue-light);
    border-radius: 50%;
    opacity: 0.1;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-green-dark);
    border-color: var(--primary-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(51, 142, 56, 0.30);
}

.btn-outline-primary {
    color: var(--primary-green);
    border-color: var(--primary-green);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 500;
}

.btn-outline-primary:hover {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

/* Section Spacing */
.section {
    padding: 5rem 0;
}

.section-light {
    background-color: var(--bg-light);
}

/* Card Styles */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

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

.card-header {
    background-color: var(--primary-green);
    color: var(--text-white);
    border-bottom: none;
    padding: 1.5rem;
}

.card-body {
    padding: 2rem;
}

/* Service Cards */
.service-card {
    text-align: center;
    margin-bottom: 2rem;
}

.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.service-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-orange);
}

/* Team Cards */
.team-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 4px solid var(--primary-green-light);
}

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

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

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

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

/* Timeline */
.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 15px;
    height: 15px;
    background: var(--accent-orange);
    border-radius: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 15px;
    width: 2px;
    height: calc(100% + 1rem);
    background: var(--primary-green-light);
}

.timeline-item:last-child::after {
    display: none;
}

/* Contact Form */
.contact-form {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e4edff;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(30, 98, 35, 0.25);
}

/* Footer */
.footer {
    background: var(--neutral-gray-dark);
    color: var(--text-white);
    padding: 3rem 0 1rem;
}

.footer h5 {
    color: var(--primary-green-light);
    margin-bottom: 1rem;
}

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

.footer a:hover {
    color: var(--primary-green-light);
}

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* FAQ Cards */
.faq-card {
    margin-bottom: 1rem;
}

.faq-question {
    font-weight: 600;
    color: var(--primary-green-dark);
    margin-bottom: 0.5rem;
}

.faq-answer {
    color: var(--text-secondary);
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 1rem 0;
}

.breadcrumb-item img {
    width: 20px;
    height: 20px;
}

/* Animations with Sal.js */
.sal-animate {
    transition-duration: 0.5s;
    transition-timing-function: ease-out;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .sal-animate {
        transition: none !important;
    }
    
    .card:hover {
        transform: none;
    }
    
    .btn-primary:hover {
        transform: none;
    }
}

/* Utility Classes */
.text-primary-custom {
    color: var(--primary-green) !important;
}

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

.border-primary-custom {
    border-color: var(--primary-green) !important;
}

/* Custom spacing */
.py-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.my-6 {
    margin-top: 4rem !important;
    margin-bottom: 4rem !important;
} 

.hero-section h1 {
    padding-top: 250px;
}


/* Team Social Links - Glass Style */
.team-social-links {
    margin-top: 22px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.social-link {
    display: inline-flex;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.3);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 0.5);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.3);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 0.5);
}

.instagram-link {
    background: rgba(228, 64, 95, 0.3);
}

.instagram-link:hover {
    background: rgba(228, 64, 95, 0.5);
}

.x-link {
    background: rgba(0, 0, 0, 0.3);
    position: relative;
}

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

.x-link:hover {
    background: rgba(0, 0, 0, 0.5);
}

.x-link i {
    display: none;
}

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