

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

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

.home-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
}

.home-page a {
    color: #1e3a5f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.home-page a:hover {
    color: #c9a227;
}

.home-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
}

.home-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    color: #fff;
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.home-hero .home-container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(201, 162, 39, 0.2);
    color: #c9a227;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-title span {
    color: #c9a227;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 36px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.hero-btn-primary {
    background: #c9a227;
    color: #1e3a5f;
}

.hero-btn-primary:hover {
    background: #ddb52f;
    color: #1e3a5f;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
}

.hero-btn-secondary {
    background: transparent;
    color: #c9a227 !important;
    border: 2px solid #c9a227;
}

.hero-btn-secondary:hover {
    background: rgba(201, 162, 39, 0.15);
    border-color: #c9a227;
    color: #c9a227 !important;
}

.home-trust {
    background: #fff;
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

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

.trust-item {
    text-align: center;
    padding: 20px;
}

.trust-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-icon svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
}

.trust-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 8px;
}

.trust-text {
    font-size: 14px;
    color: #666;
}

.home-categories {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    display: inline-block;
    background: rgba(30, 58, 95, 0.1);
    color: #1e3a5f;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 16px;
}

.section-description {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.category-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.category-image {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
}

.category-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image img {
    transform: translate(-50%, -50%) scale(1.1);
}

.category-content {
    padding: 16px 12px;
}

.category-name {
    color: #1e3a5f;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.category-count {
    color: #6b7280;
    font-size: 13px;
    margin-top: 4px;
}

.category-link {
    display: inline-flex;
    align-items: center;
    color: #1e3a5f;
    font-weight: 600;
    font-size: 14px;
}

.category-link svg {
    width: 16px;
    height: 16px;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.category-card:hover .category-link svg {
    transform: translateX(4px);
}

.home-featured {
    padding: 80px 0;
}

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

.product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: #c9a227;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

	.product-image {
	    position: relative;
	    width: 100%;
	    padding-bottom: 100%;
	    overflow: hidden;
	    background: #f8f9fa;
	}

    .product-image img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        height: 90%;
        object-fit: contain;
        transition: transform 0.3s ease;
        filter: contrast(1.05) saturate(1.1);
    }

    .product-card:hover .product-image img {
        transform: translate(-50%, -50%) scale(1.08);
    }

	.product-card:hover .product-image img {
	    transform: translate(-50%, -50%) scale(1.05);
	}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #c9a227;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.product-content {
    padding: 20px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: #1e3a5f;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-name a {
    color: inherit;
}

.product-name a:hover {
    color: #c9a227;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}

.product-price {
    color: #c9a227;
    font-weight: 700;
    font-size: 18px;
}

.product-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #1e3a5f;
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.product-btn:hover {
    background: #2d5a87;
    color: #fff;
}

.home-why {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    color: #fff;
}

.home-why .section-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #c9a227;
}

.home-why .section-title {
    color: #fff;
}

.home-why .section-description {
    color: rgba(255, 255, 255, 0.8);
}

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

.why-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.why-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.why-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(201, 162, 39, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-icon svg {
    width: 32px;
    height: 32px;
    stroke: #c9a227;
}

.why-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.why-text {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.7;
}

.home-about {
    padding: 80px 0;
}

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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-stats {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: #c9a227;
    color: #1e3a5f;
    padding: 30px 40px;
    border-radius: 12px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
}

.stat-label {
    font-size: 13px;
    opacity: 0.8;
}

.about-content {
    padding-right: 40px;
}

.about-content .section-badge {
    margin-bottom: 20px;
}

.about-title {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 24px;
    line-height: 1.3;
}

.about-text {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 32px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-feature svg {
    width: 20px;
    height: 20px;
    stroke: #c9a227;
    flex-shrink: 0;
}

.about-feature span {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.home-cta {
    padding: 80px 0;
    background: #f8f9fa;
}

.cta-box {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    border-radius: 16px;
    padding: 60px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(201, 162, 39, 0.1);
    border-radius: 50%;
}

.cta-title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
}

.cta-text {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.cta-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.cta-btn-primary {
    background: #c9a227;
    color: #1e3a5f;
}

.cta-btn-primary:hover {
    background: #ddb52f;
    transform: translateY(-2px);
}

.cta-btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-btn-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 1024px) {
    .trust-grid,
    .categories-grid,
    .products-grid,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .home-container {
        padding: 0 16px;
    }
    
    .home-hero {
        padding: 60px 0 80px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .trust-grid,
    .categories-grid,
    .products-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        padding-right: 0;
        order: 1;
    }
    
    .about-image {
        order: 2;
    }
    
    .about-stats {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: -40px;
        margin-left: 20px;
        margin-right: 20px;
    }
    
    .cta-box {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .home-container {
        padding: 0 12px;
    }
    
    .home-trust,
    .home-categories,
    .home-featured,
    .home-why,
    .home-about,
    .home-cta {
        padding: 60px 0;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 20px;
        padding: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

.home-contact {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.contact-form-box {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.home-contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.home-contact-form .form-group {
    margin-bottom: 20px;
}

.home-contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1e3a5f;
    margin-bottom: 8px;
}

.home-contact-form input,
.home-contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.home-contact-form input:focus,
.home-contact-form textarea:focus {
    outline: none;
    border-color: #1e3a5f;
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

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

.form-submit-btn {
    width: 100%;
    padding: 16px 32px;
    background: #1e3a5f;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit-btn:hover {
    background: #2d5a87;
    transform: translateY(-2px);
}

.form-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.contact-info-box {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    border-radius: 12px;
    padding: 40px;
    color: #fff;
}

.contact-info-box h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #fff;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-item .info-icon {
    width: 44px;
    height: 44px;
    background: rgba(201, 162, 39, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-item .info-icon svg {
    width: 20px;
    height: 20px;
    stroke: #c9a227;
}

.contact-info-item strong {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4px;
}

.contact-info-item p {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
}

@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-info-box {
        order: -1;
    }
}

@media (max-width: 768px) {
    .home-contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-box,
    .contact-info-box {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .home-contact {
        padding: 60px 0;
    }
}

.home-download {
    padding: 80px 0;
    background: #f8f9fa;
}

.download-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.download-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.download-option-item {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.download-option-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.download-option-item .option-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.download-option-item .option-icon svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
}

.download-option-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e3a5f;
    margin-bottom: 4px;
}

.download-option-item p {
    font-size: 14px;
    color: #666;
}

.download-form-box {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.download-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.download-form .form-group {
    margin-bottom: 0;
}

.download-form input,
.download-form select,
.download-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fff;
}

.download-form input:focus,
.download-form select:focus,
.download-form textarea:focus {
    outline: none;
    border-color: #1e3a5f;
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.download-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.download-form textarea {
    width: 100%;
    margin-bottom: 20px;
    resize: vertical;
    min-height: 80px;
}

.download-form .form-submit-btn {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.download-form .form-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 1024px) {
    .download-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .download-options {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .download-option-item {
        flex: 1;
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .download-options {
        flex-direction: column;
    }
    
    .download-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .download-form-box {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .home-download {
        padding: 60px 0;
    }
    
    .download-option-item {
        padding: 20px;
    }
    
    .download-option-item .option-icon {
        width: 48px;
        height: 48px;
    }
    
    .download-option-item .option-icon svg {
        width: 24px;
        height: 24px;
    }
}

.home-download {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

.download-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
}

.download-header {
    text-align: center;
    margin-bottom: 50px;
}

.download-header .section-badge {
    display: inline-block;
    background: rgba(201, 162, 39, 0.15);
    color: #c9a227;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.download-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 14px;
}

.download-header p {
    font-size: 17px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    background: #fff;
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 20px 80px rgba(30, 58, 95, 0.1);
}

.download-resources h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 3px solid #1e3a5f;
}

.resource-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border: 2px solid #eee;
    border-radius: 16px;
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
}

.resource-card:last-child {
    margin-bottom: 0;
}

.resource-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #c9a227 0%, #1e3a5f 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.resource-card:hover {
    border-color: #1e3a5f;
    transform: translateX(6px);
    box-shadow: 0 8px 30px rgba(30, 58, 95, 0.12);
}

.resource-card:hover::before {
    opacity: 1;
}

.resource-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.35);
}

.resource-icon svg {
    width: 30px;
    height: 30px;
    stroke: #fff;
}

.resource-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 6px;
}

.resource-info span {
    font-size: 14px;
    color: #888;
}

.download-form-area h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 8px;
    padding-bottom: 16px;
    border-bottom: 3px solid #1e3a5f;
}

.download-form-area > p {
    font-size: 14px;
    color: #888;
    margin-bottom: 28px;
}

.df-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.df-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.df-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.df-form label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.df-form label .required {
    color: #e74c3c;
}

.df-form input,
.df-form select,
.df-form textarea {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fff;
}

.df-form input:hover,
.df-form select:hover,
.df-form textarea:hover {
    border-color: #ccc;
}

.df-form input:focus,
.df-form select:focus,
.df-form textarea:focus {
    outline: none;
    border-color: #1e3a5f;
    box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.1);
}

.df-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
}

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

.df-submit-btn {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 6px 25px rgba(30, 58, 95, 0.4);
}

.df-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(30, 58, 95, 0.5);
}

.df-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.df-submit-btn svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 1024px) {
    .download-content {
        grid-template-columns: 1fr;
        padding: 50px;
    }
}

@media (max-width: 768px) {
    .home-download {
        padding: 70px 0;
    }
    
    .download-content {
        padding: 35px 25px;
        border-radius: 20px;
    }
    
    .df-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .resource-card {
        padding: 22px;
    }
    
    .resource-icon {
        width: 56px;
        height: 56px;
    }
    
    .resource-icon svg {
        width: 26px;
        height: 26px;
    }
}

.home-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    overflow: hidden;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://www.nrh.hk/wp-content/uploads/2025/09/banner01.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.25;
}

.home-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.85) 0%, rgba(45, 90, 135, 0.75) 100%);
}

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

.hero-badge {
    display: inline-block;
    background: rgba(201, 162, 39, 0.2);
    color: #c9a227;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-title span {
    color: #c9a227;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 650px;
}

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

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #c9a227 0%, #e0b82d 100%);
    color: #1e3a5f;
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 162, 39, 0.5);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #c9a227 !important;
    border: 2px solid rgba(201, 162, 39, 0.6);
    backdrop-filter: blur(4px);
}

.hero-btn-secondary:hover {
    background: rgba(201, 162, 39, 0.15);
    border-color: #c9a227;
    color: #d4ad2e;
}

@media (max-width: 768px) {
    .home-hero {
        min-height: 500px;
        padding: 60px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-btn {
        width: 100%;
    }
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.category-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.08);
    transition: all 0.4s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(30, 58, 95, 0.15);
}

.category-card a {
    text-decoration: none;
    display: block;
}

.category-image {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
}

.category-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    height: 75%;
    object-fit: contain;
    transition: all 0.5s ease;
}

.category-card:hover .category-image img {
    transform: translate(-50%, -50%) scale(1.08);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(30, 58, 95, 0.95) 0%, rgba(30, 58, 95, 0.7) 70%, transparent 100%);
}

.category-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px 0;
}

.category-content {
    padding: 16px 20px;
    background: #fff;
    border-top: 3px solid #c9a227;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1e3a5f;
    transition: all 0.3s ease;
}

.category-link svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.category-card:hover .category-link {
    color: #c9a227;
}

.category-card:hover .category-link svg {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .category-name {
        font-size: 16px;
    }
    
    .category-content {
        padding: 14px 16px;
    }
}

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

.product-image {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.product-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 88%;
    height: 88%;
    object-fit: contain;
    transition: transform 0.4s ease;
    filter: brightness(1.02) contrast(1.05);
}

.product-card:hover .product-image img {
    transform: translate(-50%, -50%) scale(1.05);
}

.product-content {
    padding: 16px;
    background: #fff;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    color: #1e3a5f;
    margin: 0 0 10px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 42px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 14px;
    color: #c9a227;
    font-weight: 600;
}

.product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    background: #1e3a5f;
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.product-card:hover .product-btn {
    background: #c9a227;
}

.section-header-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 50px;
}

.section-header-left {
    width: 100%;
}

.section-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(30, 58, 95, 0.08);
    color: #1e3a5f;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.section-count svg {
    width: 16px;
    height: 16px;
}

.category-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.08);
    transition: all 0.4s ease;
    border: 1px solid #eee;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(30, 58, 95, 0.15);
    border-color: #1e3a5f;
}

.category-image {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    overflow: hidden;
    background: #fff;
}

.category-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    height: 85%;
    object-fit: contain;
    transition: all 0.5s ease;
    filter: brightness(1.05) contrast(1.1);
}

.category-card:hover .category-image img {
    transform: translate(-50%, -50%) scale(1.1);
}

.category-content {
    padding: 16px 20px;
    background: #fff;
    border-top: 3px solid #c9a227;
}

.category-name {
    font-size: 16px;
    font-weight: 700;
    color: #1e3a5f;
    margin: 0 0 6px 0;
}

.category-count {
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
}

.category-count .count-num {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    color: #fff;
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: 600;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #1e3a5f;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.category-link:hover {
    color: #c9a227;
}

.category-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.category-card:hover .category-link svg {
    transform: translateX(4px);
}

.home-faq {
    padding: 80px 0;
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
}

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

.faq-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.06);
    border: 1px solid #eee;
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question svg:first-child {
    width: 24px;
    height: 24px;
    stroke: #c9a227;
    flex-shrink: 0;
}

.faq-question h3 {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: #1e3a5f;
    margin: 0;
}

.faq-toggle {
    width: 20px;
    height: 20px;
    stroke: #666;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px;
    max-height: 200px;
}

.faq-answer p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.home-cases {
    padding: 80px 0;
    background: #1e3a5f;
}

.home-cases .section-badge {
    background: rgba(201, 162, 39, 0.2);
    color: #c9a227;
}

.home-cases .section-title {
    color: #fff;
}

.home-cases .section-description {
    color: rgba(255, 255, 255, 0.8);
}

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

.case-category-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #c9a227;
}

.case-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.case-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.case-image {
    width: 100%;
    height: 100%;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(30, 58, 95, 0.9) 0%, rgba(30, 58, 95, 0.3) 60%, transparent 100%);
    opacity: 1;
    transition: padding 0.3s ease;
}

.case-card:hover .case-overlay {
    background: linear-gradient(to top, rgba(30, 58, 95, 0.95) 0%, rgba(30, 58, 95, 0.6) 50%, transparent 100%);
    padding: 20px 20px 24px;
}

.case-overlay h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.case-overlay span {
    font-size: 13px;
    color: #c9a227;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.case-card:hover .case-overlay span {
    opacity: 1;
    transform: translateY(0);
}
    gap: 6px;
}

.cases-cta {
    text-align: center;
    margin-top: 50px;
}

.cases-cta .hero-btn {
    background: #c9a227;
    color: #1e3a5f;
}

.cases-cta .hero-btn:hover {
    background: #d4b23a;
}

@media (max-width: 1024px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .home-faq,
    .home-cases {
        padding: 60px 0;
    }
    
    .case-items {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        padding: 18px;
    }
    
    .faq-question h3 {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .case-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(30, 58, 95, 1) 0%, rgba(30, 58, 95, 0.7) 50%, transparent 100%);
        padding: 15px;
    }
    
    .case-overlay h4 {
        font-size: 14px;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .case-overlay span {
        display: none;
    }
    
    .case-card {
        min-height: 200px;
    }
    
    .case-card .case-image {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
    
    .case-card .case-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.about-hero-img {
    width: 100% !important;
    height: auto !important;
    display: block;
}
