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

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    width: 100%;
    padding-top: 90px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

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

/* Header */
.header {
    background-color: #ffffff;
    color: #333;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: fadeInDown 0.8s ease-out;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 30px;
    max-width: 100%;
}

.logo a {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo a:hover {
    opacity: 0.8;
}

.logo h1 {
    font-size: 1.6rem;
    font-weight: bold;
    /* margin-bottom: 5px; */
    color: #c41e3a;
    animation: slideInLeft 1s ease-out;
    white-space: nowrap;
}

.tagline {
    font-size: 0.7rem;
    opacity: 0.8;
    color: #333;
    white-space: nowrap;
}

/* Navigation Menu */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    display: block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #c41e3a;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #c41e3a;
}

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

.nav-link.active {
    color: #c41e3a;
    background-color: rgba(196, 30, 58, 0.1);
}

.nav-link.active::after {
    width: 80%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #c41e3a;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Mobile Menu Backdrop */
.nav-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-backdrop.active {
    display: block;
    opacity: 1;
}

.company-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.company-logo a {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.company-logo a:hover {
    opacity: 0.8;
}

.logo-img {
    width: auto;
    max-width: 220px;
    height: auto;
    display: block;
    animation: slideInRight 1s ease-out;
}

.alobridge-logo {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 2px;
}
.nav-logo {
    display: none;
}


/* Hero Section */
.hero {
    background: linear-gradient(135deg, #8b1538 0%, #c41e3a 100%);
    color: white;
    padding: 80px 24px;
    text-align: center;
}

.hero-title {
    font-size: 1.8rem;
    line-height: 1.8;
    font-weight: bold;
    border: 3px solid #f9e5a9;
    background-color: #fdf4d4;
    color: #c41e3a;
    padding: 30px;
    border-radius: 15px;
    display: inline-block;
    animation: scaleIn 1s ease-out 0.3s both;
}

/* Introduction Section */
.introduction {
    padding: 60px 24px;
    background: linear-gradient(to bottom, #f8f8f8 0%, #ffffff 100%);
}

.intro-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out;
}

.intro-main-title {
    font-size: 2.5rem;
    color: #c41e3a;
    margin-bottom: 25px;
    font-weight: bold;
    position: relative;
    display: inline-block;
}

.intro-main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #c41e3a 0%, #8b1538 100%);
    border-radius: 2px;
}

.intro-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    max-width: 900px;
    margin: 30px auto 0;
}

.intro-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.highlight-card {
    background: white;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.6s ease-out both;
}

.highlight-card:nth-child(1) { animation-delay: 0.1s; }
.highlight-card:nth-child(2) { animation-delay: 0.2s; }
.highlight-card:nth-child(3) { animation-delay: 0.3s; }

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

.highlight-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.highlight-card h4 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 10px;
}

.highlight-card p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.6;
}

.highlight-card strong {
    color: #c41e3a;
    font-size: 1.1rem;
}

.intro-process {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 20px;
}

.process-item {
    flex: 1;
    min-width: 200px;
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    animation: scaleIn 0.6s ease-out both;
}

.process-item:nth-child(1) { animation-delay: 0.2s; }
.process-item:nth-child(3) { animation-delay: 0.4s; }
.process-item:nth-child(5) { animation-delay: 0.6s; }
.process-item:nth-child(7) { animation-delay: 0.8s; }

.process-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #c41e3a 0%, #8b1538 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 3px 10px rgba(196, 30, 58, 0.3);
}

.process-icon {
    font-size: 3rem;
    margin: 15px 0;
}

.process-item h4 {
    font-size: 1.2rem;
    color: #c41e3a;
    margin-bottom: 10px;
}

.process-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.process-arrow {
    font-size: 2.5rem;
    color: #c41e3a;
    font-weight: bold;
    flex-shrink: 0;
}

.intro-promise {
    background: linear-gradient(135deg, #8b1538 0%, #c41e3a 100%);
    color: white;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(139, 21, 56, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.intro-promise h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: #ffd700;
}

.promise-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.promise-highlight {
    font-weight: bold;
    font-size: 1.15rem;
    margin-top: 20px;
}

/* Services Section */
.services {
    padding: 60px 24px;
    background-color: #fff;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #c41e3a;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: #c41e3a;
}

.service-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    overflow: hidden;
    transition: transform 0.3s ease;
    opacity: 0;
}

.service-card.animate {
    animation: fadeInUp 0.8s ease-out forwards;
}

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

.service-header {
    padding: 30px;
    color: white;
}

.microdx .service-header {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.vietnamgeo .service-header {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.smallbpo .service-header {
    background: linear-gradient(135deg, #f39c12 0%, #d68910 100%);
}

.service-header h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.service-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
}

.service-body {
    padding: 24px;
}

.service-description {
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.service-details {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

.detail-column h4 {
    color: #c41e3a;
    font-size: 1.2rem;
    margin: 20px 0 10px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #c41e3a;
}

.detail-column h4:first-child {
    margin-top: 0;
}

.detail-column ul {
    list-style: none;
    padding-left: 0;
}

.detail-column ul li {
    padding: 8px 0 8px 25px;
    position: relative;
    font-size: 1rem;
}

.detail-column ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* Team Section */
.team {
    padding: 60px 24px;
    background: linear-gradient(135deg, #8b1538 0%, #c41e3a 100%);
    color: white;
}

.team .section-title {
    color: white;
}

.team .section-title::after {
    background-color: white;
}

.team-members {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.member {
    text-align: center;
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 auto 15px;
    border: 5px solid white;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.member h4 {
    font-size: 1.2rem;
}

.cta-box {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 40px;
    border-radius: 15px;
    margin-top: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-box:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: scale(1.02);
}

.cta-text {
    font-size: 2rem;
    font-weight: bold;
    color: #ffd700;
    animation: pulse 2s ease-in-out infinite;
}

/* Contact Form Section */
.contact-form-section {
    padding: 60px 24px;
    background-color: #fff;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    width: 100%;
}

.form-group label {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.required {
    color: #c41e3a;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    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: #c41e3a;
}

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

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.submit-btn {
    background: linear-gradient(135deg, #c41e3a 0%, #8b1538 100%);
    color: white;
    padding: 15px 60px;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Contact Section */
.contact {
    padding: 40px 24px 28px;
    background-color: #f8f8f8;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.company-info {
    flex: 1;
    min-width: 300px;
}

.company-info h3 {
    color: #c41e3a;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.company-info p {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.company-info a {
    color: #2980b9;
    text-decoration: none;
    font-weight: bold;
}

.company-info a:hover {
    text-decoration: underline;
}

.pdf-download {
    margin: 25px 0;
}

.pdf-link {
    display: inline-block;
    background: linear-gradient(135deg, #c41e3a 0%, #8b1538 100%);
    color: white !important;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 1.05rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 10px rgba(196, 30, 58, 0.3);
}

.pdf-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 30, 58, 0.4);
    text-decoration: none !important;
}

.qr-section {
    margin-top: 4px;
    display: flex;
    /* align-items: center; */
    justify-content: center;
}

.qr-code {
    width: 120px;
    height: 120px;
    background-color: #fff;
    margin-top: 10px;
    border: 3px solid #c41e3a;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.qr-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-logo-large {
    text-align: center;
}

.company-logo-large .alobridge-logo {
    font-size: 4rem;
    font-weight: bold;
    color: #c41e3a;
    letter-spacing: 3px;
}

.logo-img-large {
    /* height: 120px; */
    width: auto;
}

/* Social Icons in Contact Section */
.social-icons {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
}

.social-icons a {
    color: #c41e3a;
    font-size: 36px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

.social-icons a[aria-label="Facebook"]:hover {
    color: #1877f2;
}

.social-icons a[aria-label="YouTube"]:hover {
    color: #ff0000;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 12px 12px;
    text-align: center;
}


/* Responsive Navigation - Tablet */
@media (max-width: 1100px) {
    body {
        padding-top: 80px;
    }

    .header {
        padding: 10px 0;
    }

    .header-content {
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 6px;
    }

    .logo {
        flex: 0 1 auto;
        order: 1;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
        flex-shrink: 0;
        order: 2;
    }

    .company-logo {
        order: 3;
        flex: 0 0 auto;
        margin-left: auto;
    }

    .main-nav {
        position: absolute;
        left: 0;
        top: 0;
        width: 0;
        height: 0;
        overflow: visible;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        flex-direction: column;
        background-color: white;
        width: 260px;
        height: 100vh;
        text-align: left;
        transition: left 0.35s ease;
        box-shadow: 2px 0 15px rgba(0, 0, 0, 0.2);
        padding: 2px 0 20px 0;
        gap: 0;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-logo {
        padding: 20px 25px 29px;
        border-bottom: 2px solid #c41e3a;
        margin-bottom: 0px;
        list-style: none;
        display: block;
    }

    .nav-menu-logo {
        width: 100%;
        max-width: 180px;
        height: auto;
        display: block;
    }

    .nav-menu.active {
        left: 0;
    }

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

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

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

    .nav-menu li {
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: 18px 25px;
        border-radius: 0;
        text-align: left;
        font-size: 1rem;
        display: block;
        font-weight: 600;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link.active {
        background-color: rgba(196, 30, 58, 0.08);
        border-left: 4px solid #c41e3a;
        color: #c41e3a;
    }

    .nav-link:hover {
        background-color: rgba(196, 30, 58, 0.05);
    }

    .company-info p {
        font-size: 0.9rem;
    }
}

/* Responsive Navigation - Mobile */
@media (max-width: 768px) {
    /* body {
        padding-top: 140px;
    } */

    .header {
        padding: 10px 0;
    }

    .header-content {
        flex-wrap: wrap;
        gap: 6px;
    }

    .company-logo {
        order: 1;
        flex: 0 0 100%;
        text-align: center;
        /* margin-bottom: 5px; */
    }

    .logo {
        order: 2;
        flex: 1 1 auto;
        min-width: 0;
    }

    .logo h1 {
        font-size: 1.3rem;
        margin-bottom: 2px;
        line-height: 1.2;
    }

    .tagline {
        font-size: 0.6rem;
        line-height: 1.2;
    }

    .menu-toggle {
        order: 3;
        margin-left: 10px;
    }

    .logo-img {
        max-width: 180px;
    }

    .nav-menu {
        padding: 16px 0 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.3rem;
        padding: 20px;
    }

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

    .arrow {
        transform: rotate(90deg);
    }

    .service-header h3 {
        font-size: 1.5rem;
    }

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

    .team-members {
        gap: 30px;
    }

    .intro-highlights {
        grid-template-columns: 1fr;
    }

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

    .process-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    .process-item {
        width: 100%;
    }

    .intro-promise {
        padding: 35px 25px;
    }

    .intro-main-title {
        font-size: 1.8rem;
    }

    .intro-subtitle {
        font-size: 1.05rem;
    }

    .intro-promise h3 {
        font-size: 1.6rem;
    }

    .form-row {
        flex-direction: column;
        gap: 20px;
    }

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

    .submit-btn {
        padding: 12px 40px;
        font-size: 1.1rem;
    }

    .contact-info {
        flex-direction: column;
    }

    .company-logo-large .alobridge-logo {
        font-size: 3rem;
    }
    .feature-item{
        width: 100%;
    }
        .contact-info {
        gap: 24px;
    }
    .company-info {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .intro-main-title {
        font-size: 1.7rem;
    }

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

    .highlight-card {
        padding: 25px 20px;
    }

    .process-item {
        padding: 25px 15px;
    }

    .intro-promise h3 {
        font-size: 1.4rem;
    }

    .promise-content p {
        font-size: 1rem;
    }

    .logo h1 {
        font-size: 1.3rem;
    }

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

    .service-header h3 {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 1.7rem;
    }
    .container {
        padding: 0;
    }
    .header .container {
        padding: 0 20px;
    }
    .contact {
        padding: 24px 24px; 
    }
    .company-info h3 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    .contact-info {
        gap: 24px;
    }
    .company-info {
        text-align: center;
    }
    .company-info p {
        margin-bottom: 8px;
        font-size: 0.9rem;
    }

    .footer {
        font-size: 0.9rem;
    }   
}