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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
        }

img{

    border-radius: 30px;
         /*   border-top-style: outset;
            border-left-style: outset;
            border-color: #fff5f5;*/
}
        /* Slider Container */
.slider {
    position: relative;
    width: 80%;
    margin: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Slide wrapper */
.slides {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
}

/* Images */
.slides img {
    width: 300px;
    height: auto;
    border-radius: 10px;
}
/*ITO ANG SA LOGOOOOOOOOOOOOO */
.logo-wrapper {
    background-color: #f4e4d6;
  display: flex; /* Makes the logo and text align horizontally */
  align-items: center; /* Vertically centers the logo and text */
  gap: 15px; /* Adds some space between the logo and the text */
  padding: 2px; /* Adjust padding as needed for the overall logo section */
}

.brand-logo {
  /*height: 500px; /* Adjust this value to control the size of your logo */
  width: auto; /* Maintains aspect ratio */
  /* Or if you want a fixed width and height and use object-fit for scaling: */
  /* width: 80px; */
  /* height: 80px; */
  /* object-fit: contain; */ /* Ensures the whole logo is visible within the box */
}

.logo-text h1 {
  font-size: 3em; /* Adjust font size as needed */
  color: rgb(255, 0, 0); /* Assuming the red color from your image */
  margin: 0; /* Remove default margin */
}

.logo-text p {
  font-size: 1.2em; /* Adjust font size as needed */
  color: #333; /* A dark color for "Since 1975" */
  margin: 0; /* Remove default margin */
}
/* Buttons */
.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #c4102e;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 6px;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.slide-btn:hover {
    background: #a30d25;
} 
.fade-slider {
    height: 100%;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fade-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}


.fade-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}

.fade-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    z-index: 10;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}



        /* Header & Navigation */
        header {
            background: white;
            box-shadow: 0 30px 10px rgba(189, 90, 90, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        .header-top {
            background: #eed9c3;
            color: rgb(187, 118, 118);
            padding: 2px 0;
            font-size: 0.9rem;
        }

        .header-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .contact-info {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
        }

        .logo-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 2.5rem;
            font-weight: bold;
            color: #c5bfb2;
        }

        .logo span {
            color: #adadad;
            font-size: 1rem;
            display: block;
            margin-top: -8px;
        }

        nav {
            background: #f8f8f8;
            border-bottom: 5px ridge #ffffff;
        }

        nav ul {
            list-style: none;
            display: flex;
            justify-content: center;
            max-width: 1200px;
            margin: 0 auto;
        }

        nav ul li {
            margin: 0;
        }

        nav ul li a {
            display: block;
            padding: 5px 30px;
            text-decoration: none;
            color: #333;
            font-weight: 500;
            transition: all 0.3s;
        }

        nav ul li a:hover {
            background: #c41e3a;
            color: white;
        }

        /* Hero Section */
       .hero {
    height: 500px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

        .hero-content {
    height: 100%;
    width: 100%;
    position: relative;
}
        .hero h1 {
            font-size: 3rem;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        }

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

        .cta-button {
            display: inline-block;
            padding: 15px 40px;
            background: #c41e3a;
            color: white;
            text-decoration: none;
            border-radius: 5px;
            font-weight: bold;
            transition: all 0.3s;
            box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
        }

        .cta-button:hover {
            background: #a01730;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
        }

        /* Products Section   ------
        ITO ANG SPACING SA PRODUCT LINE , PRODUCTS, UP AND DOWN-----
        
        */
        .products-section {
            background: white;
            padding: 0px 0px;
        }

        .products-hero {
            max-width: 1200px;
            margin: 0 auto 60px;
            position: relative;
            height: 400px;
            background: linear-gradient(90deg, #ad0505 0%, #555 100%);
            border-radius: 10px;
            overflow: hidden;
        }

        .products-slider {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .products-carousel {
            width: 100%;
            height: 100%;
            display: flex;
            position: relative;
        }

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

        .product-slide.active {
            opacity: 1;
            z-index: 2;
        }

        .product-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }

        .product-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
            color: white;
            padding: 40px 30px 20px;
            text-align: center;
        }

        .product-overlay h3 {
            font-size: 2rem;
            margin-bottom: 1px;
        }

        .product-overlay p {
            font-size: 1.1rem;
            opacity: 0.9;
        }
        

        /* Product lines - icon grid with centered titles and short descriptions */
        /* ito na nga ang sa product linessss*/


        .product-lines {
            max-width: 1200px;
            margin: 10px auto 40px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
            gap: 2px 1px;
            align-items: start;
            justify-items: center;
            padding: 10px 10px;
        }

    hr {
  border-top: 1px solid rgb(225, 217, 217);
}

        .product-line {
            text-align: center;
            cursor: pointer;
            transition: transform 0.22s ease, color 0.22s ease;
            max-width: 100px;
        }

        .product-line:hover {
            transform: translateY(-16px);
        }

        .product-line img {
            border-left-style: outset;
            border-top-style: outset;
            border-color: #e1ffcb;
            border-radius: 20PX;
            width: 80px;
            height: 80px;
            object-fit: contain;
            display: block;
            margin: 1px auto 2px;
            transition: transform 0.25s ease;
        }

        .product-line:hover img {
            transform: scale(1.20);
        }

        .product-line p {
            font-size: 0.86rem;
            font-weight: 700;
            color: #1f2933;
            margin: 1px 0 6px;
            text-transform: uppercase;
            letter-spacing: 0.06px;
        }

        .product-desc {
            display: block;
            font-size: 0.78rem;
            color: #6b7280;
            font-weight: 400;
            margin-top: 4px;
            line-height: 1.45;
            max-width: 10px;
        }

        /* center section title spacing */
        .products-section .section-title {
            margin-bottom: 0px;
        }

        @media (max-width: 300px) {
            .product-lines { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 20px; }
            .product-line img { width: 70px; height: 70px; }
        }

        @media (max-width: 480px) {
            .product-lines { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 18px; }
            .product-line { max-width: 120px; }
            .product-line img { width: 84px; height: 84px; }
            .product-line p { font-size: 0.8rem; }
            .product-desc { font-size: 0.72rem; }
        }

        /* Modal (product detail) */
        .modal {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 1200;
            align-items: center;
            justify-content: center;
            -webkit-font-smoothing: antialiased;
        }

        .modal.show { display: flex; }

        .modal-overlay {
            position: absolute;
            inset: 0;
            background: rgba(11, 15, 23, 0.55);
            backdrop-filter: blur(3px);
        }

        .modal-dialog {
            position: relative;
            width: min(920px, 94%);
            max-height: 86vh;
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 30px 70px rgba(11,15,23,0.4);
            overflow: auto;
            z-index: 5;
            transform: translateY(8px);
            transition: transform 220ms ease, opacity 220ms ease;
        }

        .modal-close {
            position: absolute;
            top: 10px;
            right: 12px;
            background: transparent;
            border: none;
            font-size: 28px;
            color: #444;
            cursor: pointer;
        }

        .modal-content {
            display: flex;
            gap: 18px;
            padding: 22px;
            align-items: center;
        }

        .modal-image img {
            width: 320px;
            height: 320px;
            object-fit: contain;
            border-radius: 8px;
            background: #fafafa;
            box-shadow: 0 8px 30px rgba(0,0,0,0.08);
        }

        .modal-info { padding: 6px 6px 12px; }

        .modal-info h3 { margin: 0 0 10px; font-size: 1.4rem; color: #1f2933; }
        .modal-info p { margin: 0 0 10px; color: #4b5563; line-height: 1.5; }
        .modal-extra { font-size: 0.85rem; color: #9ca3af; margin-top: 6px; }

        .modal-actions { margin-top: 14px; }
        .modal-actions .cta-button { padding: 10px 18px; }

        @media (max-width: 880px) {
            .modal-content { flex-direction: column; align-items: center; }
            .modal-image img { width: 220px; height: 220px; }
        }

        /* Lightbox (fullscreen image-first) */
        .lightbox { display: none; position: fixed; inset: 0; z-index: 1400; align-items: center; justify-content: center; }
        .lightbox.show { display: flex; }
        .lightbox-overlay { position: absolute; inset: 0; background: rgba(8,10,12,0.78); backdrop-filter: blur(3px); }
        .lightbox-inner { position: relative; z-index: 2; max-width: 95%; max-height: 95%; display:flex; align-items:center; justify-content:center; }
        .lightbox-inner img { max-width: calc(100vw - 80px); max-height: calc(100vh - 80px); object-fit: contain; border-radius: 8px; box-shadow: 0 18px 60px rgba(0,0,0,0.6); background: #fff; }
        .lightbox-close { position: absolute; top: -36px; right: -36px; background: rgba(255,255,255,0.95); border: none; font-size: 26px; width:44px; height:44px; border-radius:50%; cursor:pointer; box-shadow: 0 6px 20px rgba(0,0,0,0.25); }
        @media (max-width:600px){ .lightbox-inner img{ max-width: calc(100vw - 32px); max-height: calc(100vh - 120px);} .lightbox-close{ top: -26px; right: -26px; } }

        /* links wrapping product items */
        .product-link { display:block; text-decoration:none; color:inherit; }
        .product-link:focus { outline: 2px solid rgba(196,30,58,0.25); outline-offset:4px; }

        /* Company History Section */
        .history-section {
            max-width: 1200px;
            margin: 80px auto;
            padding: 0 20px;
              border-radius: 20px;
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            color: #333;
            margin-bottom: 50px;
            position: relative;
            padding-bottom: 20px;
        }

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

        .history-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: start;
              border-radius: 20px;
        }

        .history-text {
            line-height: 1.8;
        }

        .history-text h3 {
            color: #c41e3a;
            margin: 30px 0 15px 0;
            font-size: 1.5rem;
        }

        .history-text p {
            margin-bottom: 20px;
            text-align: justify;
        }

        .history-images {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
              border-radius: 20px;
            gap: 16px;
        }

        .history-image {
            height: 200px;
            overflow: hidden;
            border-radius: 20px;
            background: #e0e0e0;
        }

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

        .history-image.large {
            grid-column: 1 / -1;
            height: 320px;
        }

        .history-image img {
            border-radius: 20px;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            display: block;
        }

        /* Timeline */
        .timeline {
            margin: 60px 0;
            padding: 40px;
            background: #f8f8f8;
            border-radius: 10px;
        }

        .timeline-item {
            display: flex;
            gap: 20px;
            margin-bottom: 30px;
            align-items: start;
        }

        .timeline-year {
            background: #c41e3a;
            color: white;
            padding: 10px 20px;
            border-radius: 5px;
            font-weight: bold;
            min-width: 80px;
            text-align: center;
        }

        .timeline-content {
            flex: 1;
        }

        /* Stats Section */
        .stats-section {
            background: linear-gradient(135deg, #c41e3a 0%, #a01730 100%);
            color: white;
            padding: 60px 20px;
            margin: 80px 0;
        }

        .stats-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            text-align: center;
        }

        .stat-item h3 {
            font-size: 3rem;
            margin-bottom: 10px;
        }

        .stat-item p {
            font-size: 1.1rem;
            opacity: 0.9;
        }

        /* Footer */
        footer {
            background: #333;
            
            color: white;
            padding: 20px ;
            
            text-align: center;
            align-items: center;
            

        }

        .footer-content {
            
            text-align: center;
 align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom:0px;
        }

        .footer-section h3 {
            
            text-align: center;
            color: #3cb942;
           align-items: center;
            margin-bottom: 0px;
        }

        .footer-section H4, .footer-section a {
            
            text-align: center;
             align-items: center;
            color: #ffffff;
            text-decoration: none;
            display: block;
            margin-bottom: 10px;
        }

        .footer-section a:hover {
            color: white;
        }

        .footer-bottom {
             align-items: center;
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid #555;
            color: #ffffff;
        }


        /* Responsive Design */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2rem;
            }

            .hero p {
                font-size: 1rem;
            }

            .history-content {
                grid-template-columns: 1fr;
            }

            nav ul {
                flex-direction: column;
            }

            nav ul li a {
                border-bottom: 1px solid #8e2626;
            }

            .contact-info {
                flex-direction: row;
                gap: 5px;
            }

            .logo-container {
                flex-direction: column;
                text-align: center;
            }
        }