
        :root {
            --primary-color: #25796f;
            --secondary-color: #1c3633;
            --accent-color: #e9c46a;
            --dark-color: #264653;
            --light-color: #f8f9fa;
            --gray-color: #6c757d;
            --transition: all 0.3s ease;
            --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            --border-radius: 8px;
            --black-color:var(--dark-color)
        }


        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        
        }

        body {
            font-family: 'Roboto', sans-serif;
            line-height: 1.6;
            color: #333;
            background-color: #f9f9f9;
        }
        .material-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.material-description {
    margin: 0 0 16px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #5f6f7a;
}

        .overlay
        {
                margin-top: -5em;
    /* z-index: 9; */
    position: relative;
    height: 350px ;
     animation: moveBg 20s linear infinite;
     
    
        }
        @keyframes moveBg {
    from {
        background-position: 1000px 0;
    }
    to {
        background-position: 0 0;
    }
}

        .center-cards
        {
            display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
        }

        h1, h2, h3, h4, h5 {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            line-height: 1.3;
            margin-bottom: 1rem;
        }

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

        /* Header Styles */
        header {
            background-color: white;
            box-shadow: var(--box-shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }

        .logo {
            display: flex;
            align-items: center;
        }

        .logo h1 {
            font-size: 1.8rem;
            margin-bottom: 0;
            color: var(--primary-color);
        }

        .logo span {
            color: var(--secondary-color);
            font-weight: 700;
        }

        .logo .tagline {
            font-size: 0.9rem;
            color: var(--gray-color);
            font-weight: 400;
            margin-left: 10px;
            border-left: 2px solid #ddd;
            padding-left: 10px;
        }

        nav ul {
            display: flex;
            list-style: none;
        }

        nav ul li {
            margin-left: 25px;
        }

        nav ul li a {
            text-decoration: none;
            color: var(--dark-color);
            font-weight: 500;
            transition: var(--transition);
            font-size: 1rem;
            position: relative;
        }

        nav ul li a:hover {
            color: var(--primary-color);
        }

        nav ul li a.active {
            color: var(--primary-color);
        }

        nav ul li a.active::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: var(--primary-color);
        }

        .contact-btn {
            background-color: var(--primary-color);
            color: white;
            padding: 10px 25px;
            border-radius: var(--border-radius);
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
        }

        .contact-btn:hover {
            background-color: var(--secondary-color);
            transform: translateY(-3px);
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--primary-color);
            cursor: pointer;
        }

        /* Hero Carousel */
        .hero-carousel {
            padding: 0;
            position: relative;
            /* margin-bottom: 60px; */
        }

        .swiper {
            width: 100%;
            height: 600px;
        }

        .swiper-slide {
            position: relative;
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .swiper-slide::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
        }

        .slide-content {
            position: relative;
            z-index: 2;
            text-align: center;
            color: white;
            max-width: 800px;
            padding: 0 20px;
        }

        .slide-content h2 {
            font-size: 3.2rem;
            margin-bottom: 20px;
            color: white;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        .slide-content p {
            font-size: 1.3rem;
            margin-bottom: 30px;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
        }

        .swiper-button-next, .swiper-button-prev {
            color: white;
            background-color: rgba(0, 0, 0, 0.3);
            width: 50px;
            height: 50px;
            border-radius: 50%;
        }

        .swiper-button-next:after, .swiper-button-prev:after {
            font-size: 1.5rem;
        }

        .swiper-pagination-bullet {
            background-color: white;
            opacity: 0.7;
            width: 12px;
            height: 12px;
        }

        .swiper-pagination-bullet-active {
            background-color: var(--primary-color);
            opacity: 1;
        }

        /* Fencing Types Section */
        .fencing-types {
            padding: 60px 0 40px;
            background-color: white;
        }

        .section-title {
            text-align: center;
            /* margin-bottom: 3rem; */
        }

        .section-title h2 {
            font-size: 2.5rem;
            color: var(--dark-color);
            position: relative;
            display: inline-block;
            padding-bottom: 15px;
        }
        .company-name
        {
            font-weight: 900;
            color: var(--primary-color);;
        }
        .bold-text
        {
            font-weight: 900;
        }

        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background-color: var(--secondary-color);
        }

        .section-title p {
            max-width: 700px;
            margin: 0 auto;
            color: var(--gray-color);
            font-size: 1.1rem;
        }

        .fencing-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 25px;
            margin-top: 40px;
        }

        .fencing-item {
            background-color: #f8f9fa;
            border-radius: var(--border-radius);
            padding: 25px 20px;
            text-align: center;
            transition: var(--transition);
            border: 2px solid transparent;
        }

        .fencing-item:hover {
            transform: translateY(-5px);
            box-shadow: var(--box-shadow);
            border-color: var(--secondary-color);
        }

        .fencing-icon {
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 15px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .fencing-item h3 {
            font-size: 1.2rem;
            color: var(--dark-color);
            margin-bottom: 0;
        }
        .container-card {
    position: relative;
    width: 900px;
    height: 200px;
    margin: auto;
    z-index: 9;
}
.text-small
{
    font-size: 14px;
}
.card {
    position: absolute;
    width: 300px;
    height: 400px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;     /* top to bottom */
    justify-content: flex-start; /* start from top */
    align-items: center;
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    transition: all 1.2s ease-in-out;
}

/* Explicit visibility control */
.hide { opacity: 0; }
.show { opacity: 1; }

/* Positions */
.pos1 { left: -315px; top: 0; }
.pos2 { left: 0px;    top: 0; }
.pos3 { left: 305px;  top: 0; }
.pos4 { left: 610px;  top: 0; }
.pos5 { left: 925px;  top: 0; }

/* Collapse to center */
.to-center {
    left: 305px !important;
    opacity: 0;
}


     
        /* Products & Services Section */
        .products-services {
            padding: 80px 0;
            background-color: #f5f5f5;
        }

        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
            margin-top: 5px;
        }

        .product-card {
            background-color: white;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--box-shadow);
            transition: var(--transition);
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        .extra-padding
        {
            padding: 5px;;
        }

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

        .products-img {
            height: 220px;
            overflow: hidden;
        }

        .products-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
            border-radius: 10px;
            padding: 5px;
           
        }

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

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

        .product-content h3 {
            color: var(--primary-color);
            font-size: 1.5rem;
            margin-bottom: 15px;
        }

        .product-content p {
            color: var(--gray-color);
            margin-bottom: 20px;
            flex-grow: 1;
        }

        .product-features {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 15px;

        }

        .feature-tag {
            background-color: #e9f5f3;
            color: var(--secondary-color);
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
        }

        /* About Section */
        .about {
            padding: 80px 0;
            background-color: white;
        }

        .about-content {
            display: flex;
            align-items: center;
            gap: 50px;
            padding: 20px;
        }

        .about-text {
            flex: 1;
        }

        .about-text h3 {
            font-size: 2rem;
            color: var(--primary-color);
            margin-bottom: 1.5rem;
        }

        .about-text p {
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
            color: #555;
        }

        .about-image {
            flex: 1;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--box-shadow);
        }

        .about-image img {
            width: 100%;
            height: auto;
            display: block;
            transition: var(--transition);
        }

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

        /* CTA Section */
        .cta {
            padding: 80px 0;
            background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
            color: white;
            text-align: center;
        }

        .cta h2 {
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
            color: white;
        }

        .cta p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 2rem;
        }

        /* Footer */
        footer {
            background-color: var(--dark-color);
            color: white;
            padding: 60px 0 30px;
        }

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

        .footer-column h3 {
            font-size: 1.5rem;
            margin-bottom: 25px;
            color: white;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-column h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background-color: var(--accent-color);
        }

        .footer-column p, .footer-column a {
            color: #ccc;
            margin-bottom: 15px;
            display: block;
            text-decoration: none;
            transition: var(--transition);
        }

        .footer-column a:hover {
            color: var(--accent-color);
            padding-left: 5px;
        }

        .contact-info {
            display: flex;
            align-items: flex-start;
            margin-bottom: 15px;
        }

        .contact-info i {
            color: var(--accent-color);
            margin-right: 15px;
            margin-top: 5px;
        }

        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #aaa;
            font-size: 0.9rem;
        }

        /* Buttons */
        .btn {
            padding: 12px 30px;
            border-radius: var(--border-radius);
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
            display: inline-block;
        }

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

        .btn-primary:hover {
            background-color: var(--secondary-color);
            transform: translateY(-3px);
        }

        .btn-secondary {
            background-color: transparent;
            color: white;
            border: 2px solid white;
        }

        .btn-secondary:hover {
            background-color: white;
            color: var(--dark-color);
            transform: translateY(-3px);
        }
         
        .horizontal-products {
            display: flex;
            flex-direction: column;
            gap: 25px;
            margin-top: 20px;
        }
        
        .product-row {
            display: flex;
            background: white;
            border-radius: 12px;
                border: thin solid #dcdcdc;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            min-height: 280px;
        }
        
        .product-row:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
        }
        
        .product-img {
            flex: 0 0 300px;
            overflow: hidden;
        }
        
        .product-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .product-row:hover .product-img img {
            transform: scale(1.05);
        }
        
        .product-content {
            flex: 1;
            padding: 25px 30px;
            display: flex;
            flex-direction: column;
        }
        
        .product-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 15px;
        }
        
        .product-title {
            font-size: 1.6rem;
            color: #2c3e50;
            display: flex;
            align-items: center;
        }
        
        .product-title i {
            margin-right: 12px;
            color: #3498db;
            font-size: 1.4rem;
        }
        
        .product-type {
            font-size: 0.85rem;
            color: white;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 600;
            padding: 5px 15px;
            border-radius: 20px;
            background: #3498db;
        }
        
        .product-desc {
            color: #636e72;
            margin-bottom: 20px;
            font-size: 1rem;
            line-height: 1.7;
        }
        
        .product-details {
            display: flex;
            gap: 40px;
            margin-top: auto;
        }
        
        .advantages {
            flex: 1;
        }
        
        .advantages h4 {
            color: #2c3e50;
            margin-bottom: 12px;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
        }

        .shadow-text
        {
            text-shadow: 0 15px 18px #000;
            
        }
        .key-feature
        {
            padding-left: 4px;
    padding-right: 4px;
    border: thin solid;
    border-radius: 4px;
        }
        .advantages h4 i {
            color: #355e44;
            margin-right: 8px;
        }
        
        .advantages ul {
            list-style-type: none;
        }
        
        .advantages li {
            padding: 8px 0;
            border-bottom: 1px dashed #ecf0f1;
            display: flex;
            align-items: flex-start;
        }
        
        .advantages li:last-child {
            border-bottom: none;
        }
        
        .advantages li i {
            color: #00ab9d;
            margin-right: 10px;
            margin-top: 3px;
            font-size: 0.9rem;
        }
        
        .product-actions {
            flex: 0 0 180px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            align-items: flex-end;
            padding-bottom: 10px;
        }
        
        .btn-inquire {
            background: #3498db;
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            transition: background 0.3s ease;
            font-size: 1rem;
            width: 100%;
            margin-bottom: 15px;
        }
        
        .btn-inquire:hover {
            background: #2980b9;
        }
        
        .btn-details {
            background: transparent;
            color: #3498db;
            border: 2px solid #3498db;
            padding: 10px 20px;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
            width: 100%;
        }
        
        .btn-details:hover {
            background: #3498db;
            color: white;
        }
             
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 20px;
        }
        
        header {
            text-align: center;
            /* margin-bottom: 4px; */
            /* padding: 10px; */
        }
        .logo-img
        {
            height: 60px;
        }
        
        header h1 {
            color: #2c3e50;
            font-size: 2.5rem;
            margin-bottom: 10px;
            position: relative;
            display: inline-block;
        }
        
        header h1:after {
            content: '';
            position: absolute;
            width: 80px;
            height: 4px;
            background: #3498db;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
        }
        
        header p {
            color: #7f8c8d;
            font-size: 1.1rem;
            max-width: 800px;
            margin: 25px auto 0;
        }
        
        /* Category-specific colors */
        .product-row[data-category="permanent"] .product-type {
            background: #3498db;
        }
        
        .product-row[data-category="temporary"] .product-type {
            background: #e67e22;
        }
        
        .product-row[data-category="security"] .product-type {
            background: #e74c3c;
        }
        
        .product-row[data-category="eco"] .product-type {
            background: #2ecc71;
        }

/* Slide base */
.swiper-slide {
    position: relative;
    overflow: hidden;
}

/* Background image layer */
.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;

    transform: scale(1.2); /* default zoom */
    transition: transform 3.2s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.card-container {
    position: relative;
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* .card {
    position: absolute;
    width: 350px;
    height: 400px;
    background-color: #ffffff;
   border-radius: 8px;
    transform: translateX(0) scale(1);
    opacity: 0.9;
 border: thin solid rgb(191, 219, 226);
    transition:
        transform 1.9s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 1.2s ease;
} */
#loader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #ffffff;
    top: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Spinner */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #ddd;
    border-top: 5px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
#loader {
  transition: opacity 0.5s ease;
}


@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* .card-left {
    z-index: 1;
}

.card-center {
    z-index: 3;
    transform: scale(1);
    opacity: 1;
}

.card-right {
    z-index: 2;
}
.card-container.spread .card-left {
    transform: translateX(-380px) scale(1);
    opacity: 1;
}

.card-container.spread .card-center {
    transform: translateX(0) scale(1.05);
}

.card-container.spread .card-right {
    transform: translateX(380px) scale(1);
    opacity: 1;
} */

/* Active slide image zooms slowly */
.swiper-slide-active .slide-bg {
    transform: scale(1.3);
}
.slide-content {
    position: relative;
    z-index: 2;
    max-width: 600px;

    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
    transition-delay: 0.5s;
}

/* When slide is active */
.swiper-slide-active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

/* Individual text timing */
.slide-content h2 {
    transition-delay: 0.7s;
    
}

.slide-content p {
    transition-delay: 0.9s;
}

.slide-content .btn {
    transition-delay: 1.1s;
}
.swiper-wrapper {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
}



        /* Responsive Design */
         /* Responsive design */
        @media (max-width: 1200px) {
            .product-img {
                flex: 0 0 250px;
            }
            
            .product-details {
                gap: 25px;
            }
           

        }
        
        @media (max-width: 992px) {
           
            .product-row {
                flex-direction: column;
                min-height: auto;
            }
            
            .product-img {
                flex: 0 0 220px;
            }
            
            .product-header {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .product-type {
                margin-top: 10px;
            }
            
            .product-details {
                flex-direction: column;
                gap: 20px;
            }
            
            .product-actions {
                align-items: stretch;
                margin-top: 20px;
            }
        }
        
        @media (max-width: 768px) {
            .logo-img
            {
                height: 40px;
            }
            .overlay
            {
                display: none;
            }
            
            .about
            {
                padding: 20px 0;
            }
            .about-text
            {
                text-align: center;
            }
            .container {
                padding: 5px;
            }
            .product-actions {
                flex: 0 0 0px;
            }
            
            header h1 {
                font-size: 2rem;
            }
            
            .product-content {
                padding: 20px;
            }
            
            .product-title {
                font-size: 1.4rem;
            }
            .products-services
            {
                padding: 20px 0;
            }
            .section-title
            {
                margin-bottom:1rem;
            }
        }
        
        /* Scroll indicator for horizontal layout */
        .scroll-indicator {
            text-align: center;
            margin-top: 30px;
            color: #7f8c8d;
            font-size: 0.9rem;
        }
        
        .scroll-indicator i {
            margin: 0 5px;
            color: #3498db;
        }

        @media (max-width: 992px) {
            .about-content {
                flex-direction: column;
                padding: 20px;
            }

            .swiper {
                height: 500px;
            }

            .slide-content h2 {
                font-size: 2.5rem;
            }
        }

        @media (max-width: 768px) {
            
            .header-container {
                flex-direction: column;
                align-items: flex-start;
            }

            .logo {
                margin-bottom: 15px;
                width: 100%;
                justify-content: space-between;
            }

            nav {
                width: 100%;
                display: none;
            }

            nav.active {
                display: block;
            }

            nav ul {
                flex-direction: column;
                width: 100%;
            }

            nav ul li {
                margin: 10px 0;
            }

            .mobile-menu-btn {
                display: block;
            }

            .swiper {
                height: 400px;
            }

            .slide-content h2 {
                font-size: 2rem;
            }

            .slide-content p {
                font-size: 1rem;
            }

            .fencing-grid {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
                gap: 15px;
            }

            .products-grid {
                grid-template-columns: 1fr;
            }
        }
    /* @media (min-width: 769px) {
    .card-container.spread .card {
        transform: scale(1.05) rotate(2deg);
    }
}

/* On mobile, disable animation entirely */
/* @media (max-width: 768px) {
    .card-container.spread .card {
        transform: none !important;
    }
} */ 