/* Why Recycle */

:root {
    --primary-color: #28a745; /* A vibrant green */
    --secondary-color: #007bff; /* A nice blue */
    --accent-color: #ffc107; /* A subtle yellow for highlights */
    --dark-color: #333;
    --light-color: #f8f9fa;
    --text-color: #555;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    
}
.why{
    color: black;
    font-size: 25px;
    background:rgb(255, 255, 255);
   
}

/* Hero Section */

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(whyrec.jpg) no-repeat center center/cover;
    color: #fff;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    background-image: whyrec.jpg;
}

.hero-content h1{
     font-size: 40px;
    color: var(--primary-color);
    opacity: 0.9;
}

.hero-content h2 {
    font-size: 3.9em;
    margin-bottom: 20px;
    color: rgb(5, 226, 246);
}

.hero-content p {
    font-size: 1.7em;
    margin-bottom: 40px;
    opacity: 0.9;
}

 /* Footer */

.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 20px;
    font-size: 0.95em;
}

.footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer .footer-col img {
    height: 50px;
    margin-bottom: 15px;
}

.footer .footer-col p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer .footer-col .tagline {
    font-style: italic;
    font-size: 0.9em;
    margin-top: -5px;
    margin-bottom: 20px;
}

.footer .footer-col h4 {
    color: var(--white-color);
    margin-bottom: 25px;
    font-size: 1.2em;
    position: relative;
    padding-bottom: 10px;
}

.footer .footer-col h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer .footer-col ul li {
    margin-bottom: 10px;
}

.footer .footer-col ul li a {
    color: var(--light-color);
    transition: color 0.3s ease;
}

.footer .footer-col ul li a:hover {
    color: var(--primary-color); 
    
}

.footer .social-links a {
    color: var(--light-color);
    font-size: 1.5em;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.footer .social-links a:hover {
    color: var(--primary-color);
}

.footer .newsletter-form {
    display: flex;
    margin-top: 20px;
}

.footer .newsletter-form input[type="email"] {
    flex-grow: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    outline: none;
}

.footer .newsletter-form button {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    padding: 10px 15px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.footer .newsletter-form button:hover {
    background-color: #218838;
}

.footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    margin-top: 40px;
}

.footer .footer-bottom p {
    margin-bottom: 5px;
    font-size: 0.9em;
}

.footer .footer-bottom a {
    color: var(--primary-color);
    margin: 0 10px;
}

.footer .footer-button {
    color:var(--primary-color);
    margin: 0 10px;
}