/* Basic */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: white;
}

html {
    scroll-behavior: smooth;
}

section {
    padding: 5rem 1rem;
}

/* Root Variables */
:root {
  --primary-green: #2e7d4e;
  --primary-green-light: #3a9c5d;
  --primary-green-lighter: #48b46d;
  
  --accent-teal: #2a9d8f;
  --accent-yellow: #e9c46a;
  --accent-orange: #f4a261;
  
  --neutral-light: #f8f9fa;
  --neutral-medium: #e9ecef;
  --neutral-dark: #495057;
}

/* H1 underline */

.underline {
    display: block;
    height: 3px;
    width: 40%;
    max-width: 300px;
    background-color: #327f53;
    margin: 0.5rem auto 0 auto;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 2.5s ease;
}

.underline.aos-animate {
    transform: scaleX(1);
}

/* Background Canvas */

#bubbles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Cards */

.r-card, .intro-card, .fact-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.95);
}

/* CTA and Learn More button */

.cta-button, .learn-more-button {
    padding: 1rem 2.2rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-light));
    border: none;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(46, 125, 78, 0.4);
    transition: background 0.3s ease, transform 0.15s ease, box-shadow 0.3s ease;
}

.cta-button:hover, .learn-more-button:hover {
    background: linear-gradient(135deg, var(--primary-green-light), var(--primary-green-lighter));
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 20px rgba(46, 125, 78, 0.6);
}

/* NavBar */

.top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    color: #111;
    z-index: 1100;
}

.logo {
    color: #111;
    font-weight: 700;
    font-size: 1.4rem;
}

.hamburger {
    font-size: 1.8rem;
    cursor: pointer;
    color: #111;
    transition: transform 0.3s ease;
}

.hamburger:hover {
    transform: scale(1.1);
}

/* Side Bar */

.sidebar {
    position: fixed;
    top: 60px;
    left: -250px;
    width: 250px;
    height: calc(100% - 60px);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-right: 1px solid rgba(0,0,0,0.05);
    transition: left 0.3s ease;
    z-index: 1050;
    padding-top: 1rem;
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    text-align: center;
    padding: 10px 0;
    font-size: 1.5rem;
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    position: relative;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: #111;
    font-size: 1rem;
    transition: background 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.sidebar-menu a i {
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

.sidebar-menu a:hover,
.sidebar-menu li.active {
    background: rgba(0, 0, 0, 0.05);
}

.dropdown-menu {
    list-style: none;
    padding: 0;
    display: none;
    flex-direction: column;
}

.dropdown-menu li a {
    padding-left: 40px;
    font-size: 0.95rem;
}

.dropdown.active .dropdown-menu {
    display: flex;
}

.dropdown-icon {
    color: #000;
    margin-left: auto;
    transition: transfrom 0.3s ease;
}

.dropdown.active .dropdown-icon {
    transform: rotate(180deg);
}

.top-navbar, .sidebar {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Header And Hero Section */

.hero {
    height: 100vh;
    background: 
        linear-gradient(rgba(46, 125, 78, 0.6), rgba(46, 125, 78, 0.6)),
        url('Images/headerbg.png') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 60px 1rem 0 1rem;
    animation: heroFadeIn 1s ease forwards;
}

@keyframes heroFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideDown 1s ease forwards;
}

@keyframes slideDown {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.hero p {
    font-size: 1.3rem;
    line-height: 1.6;
    max-width: 550px;
    margin: 0 auto 2rem auto;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1s ease forwards 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cta-button {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Five R's Section */

.five-r-section {
    position: relative;
    padding: 0 1rem 6rem 1rem;
    background: white;
    display: flex;
    justify-content: center;
}

.five-r-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: -5rem;
    gap: 1.5rem;
    max-width: 1400px;
    width: 95%;
    z-index: 2;
}

.r-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.r-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: #e7f8ee;
    border-color: rgba(46, 125, 78, 0.2);
}

.r-card h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #327f53;
}

.r-card p {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}

.r-icon {
    font-size: 2.5rem;
    color: #327f53;
    margin-bottom: 0.5rem;
}

/* Introduction Section */

/* Introduction Section Improved Design */

.introduction {
    padding: 4rem 1rem;
    background: #ffffff;
    display: flex;
    justify-content: center;
}

.intro-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

.intro-content h1 {
    font-size: 2.8rem;
    color: #327f53;
    font-weight: 700;
    margin-bottom: 2rem;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.intro-card {
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #e0e0e0;
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.4s ease;
}

.intro-card:hover {
    transform: translateY(-8px) scale(1.05) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    background: #e7f8ee;
    border-color: rgba(42, 157, 143, 0.2);
}

.intro-icon {
    background: #327f53;
    color: #fff;
    border-radius: 50%;
    padding: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.intro-card:hover .intro-icon {
    background: #3f9f6b;
    transform: rotate(10deg);
}

.intro-card h2 {
    font-size: 1.5rem;
    color: #327f53;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
}

.intro-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .card-container {
        grid-template-columns: 1fr;
    }
}

.learn-more-button {
    display: inline-block;
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 0.9rem 2rem;
    background: rgba(50, 130, 80, 0.85);
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.learn-more-button:hover {
    background: rgba(90, 180, 120, 0.95);
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Facts Section */

.recycling-facts {
    position: relative;
    overflow: hidden;
    padding: 4rem 1rem;
    display: flex;
    justify-content: center;
    background-color: #f5f9f7;
}

.facts-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

.facts-content h1 {
    font-size: 2.5rem;
    color: #327f53;
    font-weight: 700;
    margin-bottom: 2rem;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.fact-card {
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #e0e0e0;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
}

.fact-card:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
    background: #e7f8ee;
    border-color: rgba(233, 196, 106, 0.2);
}

.fact-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.fact-card h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #327f53;
    margin-bottom: 0.5rem;
}

.fact-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Video */

.video-section {
    padding: 4rem 1rem;
    background: #ffffff;
    display: flex;
    justify-content: center;
}

.video-content {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.video-content h1 {
    font-size: 2.5rem;
    color: #327f53;
    font-weight: 700;
    margin-bottom: 1rem;
}

.video-content p {
    font-size: 1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Explore Section */

.explore-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.explore-card {
    background: linear-gradient(145deg, #ffffff, #f8f8f8);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.explore-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
    background: #e7f8ee;
}

.explore-icon {
    background: #327f53;
    color: #fff;
    border-radius: 50%;
    padding: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.explore-card:hover .explore-icon {
    background: #3f9f6b;
    transform: rotate(10deg);
}

.explore-card h2 {
    font-size: 1.4rem;
    color: #327f53;
    font-weight: 600;
    margin: 0.5rem 0 0.75rem 0;
}

.explore-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.explore-arrow {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: #327f53;
    opacity: 0.8;
    transition: transform 0.3s ease, color 0.3s ease;
}

.explore-card:hover .explore-arrow {
    transform: translateX(5px);
    color: #3f9f6b;
}

/* Footer */

.footer {
    background: var(--primary-green);
    color: #ffffff;
    text-align: center;
    padding: 2.5rem 1rem;
    font-size: 1rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.9);
}

/* Contact Section */

.contact-container {
    display: flex;
    flex-wrap: wrap;
    min-height: 100vh;
    padding: 40px;
    gap: 40px;
}

.contact-text {
    flex: 1;
    min-width: 250px;
}

.contact-text h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: #48b46d;
}

.contact-text h3 {
    font-size: 1.5em;
    color: #48b46d;
}

.contact-text p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

form {
    display: flex;
    flex-direction: column;
}

.input-group {
    position: relative;
    margin-bottom: 15px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 10px 10px 10px 40px;
    font-size: 1em;
    font-family: 'Poppins', sans-serif;
    border: 1px solid #48b46d;
    border-radius: 10px;
    box-sizing: border-box;
}

.input-group i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1.1rem;
}

.contact-button {
    padding: 10px;
    background-color: #28a754;
    color: white;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background-color: #218838;
}

.contact-form-box {
  border: 2px solid #48b46d;
  padding: 25px;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-box h3 {
  margin-top: 0;
  margin-bottom: 20px;
  padding-bottom: 10px;
  font-size: 1.7em;
  border-bottom: 2px solid var(--primary-green-light);
  color: var(--primary-green-light);
}

.textarea-group {
  position: relative;
}

.textarea-group .fixed-icon {
  position: absolute;
  top: 25px;
  left: 14px;
  color: #999;
  font-size: 1.1rem;
  pointer-events: none;
}

.textarea-group textarea {
  padding-left: 40px;
  padding-top: 12px;
  resize: vertical;
  line-height: 1.5;
}

/* Social Links */

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.social-links a {
    color: #28a754;
    font-size: 1.4rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: #2e7d4e;
    transform: scale(1.2);
}

/* Footer and Go back btn */

.go-back-btn {
    position: relative;
    margin: 2rem auto 0 auto;
    background: #3a9c5d;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, transform 0.3s ease;
    z-index: 999;
    margin-bottom: 1rem;
    cursor: pointer;
}

.go-back-btn::after {
    content: "Go back to home page";
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: #3a9c5d;
    color: white;
    padding: 0.4rem 0.7rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.go-back-btn:hover::after {
    opacity: 1;
}

.go-back-btn:hover {
    background: #2e7d4f;
    transform: scale(1.1);
}

/* Footer */
.footer {
    background-color: #2e7d4e;
    color: #fff;
    padding: 40px 20px 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
    gap: 2rem;
    padding: 0 1rem;
    text-align: left;
}

.footer-section {
    flex: 1 1 200px;
    margin: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-section {
    margin-left: 60px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #ffffff;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    text-decoration: none;
    color: #ffffff;
    transition: 0.3s;
}

.footer-section ul li a:hover {
    color: #54d17f;
}

.social-icons a {
    display: inline-block;
    margin-right: 15px;
    font-size: 20px;
    color: #ffffff;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #54d17f;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 14px;
    color: #ffffff;
    border-top: 1px solid #333;
}
/* View more */

.view-more-section {
    text-align: center;
    padding: 40px 20px;
    background: #ffffff;
}

.view-more-grid {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.view-more-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, background 0.3s ease;
}

.view-more-card:hover {
    transform: translateY(-5px);
    background: #e7f8ee;
}

/* Search Section */

.search-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 1rem;
    background: #ffffff;
    margin-top: 5rem;
}

.search-bar {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 500px;
    background: #ffffff;
    border: 2px solid var(--primary-green-light);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.search-bar:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.search-bar input[type="text"] {
    flex: 1;
    min-width: 0;
    padding: 0.8rem 1.2rem 0.8rem 2.5rem;
    border: none;
    outline: none;
    font-size: 1rem;
    border-radius: 50px 0 0 50px;
}

.search-bar button {
    background: var(--primary-green);
    border: none;
    padding: 0 1.2rem;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 50px 50px 0;
    transition: background 0.3s ease;
}

.search-bar button:hover {
    background: var(--primary-green-light);
}

.search-bar .search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #888;
    pointer-events: none;
}

/* FAQ */

.faq {
    text-align: center;
    padding: 4rem 1rem;
    background-color: #f5f9f7;
}

.faq .question-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease;
}

.faq .question-content:hover {
    transform: translateY(-4px);
}

.faq h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #327f53;
    margin-bottom: 0.8rem;
}

.faq p {
    color: #555;
    font-style: normal;
    margin-bottom: 1.5rem;
}

.faq .label-text {
    font-size: 1rem;
    color: #327f53;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.faq select {
    width: 100%;
    max-width: 100%;
    padding: 0.9rem 1.2rem;
    border-radius: 50px;
    font-size: 1rem;
    color: #327f53;
    margin-bottom: 1rem;
}

.faq button {
    margin-top: 0.5rem;
    font-size: 1rem;
    padding: 0.75rem 2rem;
}

/* Quiz */

.quiz-section {
    padding: 4rem 1rem;
    background: #f5f9f7;
    display: flex;
    justify-content: center;
}

.quiz-container {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    max-width: 700px;
    width: 100%;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.quiz-container h1 {
    color: #327f53;
    margin-bottom: 1.5rem;
    text-align: center;
}

.question {
    margin-bottom: 1.5rem;
}

.question p {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #327f53;
}

.quiz-container button {
    background: #3a9c5d;
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: block;
    margin: 1rem auto 0 auto;
}

.quiz-container button:hover {
    background: #2e7d4f;
}

/* Mobile */

@media (max-width: 768px) {
  /* Hero Section */
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  /* 5 R's Section */
  .five-r-container {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 0 1rem;
  }

  .r-card {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Introduction Cards */
  .card-container {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .intro-card {
    margin: 0 auto;
  }

  /* Facts Cards */
  .facts-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  /* Explore Section */
  .explore-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .explore-card {
    width: 100%;
    margin: 0 auto;
  }

  /* View More Section */
  .view-more-grid {
    flex-direction: column;
    align-items: center;
  }

  .view-more-card {
    width: 90%;
  }

  /* Video Section */
  .video-container {
    padding-bottom: 56.25%;
    height: 0;
  }

  .video-content h1 {
    font-size: 1.8rem;
  }

  .video-content p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  /* FAQ Section */
  .faq .question-content {
    padding: 1.5rem;
    margin: 1rem;
  }

  .faq h2 {
    font-size: 1.6rem;
  }

  .faq p {
    font-size: 0.95rem;
  }

  /* Contact Section */
  .contact-container {
    flex-direction: column;
    padding: 2rem 1rem;
  }

  .contact-text,
  .contact-form {
    width: 100%;
  }

  /* Footer */
  .footer {
    font-size: 0.9rem;
    padding: 2rem 1rem;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-section {
    padding: 0 1rem;
    text-align: center;
    margin-left: 0;
  }

  .footer-section h3 {
    margin-top: 1rem;
  }

  .social-icons {
    justify-content: center;
  }
}

/* DIY project header */

.diy-header {
  background-color: #f5fdf5;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  margin-top: 4rem;
}

.diy-header h2 {
  color: #2e7d32;
  font-size: 1.8em;
  margin-bottom: 10px;
}

.diy-header p {
  color: #4e4e4e;
  font-size: 1.1em;
}

/* Diy card */

.diy-card {
  background: white;
  border-radius: 10px;
  padding: 15px;
  margin: 20px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.diy-card h3 {
  color: #2e7d32;
  margin-bottom: 10px;
  font-size: 30px;
}

.diy-card p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 10px;
}
.diy-image {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.steps {
  margin-top: 10px;
  padding-left: 20px;
  font-size: 1.1em;
}

.hidden {
  display: none;
}

button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 8px 12px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 5px;
}
button:hover {
  background-color: #45a049;
}

.diy-image {
    width: 200px;
    height: 520px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.steps {
  counter-reset: step-counter;
  list-style: none;
  padding-left: 1.2rem;
  margin-top: 1rem;
  font-size: 1rem;
  color: #444;
}

.steps li {
  counter-increment: step-counter;
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  line-height: 1.5;
  background: #f0f9f5;
  border-radius: 6px;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
}

.steps li::before {
  content: counter(step-counter) ".";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #2e7d32;
  font-weight: bold;
  font-size: 1rem;
}

.steps input[type="checkbox"] {
  margin-right: 8px;
  accent-color: #48b46d;
  transform: scale(1.1);

}


