/* 
 * Public Pages Common Styles
 * Used by all public-facing pages (welcome, login, signup, register, documentation, etc.)
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 24px;
    color: #333;
    line-height: 1.7;
    overflow-x: hidden;
    padding-top: 70px;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */
.top-navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.top-navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.top-navbar-brand {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    line-height: 1;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.top-navbar-brand i {
    font-size: 26px;
    margin-right: 10px;
    line-height: 1;
}

.top-navbar-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.top-navbar-menu li {
    margin-left: 20px;
    list-style: none;
}

.top-navbar-menu a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.top-navbar-menu a:hover {
    color: #fff;
}

.top-navbar-toggle {
    display: none;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.top-navbar-toggle:hover {
    background: rgba(255,255,255,0.2);
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0;
    color: #fff;
    text-align: center;
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

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

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.content-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.doc-card,
.legal-content {
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.doc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.doc-card h3,
.legal-content h2 {
    color: #667eea;
    font-size: 3.5rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.legal-content h2 {
    color: #48bb78;
    margin-top: 40px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.doc-card h4,
.legal-content h3 {
    color: #333;
    font-size: 2.8rem;
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: 600;
}

.doc-card p,
.legal-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 2rem;
}

.doc-card ul,
.doc-card ol,
.legal-content ul,
.legal-content ol {
    margin-left: 35px;
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
    font-size: 1.9rem;
}

.doc-card ul li,
.doc-card ol li,
.legal-content ul li,
.legal-content ol li {
    margin-bottom: 15px;
}

.doc-icon {
    font-size: 4.5rem;
    color: #667eea;
    margin-bottom: 25px;
}

/* ============================================
   TABLES
   ============================================ */
.sla-table,
table {
    width: 100%;
    margin: 25px 0;
    border-collapse: collapse;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.sla-table thead,
table thead {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: #fff;
}

.sla-table th,
.sla-table td,
table th,
table td {
    padding: 18px 25px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1.7rem;
}

.sla-table th,
table th {
    font-weight: 600;
    font-size: 1.9rem;
}

.sla-table td,
table td {
    background: #fff;
}

.sla-table tbody tr:hover,
table tbody tr:hover {
    background: #f8f9fa;
}

/* ============================================
   SPECIAL BOXES
   ============================================ */
.last-updated {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 40px;
    border-left: 4px solid #48bb78;
}

.last-updated p {
    margin: 0;
    font-size: 1.8rem;
}

.highlight-box {
    background: #e6fffa;
    border-left: 4px solid #48bb78;
    padding: 25px;
    border-radius: 8px;
    margin: 25px 0;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.stat-label {
    font-size: 1.8rem;
    opacity: 0.95;
    color: #fff;
}

/* ============================================
   ABOUT/COMPANY PAGES
   ============================================ */
.about-card {
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.about-card h2 {
    color: #667eea;
    font-size: 3.5rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.about-card h3 {
    color: #333;
    font-size: 2.8rem;
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: 600;
}

.about-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 2rem;
}

.about-card ul {
    margin-left: 35px;
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
    font-size: 1.9rem;
}

.about-card ul li {
    margin-bottom: 15px;
}

/* ============================================
   BLOG PAGES
   ============================================ */
.blog-post {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.blog-image {
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image i {
    font-size: 5rem;
    color: #fff;
}

.blog-content {
    padding: 40px;
}

.blog-category {
    display: inline-block;
    background: #667eea;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.blog-post h2 {
    color: #333;
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.blog-meta {
    color: #999;
    font-size: 1.6rem;
    margin-bottom: 25px;
}

.blog-meta span {
    margin-right: 25px;
}

.blog-meta i {
    margin-right: 8px;
}

.blog-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.9rem;
}

.read-more {
    color: #667eea;
    font-weight: 600;
    font-size: 1.7rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #764ba2;
    text-decoration: none;
}

.read-more i {
    margin-left: 8px;
}

/* ============================================
   CAREERS PAGES
   ============================================ */
.job-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    padding: 40px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.job-title {
    color: #333;
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.job-meta {
    color: #999;
    font-size: 1.7rem;
    margin-bottom: 20px;
}

.job-meta span {
    margin-right: 25px;
}

.job-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.9rem;
}

.btn-apply {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    font-size: 1.7rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(72, 187, 120, 0.4);
    color: #fff;
    text-decoration: none;
}

/* ============================================
   PARTNERS PAGES
   ============================================ */
.partner-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    padding: 40px;
    margin-bottom: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.partner-logo {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.partner-logo i {
    font-size: 4.5rem;
    color: #667eea;
}

.partner-card h3 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.partner-card p {
    color: #666;
    line-height: 1.8;
    font-size: 1.8rem;
}

/* ============================================
   CONTACT FORMS
   ============================================ */
.contact-form {
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.form-group label {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: block;
}

.form-control {
    font-size: 1.7rem;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

textarea.form-control {
    min-height: 150px;
}

.btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* ============================================
   CODE BLOCKS
   ============================================ */
code {
    background: #f4f4f4;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #e74c3c;
    font-size: 1.6rem;
}

pre {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 25px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 25px 0;
    font-size: 1.6rem;
}

pre code {
    background: transparent;
    color: #ecf0f1;
    padding: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 60px 0 20px;
}

.footer h5 {
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 2.4rem;
}

.footer p {
    font-size: 1.7rem;
    line-height: 1.8;
}

.footer a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.7rem;
}

.footer a:hover {
    color: #fff;
    text-decoration: none;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
    font-size: 1.7rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    color: #95a5a6;
    font-size: 1.6rem;
}

.social-icons a {
    display: inline-block;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
    font-size: 1.6rem;
}

.social-icons a:hover {
    background: #667eea;
    transform: translateY(-3px);
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    body {
        font-size: 20px;
    }
    
    .top-navbar .container {
        position: relative;
    }
    
    .top-navbar-toggle {
        display: block;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .top-navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        z-index: 1000;
    }
    
    .top-navbar-menu.active {
        display: flex;
    }
    
    .top-navbar-menu li {
        margin: 10px 0;
        margin-left: 0;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .doc-card h3,
    .legal-content h2 {
        font-size: 2.8rem;
    }
    
    .doc-card h4,
    .legal-content h3 {
        font-size: 2.2rem;
    }
    
    .doc-card p,
    .legal-content p {
        font-size: 1.6rem;
    }
    
    .doc-card ul,
    .doc-card ol,
    .legal-content ul,
    .legal-content ol {
        font-size: 1.5rem;
    }
    
    .doc-card,
    .legal-content {
        padding: 30px 20px;
    }
}

