/* Water Usage Guide - Modern UI with Animations */

/* Reset and Modern Foundation */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #1B5E20;
    --secondary-green: #2E7D32;
    --dark-green: #0D3B12;
    --light-green: #E8F5E9;
    --accent-green: #388E3C;
    --accent-blue: #3498DB;
    --dark-text: #2C3E50;
    --light-text: #7F8C8D;
    --white: #FFFFFF;
    --light-bg: #F8FAFC;
    --gradient-primary: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%);
    --gradient-secondary: linear-gradient(135deg, #388E3C 0%, #2E7D32 100%);
    --shadow-light: 0 4px 20px rgba(27, 94, 32, 0.15);
    --shadow-medium: 0 8px 30px rgba(27, 94, 32, 0.2);
    --shadow-heavy: 0 15px 40px rgba(27, 94, 32, 0.25);
    --border-radius: 16px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--dark-text);
    overflow-x: hidden;
    background: var(--light-bg);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Modern Header with Hero Background - Matching Index.html */
.guide-header {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.8) 0%, rgba(76, 175, 80, 0.7) 100%),
                url('./images/photorealistic-view-african-people-harvesting-vegetables-grains_23-2151487520.avif') center/cover no-repeat;
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.guide-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.guide-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 40%;
    height: 200%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    transform: rotate(15deg);
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: rotate(15deg) translateY(0px); }
    50% { transform: rotate(15deg) translateY(-20px); }
}

.guide-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.breadcrumb {
    position: absolute;
    top: 100px;
    left: 30px;
    z-index: 10;
    animation: slideDown 0.8s ease-out;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(27, 94, 32, 0.3);
}

.guide-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin: 30px 0;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideUp 1s ease-out 0.2s both;
    letter-spacing: -0.02em;
}

.guide-header h1 i {
    color: #81C784;
    filter: drop-shadow(0 0 20px rgba(129, 199, 132, 0.6));
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.guide-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.8;
    animation: slideUp 1s ease-out 0.4s both;
}

/* Floating Action Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: floatRandom 8s infinite linear;
}

.floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 40px;
    height: 40px;
    top: 80%;
    left: 70%;
    animation-delay: 4s;
}

@keyframes floatRandom {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.3; }
    25% { transform: translateY(-20px) rotate(90deg); opacity: 0.5; }
    50% { transform: translateY(-40px) rotate(180deg); opacity: 0.3; }
    75% { transform: translateY(-20px) rotate(270deg); opacity: 0.5; }
}

/* Modern Content Layout */
.guide-content {
    padding: 80px 0;
    background: var(--light-bg);
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(300px, 350px) 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: start;
}

/* Modern Table of Contents */
.toc {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-medium);
    position: sticky;
    top: 120px;
    border: 1px solid rgba(27, 94, 32, 0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    animation: slideRight 0.8s ease-out;
}

.toc:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy);
}

.toc h3 {
    color: var(--primary-green);
    margin-bottom: 30px;
    font-size: 1.4rem;
    font-weight: 700;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-green);
    position: relative;
}

.toc h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.toc ul {
    list-style: none;
}

.toc li {
    margin-bottom: 16px;
    animation: fadeInUp 0.6s ease-out backwards;
}

.toc li:nth-child(1) { animation-delay: 0.1s; }
.toc li:nth-child(2) { animation-delay: 0.2s; }
.toc li:nth-child(3) { animation-delay: 0.3s; }
.toc li:nth-child(4) { animation-delay: 0.4s; }
.toc li:nth-child(5) { animation-delay: 0.5s; }

.toc a {
    color: var(--light-text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 14px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.toc a::after {
    content: '↗';
    font-size: 12px;
    opacity: 0.6;
    margin-left: auto;
}

.toc a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: -1;
}

.toc a:hover,
.toc a.active {
    color: var(--white);
    transform: translateX(8px);
}

.toc a:hover::before,
.toc a.active::before {
    width: 100%;
}

.toc a i {
    font-size: 14px;
    width: 20px;
    text-align: center;
}

/* Modern Main Content */
.main-content {
    background: var(--white);
    padding: 50px;
    border-radius: 24px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(27, 94, 32, 0.1);
    animation: slideLeft 0.8s ease-out;
}

/* Section Styling */
.section {
    margin-bottom: 70px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(27, 94, 32, 0.1);
    position: relative;
    animation: fadeInUp 0.8s ease-out backwards;
}

.section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.section h2 {
    color: var(--dark-green);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
    padding-left: 60px;
    line-height: 1.3;
}

.section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section h2 i {
    color: var(--primary-green);
    margin-right: 16px;
    font-size: 0.9em;
}

.section h3 {
    color: var(--dark-text);
    font-size: 1.5rem;
    margin: 40px 0 20px;
    font-weight: 600;
    position: relative;
    padding-left: 20px;
}

.section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-green);
    border-radius: 50%;
}

.section p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark-text);
}

.section ul {
    margin: 25px 0;
    padding-left: 0;
    list-style: none;
}

.section li {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.7;
    position: relative;
    padding-left: 30px;
    color: var(--dark-text);
    transition: var(--transition);
}

.section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-green);
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 200, 150, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.section li:hover {
    transform: translateX(8px);
}

/* Modern Key Points Box */
.key-points {
    background: linear-gradient(135deg, var(--light-green), rgba(0, 200, 150, 0.05));
    border: none;
    border-left: 6px solid var(--primary-green);
    padding: 35px;
    margin: 40px 0;
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.key-points::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 200, 150, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30px, -30px);
}

.key-points:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.key-points h4 {
    color: var(--dark-green);
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.key-points h4 i {
    font-size: 1.1em;
    color: var(--primary-green);
}

.key-points ul {
    margin: 0;
}

/* Modern Method Cards Grid */
.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
    padding: 0 10px;
}

.method-card {
    background: var(--white);
    border: 1px solid rgba(27, 94, 32, 0.15);
    border-radius: 20px;
    padding: 35px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    animation: fadeInUp 0.6s ease-out backwards;
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.method-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-green);
}

.method-card:hover::before {
    transform: scaleX(1);
}

.method-card .icon {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 20px;
    display: block;
    text-align: center;
    background: rgba(27, 94, 32, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.method-card:hover .icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-green);
    color: var(--white);
}

.method-card h4 {
    color: var(--dark-green);
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
}

.method-card p {
    text-align: center;
    color: var(--light-text);
    line-height: 1.7;
    margin-bottom: 20px;
}

.card-link {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    text-align: center;
    box-shadow: 0 4px 15px rgba(27, 94, 32, 0.3);
}

.card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(27, 94, 32, 0.4);
    background: var(--gradient-secondary);
}

/* Modern Table Design */
.water-table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(27, 94, 32, 0.1);
}

.water-table th {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 20px;
    text-align: left;
    font-weight: 600;
    font-size: 15px;
    position: relative;
}

.water-table th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.water-table td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(27, 94, 32, 0.1);
    font-size: 15px;
    vertical-align: middle;
    transition: var(--transition);
}

.water-table tr:last-child td {
    border-bottom: none;
}

.water-table tbody tr {
    transition: var(--transition);
}

.water-table tbody tr:hover {
    background: rgba(27, 94, 32, 0.05);
    transform: scale(1.01);
}

/* Mobile Table Cards */
.mobile-table-cards {
    display: none;
    gap: 20px;
}

.table-card {
    background: var(--white);
    border: 1px solid rgba(27, 94, 32, 0.15);
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.table-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(27, 94, 32, 0.1);
}

.card-row:last-child {
    border-bottom: none;
}

.card-label {
    font-weight: 600;
    color: var(--primary-green);
    font-size: 14px;
}

.card-value {
    color: var(--dark-text);
    font-size: 14px;
    text-align: right;
    font-weight: 500;
}

/* Conservation and Tips Grids */
.conservation-grid,
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.conservation-item,
.tip-item {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    border-left: 5px solid var(--secondary-green);
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.conservation-item::before,
.tip-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(27, 94, 32, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(20px, -20px);
}

.conservation-item:hover,
.tip-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-heavy);
    border-left-color: var(--primary-green);
}

.conservation-item h4,
.tip-item h4 {
    color: var(--dark-green);
    margin-bottom: 16px;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tip-item {
    text-align: center;
    border-left: none;
    border-top: 5px solid var(--secondary-green);
}

.tip-item .icon {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 20px;
    display: block;
    transition: var(--transition);
}

.tip-item:hover .icon {
    transform: scale(1.2) rotate(10deg);
    color: var(--accent-green);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    z-index: 1000;
    font-size: 1.4rem;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(100px);
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: var(--shadow-heavy);
}

/* Animations */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideRight {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideLeft {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Mobile Navigation Styles (from index.html) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .content-grid {
        grid-template-columns: 320px 1fr;
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 900px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    .toc {
        position: static;
        width: 100%;
        max-width: 700px;
        margin: 0 auto 40px auto;
        padding: 30px;
        order: -1;
        text-align: center;
    }
    
    .main-content {
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .method-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin: 30px 0;
    }
    
    .main-content {
        max-width: 900px;
        margin: 0 auto;
    }
    
    .guide-header {
        padding: 100px 0 60px;
        min-height: 50vh;
    }
    
    .method-grid,
    .conservation-grid,
    .tips-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        max-width: 900px;
        margin: 30px auto;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    /* Navigation */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 1000;
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .nav-menu a {
        color: var(--dark-text) !important;
        font-size: 16px;
        padding: 10px 20px;
        border-radius: 8px;
        transition: var(--transition);
    }
    
    .nav-menu a:hover {
        background: var(--light-green);
        color: var(--primary-green) !important;
    }
    
    .btn-login, .btn-signup {
        margin: 5px 20px;
        padding: 12px 24px;
        border-radius: 25px;
        font-weight: 600;
        transition: var(--transition);
    }
    
    .btn-login {
        background: transparent;
        border: 2px solid var(--primary-green);
    }

    /* Header Improvements */
    .guide-header {
        padding: 100px 0 60px;
        min-height: 70vh;
        text-align: center;
    }
    
    .guide-header h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }
    
    .guide-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .breadcrumb {
        top: 90px;
        left: 15px;
        font-size: 0.9rem;
    }

    /* Content Grid - Stack on Mobile */
    .content-grid {
        display: block !important;
        gap: 0;
    }
    
    .toc {
        width: 100% !important;
        margin-bottom: 2rem;
        padding: 1.5rem;
        border-radius: 12px;
        background: var(--white);
        box-shadow: var(--shadow-light);
    }
    
    .toc h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .toc ul {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .toc li a {
        padding: 12px 16px;
        font-size: 0.95rem;
        display: block;
        text-align: center;
        border-radius: 8px;
        background: var(--light-green);
        margin-bottom: 8px;
        transition: var(--transition);
    }
    
    .toc li a:hover {
        background: var(--primary-green);
        color: var(--white);
        transform: translateY(-2px);
    }

    /* Main Content */
    .main-content {
        width: 100% !important;
        padding: 0;
    }

    /* Method Cards - Responsive Grid */
    .method-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin: 2rem 0;
    }
    
    .method-card {
        padding: 2rem 1.5rem !important;
        margin: 0 !important;
        width: 100% !important;
        min-height: auto !important;
        text-align: center;
    }
    
    .method-card .icon {
        font-size: 2.5rem !important;
        margin-bottom: 1rem;
        background: var(--gradient-primary);
        width: 80px;
        height: 80px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1rem auto;
    }
    
    .method-card .icon i {
        color: var(--white);
    }
    
    .method-card h4 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .method-card p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        color: var(--light-text);
    }
    
    .card-link {
        padding: 12px 24px !important;
        font-size: 1rem !important;
        font-weight: 600;
        width: auto !important;
        display: inline-block;
    }
    
    .btn-signup {
        background: var(--gradient-primary);
        color: var(--white) !important;
        border: none;
    }
    
    .guide-header {
        padding: 100px 0 60px;
        min-height: 70vh;
    }
    
    .guide-content {
        padding: 40px 0;
    }
    
    .content-grid {
        padding: 0 15px;
        max-width: 100%;
    }
    
    .main-content {
        padding: 30px 20px;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .toc {
        padding: 25px 20px;
        max-width: 100%;
        margin: 0 auto 30px;
    }
    
    .toc h3 {
        text-align: center;
        margin-bottom: 25px;
    }
    
    .toc ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .toc li {
        width: 100%;
        max-width: 300px;
    }
    
    .toc a {
        justify-content: center;
        text-align: center;
    }
    
    .water-table {
        display: none;
    }
    
    .mobile-table-cards {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .method-grid,
    .conservation-grid,
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
        margin: 30px auto;
        padding: 0 10px;
    }
    
    .method-card {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .section {
        text-align: center;
        max-width: 100%;
    }
    
    .section h2 {
        text-align: center;
        padding-left: 0;
        margin-bottom: 25px;
    }
    
    .section h2::before {
        display: none;
    }
    
    .section h3 {
        text-align: center;
        padding-left: 0;
        margin: 30px auto 20px;
    }
    
    .section h3::before {
        display: none;
    }
    
    .section p {
        text-align: left;
        max-width: 100%;
        margin: 0 auto 15px;
    }
    
    .key-points {
        max-width: 100%;
        margin: 30px auto;
        text-align: left;
    }
    
    .breadcrumb {
        text-align: center;
        left: 50%;
        transform: translateX(-50%);
        top: 90px;
    }
}

@media (max-width: 480px) {
    .guide-header {
        min-height: 60vh;
        padding: 80px 0 40px;
    }
    
    .guide-header h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .guide-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .guide-content {
        padding: 30px 0;
    }
    
    .content-grid {
        padding: 0 10px;
        gap: 25px;
    }
    
    .main-content {
        padding: 20px 15px;
        border-radius: 16px;
    }
    
    .toc {
        padding: 20px 15px;
        border-radius: 16px;
    }
    
    .toc h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .method-card {
        padding: 20px 15px;
        border-radius: 12px;
    }
    
    .method-card .icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .method-card h4 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .section {
        margin-bottom: 40px;
        padding-bottom: 30px;
    }
    
    .section h2 {
        font-size: 1.5rem;
        text-align: center;
        padding-left: 0;
        margin-bottom: 20px;
    }
    
    .section h2::before {
        display: none;
    }
    
    .section h3 {
        font-size: 1.2rem;
        text-align: center;
        padding-left: 0;
        margin: 25px auto 15px;
    }
    
    .section h3::before {
        display: none;
    }
    
    .key-points {
        padding: 20px 15px;
        margin: 25px auto;
        border-radius: 12px;
    }
    
    .key-points h4 {
        font-size: 1.1rem;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .card-link {
        padding: 10px 20px;
        font-size: 13px;
        margin-top: 15px;
    }
    
    .table-card {
        padding: 15px;
        margin-bottom: 12px;
        border-radius: 12px;
    }
    
    .breadcrumb {
        top: 80px;
        left: 10px;
        right: 10px;
        transform: none;
        text-align: center;
    }
    
    .breadcrumb a {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
        font-size: 1.1rem;
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 9999;
    transition: width 0.3s ease;
    box-shadow: 0 2px 10px rgba(27, 94, 32, 0.4);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-30 {
    margin-bottom: 30px;
}

.mt-30 {
    margin-top: 30px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    :root {
        --dark-text: #E2E8F0;
        --light-text: #94A3B8;
        --white: #1A202C;
        --light-bg: #0F172A;
    }
}