/* ========================================
   TOPBOOKKEEPER AU - COMPLETE STYLESHEET
   Mobile-First Responsive Design
======================================== */

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

:root {
    --primary-color: #004aad;
    --primary-dark: #003080;
    --secondary-color: #00b4d8;
    --accent-color: #ffa500;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --error-color: #dc3545;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 16px;
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

p {
    margin-bottom: 1rem;
}

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ----- HEADER & NAVIGATION ----- */
#main-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo span {
    color: var(--accent-color);
}

#main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

#main-nav a {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.3s ease;
}

#main-nav a:hover,
#main-nav a.active {
    background: var(--primary-dark);
}

. mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    . mobile-menu-toggle {
        display: block;
    }
    
    #main-nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        flex-direction: column;
        gap: 0;
        display: none;
        padding: 1rem 0;
    }
    
    #main-nav ul.show {
        display: flex;
    }
    
    #main-nav a {
        display: block;
        padding: 1rem 20px;
    }
}

/* ----- HERO SECTION ----- */
#hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
    position: relative;
}

. hero-overlay {
    background: rgba(0,0,0,0.2);
    padding: 3rem 1rem;
}

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

#hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ----- BUTTONS ----- */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

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

. btn-primary:hover {
    background: #ff8c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,165,0,0.3);
}

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

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

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* ----- SERVICES OVERVIEW ----- */
#services-overview {
    padding: 5rem 0;
    background: var(--white);
}

#services-overview h2 {
    text-align: center;
    font-size: 2. 5rem;
    margin-bottom: 0.5rem;
}

. section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

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

.service-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

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

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

.cta-center {
    text-align: center;
    margin-top: 3rem;
}

/* ----- WHY CHOOSE US ----- */
#why-choose {
    background: var(--bg-light);
    padding: 5rem 0;
}

#why-choose h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.feature {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.feature h3 {
    color: var(--success-color);
    font-size: 1.2rem;
}

/* ----- TESTIMONIALS ----- */
#testimonials {
    padding: 5rem 0;
    background: var(--white);
}

#testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.testimonial {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    font-style: italic;
}

.testimonial cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: 600;
    color: var(--primary-color);
}

/* ----- FINAL CTA ----- */
#final-cta {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

#final-cta h2 {
    color: var(--white);
    font-size: 2.2rem;
}

#final-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ----- PAGE HEADER ----- */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
}

.page-header p {
    font-size: 1.1rem;
}

/* ----- SERVICES DETAIL PAGE ----- */
. services-detail {
    padding: 4rem 0;
}

.service-detail {
    background: var(--bg-light);
    padding: 2. 5rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
}

.service-detail h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-detail ul {
    margin: 1. 5rem 0;
    padding-left: 1.5rem;
}

.service-detail li {
    margin-bottom: 0.7rem;
    color: var(--text-dark);
}

.link-primary {
    color: var(--accent-color);
    font-weight: 600;
}

. link-primary:hover {
    text-decoration: underline;
}

/* ----- ABOUT PAGE ----- */
.about-content {
    padding: 4rem 0;
}

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

.checkmark-list {
    list-style: none;
    padding-left: 0;
}

.checkmark-list li {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.service-list {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
    padding-left: 1.5rem;
}

@media (max-width: 768px) {
    .service-list {
        columns: 1;
    }
}

/* ----- CONTACT PAGE ----- */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1. 5fr;
    gap: 3rem;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 1. 5rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* ----- FORM STYLING ----- */
.contact-form-wrapper {
    background: var(--bg-light);
    padding: 2. 5rem;
    border-radius: 10px;
}

.contact-form-wrapper h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

. 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,
. form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0. 3s ease;
}

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

. form-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 1rem;
    text-align: center;
}

/* ----- ALERTS ----- */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 5px;
    margin-bottom: 1. 5rem;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ----- FOOTER ----- */
footer {
    background: #1a1a1a;
    color: #cccccc;
    padding: 3rem 0 1rem;
}

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

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

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

.footer-col a {
    color: #cccccc;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

. footer-bottom a {
    color: #999;
}

/* ----- RESPONSIVE ADJUSTMENTS ----- */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1. 3rem; }
    
    #hero h2 {
        font-size: 1.8rem;
    }
    
    #hero p {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    . container {
        padding: 0 15px;
    }
    
    #hero {
        padding: 3rem 0;
    }
    
    . service-card,
    .service-detail,
    .contact-form-wrapper {
        padding: 1. 5rem;
    }
}
/* ----- RECAPTCHA INFO ----- */
.recaptcha-info {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 1rem 0;
    line-height: 1.4;
}

.recaptcha-info a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ----- BUTTON LOADING STATE ----- */
.btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* ----- ALERT IMPROVEMENTS ----- */
.alert {
    padding: 1.2rem 1.5rem;
    border-radius: 6px;
    margin-bottom: 1. 5rem;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.5;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-left: 4px solid #28a745;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-left: 4px solid #dc3545;
}

/* ----- FORM ENHANCEMENTS ----- */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.1);
}

. form-group input:required:invalid,
.form-group textarea:required:invalid {
    border-color: var(--border-color);
}

.form-group input:required:valid,
. form-group textarea:required:valid {
    border-color: #28a745;
}