/* Home3 - Professional & Corporate Design */

/* CSS Loading Test */
body.home3-loaded {
    --css-loaded: true;
}

:root {
    --primary-color: #A91467;
    --secondary-color: #2c5282;
    --accent-color: #f7fafc;
    --dark-color: #1a202c;
    --light-gray: #edf2f7;
    --text-dark: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --success-color: #38a169;
    --warning-color: #ed8936;
}

/* Hero Section */
.hero-home3 {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(169, 20, 103, 0.8), rgba(44, 82, 130, 0.6));
    z-index: 2;
}

.slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 3;
    color: var(--white);
    text-align: center;
}

.slide-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.highlight {
    color: var(--warning-color);
    font-weight: 900;
}

.slide-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.slide-cta {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary, .btn-hero-secondary {
    padding: 18px 40px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border: 2px solid;
    transition: all 0.3s ease;
    border-radius: 0;
}

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

.btn-hero-primary:hover {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

.hero-navigation {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
    padding: 10px;
}

.nav-item.active {
    opacity: 1;
}

.nav-item:hover {
    opacity: 1;
}

.nav-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-item.active .nav-number {
    background: var(--primary-color);
}

.nav-text {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* New Arrivals Section */
.new-arrivals {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    font-weight: 300;
    color: var(--dark-color);
    margin: 0;
}

.section-nav {
    display: flex;
    gap: 10px;
}

.nav-arrow {
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
}

.nav-arrow:hover {
    background: var(--primary-color);
    color: var(--white);
}

.products-scroll {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-behavior: smooth;
}

.products-scroll::-webkit-scrollbar {
    height: 5px;
}

.products-scroll::-webkit-scrollbar-track {
    background: var(--light-gray);
}

.products-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

.product-card {
    min-width: 300px;
    background: var(--white);
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
}

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

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(169, 20, 103, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-link {
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border: 2px solid var(--white);
    padding: 12px 24px;
    transition: all 0.3s ease;
}

.product-link:hover {
    background: var(--white);
    color: var(--primary-color);
}

.product-info {
    padding: 25px;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-desc {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Experience Section */
.experience-section {
    padding: 100px 0;
    background: var(--accent-color);
}

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

.experience-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 30px;
    line-height: 1.3;
}

.experience-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 40px;
}

.app-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.feature-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.feature-text p {
    color: var(--text-light);
    margin: 0;
}

.phone-mockup {
    background: var(--primary-color);
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(169, 20, 103, 0.3);
}

.phone-mockup img {
    width: 100%;
    border-radius: 20px;
}

/* Precision Section */
.precision-section {
    padding: 100px 0;
    background: var(--white);
}

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

.image-stack {
    position: relative;
}

.main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.floating-stats {
    position: absolute;
    top: -30px;
    right: -30px;
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.precision-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 30px;
    line-height: 1.2;
}

.precision-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 40px;
}

.growing-footprint h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 25px;
}

.footprint-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

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

.footprint-num {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.footprint-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.precision-cta {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 35px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.precision-cta:hover {
    background: var(--dark-color);
    transform: translateY(-2px);
}

/* Innovation Section */
.innovation-home3 {
    padding: 100px 0;
    background: var(--dark-color);
    color: var(--white);
}

.innovation-title {
    font-size: 2.8rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}

.innovation-subtitle {
    font-size: 1.2rem;
    text-align: center;
    opacity: 0.8;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

.innovation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.innovation-item {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.innovation-item:hover {
    background: rgba(169, 20, 103, 0.2);
    transform: translateY(-5px);
}

.innovation-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.innovation-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.innovation-item p {
    opacity: 0.8;
    line-height: 1.5;
}

/* Certifications Section */
.certifications-section {
    padding: 100px 0;
    background: var(--accent-color);
}

.cert-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cert-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.cert-item {
    background: var(--white);
    padding: 30px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.cert-icon {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* CTA Banner */
.cta-banner {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-text {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--dark-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Brand Promise */
.brand-promise {
    padding: 100px 0;
    background: var(--white);
    text-align: center;
}

.motto {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 30px;
}

.promise-text {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.7;
}

.promise-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.promise-item {
    padding: 30px 20px;
}

.promise-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.promise-item p {
    color: var(--text-light);
    line-height: 1.5;
}

/* Testimonial Section */
.testimonial-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.testimonial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #A91467 0%, #8B5A3C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonial-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-item {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.testimonial-content-inner {
    position: relative;
}

.testimonial-quote {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #A91467 0%, #8B5A3C 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    z-index: 2;
}

.testimonial-text {
    margin-bottom: 1.5rem;
    padding-top: 1rem;
}

.testimonial-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    font-style: italic;
    margin: 0;
}

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

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #A91467;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    flex: 1;
    text-align: left;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.25rem 0;
}

.author-designation {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-navigation {
        display: none;
    }

    .experience-grid,
    .precision-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

    .footprint-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .slide-title {
        font-size: 2.5rem;
    }

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

    .slide-cta {
        flex-direction: column;
        align-items: center;
    }

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

    .experience-title,
    .precision-title {
        font-size: 2rem;
    }

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

    .motto {
        font-size: 2.5rem;
    }

    .floating-stats {
        position: static;
        margin-top: 20px;
    }

    .footprint-stats {
        flex-direction: column;
        gap: 20px;
    }

    /* Testimonial Responsive */
    .testimonial-section {
        padding: 60px 0;
    }

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

    .testimonial-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .testimonial-item {
        padding: 1.5rem;
    }

    .testimonial-quote {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .slide-title {
        font-size: 2rem;
    }

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

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

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

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

    .motto {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    /* Testimonial Mobile Responsive */
    .testimonial-title {
        font-size: 1.75rem;
    }

    .testimonial-item {
        padding: 1.25rem;
    }

    .author-image {
        width: 50px;
        height: 50px;
    }

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

    .author-designation {
        font-size: 0.85rem;
    }
}
