/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

:root {
    --primary-blue: #004e92;
    --dark-blue: #000428;
    --accent-gold: #f9d423;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --radius: 8px;
}

/* Global Styles for Custom Template */
#accounting-custom-home {
    font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

#accounting-custom-home h1,
#accounting-custom-home h2,
#accounting-custom-home h3,
#accounting-custom-home h4 {
    font-family: 'Montserrat', sans-serif;
    /* Assuming Flatsome loads this or similar */
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Section Common */
.section {
    padding: 80px 0;
    position: relative;
}

.section-badge {
    display: inline-block;
    background: rgba(0, 78, 146, 0.1);
    color: var(--primary-blue);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.title-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-blue), var(--accent-gold));
    margin: 15px 0 20px;
    border-radius: 2px;
}

.title-divider.center {
    margin: 15px auto 20px;
}

.title-divider.white {
    background: var(--white);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin-bottom: 30px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Hero Section */
.accounting-hero {
    height: 85vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    background-attachment: fixed;
    /* Parallax effect */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 4, 40, 0.9) 0%, rgba(0, 78, 146, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.highlight-text {
    color: var(--accent-gold);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
}

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

.btn {
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(to right, var(--primary-blue), #0061b0);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 78, 146, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 78, 146, 0.6);
    color: var(--white);
}

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

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

/* About Section */
.about-section {
    background-color: var(--white);
}

.features-list {
    margin-top: 30px;
}

.feature-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 78, 146, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-text strong {
    display: block;
    font-size: 1.1rem;
    color: var(--dark-blue);
    margin-bottom: 5px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-box {
    background: var(--bg-light);
    padding: 30px 20px;
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.stat-box:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--accent-gold);
    transform: translateY(-5px);
}

.stat-box i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-blue);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-name {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 600;
}

/* Services Section */
.services-section {
    background-color: #f0f4f8;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-blue), var(--accent-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-card:hover .card-icon {
    background: var(--primary-blue);
    color: var(--white);
}

.card-title {
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.card-desc {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.card-link {
    color: var(--primary-blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.card-link:hover {
    gap: 12px;
    color: var(--dark-blue);
}

/* Process Section */
.process-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
}

.process-step {
    text-align: center;
    padding: 20px;
    position: relative;
}

.step-num {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
    margin-bottom: -20px;
    position: relative;
    z-index: 1;
}

.process-step h4 {
    font-size: 1.3rem;
    color: var(--accent-gold);
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.process-step p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

/* Contact Section */
.contact-section {
    background-color: var(--white);
}

.contact-box {
    padding-right: 30px;
}

.contact-title {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.contact-list {
    margin-top: 30px;
}

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

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-top: 5px;
}

.hotline {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.form-box {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid #eee;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue);
    background: var(--white);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 78, 146, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

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

    .btn {
        width: 100%;
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        margin-top: 30px;
    }

    .contact-box {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .form-box {
        padding: 25px;
    }
}

/* --- NEW MODERN LAYOUT STYLES --- */

/* Hero Section Refined */
.hero-text-box {
    background: rgba(0, 51, 102, 0.85);
    padding: 40px;
    border-radius: 0 30px 0 30px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 700px;
    margin: 0 auto;
}

.hero-tag {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--dark-blue);
    padding: 5px 15px;
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 20px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.btn-white {
    background: var(--white);
    color: var(--primary-blue);
    border: none;
    font-weight: 700;
}

.btn-white:hover {
    background: #eee;
    transform: translateY(-3px);
}

/* Intro Section */
.intro-section {
    background: var(--white);
    padding: 100px 0;
}

.intro-image-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.intro-img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.intro-image-box:hover .intro-img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--accent-gold);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.experience-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--dark-blue);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--dark-blue);
}

.sub-title {
    color: var(--accent-gold);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

.intro-features {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.intro-feature {
    display: flex;
    gap: 15px;
}

.intro-feature .icon-box {
    width: 50px;
    height: 50px;
    background: rgba(0, 78, 146, 0.1);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.intro-feature h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-blue);
}

.intro-feature p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.btn-link {
    color: var(--primary-blue);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid var(--accent-gold);
    padding-bottom: 5px;
    transition: all 0.3s;
}

.btn-link:hover {
    gap: 15px;
    color: var(--dark-blue);
}

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

.service-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.service-inner {
    padding: 40px 30px;
    text-align: left;
}

.service-item .service-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.service-item:hover .service-icon {
    color: var(--accent-gold);
    transform: scale(1.1);
}

.service-item h3 {
    font-size: 1.4rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.read-more {
    margin-top: 20px;
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
}

.read-more i {
    transition: transform 0.3s;
}

.service-item:hover .read-more i {
    transform: translateX(5px);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.9)), url('assets/images/hero.png');
    background-size: cover;
    background-attachment: fixed;
    color: white;
    padding: 80px 0;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-gold {
    background: var(--accent-gold);
    color: var(--dark-blue);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    transition: all 0.3s;
}

.btn-gold:hover {
    background: white;
    transform: scale(1.05);
}

/* Contact Modern */
.contact-info-box {
    background: var(--primary-blue);
    color: white;
    padding: 40px;
    border-radius: 20px;
    height: 100%;
}

.box-title {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.info-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.info-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.info-list i {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-top: 5px;
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid #eee;
}

.form-title {
    color: var(--dark-blue);
    margin-bottom: 30px;
}

.modern-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.modern-form .form-col {
    flex: 1;
}

.modern-form input,
.modern-form select,
.modern-form textarea {
    width: 100%;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s;
}

.modern-form input:focus,
.modern-form select:focus,
.modern-form textarea:focus {
    background: white;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(0, 78, 146, 0.1);
    outline: none;
}

@media (max-width: 768px) {
    .modern-form .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .hero-text-box {
        padding: 30px 20px;
        margin: 0 15px;
    }

    .intro-features {
        flex-direction: column;
    }
}