/*
Theme Name: Accounting & Taxation
Theme URI: https://yoursite.com
Author: Your Name
Author URI: https://yoursite.com
Description: A professional accounting and taxation services theme with full customization
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: accounting-taxation
*/

:root {
    --primary-color: #10b981;
    --secondary-color: #1e3a8a;
    --text-color: #333;
    --background-color: #ffffff;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background: var(--background-color);
}

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

/* Navigation */
nav {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 14px;
    font-weight: bold;
    color: var(--primary-color);
}

.logo span {
    display: block;
    font-size: 10px;
    color: #666;
}

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

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: color 0.3s;
}

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

.btn-quote {
    background: var(--primary-color);
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.btn-quote:hover {
    background: #059669;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #0f172a 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: #059669;
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 15px 35px;
    border: 2px solid white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

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

/* Services Section */
.services {
    padding: 80px 0;
    background: #f9fafb;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.services-intro {
    text-align: right;
    margin-bottom: 40px;
}

.services-intro h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.services-intro p {
    color: #666;
    font-size: 14px;
}

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

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-image {
    width: 100%;
    height: 200px;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.service-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-book {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.btn-book:hover {
    gap: 10px;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 30px;
    line-height: 1.3;
    color: var(--text-color);
}

.about-text p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-image {
    width: 100%;
    height: 400px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Testimonial Section */
.testimonials {
    padding: 80px 0;
    background: #f9fafb;
}

.testimonials-slider {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    align-items: center;
    width: 100%;
}

.testimonial-avatar {
    width: 120px;
    height: 120px;
    background: #e5e7eb;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    flex: 1;
}

.testimonial-content h4 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--text-color);
}

.testimonial-role {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 10px;
}

.stars {
    color: #fbbf24;
    margin-bottom: 15px;
    font-size: 18px;
}

.testimonial-text {
    color: #666;
    line-height: 1.8;
}

.quote-icon {
    color: var(--primary-color);
    font-size: 48px;
    margin-left: auto;
    flex-shrink: 0;
    opacity: 0.3;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.find-us h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-color);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-color);
}

.contact-details p {
    color: #666;
    font-size: 14px;
}

.contact-form-wrapper {
    background: #f9fafb;
    padding: 40px;
    border-radius: 10px;
}

.contact-form-header {
    margin-bottom: 30px;
}

.form-subtitle {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form-header h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.form-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

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

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

.submit-btn {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background: #059669;
}

/* Contact Form 7 Styling */
.wpcf7-form p {
    margin-bottom: 20px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
}

.wpcf7-form input[type="submit"] {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

.wpcf7-form input[type="submit"]:hover {
    background: #059669;
}

/* Footer */
.modern-footer {
    background: #0f172a;
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 18px;
    line-height: 1.4;
}

.footer-brand p {
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.8;
}

.footer-column h4 {
    margin-bottom: 15px;
    font-size: 16px;
    color: white;
}

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

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

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

.payment-methods {
    margin-top: 30px;
}

.payment-label {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 10px;
}

.payment-icons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.payment-badge {
    background: #1e293b;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    color: white;
}

.social-section {
    margin-top: 30px;
}

.social-label {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: #1e293b;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.social-icon:hover {
    background: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #1e293b;
    color: #9ca3af;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .about-content,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .quote-icon {
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .about-text h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 24px;
    }

    .services,
    .about,
    .testimonials,
    .contact {
        padding: 60px 0;
    }

    .contact-form-wrapper {
        padding: 20px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 25px;
        font-size: 14px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.testimonial-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.p-20 {
    padding: 20px;
}