:root {
    --bg-color: #f2fbf5; /* Soft light green background */
    --text-main: #064e3b; /* Dark emerald text */
    --text-muted: #374151; /* Dark gray for less important text */
    --accent: #10b981; /* Emerald Green */
    --accent-hover: #059669; /* Darker Emerald */
    --card-bg: #ffffff; /* White background for cards */
    --border-color: rgba(16, 185, 129, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 25px;
}

.section-padding {
    padding: 25px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 18px;
}

.section-tag {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.section-title h2 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

.section-title span {
    color: var(--text-main);
}

.underline {
    width: 35px;
    height: 3px;
    background-color: var(--accent);
    margin: 6px auto 0;
    border-radius: 3px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background-color: var(--bg-color);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.08);
}

#navbar.scrolled {
    background: rgba(242, 251, 245, 0.98);
    backdrop-filter: blur(15px);
    padding: 12px 0;
    box-shadow: 0 4px 25px rgba(16, 185, 129, 0.12);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 25px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 35px;
    border-radius: 4px;
    object-fit: cover;
}

.logo span {
    color: var(--accent);
}

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

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

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

.nav-icon, .arrow {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 120px 0 20px 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    animation: zoomIn 20s infinite alternate linear;
}

@keyframes zoomIn {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(242, 251, 245, 0.75), rgba(242, 251, 245, 1));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 20px;
    margin-top: 20px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.25;
}

.hero-content h1 span {
    color: var(--accent);
}

.hero-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    padding: 0 15px;
}

/* Key Stats Counter Bar */
.stats-counter-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 5px;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.05);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Sticky Fixed Footer (Matched with Top Navbar) */
body {
    padding-bottom: 42px;
}

#sticky-footer {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: rgba(242, 251, 245, 0.98) !important;
    backdrop-filter: blur(15px) !important;
    padding: 8px 0 !important;
    z-index: 9999 !important;
    box-shadow: 0 -4px 20px rgba(16, 185, 129, 0.1) !important;
    border-top: 1px solid var(--border-color) !important;
    text-align: center !important;
}

#sticky-footer .container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

#sticky-footer p {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: var(--text-main) !important;
    margin: 0 !important;
    text-align: center !important;
    letter-spacing: 0.3px !important;
    opacity: 1 !important;
}

.footer-quick-btns {
    display: flex;
    gap: 10px;
}

.footer-btn {
    background: var(--accent);
    color: #ffffff;
    border: none;
    padding: 7px 15px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-btn:hover {
    background: var(--accent-hover);
}

.secondary-footer-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.secondary-footer-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.nav-phone-btn {
    display: inline-block;
    background: var(--accent);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    transition: all 0.3s ease;
}

.nav-phone-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* Alternating Section Background Rhythm */
.about {
    background-color: #ffffff;
}

.services {
    background-color: var(--bg-color);
}

.process {
    background-color: #ffffff;
}

.projects {
    background-color: var(--bg-color);
}

.partners {
    background-color: #ffffff;
}

.contact {
    background-color: var(--bg-color);
}

/* Contact Section */
.contact-card-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 35px 30px;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.08);
}

.contact-card-box h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.contact-card-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 22px;
}

.contact-details-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    background: var(--bg-color);
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 0.95rem;
    color: var(--text-main);
}

.contact-action-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: flex-start;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--accent);
    line-height: 1.4;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 1.05rem;
    text-align: justify;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.12);
}

/* Legal Certificates Box */
.legal-badge-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.06);
}

.legal-badge-box h4 {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

.legal-badge-box ul {
    list-style: none;
}

.legal-badge-box ul li {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    line-height: 1.5;
}

/* Integrated Tech Capability Box inside Services */
.tech-capability-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    margin-top: 35px;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.05);
    text-align: center;
}

.tech-capability-box h4 {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: 700;
}

.tech-tags {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tech-tag {
    background: #f0fdf4;
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.06);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 22px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.04);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.1);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.service-icon-box {
    width: 44px;
    height: 44px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.service-card:hover .service-icon-box {
    background: var(--accent);
}

.service-card:hover .service-icon-box svg {
    stroke: #ffffff;
}

.service-header h3 {
    font-size: 1.15rem;
    color: var(--text-main);
    line-height: 1.3;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: justify;
}

/* Process Workflow */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.process-step {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px 20px;
    position: relative;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.04);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.step-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.8;
    margin-bottom: 15px;
}

.process-step h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.process-step p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    text-align: justify;
}

/* Project Filter Tabs & Badges */
.project-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 24px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active, .tab-btn:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.project-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
    width: fit-content;
}

.project-badge.thiet-ke {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

.project-badge.tham-tra {
    background: rgba(59, 130, 246, 0.15);
    color: #2563eb;
}

.project-badge.quy-hoach {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
}

.project-card-detail {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.06);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.project-card-detail:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.12);
    border-color: var(--accent);
}

.project-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card-detail:hover .project-img-wrapper img {
    transform: scale(1.06);
}

.project-detail-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-detail-content h3 {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 10px;
    line-height: 1.4;
}

.project-investor, .project-meta, .project-price {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.project-price span {
    color: #059669;
    font-weight: 700;
}

.project-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 10px;
    line-height: 1.5;
    border-top: 1px dashed var(--border-color);
    padding-top: 10px;
    text-align: justify;
}

.view-more-btn {
    margin-top: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
}

/* Partner Logos */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.partner-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.partner-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 22px 16px;
    border-radius: 14px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    box-sizing: border-box;
}

.partner-card-link:hover .partner-card,
.partner-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.15);
}

.partner-logo-img {
    height: 48px;
    max-width: 140px;
    object-fit: contain;
    margin-bottom: 10px;
    border-radius: 6px;
}

.partner-name {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.partner-card-link:hover .partner-name {
    color: var(--accent);
}
}

/* Contact & Smart Form */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.05);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.contact-info ul {
    list-style: none;
}

.contact-info ul li {
    margin-bottom: 18px;
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
    font-weight: 500;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    background: #f9fafb;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    background: #ffffff;
}

.form-service-select {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-service-select label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.multi-select-box {
    width: 100%;
    padding: 8px;
    background: #f9fafb;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.multi-select-box:focus {
    border-color: var(--accent);
    background: #ffffff;
}

.multi-select-box option {
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 3px;
    cursor: pointer;
    font-size: 0.9rem;
}

.multi-select-box option:checked {
    background: var(--accent) linear-gradient(0deg, var(--accent) 0%, var(--accent) 100%);
    color: #ffffff;
    font-weight: 600;
}

.select-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #ffffff;
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    font-weight: 700;
    color: #6b7280;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #111;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
}

.modal-img-container img {
    width: 100%;
    height: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: 10px;
}

.modal-info-container h2 {
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 15px;
    line-height: 1.3;
}

.modal-investor, .modal-meta, .modal-price {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.modal-price span {
    color: #059669;
    font-weight: 700;
}

.modal-desc-box {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.modal-desc-box h4 {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

.modal-desc-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Footer */
footer {
    text-align: center;
    padding: 25px 0;
    background: #e8f5e9;
    border-top: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive & Mobile Optimization */
@media (max-width: 992px) {
    .about-grid, .contact-content, .modal-body {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .contact-content {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 70px 0 15px 0;
    }

    .section-padding {
        padding: 35px 0;
    }
    
    .section-title {
        margin-bottom: 20px;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }

    .underline {
        width: 35px;
        height: 3px;
        margin: 8px auto 0;
    }

    footer .container {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .nav-phone-btn {
        display: none;
    }

    .nav-links {
        position: fixed;
        right: 0px;
        height: 100vh;
        top: 0;
        background-color: rgba(242, 251, 245, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        gap: 10px;
        padding: 65px 20px 30px 20px;
        box-sizing: border-box;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        overflow-y: auto;
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .nav-links li {
        width: 100%;
        max-width: 340px;
        list-style: none;
    }

    .nav-icon, .arrow {
        display: inline-block;
        font-size: 1.1rem;
        color: var(--accent);
    }

    .nav-links a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #ffffff;
        border: 1px solid var(--border-color);
        padding: 13px 18px;
        border-radius: 12px;
        font-size: 0.98rem;
        font-weight: 600;
        color: var(--text-main);
        box-shadow: 0 4px 15px rgba(16, 185, 129, 0.05);
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover, .nav-links a:active {
        background: var(--accent);
        color: #ffffff;
        border-color: var(--accent);
    }

    .nav-links a:hover span, .nav-links a:active span {
        color: #ffffff;
    }

    .nav-links a span {
        display: inline-block;
        font-size: 1.1rem;
        color: var(--accent);
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 42px;
        height: 42px;
        background: #ffffff;
        border: 1px solid var(--border-color);
        border-radius: 50%;
        cursor: pointer;
        z-index: 1001;
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.12);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .hamburger div {
        width: 20px;
        height: 2px;
        background-color: var(--text-main);
        margin: 2.5px 0;
        border-radius: 2px;
        transition: all 0.35s ease-in-out;
    }

    .hamburger.toggle {
        background: var(--accent);
        border-color: var(--accent);
        transform: rotate(180deg);
        box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    }

    .hamburger.toggle div {
        background-color: #ffffff;
    }

    .hamburger.toggle .line1 {
        transform: rotate(-45deg) translate(-4px, 4px);
    }
    .hamburger.toggle .line2 {
        opacity: 0;
        transform: scale(0);
    }
    .hamburger.toggle .line3 {
        transform: rotate(45deg) translate(-4px, -4px);
    }

    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }

    .contact-content {
        padding: 25px 15px;
    }
    
    .contact-info h3 {
        font-size: 1.3rem;
    }

    /* Mobile 2x2 Grid for Key Stats Counter Bar */
    .stats-counter-bar {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-top: 15px;
    }

    .process-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-card {
        padding: 15px 10px;
        border-radius: 10px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.78rem;
        line-height: 1.3;
    }

    /* Mobile Horizontal Scrollable Tech Tags */
    .tech-tags {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 10px;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .tech-tags::-webkit-scrollbar {
        display: none;
    }

    .tech-tag {
        flex-shrink: 0;
        white-space: nowrap;
        font-size: 0.82rem;
        padding: 6px 14px;
    }

    /* Mobile Horizontal Scrollable Partners */
    .partners-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 15px;
        padding: 5px 15px 15px 15px;
        margin-left: -15px;
        margin-right: -15px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .partners-grid::-webkit-scrollbar {
        display: none;
    }

    .partner-card {
        flex-shrink: 0;
        width: 240px;
        padding: 20px 15px;
    }

    /* Mobile Horizontal Scrollable Tabs */
    .project-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 5px 15px 15px 15px;
        margin-left: -15px;
        margin-right: -15px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .project-tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        flex-shrink: 0;
        white-space: nowrap;
        font-size: 0.85rem;
        padding: 8px 18px;
    }

    /* Projects Grid 1fr for Mobile */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-card-detail {
        width: 100%;
        box-sizing: border-box;
    }

    .project-detail-content {
        padding: 20px 15px;
    }

    .project-detail-content h3 {
        font-size: 1.15rem;
    }

    .modal-body {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }
    .section-title h2 {
        font-size: 1.6rem;
    }
    .service-card {
        padding: 20px 15px;
    }
}
