/* Import Variables and Reset/Base Styles */
@import url('./variables.css');
@import url('./reset.css');
@import url('./button.css');

/* Navigation Header with Language Switcher */
.nav-header {
    background-color: var(--color-white);
    padding: 24px 0;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: translateY(0);
}

/* Header hidden when scrolling down */
.nav-header.header-hidden {
    transform: translateY(-100%);
}

.nav-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Left side: Logo + Navigation Links */
.nav-left {
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo img {
    height: 42px;
    width: auto;
    cursor: pointer;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: var(--color-text-dark);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

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

/* Hamburger Menu Button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-menu span {
    width: 24px;
    height: 2px;
    background-color: var(--color-text-dark);
    transition: all 0.3s ease;
    display: block;
}

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

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

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

/* Tablet */
@media screen and (max-width: 1024px) {
    .nav-left {
        gap: 35px;
    }
    
    .nav-links {
        gap: 24px;
    }
    
    .nav-links a {
        font-size: 14px;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .nav-header {
        padding: 16px 0;
    }
    
    /* Mobile layout: logo left, hamburger right */
    .nav-header .container {
        flex-direction: row;
    }
    
    .nav-left {
        order: 1;
        gap: 0;
    }
    
    .nav-logo {
        order: 1;
    }
    
    .nav-logo img {
        height: 28px;
    }
    
    /* Show hamburger menu on right */
    .hamburger-menu {
        display: flex;
        order: 3;
    }
    
    /* Hide desktop language switcher on mobile */
    .language-switcher-desktop {
        display: none !important;
    }
    
    /* Show mobile language switcher in mobile menu */
    .language-switcher-mobile {
        display: block !important;
    }
    
    /* Hide desktop nav menu, show as mobile slide menu */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        gap: 0;
        padding-top: 80px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
        align-items: flex-start;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0;
        align-items: flex-start;
        padding: 0;
        margin-bottom: 30px;
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .nav-links a {
        display: block;
        padding: 18px 30px;
        font-size: 16px;
        width: 100%;
    }
    
    .nav-links a:hover {
        background: #f8f9fa;
    }
    
    /* Show mobile language switcher in menu */
    .language-switcher-mobile {
        display: block !important;
        padding: 0 30px;
        width: 100%;
    }
    
    .language-switcher-mobile .language-switcher-btn {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 20px;
    }
    
    .language-switcher-mobile .language-dropdown {
        position: static;
        width: 100%;
        margin-top: 10px;
        border: 1px solid #e0e0e0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }
    
    .language-switcher-mobile.active .language-dropdown {
        display: block;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .nav-logo img {
        height: 24px;
    }
    
    .hamburger-menu span {
        width: 20px;
    }
    
    .nav-links a {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .language-switcher-mobile {
        padding: 0 20px;
    }
}

/* Language Switcher */
.language-switcher {
    position: relative;
    display: inline-block;
}

/* Desktop language switcher - visible on desktop */
.language-switcher-desktop {
    display: inline-block;
}

/* Mobile language switcher - hidden by default, shown only on mobile */
.language-switcher-mobile {
    display: none;
}

/* On desktop screens, ensure mobile switcher is hidden */
@media screen and (min-width: 769px) {
    .language-switcher-mobile {
        display: none !important;
    }
}

.language-switcher-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--color-white);
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: var(--color-text-dark);
    font-weight: 500;
}

.language-switcher-btn:hover {
    border-color: var(--color-primary);
    background: #f8f9fa;
}

.language-switcher-btn .flag-icon {
    font-size: 18px;
    line-height: 1;
}

.language-switcher-btn .arrow-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.language-switcher.active .language-switcher-btn .arrow-icon {
    transform: rotate(180deg);
}

/* Language Dropdown */
.language-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background: var(--color-white);
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

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

.language-dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--color-text-dark);
    text-decoration: none;
    transition: background 0.2s ease;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.language-dropdown-link:last-child {
    border-bottom: none;
}

.language-dropdown-link:hover {
    background: #f8f9fa;
}

.language-dropdown-link.active {
    background: #f0f4ff;
    color: var(--color-primary);
    font-weight: 600;
}

.language-dropdown-link .flag-icon {
    font-size: 18px;
    line-height: 1;
}


/* Header */
.header {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 30px 0;
    text-align: left;
    padding-left: 80px;
    padding-right: 80px;
}

.header h1 {
    font-size: 24px;
    font-weight: 600;
}

/* Hero Section */
.hero {
    background: var(--color-grey-light);
    padding: 60px 0;
    padding-left: 80px;
    padding-right: 80px;
}

.hero-title {
    color: var(--color-white);
    font-size: 32px !important;
    font-weight: bold;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    padding-right: 20px;
}

.hero-text p {
    margin-bottom: 25px;
    color: var(--color-black);
    font-size: 16px;
    text-align: left;
}

.hero-image-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-image {
    background: var(--color-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 12px var(--shadow-light);
}

.hero-image img {
    width: 100%;
    height: auto;
}

/* Product Screen */
.product-screen {
    background: var(--color-grey-light);
    padding: 40px 80px;
}

.full-width-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow-light);
}

/* Blue Header Sections */
.blue-header-section {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 30px 80px;
}

.red-header-section {
    background-color: var(--color-red);
    color: var(--color-white);
    padding: 30px 80px;
}

.grey-header-section {
    background-color: var(--color-grey-light);
    color: var(--color-text-dark);
    padding: 30px 0;
}

.blue-header-section h2 {
    font-size: 24px;
    font-weight: 600;
}

/* Features Grid */
.features-grid {
    background: var(--color-grey-light);
    padding-top: 30px;
    padding-bottom: 70px;
    padding-left: 80px;
    padding-right: 80px;
}

.features-grid .container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-row-item {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 40px;
}

.feature-left,
.feature-right {
    padding: 0;
}

.feature-left h3,
.feature-right h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--color-text-dark);
    font-weight: 600;
}

.feature-left p,
.feature-right p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

/* Customer Stories */
.customer-stories {
    background: var(--color-white);
    padding: 50px 0;
    padding-left: 80px;
    padding-right: 80px;
}

.customer-stories h3 {
    font-size: 26px;
    margin-bottom: 20px;
    text-align: center;
    color: var(--color-text-dark);
}

.customer-stories>.container>p {
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.badges-section {
    margin: 40px 0 50px 0;
    text-align: left;
    width: 100%;
}

.badges-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.testimonials {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.testimonial-item {
    display: grid;
    grid-template-columns: 1fr 3fr;
}

.testimonial-item img {
    width: 100%;
    object-fit: contain;
    padding-right: 20px;
    flex-shrink: 0;
}

.testimonial-content {
    flex: 1;
}

.testimonial-content p {
    line-height: 1.8;
    margin-bottom: 10px;
}

.testimonial-author {
    font-size: 14px;
    font-style: italic;
}

/* Pricing */
.pricing {
    background: var(--color-grey-light);
    padding: 50px 80px;
}

.pricing-plans-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.pricing-plan-card {
    background: var(--color-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pricing-plan-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--color-text-dark);
    font-weight: 600;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--color-text-dark);
    font-size: 15px;
    line-height: 1.6;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 18px;
}

.pricing-features li strong {
    color: var(--color-primary);
    font-weight: 600;
}

.pricing-cta {
    text-align: center;
    margin-top: 40px;
}

.pricing-rfq-btn {
    display: inline-block;
    padding: 14px 40px;
    font-size: 16px;
    text-decoration: none;
}

/* Products Section */
.products {
    background: var(--color-grey-light);
    padding-top: 10px;
    padding-bottom: 50px;
    padding-left: 40px;
    padding-right: 40px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: transparent;
    padding: 30px;
    border-radius: 0;
    text-align: left;
    border: none;
    display: flex;
    flex-direction: column;
}

.product-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--color-text-dark);
    font-weight: 600;
}

.product-card p {
    line-height: 1.6;
    font-size: 14px;
    flex-grow: 1;
}

.product-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.product-icon img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
}

/* Langya Section */
.langya-header {
    background-color: var(--color-red);
}

.langya-content {
    background: var(--color-white);
    padding: 50px 80px;
}

.langya-about {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 50px;
}

.langya-logo {
    background: var(--color-white);
    padding: 30px 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.langya-logo img {
    max-width: 200px;
    height: auto;
}

.langya-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 15px;
}

.langya-review-section {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    align-items: flex-start;
}

.langya-review h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--color-text-dark);
    font-weight: 600;
}

.langya-review img {
    max-width: 350px;
    height: auto;
}

.langya-awards h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--color-text-dark);
    font-weight: 600;
}

.langya-awards p {
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 14px;
}

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

.contact-section h2 {
    font-size: 28px;
    text-align: left;
    margin-bottom: 40px;
    color: var(--color-text-dark);
    font-weight: 600;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.contact-item {
    background: transparent;
    padding: 0;
    text-align: center;
}

.contact-item h3 {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--color-text-dark);
    font-weight: 600;
}

.qr-code {
    margin: 30px 0;
    display: flex;
    justify-content: center;
}

.qr-code img {
    width: 250px;
    height: 250px;
    object-fit: contain;
    border: 1px solid var(--color-grey-light);
}

.contact-info {
    text-align: left;
}

.info-item {
    margin-bottom: 30px;
}

.info-item h3 {
    font-size: 18px;
    margin-bottom: 0px;
    color: var(--color-text-dark);
    font-weight: 600;
    text-align: left;
}

.info-item p {
    font-size: 16px;
    margin-bottom: 15px;
}

/* Responsive Design */

/* Tablet (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero-content {
        gap: 40px;
    }

    .feature-row-item {
        gap: 30px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .contact-grid {
        gap: 40px;
    }

    /* Pricing - Tablet 1024px */
    .pricing {
        padding: 45px 40px;
    }

    .pricing-plans-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .pricing-plan-card {
        padding: 28px;
    }

    .pricing-plan-card h3 {
        font-size: 22px;
    }
}

/* Mobile (max-width: 768px) */
@media screen and (max-width: 768px) {

    /* Base styles */
    body,
    html {
        overflow-x: hidden;
        max-width: 100vw;
    }

    section {
        max-width: 100vw;
        overflow-x: hidden;
    }

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

    /* Header */
    .header {
        padding: 20px 30px;
    }

    .header h1 {
        font-size: 18px;
    }

    .hero-title {
        font-size: 20px !important;
        line-height: 1.3;
    }

    /* Hero Section */
    .hero {
        padding: 40px 0;
        padding-left: 30px;
        padding-right: 30px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-text {
        padding-right: 0;
    }

    .hero-text p {
        font-size: 15px;
        margin-bottom: 20px;
        text-align: left;
    }

    .hero-image {
        padding: 20px;
    }

    /* Sections */
    .blue-header-section,
    .red-header-section,
    .grey-header-section {
        padding: 20px 30px;
    }

    .blue-header-section h2,
    .red-header-section h2,
    .grey-header-section h2 {
        font-size: 20px;
    }

    /* Features Grid */
    .features-grid {
        padding: 20px 0;
        padding-left: 30px;
        padding-right: 30px;
    }

    .feature-row-item {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .feature-left h3,
    .feature-right h3 {
        font-size: 18px;
    }

    .feature-left p,
    .feature-right p {
        font-size: 14px;
        margin-bottom: 10px;
    }

    /* Customer Stories */
    .customer-stories {
        padding: 30px 0;
        padding-left: 30px;
        padding-right: 30px;
    }

    .customer-stories h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .customer-stories>.container>p {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .badges-section {
        margin: 30px 0;
    }

    .testimonials {
        gap: 25px;
        /* padding-left: 30px;
        padding-right: 30px; */
    }

    .testimonial-item { 
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 15px;
    }

    .testimonial-item img {
        padding-right: 0;
        max-width: 200px;
    }

    .testimonial-content p {
        font-size: 15px;
        line-height: 1.7;
    }

    .testimonial-author {
        font-size: 13px;
    }

    /* Pricing */
    .pricing {
        padding: 40px 30px;
    }

    .pricing-plans-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }

    .pricing-plan-card {
        padding: 25px;
    }

    .pricing-plan-card h3 {
        font-size: 20px;
        margin-bottom: 18px;
    }

    .pricing-features li {
        font-size: 14px;
        padding: 8px 0;
        padding-left: 30px;
    }

    .pricing-features li::before {
        left: 0;
        font-size: 16px;
    }

    .pricing-rfq-btn {
        padding: 12px 35px;
        font-size: 15px;
        width: 100%;
        max-width: 400px;
    }

    /* Products Section */
    .products {
        padding: 20px 0;
        padding-left: 30px;
        padding-right: 30px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        justify-items: center;
        align-items: center;
    }

    .product-card {
        padding: 0px 100px;
        align-items: center;
    }

    .product-card h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .product-card p {
        font-size: 14px;
        text-align: center;
    }

    .product-icon {
        margin: 0px 0;
        min-height: 150px;
    }

    .product-icon img {
        max-height: 150px;
    }

    /* Langya Section */
    .langya-content {
        padding: 30px 0;
        padding-left: 30px;
        padding-right: 30px;
    }

    .langya-about {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 30px;
    }

    .langya-logo {
        padding: 20px 30px;
    }

    .langya-logo img {
        max-width: 150px;
    }

    .langya-text p {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .langya-review-section {
        flex-direction: column;
        gap: 30px;
    }

    .langya-review h3,
    .langya-awards h3 {
        font-size: 17px;
        margin-bottom: 15px;
    }

    .langya-review img {
        max-width: 100%;
    }

    .langya-awards p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    /* Contact Section */
    .contact-section {
        padding: 40px 0;
    }

    .contact-section h2 {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-item h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .qr-code {
        margin: 20px 0;
    }

    .qr-code img {
        width: 200px;
        height: 200px;
    }

    .info-item {
        margin-bottom: 25px;
    }

    .info-item h3 {
        font-size: 16px;
    }

    .info-item p {
        font-size: 15px;
        margin-bottom: 12px;
    }
}

/* Small Mobile (max-width: 480px) */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
    }

    .hero-title {
        font-size: 18px !important;
        line-height: 1.3;
    }

    .hero-text p {
        font-size: 14px;
    }

    .product-screen {
        padding-left: 30px;
        padding-right: 30px;
    }

    .product-screen .container {
        overflow: hidden;
    }


    .blue-header-section h2,
    .red-header-section h2,
    .grey-header-section h2 {
        font-size: 18px;
    }

    /* Pricing - Mobile 480px */
    .pricing {
        padding: 30px 20px;
    }

    .pricing-plans-grid {
        gap: 20px;
        margin-bottom: 25px;
    }

    .pricing-plan-card {
        padding: 20px;
    }

    .pricing-plan-card h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .pricing-features li {
        font-size: 13px;
        padding: 6px 0;
        padding-left: 28px;
        line-height: 1.5;
    }

    .pricing-features li::before {
        left: 0;
        font-size: 15px;
    }

    .pricing-rfq-btn {
        padding: 12px 30px;
        font-size: 14px;
    }

    .feature-left h3,
    .feature-right h3,
    .product-card h3,
    .contact-item h3 {
        font-size: 20px;
    }


    .customer-stories h3 {
        font-size: 20px;
    }

    .products {
        padding-left: 30px;
        padding-right: 30px;
    }

    .products-grid {
        gap: 0;
    }

    .product-icon {
        padding: 0;
        margin: 0;
    }

    .product-card {
        padding: 0px;
    }



    .qr-code img {
        width: 180px;
        height: 180px;
    }
}

/* Homepage Hero Section */
.homepage-hero {
    position: relative;
    min-height: 100vh;
    background-image: url('https://langyaai-public.oss-cn-hongkong.aliyuncs.com/natalya-letunova.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.homepage-hero-overlay-left{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    clip-path: polygon(95% 0, 100% 0, 100% 100%, 10% 100%);
    background: var(--color-primary);
    opacity: 0.5;
    z-index: 1;
}

.homepage-hero-overlay-left::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background:
        linear-gradient(rgba(0, 0, 0, 0.4),
            rgba(0, 0, 0, 0.4)),
        var(--color-primary);
    opacity: 0.5;
    clip-path: polygon(52.5% 50%, 55% 100%, 100% 50%);
    z-index: 1;
}

.homepage-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(rgba(0, 0, 0, 0.8),
            rgba(0, 0, 0, 0.8)),
        var(--color-primary);
    opacity: 0.4;
    z-index: 0;
}

.homepage-hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-left: 80px;
    padding-right: 80px;
}

.homepage-hero-content {
    max-width: 700px;
    color: var(--color-white);
    padding: 60px 0;
}

.homepage-hero-subtitle {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--color-white);
}

.homepage-hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--color-white);
}

.homepage-hero-description {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 40px;
    color: var(--color-white);
    opacity: 0.95;
}

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

.btn-hero-primary {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 16px 40px;
    font-size: 16px;
    border: none;
}

.btn-hero-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 95, 245, 0.4);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--color-white);
    padding: 16px 40px;
    font-size: 16px;
    border: 2px solid var(--color-white);
    cursor: pointer;
    
}

.btn-hero-secondary:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

/* Responsive Design for Homepage Hero */
@media screen and (max-width: 1024px) {
    .homepage-hero::before {
        width: 60%;
        clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%);
    }

    .homepage-hero-title {
        font-size: 48px;
    }

    .homepage-hero-description {
        font-size: 17px;
    }

    .homepage-hero-overlay {
        padding-left: 30px;
        padding-right: 30px;
    }

}

@media screen and (max-width: 768px) {
    .homepage-hero {
        min-height: 100vh;
        padding: 100px 0;
    }

    .homepage-hero::before {
        display: none;
    }

    .homepage-hero-overlay-left {
        width: 60%;
        right: 0;
        left: auto;
    }

    .homepage-hero-overlay-left::before {
        width: 100%;
        right: 0;
        left: auto;
    }

    .homepage-hero-overlay {
        padding-left: 30px;
        padding-right: 30px;
    }


    .homepage-hero-content {
        padding: 40px 0;
        text-align: center;
        max-width: 100%;
    }

    .homepage-hero-subtitle {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .homepage-hero-title {
        font-size: 36px;
        margin-bottom: 25px;
    }

    .homepage-hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .homepage-hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        justify-content: center;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 300px;
        padding: 14px 30px;
        font-size: 15px;
    }
}

@media screen and (max-width: 480px) {
    .homepage-hero {
        min-height: 100vh;
        padding: 80px 0;
    }

    .homepage-hero-overlay-left {
        width: 50%;
        clip-path: polygon(100% 70%, 10% 100%, 100% 100%);
    }

    .homepage-hero-overlay-left::before {
        width: 50%;
        clip-path: polygon(55% 85%, 55% 100%, 100% 85%);
        position: absolute;
        content: '';
        top: 0;
        right: 0;
        bottom: 0;
        width: 100%;
    }

    .homepage-hero-overlay {
        padding-left: 30px;
        padding-right: 30px;
    }

    .homepage-hero-content {
        padding: 30px 0;
        text-align: left;
    }

    .homepage-hero-subtitle {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .homepage-hero-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .homepage-hero-description {
        font-size: 15px;
        margin-bottom: 40px;
    }

    .homepage-hero-buttons {
        align-items: center;
        justify-content: center;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 12px 25px;
        font-size: 14px;
        max-width: 280px;
    }
}

/* What We Do Section */
.what-we-do-section {
    background: var(--color-grey-light);
    padding: 100px 0;
    padding-left: 80px;
    padding-right: 80px;
    padding-bottom: 60px;
}

.what-we-do-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 80px;
    align-items: start;
}

.what-we-do-sidebar {
    position: sticky;
    top: 40px;
}

.what-we-do-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--color-primary);
    writing-mode: horizontal-tb;
    text-align: left;
}

.what-we-do-content {
    flex: 1;
}

.what-we-do-title {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-dark);
    margin-bottom: 30px;
}

.what-we-do-description {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 60px;
    max-width: 100%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card-content {
    text-align: left;
}

.service-icon {
    font-size: 48px;
    color: var(--color-primary);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.service-icon i {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 15px;
}

.service-description {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0;
    margin-bottom: 50px;
}

/* Responsive Design for Service */
@media screen and (max-width: 768px) {
    .service-card {
        min-height: 300px;
    }
}

/* Responsive Design for What We Do Section */
@media screen and (max-width: 1024px) {

    .what-we-do-section {
        padding: 80px 0;
    }

    .what-we-do-layout {
        grid-template-columns: 1fr;
        gap: 80px;
        justify-items: center;
    }

    .what-we-do-content {
        padding-left: 40px;
        padding-right: 40px;
    }

    .what-we-do-title {
        font-size: 40px;
    }

    .services-grid {
        gap: 40px;
    }
}

@media screen and (max-width: 768px) {
    .what-we-do-section {
        padding: 60px 0;
    }

    .what-we-do-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .what-we-do-sidebar {
        position: static;
    }

    .what-we-do-label {
        font-size: 13px;
        letter-spacing: 2.5px;
    }

    .what-we-do-title {
        font-size: 32px;
        margin-bottom: 25px;
    }

    .what-we-do-description {
        font-size: 15px;
        margin-bottom: 50px;
    }

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

    .service-icon {
        font-size: 42px;
        margin-bottom: 20px;
    }

    .service-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .service-description {
        font-size: 15px;
    }
}

@media screen and (max-width: 480px) {
    .what-we-do-section {
        padding: 50px 0;
    }

    .what-we-do-label {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .what-we-do-title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .what-we-do-description {
        font-size: 14px;
        margin-bottom: 40px;
    }

    .services-grid {
        gap: 35px;
    }

    .service-icon {
        font-size: 38px;
        margin-bottom: 18px;
    }

    .service-title {
        font-size: 20px;
        margin-bottom: 10px;
    }


    .service-description {
        font-size: 14px;
    }
}

/* Fullscreen Image Section */
.fullscreen-image-section {
    width: 100%;
    height: 55vh;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.fullscreen-image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.fullscreen-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Responsive Design for Fullscreen Image */
@media screen and (max-width: 768px) {
    .fullscreen-image-section {
        height: 60vh;
        min-height: 400px;
    }
}

@media screen and (max-width: 480px) {
    .fullscreen-image-section {
        height: 50vh;
        min-height: 300px;
    }
}

/* Our Services Section */
.solution-section {
    background: var(--color-grey-light);
    padding: 100px 50px;
}

.solution-header {
    text-align: center;
    margin-bottom: 70px;
}

.solution-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.solution-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-dark);
    margin-bottom: 25px;
}

.solution-description {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin: 0 auto;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.solution-card {
    background: var(--color-white);
    padding: 40px 35px;
    border-radius: 0;
    box-shadow: 0 2px 20px var(--shadow-light);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.solution-icon {
    font-size: 48px;
    color: var(--color-primary);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.solution-icon i {
    transition: transform 0.3s ease;
}

.solution-card:hover .our-service-icon i {
    transform: scale(1.1);
}

.solution-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.solution-description {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* Responsive Design for Our Services Section */
@media screen and (max-width: 1024px) {
    .solution-section {
        padding: 80px 40px;
    }

    .solution-header {
        margin-bottom: 60px;
    }

    .solution-title {
        font-size: 24px;
    }

    .solution-grid {
        gap: 30px;
    }

    .solution-card {
        padding: 35px 30px;
    }

    .solution-icon {
        font-size: 44px;
    }
}

@media screen and (max-width: 768px) {
    .solution-section {
        padding: 60px 30px;
    }

    .solution-header {
        margin-bottom: 50px;
    }

    .solution-label {
        font-size: 13px;
        letter-spacing: 2.5px;
    }

    .solution-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .solution-description {
        font-size: 15px;
    }

    .solution-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .solution-card {
        padding: 40px 30px;
    }

    .solution-icon {
        font-size: 48px;
        margin-bottom: 25px;
    }

    .solution-title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .solution-description {
        font-size: 15px;
    }
}

@media screen and (max-width: 480px) {
    .solution-section {
        padding: 50px 30px;
    }

    .solution-header {
        margin-bottom: 40px;
    }

    .solution-label {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .solution-title {
        font-size: 26px;
        margin-bottom: 18px;
    }

    .solution-description {
        font-size: 14px;
    }

    .solution-grid {
        gap: 25px;
    }

    .solution-card {
        padding: 35px 25px;
    }

    .solution-icon {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .solution-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .solution-description {
        font-size: 14px;
    }
}

/* Our Services Section */
.training-section {
    background: var(--color-grey-light);
    padding: 100px 50px;
}

.training-header {
    text-align: center;
    margin-bottom: 70px;
}

.training-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.training-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-dark);
    margin-bottom: 25px;
}

.training-description {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin: 0 auto;
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.training-card {
    background: var(--color-white);
    padding: 40px 35px;
    border-radius: 0;
    box-shadow: 0 2px 20px var(--shadow-light);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.training-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.training-icon {
    font-size: 48px;
    color: var(--color-primary);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.training-icon i {
    transition: transform 0.3s ease;
}

.training-card:hover .our-service-icon i {
    transform: scale(1.1);
}

.training-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.training-description {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* Responsive Design for Our Services Section */
@media screen and (max-width: 1024px) {
    .training-section {
        padding: 80px 40px;
    }

    .training-header {
        margin-bottom: 60px;
    }

    .training-title {
        font-size: 24px;
    }

    .training-grid {
        gap: 30px;
    }

    .training-card {
        padding: 35px 30px;
    }

    .training-icon {
        font-size: 44px;
    }
}

@media screen and (max-width: 768px) {
    .training-section {
        padding: 60px 30px;
    }

    .training-header {
        margin-bottom: 50px;
    }

    .training-label {
        font-size: 13px;
        letter-spacing: 2.5px;
    }

    .training-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .training-description {
        font-size: 15px;
    }

    .training-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .training-card {
        padding: 40px 30px;
    }

    .training-icon {
        font-size: 48px;
        margin-bottom: 25px;
    }

    .training-title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .training-description {
        font-size: 15px;
    }
}

@media screen and (max-width: 480px) {
    .training-section {
        padding: 50px 30px;
    }

    .training-header {
        margin-bottom: 40px;
    }

    .training-label {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .training-title {
        font-size: 26px;
        margin-bottom: 18px;
    }

    .training-description {
        font-size: 14px;
    }

    .training-grid {
        gap: 25px;
    }

    .training-card {
        padding: 35px 25px;
    }

    .training-icon {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .training-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .training-description {
        font-size: 14px;
    }
}

/* Contact CTA Section */
.contact-cta-section {
    background: #2c2c2c;
    padding: 100px 80px;
    padding-top: 50px;
}


.contact-cta-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
}

.contact-cta-layout::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-40px);
}

.contact-cta-content {
    padding-right: 40px;
}

.contact-cta-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-white);
    margin-bottom: 30px;
}

.contact-cta-text {
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 10px;
}

.contact-cta-text:last-child {
    margin-bottom: 0;
}

.contact-cta-form {
    padding-left: 40px;
}

.contact-form-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 30px;
}

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

.form-input,
.form-textarea {
    width: 100%;
    padding: 15px 20px;
    font-size: 15px;
    border: none;
    background: var(--color-white);
    color: var(--color-text-dark);
    font-family: inherit;
    transition: box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(40, 95, 245, 0.3);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #999;
}

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

.btn-contact-submit {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 15px 40px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-contact-submit:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 95, 245, 0.4);
}

/* Responsive Design for Contact CTA Section */
@media screen and (max-width: 1024px) {
    .contact-cta-section {
        padding: 80px 40px;
    }

    .contact-cta-layout {
        gap: 60px;
    }

    .contact-cta-layout::before {
        transform: translateX(-30px);
    }

    .contact-cta-content {
        padding-right: 30px;
    }

    .contact-cta-form {
        padding-left: 30px;
    }

    .contact-cta-title {
        font-size: 36px;
    }

    .contact-form-title {
        font-size: 28px;
    }
}

@media screen and (max-width: 768px) {
    .contact-cta-section {
        padding: 60px 30px;
    }

    .contact-cta-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-cta-layout::before {
        display: none;
    }

    .contact-cta-content {
        padding-right: 0;
    }

    .contact-cta-form {
        padding-left: 0;
    }

    .contact-cta-title {
        font-size: 32px;
        margin-bottom: 25px;
    }

    .contact-cta-text {
        font-size: 14px;
    }

    .contact-form-title {
        font-size: 26px;
        margin-bottom: 25px;
    }

    .form-input,
    .form-textarea {
        padding: 14px 18px;
        font-size: 15px;
    }

    .btn-contact-submit {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .contact-cta-section {
        padding: 50px 30px;
    }

    .contact-cta-layout {
        gap: 40px;
    }

    .contact-cta-title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .contact-cta-text {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .contact-form-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .contact-form {
        gap: 18px;
    }

    .form-input,
    .form-textarea {
        padding: 12px 16px;
        font-size: 14px;
    }

    .form-textarea {
        min-height: 100px;
    }

    .btn-contact-submit {
        padding: 13px 35px;
        font-size: 15px;
    }
}

/* Trusted Image Section */
.trusted-image-section {
    background: var(--color-white);
    padding: 80px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.trusted-image-container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

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

/* Responsive Design for Trusted Image Section */
@media screen and (max-width: 1024px) {
    .trusted-image-section {
        padding: 60px 0;
    }

    .trusted-image-container {
        width: 85%;
    }
}

@media screen and (max-width: 768px) {
    .trusted-image-section {
        padding: 50px 0;
    }

    .trusted-image-container {
        width: 90%;
    }
}

@media screen and (max-width: 480px) {
    .trusted-image-section {
        padding: 40px 0;
    }

    .trusted-image-container {
        width: 95%;
    }
}

/* Contact CTA Section */
.contact-cta-section {
    background: #2d3238;
    padding: 100px 80px;
    color: var(--color-white);
    padding-top: 50px;
}

/* Social Buttons */
.social-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    color: #25D366;
    font-size: 28px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

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

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

.wechat-btn {
    background: var(--color-white);
    color: #09B83E;
}

.wechat-btn:hover {
    background: #09B83E;
    color: var(--color-white);
}

.contact-cta-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-cta-content {
    padding-right: 40px;
    margin-top: 5px;
}

.contact-cta-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-white);
    margin-bottom: 30px;
}

.contact-cta-text {
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 10px;
}

.contact-cta-text:last-child {
    margin-bottom: 0;
}

.contact-cta-form {
    background: transparent;
}

.contact-form-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 30px;
}

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

.form-input,
.form-textarea {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 0;
    font-size: 15px;
    font-family: inherit;
    background: var(--color-white);
    color: var(--color-text-dark);
    transition: box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.3);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #999;
}

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

.btn-cta-submit {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    align-self: flex-start;
}

.btn-cta-submit:hover {
    background: #5b52d9;
    transform: translateY(-2px);
}

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

/* Responsive Design for Contact CTA Section */
@media screen and (max-width: 1024px) {
    .contact-cta-section {
        padding: 80px 40px;
    }

    .contact-cta-layout {
        gap: 60px;
    }

    .contact-cta-content {
        padding-right: 20px;
    }

    .contact-cta-title {
        font-size: 36px;
    }

    .contact-form-title {
        font-size: 28px;
    }
}

@media screen and (max-width: 768px) {
    .contact-cta-section {
        padding: 60px 30px;
    }

    .contact-cta-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-cta-content {
        padding-right: 0;
    }

    .contact-cta-title {
        font-size: 32px;
        margin-bottom: 25px;
    }

    .contact-cta-text {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .contact-form-title {
        font-size: 26px;
        margin-bottom: 25px;
    }

    .form-input,
    .form-textarea {
        padding: 14px 18px;
        font-size: 14px;
    }

    .btn-cta-submit {
        width: 100%;
        align-self: stretch;
    }
    
    .social-buttons {
        justify-content: center;
        margin-top: 25px;
    }
    
    .social-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

@media screen and (max-width: 480px) {
    .contact-cta-section {
        padding: 50px 30px;
    }

    .contact-cta-layout {
        gap: 40px;
    }

    .contact-cta-title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .contact-cta-text {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .contact-form-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .cta-form {
        gap: 15px;
    }

    .form-input,
    .form-textarea {
        padding: 12px 16px;
    }

    .form-textarea {
        min-height: 100px;
    }

    .btn-cta-submit {
        padding: 14px 35px;
        font-size: 15px;
    }
    
    .social-btn {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
}

/* Dropbox Section */
.dropbox-section {
    padding: 100px 0;
    padding-left: 70px;
    padding-right: 70px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    overflow-x: hidden;
    width: 100%;
}

.dropbox-layout {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 50px;
    align-items: center;
    max-width: 100%;
    box-sizing: border-box;
    padding-right: 40px;
}

.dropbox-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    max-width: 100%;
    box-sizing: border-box;
}

.dropbox-image-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.dropbox-image {
    padding: 35px 65px;
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
    max-width: 100%;
}

.dropbox-image-container:hover .dropbox-image {
    transform: scale(1.05);
}

.dropbox-content {
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
    max-width: 100%;
}

.dropbox-icon-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.dropbox-icon-header i {
    font-size: 28px;
    color: var(--color-primary);
    animation: pulse 2s ease-in-out infinite;
}

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

.dropbox-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    text-transform: uppercase;
    margin: 0;
}

.dropbox-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-dark);
    margin-bottom: 30px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.dropbox-text {
    margin-bottom: 35px;
}

.dropbox-highlight {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    padding-bottom: 5px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.dropbox-highlight i {
    font-size: 24px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.dropbox-highlight p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.btn-dropbox {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
    box-sizing: border-box;
    max-width: 100%;
}

.btn-dropbox:hover {
    background: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 123, 255, 0.4);
}

.btn-dropbox i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-dropbox:hover i {
    transform: translateX(5px);
}

/* RFQ CTA button color override */
.btn-rfq-link {
    background: #000000 !important;
    color: var(--color-white) !important;
    border: none;
    font-size: 17px;
    font-weight: 600;
}
.btn-rfq-link:hover {
    background: #333333 !important;
    filter: brightness(1);
}

/* Tablet Responsive */
@media screen and (max-width: 1024px) {
    .dropbox-section {
        padding: 80px 0;
        padding-left: 30px;
        padding-right: 30px;
    }

    .dropbox-layout {
        gap: 50px;
        max-width: 100%;
    }

    .dropbox-title {
        font-size: 36px;
    }

    .dropbox-content {
        padding-left: 30px;
        padding-right: 30px;
    }

    .dropbox-image {
        padding: 35px 45px;
    }
}

@media screen and (max-width: 768px) {
    .dropbox-section {
        padding: 60px 30px;
    }

    .dropbox-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 100%;
        justify-items: center;
        padding: 0px;
    
    }


    .dropbox-image {
        align-self: center;
        width: 60%;
        padding: 35px 25px;
        margin: 0 auto;
    }

    .dropbox-content {
        order: 2;
        padding-left: 20px;
        padding-right: 20px;
        max-width: 100%;
    }

    .dropbox-title {
        font-size: 32px;
        margin-bottom: 25px;
    }

    .dropbox-highlight {
        padding: 18px;
        margin-left: 0;
        margin-right: 0;
    }

    .dropbox-highlight p {
        font-size: 15px;
    }

    .btn-dropbox {
        width: calc(100% - 40px);
        max-width: 100%;
        justify-content: center;
        padding: 16px 35px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 480px) {
    .dropbox-section {
        padding: 50px 0;
    }

    .dropbox-layout {
        gap: 30px;
        max-width: 100%;
        margin: 0 auto;
    }

    .dropbox-image {
        align-self: center;
        width: 70%;
        padding: 35px 15px;
        margin: 0 auto;
    }

    .dropbox-content {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
    }

    .dropbox-icon-header i {
        font-size: 24px;
    }

    .dropbox-label {
        font-size: 12px;
    }

    .dropbox-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .dropbox-highlight {
        padding: 15px;
        padding-bottom: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .dropbox-highlight i {
        font-size: 20px;
    }

    .dropbox-highlight p {
        font-size: 14px;
    }

    .btn-dropbox {
        padding: 14px 30px;
        font-size: 15px;
        max-width: 100%;
        width: calc(100% - 30px);
        margin: 0 auto;
    }
}

.space-section {
    width: 100%;
    height: 175px;
    background-image: url('https://langyaai-public.oss-cn-hongkong.aliyuncs.com/shahadat-rahman.jpg');
    background-size: cover;
    background-position: center;
}

/* RFQ Section */
.rfq-section {
    background: var(--color-grey-light);
    padding: 50px 80px;
}

.rfq-form-container {
    background: var(--color-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 12px var(--shadow-light);
}

.rfq-form-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.rfq-billing-admin-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.rfq-form-group {
    background: var(--color-white);
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

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

.rfq-form-group.billing-width {
    grid-column: span 3;
}

.rfq-form-group.billing-width .rfq-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 15px;
    align-items: stretch;
}

.rfq-form-group.billing-width .rfq-form-field[data-position="billing-address"] {
    grid-column: 3;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.rfq-form-group.billing-width .rfq-form-field[data-position="billing-address"] textarea {
    flex: 1;
    min-height: 80px;
    resize: vertical;
    box-sizing: border-box;
}

.rfq-form-group.admin-width {
    grid-column: span 2;
}

.rfq-subsection-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-primary);
}

.rfq-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 12px;
}

.rfq-form-group.full-width .rfq-form-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr 1.5fr;
    grid-template-rows: auto auto;
    gap: 15px;
}

.rfq-form-row.single-column {
    grid-template-columns: 1fr;
}

.rfq-form-row:last-child {
    margin-bottom: 0;
}

/* Admin panel layout: make email span both rows */
.rfq-form-group.admin-width .rfq-form-row {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
}

.rfq-form-group.admin-width .rfq-form-field[data-position="admin-contact"] {
    grid-column: 1;
    grid-row: 1;
}

.rfq-form-group.admin-width .rfq-form-field[data-position="admin-phone"] {
    grid-column: 2;
    grid-row: 1;
}

.rfq-form-group.admin-width .rfq-form-field[data-position="admin-email"] {
    grid-column: 1 / 3;
    grid-row: 2;
}

/* Prevent overflow in Admin panel at desktop: allow items to shrink and labels to wrap */
.rfq-form-group.admin-width .rfq-form-field {
    min-width: 0;
}
.rfq-form-group.admin-width .rfq-form-field label {
    white-space: normal;
}

/* Grid positioning for General Information fields */
.rfq-form-group.full-width .rfq-form-field[data-position="convert-subscription"] {
    grid-column: 1 / 3;
    grid-row: 2;
}

.rfq-form-group.full-width .rfq-form-field[data-position="other-requirements"] {
    grid-column: 3 / 6;
    grid-row: 2;
}

.rfq-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rfq-form-field label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-dark);
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
}

/* Allow long label to wrap for convert-subscription only */
.rfq-form-field[data-position="convert-subscription"] label {
    white-space: normal;
}

.rfq-form-field label .required {
    color: #e74c3c;
    margin-left: 3px;
}

.rfq-form-field label .optional {
    color: #999;
    font-weight: 400;
    font-size: 13px;
    white-space: nowrap;
}

.rfq-form-field input,
.rfq-form-field select,
.rfq-form-field textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    background: var(--color-white);
    color: var(--color-text-dark);
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.rfq-form-field input:focus,
.rfq-form-field select:focus,
.rfq-form-field textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(40, 95, 245, 0.1);
}

.rfq-form-field textarea {
    resize: vertical;
    min-height: 80px;
}

/* Make both textarea fields in row 2 have equal height - Desktop default */
.rfq-form-group.full-width .rfq-form-row {
    align-items: stretch;
}

.rfq-form-group.full-width .rfq-form-field[data-position="convert-subscription"],
.rfq-form-group.full-width .rfq-form-field[data-position="other-requirements"] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.rfq-form-group.full-width .rfq-form-field[data-position="convert-subscription"] textarea,
.rfq-form-group.full-width .rfq-form-field[data-position="other-requirements"] textarea {
    flex: 1;
    min-height: 80px;
    resize: vertical;
    box-sizing: border-box;
}

/* Billing address height is handled by flex in desktop - see .rfq-form-group.billing-width above */

.rfq-form-field select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.rfq-form-actions {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    grid-column: span 4;
}

.btn-rfq-submit {
    background: #000000;
    color: var(--color-white);
    padding: 12px 40px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-rfq-submit:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-rfq-reset {
    background: transparent;
    color: var(--color-text-dark);
    padding: 12px 30px;
    border: 2px solid #d0d0d0;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-rfq-reset:hover {
    border-color: var(--color-text-dark);
    background: #f8f9fa;
}

/* Responsive Design for RFQ Section */
@media screen and (max-width: 1024px) {
    .rfq-section {
        padding: 40px 40px;
    }

    .rfq-form-container {
        padding: 30px;
    }

    .rfq-form-grid {
        gap: 20px;
    }

    .rfq-billing-admin-grid {
        grid-template-columns: repeat(5, 1fr); /* billing: 3 cols, admin: 2 cols */
        gap: 20px;
    }

    .rfq-form-group {
        padding: 20px;
    }

    .rfq-form-group.billing-width { grid-column: span 3; }
    .rfq-form-group.admin-width { grid-column: span 2; }

    /* Billing panel: 3 lines
       Row 1: Company | Contact
       Row 2: Email   | Phone
       Row 3: Address (full width)
    */
    .rfq-form-group.billing-width .rfq-form-row {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
    }

    /* Row 1 */
    .rfq-form-group.billing-width .rfq-form-row .rfq-form-field:nth-child(1) { /* Company */
        grid-column: 1; grid-row: 1;
    }
    .rfq-form-group.billing-width .rfq-form-row .rfq-form-field:nth-child(2) { /* Contact */
        grid-column: 2; grid-row: 1;
    }
    /* Row 2 */
    .rfq-form-group.billing-width .rfq-form-row .rfq-form-field:nth-child(5) { /* Email */
        grid-column: 1; grid-row: 2;
    }
    .rfq-form-group.billing-width .rfq-form-row .rfq-form-field:nth-child(4) { /* Phone */
        grid-column: 2; grid-row: 2;
    }
    /* Row 3 */
    .rfq-form-group.billing-width .rfq-form-field[data-position="billing-address"] {
        grid-column: 1 / 3;
        grid-row: 3;
    }

    /* Admin panel: 3 single-column lines
       Row 1: Contact Name
       Row 2: Email
       Row 3: Phone number
    */
    .rfq-form-group.admin-width .rfq-form-row {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }
    .rfq-form-group.admin-width .rfq-form-field[data-position="admin-contact"] {
        grid-column: 1; grid-row: 1;
    }
    .rfq-form-group.admin-width .rfq-form-field[data-position="admin-email"] {
        grid-column: 1; grid-row: 2;
    }
    .rfq-form-group.admin-width .rfq-form-field[data-position="admin-phone"] {
        grid-column: 1; grid-row: 3;
    }

    .rfq-form-row {
        gap: 15px;
    }

    .rfq-form-group.full-width .rfq-form-row {
        grid-template-columns: 1.5fr 1.25fr 1.25fr; /* Row 1: Company | #Employees | No. of User */
        grid-template-rows: auto auto auto;  /* 3 lines as requested */
    }

    /* Row 1 placement */
    .rfq-form-group.full-width .rfq-form-row .rfq-form-field:nth-child(1) { /* Company Name */
        grid-column: 1;
        grid-row: 1;
    }
    .rfq-form-group.full-width .rfq-form-row .rfq-form-field:nth-child(2) { /* # of Employees */
        grid-column: 2;
        grid-row: 1;
    }
    .rfq-form-group.full-width .rfq-form-row .rfq-form-field:nth-child(3) { /* No. of User */
        grid-column: 3;
        grid-row: 1;
    }

    /* Row 2 placement */
    .rfq-form-group.full-width .rfq-form-row .rfq-form-field:nth-child(4) { /* Plan Type */
        grid-column: 1;
        grid-row: 2;
    }
    .rfq-form-group.full-width .rfq-form-row .rfq-form-field:nth-child(5) { /* Order Start Date */
        grid-column: 2 / 4; /* span two columns to make two fields on the line */
        grid-row: 2;
    }

    /* Row 3 placement */
    .rfq-form-group.full-width .rfq-form-field[data-position="convert-subscription"] {
        grid-column: 1;
        grid-row: 3;
    }
    .rfq-form-group.full-width .rfq-form-field[data-position="other-requirements"] {
        grid-column: 2 / 4;
        grid-row: 3;
    }

    /* Make both textarea fields have equal height at 1024px */
    .rfq-form-group.full-width .rfq-form-row {
        align-items: stretch;
    }

    .rfq-form-group.full-width .rfq-form-field[data-position="convert-subscription"],
    .rfq-form-group.full-width .rfq-form-field[data-position="other-requirements"] {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .rfq-form-group.full-width .rfq-form-field[data-position="convert-subscription"] textarea,
    .rfq-form-group.full-width .rfq-form-field[data-position="other-requirements"] textarea {
        flex: 1;
        min-height: 80px;
        resize: vertical;
        box-sizing: border-box;
    }

    .rfq-form-field label {
        font-size: 13px;
    }
}

@media screen and (max-width: 768px) {
    .rfq-section {
        padding: 30px 30px;
    }

    .rfq-form-container {
        padding: 25px 20px;
    }

    .rfq-form-grid {
        gap: 20px;
    }

    .rfq-billing-admin-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .rfq-form-group {
        padding: 20px;
    }

    .rfq-form-group.billing-width,
    .rfq-form-group.admin-width {
        grid-column: span 1;
    }

    /* Billing panel at 768px: two columns, address spans full width */
    .rfq-form-group.billing-width .rfq-form-row {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
    }
    /* Row 1 */
    .rfq-form-group.billing-width .rfq-form-row .rfq-form-field:nth-child(1) { /* Company */
        grid-column: 1; grid-row: 1;
    }
    .rfq-form-group.billing-width .rfq-form-row .rfq-form-field:nth-child(2) { /* Contact */
        grid-column: 2; grid-row: 1;
    }
    /* Row 2 */
    .rfq-form-group.billing-width .rfq-form-row .rfq-form-field:nth-child(5) { /* Email */
        grid-column: 1; grid-row: 2;
    }
    .rfq-form-group.billing-width .rfq-form-row .rfq-form-field:nth-child(4) { /* Phone */
        grid-column: 2; grid-row: 2;
    }
    /* Row 3 */
    .rfq-form-group.billing-width .rfq-form-field[data-position="billing-address"] {
        grid-column: 1 / 3; grid-row: 3;
    }

    /* Admin panel at 768px: two columns, email spans full width on row 2 */
    .rfq-form-group.admin-width .rfq-form-row {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }
    .rfq-form-group.admin-width .rfq-form-field[data-position="admin-contact"] {
        grid-column: 1; grid-row: 1;
    }
    .rfq-form-group.admin-width .rfq-form-field[data-position="admin-phone"] {
        grid-column: 2; grid-row: 1;
    }
    .rfq-form-group.admin-width .rfq-form-field[data-position="admin-email"] {
        grid-column: 1 / 3; grid-row: 2;
    }

    .rfq-subsection-title {
        font-size: 17px;
        margin-bottom: 18px;
        padding-bottom: 8px;
    }

    .rfq-form-row {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 12px;
    }

    /* General Information at 768px */
    .rfq-form-group.full-width .rfq-form-row {
        grid-template-columns: 2fr 1fr 1fr; /* Row 1: Company | #Employees | No. of User */
        grid-template-rows: auto auto auto auto; /* 4 lines */
    }
    /* Row 1 */
    .rfq-form-group.full-width .rfq-form-row .rfq-form-field:nth-child(1) { /* Company */
        grid-column: 1; grid-row: 1;
    }
    .rfq-form-group.full-width .rfq-form-row .rfq-form-field:nth-child(2) { /* # of Employees */
        grid-column: 2; grid-row: 1;
    }
    .rfq-form-group.full-width .rfq-form-row .rfq-form-field:nth-child(3) { /* No. of User */
        grid-column: 3; grid-row: 1;
    }
    /* Row 2 */
    .rfq-form-group.full-width .rfq-form-row .rfq-form-field:nth-child(4) { /* Plan Type */
        grid-column: 1; grid-row: 2;
    }
    .rfq-form-group.full-width .rfq-form-row .rfq-form-field:nth-child(5) { /* Order Start Date */
        grid-column: 2 / 4; grid-row: 2;
    }
    /* Row 3 */
    .rfq-form-group.full-width .rfq-form-field[data-position="convert-subscription"] {
        grid-column: 1 / 4; grid-row: 3;
    }
    /* Row 4 */
    .rfq-form-group.full-width .rfq-form-field[data-position="other-requirements"] {
        grid-column: 1 / 4; grid-row: 4;
    }

    .rfq-form-field label {
        font-size: 14px;
        white-space: normal;
    }

    .rfq-form-field input,
    .rfq-form-field select,
    .rfq-form-field textarea {
        padding: 12px 14px;
        font-size: 15px;
    }

    .rfq-form-actions {
        flex-direction: column;
        gap: 12px;
        grid-column: span 1;
    }

    .btn-rfq-submit,
    .btn-rfq-reset {
        width: 100%;
        padding: 14px 35px;
    }
}

@media screen and (max-width: 480px) {
    .rfq-section {
        padding: 30px 30px;
    }

    .rfq-form-container {
        padding: 20px 15px;
    }

    .rfq-form-grid {
        gap: 18px;
    }

    .rfq-form-group {
        padding: 18px;
    }

    .rfq-subsection-title {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .rfq-form-row {
        margin-bottom: 10px;
    }

    /* General Information at mobile: 2 columns, specific ordering */
    .rfq-form-group.full-width .rfq-form-row {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto auto auto;
        gap: 12px;
    }
    /* Row 1 */
    .rfq-form-group.full-width .rfq-form-row .rfq-form-field:nth-child(1) { /* Company */
        grid-column: 1 / 3; grid-row: 1;
    }
    /* Row 2 */
    .rfq-form-group.full-width .rfq-form-row .rfq-form-field:nth-child(2) { /* # of Employees */
        grid-column: 1; grid-row: 2;
    }
    .rfq-form-group.full-width .rfq-form-row .rfq-form-field:nth-child(3) { /* No. of User */
        grid-column: 2; grid-row: 2;
    }
    /* Row 3 */
    .rfq-form-group.full-width .rfq-form-row .rfq-form-field:nth-child(4) { /* Plan */
        grid-column: 1; grid-row: 3;
    }
    .rfq-form-group.full-width .rfq-form-row .rfq-form-field:nth-child(5) { /* Order Start */
        grid-column: 2; grid-row: 3;
    }
    /* Row 4 */
    .rfq-form-group.full-width .rfq-form-field[data-position="convert-subscription"] {
        grid-column: 1 / 3; grid-row: 4;
    }
    /* Row 5 */
    .rfq-form-group.full-width .rfq-form-field[data-position="other-requirements"] {
        grid-column: 1 / 3; grid-row: 5;
    }

    .rfq-form-field input,
    .rfq-form-field select,
    .rfq-form-field textarea {
        padding: 11px 13px;
        font-size: 14px;
    }

    /* Billing panel at mobile: single column, all fields full width */
    .rfq-form-group.billing-width .rfq-form-row {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto auto;
        gap: 12px;
    }
    .rfq-form-group.billing-width .rfq-form-row .rfq-form-field:nth-child(1) { /* Company */
        grid-column: 1; grid-row: 1;
    }
    .rfq-form-group.billing-width .rfq-form-row .rfq-form-field:nth-child(2) { /* Contact */
        grid-column: 1; grid-row: 2;
    }
    .rfq-form-group.billing-width .rfq-form-row .rfq-form-field:nth-child(4) { /* Phone */
        grid-column: 1; grid-row: 3;
    }
    .rfq-form-group.billing-width .rfq-form-row .rfq-form-field:nth-child(5) { /* Email */
        grid-column: 1; grid-row: 4;
    }
    .rfq-form-group.billing-width .rfq-form-field[data-position="billing-address"] {
        grid-column: 1; grid-row: 5;
    }

    /* Admin panel at mobile: single column, all fields full width */
    .rfq-form-group.admin-width .rfq-form-row {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 12px;
    }
    .rfq-form-group.admin-width .rfq-form-field[data-position="admin-contact"] {
        grid-column: 1; grid-row: 1;
    }
    .rfq-form-group.admin-width .rfq-form-field[data-position="admin-phone"] {
        grid-column: 1; grid-row: 2;
    }
    .rfq-form-group.admin-width .rfq-form-field[data-position="admin-email"] {
        grid-column: 1; grid-row: 3;
    }

    .btn-rfq-submit,
    .btn-rfq-reset {
        padding: 13px 30px;
        font-size: 15px;
    }
}/* Extra small screens - super narrow mobile */
@media screen and (max-width: 375px) {
    .rfq-section {
        padding: 15px 10px;
        overflow-x: hidden;
    }

    .rfq-form-container {
        padding: 12px 10px;
        max-width: 100%;
        overflow-x: hidden;
    }

    .rfq-form-group {
        padding: 12px 10px;
        max-width: 100%;
        overflow-x: hidden;
    }

    .rfq-form-row {
        max-width: 100%;
        overflow-x: hidden;
    }

    .rfq-form-field {
        max-width: 100%;
        min-width: 0;
    }

    .rfq-form-field input,
    .rfq-form-field select,
    .rfq-form-field textarea {
        max-width: 100%;
        box-sizing: border-box;
    }

    .rfq-subsection-title {
        font-size: 14px;
        margin-bottom: 10px;
        word-wrap: break-word;
    }

    .rfq-form-row {
        gap: 10px;
        margin-bottom: 8px;
    }

    /* General Information at super narrow: single column, each field on its own row */
    .rfq-form-group.full-width .rfq-form-row {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto auto auto auto;
        gap: 10px;
    }
    /* All fields full width - one field per row */
    .rfq-form-group.full-width .rfq-form-row .rfq-form-field:nth-child(1) { /* Company */
        grid-column: 1; grid-row: 1;
    }
    .rfq-form-group.full-width .rfq-form-row .rfq-form-field:nth-child(2) { /* # of Employees */
        grid-column: 1; grid-row: 2;
    }
    .rfq-form-group.full-width .rfq-form-row .rfq-form-field:nth-child(3) { /* No. of User */
        grid-column: 1; grid-row: 3;
    }
    .rfq-form-group.full-width .rfq-form-row .rfq-form-field:nth-child(4) { /* Plan */
        grid-column: 1; grid-row: 4;
    }
    .rfq-form-group.full-width .rfq-form-row .rfq-form-field:nth-child(5) { /* Order Start */
        grid-column: 1; grid-row: 5;
    }
    .rfq-form-group.full-width .rfq-form-field[data-position="convert-subscription"] {
        grid-column: 1; grid-row: 6;
    }
    .rfq-form-group.full-width .rfq-form-field[data-position="other-requirements"] {
        grid-column: 1; grid-row: 7;
    }

    .rfq-form-field label {
        font-size: 12px;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .rfq-form-field input,
    .rfq-form-field select,
    .rfq-form-field textarea {
        padding: 10px 12px;
        font-size: 13px;
    }

    .btn-rfq-submit,
    .btn-rfq-reset {
        padding: 12px 25px;
        font-size: 14px;
    }
}