/* Legal Pages Styles - Privacy Policy & Terms and Conditions */

/* Page Hero Section */
.page-hero {
    position: relative;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    margin-top: -80px;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.9), rgba(0, 100, 0, 0.9));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 0;
    color: #fff;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Legal Content Section */
.legal-content {
    background: #f8f9fa;
    padding: 80px 0;
}

.section-padding {
    padding: 80px 0;
}

/* Legal Sidebar */
.legal-sidebar {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
}

.legal-sidebar h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2c5f2d;
}

.legal-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-nav li {
    margin-bottom: 10px;
}

.legal-nav a {
    display: block;
    padding: 10px 15px;
    color: #666;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.legal-nav a:hover {
    background: #f8f9fa;
    border-left-color: #4caf50;
    color: #2c5f2d;
    padding-left: 20px;
}

.legal-nav a.active {
    background: #e8f5e9;
    border-left-color: #4caf50;
    color: #2c5f2d;
    font-weight: 600;
}

/* Legal Text Content */
.legal-text {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.legal-section {
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid #e0e0e0;
}

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

.legal-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c5f2d;
    margin-bottom: 25px;
}

.legal-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-section h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 10px;
}

.legal-section p {
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.legal-section p.lead {
    font-size: 1.1rem;
    color: #555;
    font-weight: 500;
}

.legal-section ul {
    margin: 15px 0;
    padding-left: 25px;
}

.legal-section ul li {
    margin-bottom: 10px;
    line-height: 1.8;
    color: #666;
}

/* Alert Boxes */
.alert-info, .alert-warning {
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.alert-info {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
}

.alert-info i {
    color: #2196f3;
    font-size: 1.2rem;
    margin-top: 2px;
}

.alert-warning {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
}

.alert-warning i {
    color: #ff9800;
    font-size: 1.2rem;
    margin-top: 2px;
}

.alert-info p, .alert-warning p {
    margin: 0;
    flex: 1;
}

/* Company Info Box */
.company-info {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
}

.company-info h4 {
    color: #2c5f2d;
    margin-bottom: 15px;
}

.company-info p {
    margin-bottom: 8px;
}

/* Data Categories */
.data-category {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.data-category h5 {
    color: #2c5f2d;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.data-category h5 i {
    color: #4caf50;
}

/* Purpose List */
.purpose-list {
    margin-top: 25px;
}

.purpose-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.purpose-item i {
    color: #4caf50;
    font-size: 1.3rem;
    margin-top: 3px;
}

.purpose-item h5 {
    margin-bottom: 5px;
    color: #333;
}

.purpose-item p {
    margin: 0;
    font-size: 0.95rem;
}

/* Sharing List */
.sharing-list {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
}

.sharing-list li {
    margin-bottom: 15px;
}

.sharing-list li strong {
    color: #2c5f2d;
}

/* Security Measures */
.security-measures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.measure {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.measure i {
    font-size: 2.5rem;
    color: #4caf50;
    margin-bottom: 15px;
}

.measure h5 {
    color: #2c5f2d;
    margin-bottom: 15px;
}

.measure ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.measure ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.measure ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.right-card {
    background: #fff;
    border: 2px solid #e8f5e9;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.right-card:hover {
    border-color: #4caf50;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.1);
}

.right-icon {
    width: 40px;
    height: 40px;
    background: #4caf50;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 15px;
}

.right-card p {
    margin: 0;
    font-size: 0.95rem;
}

/* Cookie Types */
.cookie-types {
    display: grid;
    gap: 20px;
    margin-top: 25px;
}

.cookie-type {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #4caf50;
}

.cookie-type h5 {
    color: #2c5f2d;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-type h5 i {
    color: #4caf50;
}

/* Browser Settings */
.browser-settings {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
}

.browser-settings h5 {
    margin-bottom: 15px;
    color: #2c5f2d;
}

.browser-settings ul {
    list-style: none;
    padding: 0;
}

.browser-settings ul li {
    margin-bottom: 10px;
}

.browser-settings ul li a {
    color: #4caf50;
    text-decoration: none;
    font-weight: 500;
}

.browser-settings ul li a:hover {
    text-decoration: underline;
}

/* Contact Info Box */
.contact-info-box {
    background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
    padding: 30px;
    border-radius: 10px;
    margin: 25px 0;
    border: 2px solid #4caf50;
}

.contact-info-box h4 {
    color: #2c5f2d;
    margin-bottom: 20px;
}

.contact-info-box p {
    margin-bottom: 10px;
}

.contact-info-box i {
    color: #4caf50;
    margin-right: 10px;
    width: 20px;
}

/* Update Info */
.update-info {
    background: #fff3e0;
    padding: 25px;
    border-radius: 8px;
    margin-top: 25px;
    border-left: 4px solid #ff9800;
}

.update-info h4 {
    color: #e65100;
    margin-bottom: 15px;
}

/* Service Cards */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.service-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: #e8f5e9;
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2rem;
    color: #4caf50;
    margin-bottom: 15px;
}

.service-card h5 {
    color: #2c5f2d;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.9rem;
    margin: 0;
}

/* Process Timeline */
.process-timeline {
    position: relative;
    margin: 40px 0;
    padding: 20px 0;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.timeline-item:not(:last-child):after {
    content: "";
    position: absolute;
    left: 20px;
    top: 50px;
    width: 2px;
    height: 40px;
    background: #e0e0e0;
}

.timeline-icon {
    width: 40px;
    height: 40px;
    background: #4caf50;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
}

.timeline-content h5 {
    color: #2c5f2d;
    margin-bottom: 5px;
}

.timeline-content p {
    margin: 0;
    font-size: 0.95rem;
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.payment-method {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.payment-method:hover {
    background: #e8f5e9;
    transform: translateY(-5px);
}

.payment-method i {
    font-size: 2rem;
    color: #4caf50;
    margin-bottom: 15px;
}

.payment-method h5 {
    color: #2c5f2d;
    margin-bottom: 10px;
}

.payment-method p {
    font-size: 0.9rem;
    margin: 0;
    color: #666;
}

/* Delivery Info */
.delivery-info {
    margin: 25px 0;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
}

.info-item i {
    font-size: 1.5rem;
    color: #4caf50;
    margin-top: 5px;
}

.info-item h5 {
    color: #2c5f2d;
    margin-bottom: 10px;
}

.info-item p {
    margin: 0;
}

/* Return Conditions */
.return-conditions {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #4caf50;
}

.return-conditions h5 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.return-conditions ul {
    list-style: none;
    padding: 0;
}

.return-conditions ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

.return-conditions ul li:before {
    content: "•";
    position: absolute;
    left: 10px;
    color: #4caf50;
    font-weight: bold;
}

/* Warranty Coverage */
.warranty-coverage {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.coverage-item {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
}

.coverage-item:first-child {
    border-color: #4caf50;
    background: #f1f8e9;
}

.coverage-item:last-child {
    border-color: #ff9800;
    background: #fff3e0;
}

.coverage-item i {
    font-size: 2rem;
    margin-bottom: 15px;
}

.coverage-item h5 {
    margin-bottom: 15px;
}

/* Agreement Box */
.agreement-box {
    background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
    padding: 30px;
    border-radius: 10px;
    border: 2px solid #4caf50;
    text-align: center;
    margin-top: 40px;
}

.agreement-box h3 {
    color: #2c5f2d;
    margin-bottom: 20px;
}

.agreement-box p {
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .legal-sidebar {
        position: static;
        margin-bottom: 30px;
    }

    .legal-text {
        padding: 25px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .rights-grid {
        grid-template-columns: 1fr;
    }

    .security-measures {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .legal-text {
        padding: 20px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .legal-content {
        padding: 40px 0;
    }

    .service-cards,
    .payment-methods {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .timeline-icon {
        margin-bottom: 15px;
    }

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