/* LiteracyAI - Complete Styles with Mobile Fixes Included */

:root {
    --primary-black: #000000;
    --primary-gold: #D4AF37;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #ffffff;
    --bg-dark: #0a0a0a;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
}

/* Navigation */
nav {
    background: var(--primary-black);
    padding: 20px 50px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    color: var(--primary-gold);
    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 15px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-gold);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a1a 100%);
    color: white;
    padding: 120px 50px;
    text-align: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 900px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 22px;
    color: #cccccc;
    margin-bottom: 40px;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 16px 35px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--primary-gold);
    color: var(--primary-black);
}

.btn-primary:hover {
    background: #c19b2e;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-black);
}

/* Sections */
.section {
    padding: 80px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    color: var(--text-dark);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
    border-color: var(--primary-gold);
}

.service-card h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-gold);
    margin: 20px 0;
}

.service-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
    margin: 20px 0;
}

.service-features li {
    padding: 8px 0;
    color: var(--text-light);
}

.service-features li:before {
    content: "✓ ";
    color: var(--primary-gold);
    font-weight: bold;
    margin-right: 10px;
}

/* Team Section */
.team-section {
    background: #fafafa;
    padding: 80px 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 50px;
}

.team-member {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.team-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 25px;
    border: 3px solid var(--primary-gold);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-photo.arma-photo img {
    object-position: center 65%;
}

.team-photo.marlon-photo img {
    object-position: center 30%;
}

.team-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.team-title {
    font-size: 16px;
    color: var(--primary-gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.team-education {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    font-style: italic;
}

.team-description {
    color: var(--text-light);
    line-height: 1.7;
}

/* Contact Form */
.contact-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 30px;
}

.contact-form {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
footer {
    background: var(--primary-black);
    color: white;
    padding: 60px 50px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-section h4 {
    color: var(--primary-gold);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section p,
.footer-section a {
    color: #cccccc;
    text-decoration: none;
    line-height: 2;
    font-size: 14px;
}

.footer-section a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #888;
    font-size: 14px;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--primary-black);
    color: white;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    max-width: 900px;
    margin: 0 auto;
}

#cookie-banner p {
    margin: 0;
    flex: 1;
    margin-right: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-buttons button {
    padding: 10px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

#accept-cookies {
    background: var(--primary-gold);
    color: var(--primary-black);
}

#accept-cookies:hover {
    background: #c19b2e;
}

#decline-cookies {
    background: transparent;
    color: white;
    border: 2px solid white;
}

#decline-cookies:hover {
    background: white;
    color: var(--primary-black);
}

.hidden {
    display: none !important;
}

/* Chatbot */
#chatbot-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gold);
    color: var(--primary-black);
    border: none;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    z-index: 999;
    transition: all 0.3s;
}

#chatbot-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.6);
}

#chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    height: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

#chatbot-header {
    background: var(--primary-black);
    color: white;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#chatbot-header h3 {
    margin: 0;
    font-size: 18px;
}

#close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

#chatbot-messages p {
    margin-bottom: 15px;
    line-height: 1.6;
}

#chatbot-form {
    padding: 20px;
    border-top: 1px solid #eee;
}

#chatbot-form input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 14px;
}

#chatbot-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 14px;
    min-height: 80px;
    resize: vertical;
}

#chatbot-form button {
    width: 100%;
    padding: 12px;
    background: var(--primary-gold);
    color: var(--primary-black);
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

#chatbot-form button:hover {
    background: #c19b2e;
}


/* ========================================
   MOBILE RESPONSIVENESS - ALL FIXES INCLUDED
   ======================================== */

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
    max-width: 100vw;
}

@media (max-width: 768px) {
    /* Hero Section */
    .hero {
        padding: 60px 20px !important;
        min-height: auto !important;
    }
    
    .hero-content {
        max-width: 100% !important;
        padding: 0 10px !important;
    }
    
    .hero-title {
        font-size: 32px !important;
        line-height: 1.2 !important;
        margin-bottom: 20px !important;
    }
    
    .hero-subtitle {
        font-size: 18px !important;
        line-height: 1.5 !important;
        margin-bottom: 30px !important;
    }
    
    .hero-buttons {
        flex-direction: column !important;
        gap: 15px !important;
        width: 100% !important;
    }
    
    .hero-buttons .btn {
        width: 100% !important;
        text-align: center !important;
        padding: 15px 25px !important;
    }
    
    /* Team Photos */
    .team-section {
        padding: 40px 20px !important;
    }
    
    .team-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        max-width: 400px !important;
        margin: 0 auto !important;
    }
    
    .team-member {
        text-align: center !important;
        padding: 20px !important;
    }
    
    .team-photo {
        width: 200px !important;
        height: 200px !important;
        margin: 0 auto 20px !important;
        border: 4px solid #D4AF37 !important;
    }
    
    .team-photo img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    
    .team-photo.arma-photo img {
        object-position: center 65% !important;
    }
    
    .team-photo.marlon-photo img {
        object-position: center 30% !important;
    }
    
    .team-name {
        font-size: 22px !important;
        margin-bottom: 8px !important;
    }
    
    .team-title {
        font-size: 16px !important;
        margin-bottom: 15px !important;
    }
    
    .team-description {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
    
    /* Navigation */
    nav {
        padding: 15px 20px !important;
    }
    
    .nav-container {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }
    
    .logo {
        font-size: 22px !important;
    }
    
    .nav-links {
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
    }
    
    .nav-links a {
        width: 100% !important;
        padding: 12px 15px !important;
        text-align: left !important;
        border-left: 3px solid transparent !important;
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        border-left-color: #D4AF37 !important;
        background: rgba(212, 175, 55, 0.1) !important;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        padding: 0 20px !important;
    }
    
    .service-card {
        padding: 30px 20px !important;
    }
    
    .service-card h3 {
        font-size: 22px !important;
    }
    
    .service-price {
        font-size: 28px !important;
    }
    
    /* Contact Form */
    .contact-container {
        padding: 40px 20px !important;
    }
    
    .contact-form {
        padding: 30px 20px !important;
    }
    
    .form-group {
        margin-bottom: 20px !important;
    }
    
    input, textarea, button {
        font-size: 16px !important;
    }
    
    /* Footer */
    footer {
        padding: 40px 20px !important;
    }
    
    .footer-content {
        flex-direction: column !important;
        gap: 30px !important;
        text-align: center !important;
    }
    
    .footer-section {
        width: 100% !important;
    }
    
    /* Chatbot */
    #chatbot-button {
        width: 50px !important;
        height: 50px !important;
        bottom: 20px !important;
        right: 20px !important;
        font-size: 22px !important;
    }
    
    #chatbot-window {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        bottom: 0 !important;
        right: 0 !important;
        border-radius: 0 !important;
    }
    
    /* Cookie Banner */
    #cookie-banner {
        flex-direction: column !important;
        padding: 20px !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        border-radius: 0 !important;
    }
    
    #cookie-banner p {
        font-size: 14px !important;
        margin-bottom: 15px !important;
    }
    
    .cookie-buttons {
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
    }
    
    .cookie-buttons button {
        width: 100% !important;
    }
    
    /* Text Readability */
    body {
        font-size: 16px !important;
    }
    
    p {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }
    
    h1 {
        font-size: 32px !important;
    }
    
    h2 {
        font-size: 28px !important;
    }
    
    h3 {
        font-size: 22px !important;
    }
    
    * {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    /* Images */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    .container,
    .section {
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* Very Small Screens */
@media (max-width: 375px) {
    .hero-title {
        font-size: 28px !important;
    }
    
    .hero-subtitle {
        font-size: 16px !important;
    }
    
    .team-photo {
        width: 180px !important;
        height: 180px !important;
    }
    
    .service-card {
        padding: 20px 15px !important;
    }
}
