/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft JhengHei', 'PingFang TC', 'Noto Sans TC', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 50px;
    width: auto;
}

.company-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #3E4C5E;
    white-space: nowrap;
}

.nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #3E4C5E;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3E4C5E;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Language Switcher Dropdown */
.language-switcher {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.lang-dropdown {
    position: relative;
}

.lang-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #A8BCC8;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 90px;
}

.lang-dropdown-btn:hover {
    background: #8FA8B8;
    box-shadow: 0 2px 8px rgba(168, 188, 200, 0.3);
}

.lang-dropdown-btn.mobile {
    width: 100%;
    justify-content: space-between;
}

.lang-flag {
    font-size: 1.3rem;
    line-height: 1;
}

.lang-code {
    flex: 1;
    text-align: left;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.lang-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.lang-dropdown.active .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

.lang-option:hover {
    background: #E8EDF1;
}

.lang-option.active {
    background: #3E4C5E;
    color: #fff;
}

.lang-option.active:hover {
    background: #2A3644;
}

.lang-text {
    flex: 1;
}

/* Mobile Language Switcher */
.mobile-language-switcher {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.mobile-language-switcher .lang-dropdown {
    width: 100%;
}

.mobile-language-switcher .lang-dropdown-menu {
    position: relative;
    top: 0;
    margin-top: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: #3E4C5E;
    color: #fff;
    border-color: #3E4C5E;
}

.btn-primary:hover {
    background: #2A3644;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(62, 76, 94, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #3E4C5E;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-mobile {
    width: 100%;
    text-align: center;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 999;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-list {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

/* Logo Section */
.logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 0 2rem;
    background: #fff;
    margin-top: 70px;
}

.centered-logo {
    max-width: 200px;
    height: auto;
    width: 100%;
}

@media (max-width: 640px) {
    .logo-section {
        padding: 2rem 0 1.5rem;
        margin-top: 60px;
    }

    .centered-logo {
        max-width: 150px;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    max-height: 700px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('images/Hero.png');
    background-size: cover;
    /* Adjust crop area by changing background-position:
       Examples:
       - center top (show top of image)
       - center bottom (show bottom)
       - left center (show left side)
       - right center (show right side)
       - 30% 40% (custom: horizontal%, vertical%)
    */
    background-position: 50% 22%;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

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

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

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: #f8f9fa;
}

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

.service-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

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

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #3E4C5E 0%, #2A3644 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 35px;
    height: 35px;
    stroke: #fff;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.service-description {
    color: #666;
    line-height: 1.8;
}

/* Features Section */
.features {
    background: #fff;
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.features-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.features-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 500px;
}

.features-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #E8EDF1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: #3E4C5E;
}

.feature-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: #666;
    line-height: 1.8;
}

/* Testimonials Section */
.testimonials {
    background: #fff;
    overflow: hidden;
}

.testimonials-scroll-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1rem 0;
}

.testimonials-scroll-container::-webkit-scrollbar {
    display: none;
}

.testimonials-wrapper {
    display: flex;
    gap: 2rem;
    padding: 1rem 0.5rem;
    animation: scroll-testimonials 30s linear infinite;
    width: fit-content;
}

.testimonials-wrapper:hover {
    animation-play-state: paused;
}

@keyframes scroll-testimonials {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-350px * 4 - 2rem * 4));
    }
}

.testimonial-card {
    flex: 0 0 auto;
    width: 350px;
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.testimonial-quote {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3E4C5E 0%, #2A3644 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-quote svg {
    width: 28px;
    height: 28px;
    color: #fff;
}

.testimonial-text {
    color: #333;
    line-height: 1.8;
    font-size: 1rem;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #E8EDF1;
}

.author-avatar {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #E8EDF1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar svg {
    width: 28px;
    height: 28px;
    stroke: #3E4C5E;
}

.author-info {
    flex-grow: 1;
}

.author-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.author-role {
    font-size: 0.9rem;
    color: #666;
}

/* Contact Section */
.contact {
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
}

.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #3E4C5E;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
}

.info-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: #666;
    line-height: 1.8;
}

.info-content a {
    color: #3E4C5E;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: #2A3644;
}

.info-detail {
    font-size: 0.9rem;
    color: #999;
}

/* Contact Form */
.contact-form-wrapper {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3E4C5E;
}

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

.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
}

/* Maps Section - Two Locations */
.maps-section {
    margin-top: 3rem;
}

.maps-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.maps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 1rem;
}

.map-item {
    display: flex;
    flex-direction: column;
}

.map-location-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    flex-grow: 1;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    display: block;
}

.map-address {
    margin-top: 0.8rem;
    font-size: 0.95rem;
    text-align: center;
}

.map-address a {
    color: #e63946;
    text-decoration: none;
    transition: color 0.3s ease;
}

.map-address a:hover {
    color: #d62839;
    text-decoration: underline;
}

/* Responsive: Stack maps on mobile */
@media (max-width: 768px) {
    .maps-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .map-container iframe {
        height: 350px;
    }
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-logo {
    height: 60px;
    width: auto;
}

.footer-company-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.footer-brand p {
    color: #999;
}

.footer-nav h4,
.footer-social h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav a {
    color: #999;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #A8BCC8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #3E4C5E;
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
}

.social-links img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

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

/* Responsive Design - Tablet */
@media (max-width: 968px) {
    .nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .header-content .btn-primary {
        display: none;
    }

    .company-name {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .features-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .features-image {
        order: 1;
    }

    .features-text {
        order: 2;
    }

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

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 640px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 3rem 0;
    }

    .hero {
        min-height: 450px;
        max-height: 600px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

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

    .service-card {
        padding: 2rem;
    }

    .features-title {
        font-size: 1.8rem;
    }

    .feature-item {
        gap: 1rem;
    }

    .testimonial-card {
        width: 280px;
        padding: 2rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    @keyframes scroll-testimonials {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-280px * 4 - 2rem * 4));
        }
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    #map {
        height: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: auto;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Page Hero Section */
.page-hero {
    position: relative;
    height: 40vh;
    min-height: 300px;
    max-height: 400px;
    background: linear-gradient(135deg, #3E4C5E 0%, #2A3644 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 70px;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

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

.page-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
}

/* About Page Styles */
.about-content {
    background: #fff;
    padding-top: 120px;
}

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    margin: 0 auto;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.logo-section-about {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 0 2rem;
    margin-top: 3rem;
}

.logo-section-about .centered-logo {
    max-width: 180px;
}

@media (max-width: 640px) {
    .logo-section-about {
        padding: 2rem 0 1.5rem;
        margin-top: 2rem;
    }

    .logo-section-about .centered-logo {
        max-width: 140px;
    }
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-text .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    text-align: left;
}

.about-text p {
    color: #666;
    line-height: 1.8;
    font-size: 1.05rem;
}

.about-signature {
    margin-top: 2rem;
    text-align: left;
    font-size: 1.1rem;
    color: #000000;
    font-style: bold;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #3E4C5E 0%, #2A3644 100%);
    text-align: center;
    color: #fff;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Responsive Design for About Page */
@media (max-width: 968px) {
    .about-content {
        padding-top: 90px;
    }

    .about-section {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image {
        order: 1;
        max-width: 350px;
    }

    .about-text {
        order: 2;
    }

    .page-hero-title {
        font-size: 2.5rem;
    }

    .page-hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 640px) {
    .about-content {
        padding-top: 80px;
    }

    .page-hero {
        height: 30vh;
        min-height: 250px;
    }

    .page-hero-title {
        font-size: 2rem;
    }

    .page-hero-subtitle {
        font-size: 1rem;
    }

    .about-section {
        gap: 2rem;
    }

    .about-image {
        max-width: 300px;
    }

    .about-text .section-title {
        font-size: 1.8rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .about-signature {
        font-size: 1rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-subtitle {
        font-size: 1rem;
    }
}

/* Trainers Page Styles */
.trainers-content {
    padding: 120px 0 60px;
}

.trainers-content .container {
    max-width: 1400px;
    width: 100%;
}

/* Trainer Cards Grid */
.trainers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* Individual Trainer Card */
.trainer-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
    aspect-ratio: 3/4;
}

.trainer-card-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.trainer-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: filter 0.4s ease, transform 0.4s ease;
}

/* Overlay for hover effect */
.trainer-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent;
    padding: 1.5rem;
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.trainer-card-excerpt {
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease 0.1s;
    order: 2;
}

.trainer-card-excerpt p {
    margin: 0;
}

/* Card Footer (Name + Arrow) */
.trainer-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
    order: 3;
}

.trainer-card-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.trainer-card-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.8);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    pointer-events: auto;
}

.trainer-card-arrow svg {
    width: 24px;
    height: 24px;
    color: #fff;
    transition: transform 0.3s ease;
}

.trainer-card-arrow:hover {
    background: rgba(255,255,255,0.2);
    border-color: #fff;
}

.trainer-card-arrow:hover svg {
    transform: translateX(3px);
}

/* Hover Animation */
.trainer-card:hover .trainer-card-image img {
    filter: blur(3px);
    transform: scale(1.05);
}

.trainer-card:hover .trainer-card-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.85) 60%, rgba(0,0,0,0.5) 100%);
    padding: 2rem 1.5rem;
}

.trainer-card:hover .trainer-card-excerpt {
    opacity: 1;
    transform: translateY(0);
}

.trainer-card:hover .trainer-card-footer {
    order: 1;
    margin-bottom: 1rem;
}

/* Detail Panel Styles */
.trainer-detail-panel {
    position: fixed;
    top: 0;
    right: -50%;
    width: 50%;
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 20px rgba(0,0,0,0.2);
    z-index: 2000;
    overflow-y: auto;
    transition: right 0.4s ease;
}

.trainer-detail-panel.active {
    right: 0;
}

.trainer-panel-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.trainer-panel-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.panel-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #333;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.panel-close svg {
    width: 20px;
    height: 20px;
    color: #333;
}

.panel-close:hover {
    background: #333;
}

.panel-close:hover svg {
    color: #fff;
}

.panel-content {
    padding: 3rem 2.5rem;
}

.trainer-detail-header {
    text-align: center;
    margin-bottom: 2rem;
}

.trainer-detail-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    margin: 0 auto 1.5rem;
    object-fit: cover;
}

.trainer-detail-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.trainer-detail-header .btn {
    margin-top: 1rem;
}

.trainer-detail-body {
    margin-top: 2rem;
}

.trainer-detail-body .trainer-bio,
.trainer-detail-body .trainer-certifications {
    margin-bottom: 2rem;
}

.trainer-detail-body h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.trainer-detail-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trainer-detail-body ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
    line-height: 1.8;
    color: var(--text-light);
}

.trainer-detail-body ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Responsive Design for Trainers */
@media (max-width: 1200px) {
    .trainers-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .trainers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .trainer-detail-panel {
        right: -100%;
        width: 100%;
    }

    .trainer-detail-panel.active {
        right: 0;
    }
}

@media (max-width: 768px) {
    .trainers-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }

    .trainer-card {
        aspect-ratio: 1/1;
    }

    .trainer-card-overlay {
        padding: 1rem;
    }

    .trainer-card:hover .trainer-card-overlay {
        padding: 1.5rem 1rem;
    }

    .trainer-card-name {
        font-size: 1.1rem;
    }

    .trainer-card-arrow {
        width: 40px;
        height: 40px;
    }

    .trainer-card-arrow svg {
        width: 20px;
        height: 20px;
    }

    .trainer-card-excerpt {
        font-size: 0.85rem;
    }

    .panel-content {
        padding: 2rem 1.5rem;
    }

    .trainer-detail-name {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .trainers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .trainer-card-name {
        font-size: 1rem;
    }
}

/* Three Circles Section */
.three-circles-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8edf1 100%);
    margin-top: 70px;
}

.circles-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.circle-item {
    position: relative;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.circle-item:hover {
    transform: translateY(-10px);
}

.circle {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: linear-gradient(135deg, #A8BCC8 0%, #8FA8B8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(168, 188, 200, 0.4);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 100%);
    border-radius: 50%;
}

.circle-item:hover .circle {
    background: linear-gradient(135deg, #3E4C5E 0%, #2A3644 100%);
    box-shadow: 0 20px 50px rgba(62, 76, 94, 0.5);
    transform: scale(1.05);
}

.circle-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.circle-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
}

/* Deep Dive Sections */
.deep-dive-section {
    padding: 5rem 0;
    background: #fff;
}

.deep-dive-section.reverse {
    background: #f8f9fa;
}

.deep-dive-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.deep-dive-section.reverse .deep-dive-content {
    direction: rtl;
}

.deep-dive-section.reverse .deep-dive-text {
    direction: ltr;
}

.deep-dive-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.deep-dive-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 450px;
    transition: transform 0.4s ease;
}

.deep-dive-image:hover img {
    transform: scale(1.05);
}

.deep-dive-text {
    padding: 2rem;
}

.deep-dive-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3E4C5E;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.deep-dive-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #A8BCC8 0%, #3E4C5E 100%);
    border-radius: 2px;
}

.deep-dive-text > p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

.deep-dive-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.deep-dive-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    color: #333;
}

.feature-icon-small {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #A8BCC8 0%, #8FA8B8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-small svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
}

/* Responsive Design for Three Circles */
@media (max-width: 992px) {
    .circles-container {
        gap: 2rem;
    }

    .circle {
        width: 240px;
        height: 240px;
    }

    .circle-content h3 {
        font-size: 1.5rem;
    }

    .deep-dive-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .deep-dive-section.reverse .deep-dive-content {
        direction: ltr;
    }

    .deep-dive-image {
        order: 1;
    }

    .deep-dive-text {
        order: 2;
        padding: 1rem;
    }

    .deep-dive-title {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .three-circles-section {
        padding: 4rem 0;
        margin-top: 60px;
    }

    .circles-container {
        gap: 1.5rem;
        margin-top: 3rem;
    }

    .circle {
        width: 200px;
        height: 200px;
    }

    .circle-content h3 {
        font-size: 1.3rem;
        padding: 1.5rem;
    }

    .deep-dive-section {
        padding: 3rem 0;
    }

    .deep-dive-content {
        gap: 2rem;
    }

    .deep-dive-image img {
        min-height: 300px;
    }

    .deep-dive-title {
        font-size: 1.8rem;
    }

    .deep-dive-text > p {
        font-size: 1rem;
    }

    .deep-dive-features li {
        font-size: 0.95rem;
    }
}

/* Training Categories Section - Hierarchical Design */
.training-categories-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8edf1 100%);
}

.parent-category {
    margin-bottom: 2.5rem;
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 3px solid transparent;
    transition: all 0.4s ease;
}

.parent-category:hover {
    border-color: #A8BCC8;
    box-shadow: 0 15px 50px rgba(62, 76, 94, 0.15);
}

.parent-category-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #E8EDF1;
    position: relative;
}

.parent-category-header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, #3E4C5E 0%, #A8BCC8 100%);
    border-radius: 2px;
}

.parent-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3E4C5E 0%, #2A3644 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(62, 76, 94, 0.3);
    flex-shrink: 0;
}

.parent-icon svg {
    width: 45px;
    height: 45px;
    stroke: #fff;
}

.parent-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #3E4C5E;
    margin: 0;
    text-transform: none;
}

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

.subcategory-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    border: 2px solid #E8EDF1;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.subcategory-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #A8BCC8 0%, #3E4C5E 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.subcategory-card:hover {
    transform: translateY(-5px);
    border-color: #A8BCC8;
    box-shadow: 0 10px 30px rgba(168, 188, 200, 0.25);
}

.subcategory-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #3E4C5E;
    margin-bottom: 1rem;
}

.subcategory-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.subcategory-features li {
    font-size: 1rem;
    color: #666;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.subcategory-features li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: #A8BCC8;
    font-size: 0.8rem;
}

.subcategory-card:hover .subcategory-features li::before {
    color: #3E4C5E;
}

/* Responsive Design for Hierarchical Categories */
@media (max-width: 992px) {
    .parent-category {
        padding: 2rem 1.5rem;
    }

    .parent-title {
        font-size: 1.8rem;
    }

    .parent-icon {
        width: 70px;
        height: 70px;
    }

    .parent-icon svg {
        width: 38px;
        height: 38px;
    }

    .subcategories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 640px) {
    .training-categories-section {
        padding: 3rem 0;
    }

    .parent-category {
        padding: 1.5rem 1.25rem;
        margin-bottom: 2rem;
    }

    .parent-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .parent-title {
        font-size: 1.6rem;
    }

    .parent-icon {
        width: 60px;
        height: 60px;
    }

    .parent-icon svg {
        width: 32px;
        height: 32px;
    }

    .subcategories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .subcategory-card {
        padding: 1.25rem 1rem;
    }

    .subcategory-title {
        font-size: 1.2rem;
    }

    .subcategory-features li {
        font-size: 0.95rem;
    }
}

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

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