/* ============================================
   EVANTO FOOTER PAGES - CORPORATE STYLE CSS
   ============================================ */

/* Root Variables for Easy Customization */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --success-color: #27ae60;
    --warning-color: #f39c12;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    font-size: 16px;
}

/* Main Container */
.footer-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    min-height: calc(100vh - 200px);
}

/* Page Header Section */
.page-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 3px solid var(--secondary-color);
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: capitalize;
}

.page-header .subtitle {
    font-size: 1.1rem;
    color: #050505;
    font-weight: 400;
}

.page-header .last-updated {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 10px;
    font-style: italic;
}

/* Content Sections */
.content-section {
    margin-bottom: 40px;
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s ease;
}

.content-section:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.content-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-light);
    font-weight: 600;
}

.content-section h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.content-section h4 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-top: 20px;
    margin-bottom: 12px;
    font-weight: 600;
}

.content-section p {
    margin-bottom: 16px;
    text-align: justify;
    color: var(--text-color);
}

.content-section ul,
.content-section ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

.content-section li {
    margin-bottom: 10px;
    line-height: 1.8;
    color: var(--text-color);
}

.content-section strong {
    color: var(--primary-color);
    font-weight: 600;
}

.content-section a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.content-section a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Info Boxes */
.info-box {
    background: var(--bg-light);
    padding: 20px;
    border-left: 4px solid var(--secondary-color);
    margin: 25px 0;
    border-radius: 4px;
}

.info-box.warning {
    border-left-color: var(--warning-color);
    background: #fff9e6;
}

.info-box.success {
    border-left-color: var(--success-color);
    background: #e8f8f0;
}

.info-box.danger {
    border-left-color: var(--accent-color);
    background: #fef0ef;
}

/* Table Styles */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.data-table thead {
    background: var(--primary-color);
    color: var(--white);
}

.data-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.data-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
}

.data-table tbody tr:hover {
    background: var(--bg-light);
}

/* Contact Information */
.contact-info {
    background: var(--primary-color);
    color: var(--white);
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    width: 100%; /* ADD THIS */
    margin: 0 auto; /* Simplified */
    display: block; /* ADD THIS - ensures block-level element */
}


.contact-info h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 12px;
}

.contact-info a {
    color: var(--white);
    text-decoration: underline;
}

.contact-info a:hover {
    color: var(--bg-light);
}


/* Breadcrumb Navigation */
.breadcrumb {
    margin-bottom: 30px;
    padding: 12px 0;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--accent-color);
}

.breadcrumb span {
    margin: 0 8px;
    color: var(--text-light);
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--secondary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

#backToTop:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

#backToTop.show {
    display: flex;
}

/* Accordion Style (for FAQs) */
.accordion-item {
    border: 1px solid var(--border-color);
    margin-bottom: 10px;
    border-radius: 6px;
    overflow: hidden;
}

.accordion-header {
    background: var(--bg-light);
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-color);
    transition: background 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.accordion-header.active {
    background: var(--primary-color);
    color: var(--white);
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: var(--white);
}

.accordion-content.active {
    max-height: 1000px;
    padding: 20px;
}

/* Print Styles */
@media print {
    .breadcrumb,
    #backToTop,
    .no-print {
        display: none;
    }
    
    .content-section {
        box-shadow: none;
        page-break-inside: avoid;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    min-height: calc(100vh - 200px);
    width: 100%; /* Make sure this exists */
}
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 20px;
    }
    
    .content-section h2 {
        font-size: 1.6rem;
    }
    
    .content-section h3 {
        font-size: 1.3rem;
    }
    
    .data-table {
        font-size: 0.9rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 10px;
    }
    
    #backToTop {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.6rem;
    }
    
    .content-section h2 {
        font-size: 1.4rem;
    }
    
    .data-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* ============================================
   FOOTER SECTION STYLES
   ============================================ */

/* Footer Container */
.site-footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 50px 0 20px;
    margin-top: 60px;
    border-top: 4px solid var(--secondary-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

/* Footer Columns */
.footer-column h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.95rem;
}

.footer-column ul li a:hover {
    color: var(--white);
    padding-left: 5px;
    text-decoration: underline;
}

/* Footer Social Links */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    margin-top: 40px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Footer Newsletter Form */
.footer-newsletter {
    margin-top: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 4px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
}

.newsletter-form button {
    padding: 12px 25px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-column h3 {
        font-size: 1.2rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        padding: 0 15px;
    }
}
/* ============================================
   FOOTER SECTION - ADD THIS TO END OF CSS
   ============================================ */

.site-footer {
    background: #2c3e50;
    color: #ffffff;
    padding: 50px 0 20px;
    margin-top: 60px;
    border-top: 4px solid #3498db;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
