/* Hero Slider Styles */
.hero-slider {
    position: relative;
    width: 100%;
    height: calc(100vh - 90px); /* Fills the screen below the 90px navbar */
    overflow: hidden;
    background-color: #ffffff;
}

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

.slide {
    position: absolute;
    width: 100%;
    height: 90%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensures the entire photo is visible without cropping */
    object-position: center; /* Keeps the center of the image visible */
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 20;
}

.slider-controls button {
    background: rgba(255,255,255,0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-controls button:hover {
    background: white;
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dots .dot.active {
    background: white;
    transform: scale(1.2);
}

/* Responsive Slider */
@media (max-width: 768px) {
    .hero-slider {
        height: calc(100vh - 60px);
    }

    .slider-controls button {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .slider-dots .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: calc(100vh - 50px);
    }

    .slider-controls {
        padding: 0 10px;
    }

    .slider-controls button {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .slider-dots {
        bottom: 20px;
        gap: 8px;
    }

    .slider-dots .dot {
        width: 8px;
        height: 8px;
    }
}

/* About Section */
.about-home{
    padding:100px 0;
}

/* Supplying TPE Section */
.supplying-tpe {
    padding: 80px 0;
    background: #ffffff;
}

/* Words That Define Us Section */
.words-define-us {
    padding: 100px 0;
    background: #ffffff;
    text-align: center;
}

.words-define-us .section-subtitle {
    font-size: 14px;
    color: #1e285d;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.words-define-us .section-title {
    font-size: 42px;
    font-weight: 700;
    color: #1e285d;
    margin-bottom: 50px;
}

.words-define-us .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.words-define-us .feature-item {
    text-align: center;
    padding: 30px 20px;
}

.words-define-us .feature-icon {
    margin-bottom: 20px;
    display: inline-block;
}

.words-define-us .feature-icon svg {
    display: block;
    margin: 0 auto;
}

.words-define-us .feature-item h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1e285d;
    margin-bottom: 15px;
}

.words-define-us .feature-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.words-define-us .brochure-button-container {
    margin-top: 30px;
}

.words-define-us .btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: #1e285d;
    border: 2px solid #1e285d;
    text-decoration: none;
    transition: all 0.3s;
    border-radius: 5px;
}

.words-define-us .btn:hover {
    background: #ffffff;
    color: #1e285d;
}

/* Responsive for Words That Define Us Section */
@media (max-width: 768px) {
    .words-define-us {
        padding: 60px 0;
    }

    .words-define-us .section-title {
        font-size: 32px;
    }

    .words-define-us .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .words-define-us .feature-item {
        padding: 20px;
    }
}

/* Our Products Section */
.our-products {
    padding: 100px 0;
    background: #ffffff;
    text-align: center;
}

.our-products .section-title {
    font-size: 42px;
    font-weight: 700;
    color: #1e285d;
    margin-bottom: 50px;
}

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

.our-products .product-card-item {
    background: #ffffff;
    border: 2px solid #1e285d;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 4px 4px 0px 0px #1e285d;
    transition: all 0.3s;
    padding: 40px 25px;
    text-align: center;
    display: block;
    text-decoration: none;
}

.our-products .product-card-item:hover {
    transform: translateY(-8px);
    box-shadow: 8px 8px 0px 0px #1e285d;
}

.our-products .product-card-item.tpe {
    background: linear-gradient(135deg, #1e285d 0%, #2d3a8a 100%);
}

.our-products .product-card-item.tpv {
    background: linear-gradient(135deg, #1e285d 0%, #3d4a9a 100%);
}

.our-products .product-card-item.tpo {
    background: linear-gradient(135deg, #1e285d 0%, #4d5aaa 100%);
}

.our-products .product-card-item.tpr {
    background: linear-gradient(135deg, #1e285d 0%, #5d6aba 100%);
}

.our-products .product-card-item.tps {
    background: linear-gradient(135deg, #1e285d 0%, #6d7aca 100%);
}

.our-products .product-card-item.talc {
    background: linear-gradient(135deg, #1e285d 0%, #7d8ada 100%);
}

.our-products .product-acronym {
    font-size: 64px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: 3px;
    transition: all 0.3s;
}

.our-products .product-card-item:hover .product-acronym {
    transform: scale(1.05);
}

.our-products .product-info {
    padding: 0;
}

.our-products .product-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.our-products .product-info p {
    font-size: 14px;
    color: #ffffff;
    margin: 0;
    line-height: 1.5;
    opacity: 0.9;
}

/* Responsive for Our Products Section */
@media (max-width: 992px) {
    .our-products .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .our-products {
        padding: 60px 0;
    }

    .our-products .section-title {
        font-size: 32px;
    }

    .our-products .products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .our-products .product-image {
        height: 200px;
    }
}

/* Applications Section */
.applications-section {
    padding: 100px 0;
    background: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.applications-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 40, 93, 0.03) 0%, rgba(30, 40, 93, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.8s ease;
}

.applications-section.animate-in::before {
    opacity: 1;
}

.applications-section .section-subtitle {
    font-size: 14px;
    color: #1e285d;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.applications-section .section-subtitle.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
}

.applications-section .section-subtitle.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.applications-section .section-title {
    font-size: 42px;
    font-weight: 700;
    color: #1e285d;
    margin-bottom: 50px;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.applications-section .section-title.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
}

.applications-section .section-title.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.applications-section .applications-slider {
    padding: 20px 0 60px;
    position: relative;
    margin: 0 auto;
    max-width: 1100px; /* Constrain slightly so arrows have space on the sides */
    z-index: 1;
}

.applications-section .application-item {
    background: #ffffff;
    border: 2px solid #1e285d;
    border-radius: 8px;
    box-shadow: 4px 4px 0px 0px #1e285d;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: block; /* Make the entire card clickable */
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit text color from children */
    height: 100%;
}

/* Target the slide wrapper for animations */
.applications-section.animate-on-scroll .swiper-slide {
    opacity: 0;
    transform: translateY(60px) rotateX(20deg);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.applications-section.animate-in .swiper-slide {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
}

/* Staggered delays for the first few visible slides */
.applications-section.animate-in .swiper-slide:nth-child(1) { transition-delay: 0.1s; }
.applications-section.animate-in .swiper-slide:nth-child(2) { transition-delay: 0.2s; }
.applications-section.animate-in .swiper-slide:nth-child(3) { transition-delay: 0.3s; }

.applications-section .application-item:hover {
    transform: translateY(-15px) scale(1.08) rotateY(5deg);
    box-shadow: 8px 8px 0px 0px #1e285d;
    z-index: 5;
}

.applications-section .app-icon {
    font-size: 40px;
    margin-bottom: 25px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: #ffffff;
    border: 2px solid #1e285d;
    border-radius: 50%;
    box-shadow: 4px 4px 0px 0px #1e285d;
}

.applications-section .application-item:hover .app-icon {
    transform: rotate(360deg) scale(1.1);
    background: #f8f9fa;
}

.applications-section .application-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e285d;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.applications-section .application-item:hover h3 {
    transform: scale(1.05);
}

.applications-section .application-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* How We Work Section */
.how-we-work {
    padding: 100px 0;
    background: #f8f9fa;
    text-align: center;
}

.how-we-work .section-header {
    margin-bottom: 60px;
}

.how-we-work .section-subtitle {
    font-size: 14px;
    color: #1e285d;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    transition: all 0.6s ease;
}

.how-we-work .section-subtitle.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
}

.how-we-work .section-subtitle.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.how-we-work .section-title {
    font-size: 42px;
    font-weight: 700;
    color: #1e285d;
    margin-bottom: 20px;
    transition: all 0.6s ease;
}

.how-we-work .section-title.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
}

.how-we-work .section-title.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.how-we-work .process-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.how-we-work .step-item {
    background: #ffffff;
    border: 2px solid #1e285d;
    border-radius: 8px;
    box-shadow: 4px 4px 0px 0px #1e285d;
    padding: 30px;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.how-we-work .step-item.animate-on-scroll {
    opacity: 0;
    transform: translateX(-30px);
}

.how-we-work .step-item.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.how-we-work .step-item:hover {
    transform: translateX(15px) scale(1.02);
    box-shadow: 8px 8px 0px 0px #1e285d;
}

.how-we-work .step-number {
    font-size: 14px;
    font-weight: 700;
    color: #1e285d;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.how-we-work .step-item h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1e285d;
    margin-bottom: 15px;
}

.how-we-work .step-item p {
    font-size: 15px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

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

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

/* Responsive for Applications Section */
@media (max-width: 992px) {
    .applications-section .applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .applications-section {
        padding: 60px 0;
    }

    .applications-section .section-title {
        font-size: 32px;
    }

    .applications-section .applications-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .how-we-work {
        padding: 60px 0;
    }

    .how-we-work .section-title {
        font-size: 32px;
    }

    .how-we-work .process-steps {
        gap: 30px;
    }

    .how-we-work .step-item {
        padding: 25px;
    }
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 100px 0;
    background: #ffffff;
    text-align: center;
}

.why-choose-us .section-subtitle {
    font-size: 14px;
    color: #1e285d;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    transition: all 0.6s ease;
}

.why-choose-us .section-subtitle.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
}

.why-choose-us .section-subtitle.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.why-choose-us .section-title {
    font-size: 42px;
    font-weight: 700;
    color: #1e285d;
    margin-bottom: 50px;
    transition: all 0.6s ease;
}

.why-choose-us .section-title.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
}

.why-choose-us .section-title.animate-in {
    opacity: 1;
    transform: translateY(0);
}

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

.why-choose-us .feature-item {
    background: #ffffff;
    border: 2px solid #1e285d;
    border-radius: 8px;
    box-shadow: 4px 4px 0px 0px #1e285d;
    padding: 40px 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.why-choose-us .feature-item.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
}

.why-choose-us .feature-item.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.why-choose-us .feature-item:nth-child(1).animate-on-scroll {
    transition-delay: 0.1s;
}

.why-choose-us .feature-item:nth-child(2).animate-on-scroll {
    transition-delay: 0.2s;
}

.why-choose-us .feature-item:nth-child(3).animate-on-scroll {
    transition-delay: 0.3s;
}

.why-choose-us .feature-item:nth-child(4).animate-on-scroll {
    transition-delay: 0.4s;
}

.why-choose-us .feature-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 8px 8px 0px 0px #1e285d;
}

.why-choose-us .feature-icon {
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.why-choose-us .feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.why-choose-us .feature-icon svg {
    display: inline-block;
}

.why-choose-us .feature-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e285d;
    margin-bottom: 15px;
}

.why-choose-us .feature-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Responsive for Why Choose Us Section */
@media (max-width: 992px) {
    .why-choose-us .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-choose-us {
        padding: 60px 0;
    }

    .why-choose-us .section-title {
        font-size: 32px;
    }

    .why-choose-us .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

.supplying-tpe .content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.supplying-tpe .text-content {
    flex: 0 0 auto;
    max-width: 600px;
}

.supplying-tpe .map-container {
    flex: 0 0 400px;
    border-radius: 8px;
    overflow: hidden;
}

.supplying-tpe .map-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 400px;
}

.supplying-tpe h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1e285d;
    margin-bottom: 20px;
}

.supplying-tpe .text-content > p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 30px;
}

.supplying-tpe .features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.supplying-tpe .features-list li {
    padding: 15px 0;
    padding-left: 35px;
    position: relative;
    margin-bottom: 10px;
}

.supplying-tpe .features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 15px;
    color: #1e285d;
    font-weight: bold;
    font-size: 18px;
}

.supplying-tpe .features-list li h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1e285d;
    margin: 0 0 5px 0;
}

.supplying-tpe .features-list li p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Responsive for Supplying TPE Section */
@media (max-width: 768px) {
    .supplying-tpe {
        padding: 50px 0;
    }

    .supplying-tpe h2 {
        font-size: 28px;
    }

    .supplying-tpe .content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .supplying-tpe .map-container {
        flex: 0 0 auto;
        max-width: 100%;
        /* Ensure map container is fully responsive */
    }

    .supplying-tpe .map-image {
        max-width: 100%; /* Ensure map image is fully responsive */
    }

    .supplying-tpe .map-image {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .supplying-tpe h2 {
        font-size: 24px;
    }

    .supplying-tpe .text-content > p {
        font-size: 14px;
    }
}

.product-card{
    border:none;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    transition:.4s;
}

.product-card:hover{
    transform:translateY(-10px);
}

.application-box{
    padding:30px;
    text-align:center;
    background:#f7f7f7;
    border-radius:10px;
}