:root {
    --primary-color: #003366;
    --secondary-color: #f1c40f;
    --text-color: #333;
    --light-bg: #f4f4f4;
    --white: #ffffff;
    --container-width: 1200px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif, 'Microsoft JhengHei';
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .contact-info {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.top-bar .contact-info .contact-link {
    color: var(--white);
    text-decoration: none;
}

.top-bar .contact-info .contact-link:hover {
    text-decoration: underline;
}

.top-bar .contact-info .contact-link i {
    margin-right: 5px;
    color: var(--secondary-color);
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.navbar .logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 24px;
    font-weight: bold;
}

.navbar .logo img {
    height: 50px;
    margin-right: 10px;
}

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

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

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,51,102,0.8), rgba(0,51,102,0.8)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

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

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #d4ac0d;
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card a {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.services-grid-three {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin: 20px 0 40px;
}

.card-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

.card-actions a {
    margin-top: 0;
}

.service-card a.btn {
    color: var(--white);
}

.btn-small {
    padding: 10px 18px;
    font-size: 14px;
}

.pricing-table {
    background: var(--white);
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 10px 0 40px;
}

.pricing-table h3 {
    color: var(--primary-color);
    margin-bottom: 16px;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

.pricing-table table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
    border: 1px solid #e8e8e8;
    padding: 14px 12px;
    text-align: center;
    vertical-align: middle;
}

.pricing-table th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 700;
}

.pricing-table tbody tr:nth-child(even) td {
    background-color: #fafafa;
}

.table-note {
    margin-top: 16px;
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 20px 0 40px;
}

.step-card {
    background: var(--white);
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.step-no {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    font-weight: 800;
    margin-bottom: 10px;
}

.step-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.faq-list {
    margin-top: 10px;
    display: grid;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 16px;
}

.faq-item h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 16px;
}

.faq-item p {
    margin-bottom: 0;
}

/* About Us */
.about-us {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.about-us .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-us--reverse .container {
    flex-direction: row-reverse;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-content p {
    margin-bottom: 15px;
}

.about-img {
    flex: 1;
}

.about-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Pricing Summary */
.pricing-summary {
    padding: 80px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.pricing-card {
    background-color: var(--white);
    padding: 30px;
    text-align: center;
    border: 1px solid #eee;
    border-radius: 10px;
}

.pricing-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.pricing-card .price {
    font-size: 24px;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 5px;
}

/* Page Specific Styles */
.page-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header--about {
    background: linear-gradient(rgba(0, 51, 102, 0.75), rgba(0, 51, 102, 0.75)), url('../img/about2.jpg');
    background-size: cover;
    background-position: center;
}

.page-header--incorporation {
    background: linear-gradient(rgba(0, 51, 102, 0.75), rgba(0, 51, 102, 0.75)), url('../img/about2.webp');
    background-size: cover;
    background-position: center;
}

.page-header--secretary {
    background: linear-gradient(rgba(0, 51, 102, 0.75), rgba(0, 51, 102, 0.75)), url('../img/about4.jpg');
    background-size: cover;
    background-position: center;
}

.page-header--virtual-office {
    background: linear-gradient(rgba(0, 51, 102, 0.75), rgba(0, 51, 102, 0.75)), url('../img/about5.jpg');
    background-size: cover;
    background-position: center;
}

.page-header--accounting {
    background: linear-gradient(rgba(0, 51, 102, 0.75), rgba(0, 51, 102, 0.75)), url('../img/about6.jpg');
    background-size: cover;
    background-position: center;
}

.page-header--audit {
    background: linear-gradient(rgba(0, 51, 102, 0.75), rgba(0, 51, 102, 0.75)), url('../img/about7.jpg');
    background-size: cover;
    background-position: center;
}

.page-header--tax {
    background: linear-gradient(rgba(0, 51, 102, 0.75), rgba(0, 51, 102, 0.75)), url('../img/about8.jpg');
    background-size: cover;
    background-position: center;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-header h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.page-header p {
    margin-bottom: 16px;
}

.btn-whatsapp {
    background-color: #25d366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background-color: #1ebe5d;
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #25d366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    z-index: 3000;
}

.whatsapp-float i {
    font-size: 28px;
}

.whatsapp-float:hover {
    background-color: #1ebe5d;
}

.whatsapp-float:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 3px;
}

.page-content {
    padding: 60px 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.content-wrapper p {
    margin-bottom: 20px;
}

.service-details {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
}

.service-details h3 {
    margin-bottom: 15px;
}

.service-details ul {
    list-style-position: inside;
    margin-left: 10px;
}

.service-details ul li {
    margin-bottom: 10px;
}

.pricing-info {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    border: 2px dashed var(--primary-color);
    border-radius: 10px;
}

.price-tag {
    font-size: 32px;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background-color: #222;
    color: #ccc;
    padding: 60px 0 20px;
}

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

.footer h3 {
    color: var(--white);
    margin-bottom: 20px;
}

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

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

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar .container {
        padding: 10px 20px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

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

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

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

    .about-us .container {
        flex-direction: column;
    }

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

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

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 1024px) {
    .services-grid-three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
