/* ========================================
   DOOR SUPERVISOR EXAM PRACTICE WEBSITE
   Professional Styling with Logo
   ======================================== */

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1E88E5;
    --primary-dark: #1565C0;
    --primary-light: #42A5F5;
    --secondary-color: #26A69A;
    --accent-color: #FF7043;
    --text-dark: #2C3E50;
    --text-light: #5A6C7D;
    --background: #F5F7FA;
    --white: #FFFFFF;
    --border: #E0E0E0;
    --success: #26A69A;
    --warning: #FF7043;
    --error: #E53935;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ========== LOGO STYLING ========== */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.hero-logo {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    margin-bottom: 1rem;
}

/* ========== HEADER & NAVIGATION ========== */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .logo {
        flex-direction: column;
        text-align: center;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .logo-img {
        width: 60px;
        height: 60px;
    }
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
    text-decoration: none;
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* ========== HERO SECTION ========== */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.hero h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }

    .hero-logo {
        width: 100px;
        height: 100px;
    }
}

/* ========== FEATURES SECTION ========== */
.features {
    padding: 80px 20px;
    background-color: var(--white);
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* ========== ABOUT SECTION ========== */
.about {
    padding: 80px 20px;
    background-color: var(--background);
}

.about h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.about p {
    max-width: 800px;
    margin: 0 auto 1rem auto;
    text-align: center;
    font-size: 1.1rem;
}

.disclaimer-note {
    background-color: #FFF3E0;
    padding: 1rem;
    border-left: 4px solid var(--accent-color);
    border-radius: 4px;
    margin-top: 2rem;
}

/* ========== PRICING SECTION ========== */
.pricing {
    padding: 80px 20px;
    background-color: var(--white);
}

.pricing h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-card {
    max-width: 400px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    text-align: center;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}

.price-description {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

/* ========== LEGAL LINKS SECTION ========== */
.legal-links {
    padding: 60px 20px;
    background-color: var(--background);
}

.legal-links h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.legal-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--text-dark);
}

.legal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    text-decoration: none;
}

.legal-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* ========== LEGAL CONTENT PAGES ========== */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.legal-content h1 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.last-updated {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--border);
    padding-bottom: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.legal-section h3 {
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.important-notice {
    background-color: #E3F2FD;
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.warning-box {
    background-color: #FFEBEE;
    border-left: 4px solid var(--error);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.contact-box {
    background-color: var(--background);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.note {
    background-color: #FFF9C4;
    padding: 1rem;
    border-left: 4px solid #FBC02D;
    border-radius: 4px;
    margin: 1rem 0;
    font-size: 0.95rem;
}

.cta-section {
    background-color: var(--background);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 3rem;
    text-align: center;
}

.cta-section p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* ========== FORMS ========== */
.form-container {
    background-color: var(--background);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.deletion-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input[type="email"],
.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

.form-group small {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.hidden {
    display: none;
}

/* ========== FAQ ITEMS ========== */
.faq-item {
    background-color: var(--background);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-large {
    font-size: 1.3rem;
}

/* ========== FOOTER ========== */
footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 3rem 20px 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
    text-decoration: underline;
}

.company-info {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .hero {
        padding: 60px 20px;
    }
    
    .features,
    .about,
    .pricing,
    .legal-links {
        padding: 60px 20px;
    }
    
    .legal-content {
        padding: 40px 20px;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    
    .feature-grid,
    .legal-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 1rem auto;
        display: block;
    }
}

/* ========== UTILITIES ========== */
.text-center {
    text-align: center;
}

.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-3 { margin-bottom: 3rem; }
