/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: #ffffff;
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Navigation Bar */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: #ffffff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .nav-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .nav-container {
        padding: 0 2rem;
    }
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    position: relative;
    width: 48px;
    height: 48px;
}

.logo-image img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.logo-text {
    margin-left: 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.25;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #dc2626;
}

.nav-link.active {
    color: #dc2626;
}

.nav-link-button {
    padding: 0.625rem 1.5rem;
    background: #ffffff;
    border: 2px solid #1f2937;
    color: #1f2937;
    border-radius: 9999px;
    transition: all 0.3s;
    white-space: nowrap;
}

.nav-link-button:hover {
    background: #1f2937;
    color: #ffffff;
}

.nav-link-button.active {
    background: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
}

/* Section Styles */
.section {
    padding: 5rem 1rem;
}

@media (min-width: 640px) {
    .section {
        padding: 5rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .section {
        padding: 5rem 2rem;
    }
}

.section-white {
    background: #ffffff;
}

.section-gray {
    background: #f9fafb;
}

.section-red {
    background: #dc2626;
    color: #ffffff;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.grid-3 {
    display: grid;
    gap: 2rem;
}

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

/* Text Utilities */
.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border-radius: 9999px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #dc2626;
    color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: #b91c1c;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background: #ffffff;
    border: 2px solid #1f2937;
    color: #1f2937;
}

.btn-secondary:hover {
    background: #1f2937;
    color: #ffffff;
}

.btn-white {
    background: #ffffff;
    color: #dc2626;
}

.btn-white:hover {
    background: #f3f4f6;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-large:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.btn-submit {
    width: auto;
    min-width: 150px;
    background: #9ca3af;
    color: #ffffff;
}

.btn-submit:hover {
    background: #6b7280;
}

/* Section Badge */
.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #fee2e2;
    color: #dc2626;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    white-space: nowrap;
    width: fit-content;
}

/* Hero Section */
.hero-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    background: #ffffff;
}

@media (min-width: 640px) {
    .hero-section {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-section {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.hero-slideshow {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin-bottom: 3rem;
}

.hero-slideshow:hover .slide-btn {
    opacity: 1;
}

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

.slide {
    display: none;
    width: 100%;
}

.slide.active {
    display: block;
}

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

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    color: #1f2937;
    padding: 0.75rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: all 0.3s;
}

.slide-btn:hover {
    background: #ffffff;
}

.slide-btn-prev {
    left: 1rem;
}

.slide-btn-next {
    right: 1rem;
}

.slide-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.slide-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.slide-indicator {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.slide-indicator:hover {
    background: rgba(255, 255, 255, 0.75);
}

.slide-indicator.active {
    background: #ffffff;
    width: 2rem;
}

.hero-content {
    margin-top: 3rem;
    text-align: center;
}

.hero-description {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.75;
    max-width: 64rem;
    margin: 0 auto 2rem;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* About Section */
.about-image-container {
    position: relative;
    height: 24rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image {
    width: auto;
    height: 100%;
    object-fit: contain;
}

.about-badge {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: #ffffff;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.badge-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #4b5563;
}

.badge-year {
    font-size: 1.875rem;
    font-weight: 700;
    color: #dc2626;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

.about-text {
    font-size: 1.125rem;
    color: #dc2626;
    line-height: 1.75;
}

.about-section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1f2937;
}

.about-paragraph {
    font-size: 1.125rem;
    color: #374151;
    line-height: 1.75;
}

/* About Hero */
.about-hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    background: linear-gradient(to bottom right, #f9fafb, #f3f4f6);
}

.about-hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .about-hero-title {
        font-size: 3.75rem;
    }
}

.about-hero-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    max-width: 48rem;
    margin: 0 auto;
}

/* Mission Cards */
.mission-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.mission-icon {
    width: 4rem;
    height: 4rem;
    background: #fee2e2;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.mission-icon svg {
    width: 2rem;
    height: 2rem;
    color: #dc2626;
}

.mission-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.mission-text {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.75;
}

/* Feature Cards */
.section-header {
    margin-bottom: 4rem;
}

.section-main-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-main-title {
        font-size: 3rem;
    }
}

.section-main-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    max-width: 48rem;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 1.5rem;
}

.feature-icon {
    width: 5rem;
    height: 5rem;
    background: #fee2e2;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    color: #dc2626;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: #4b5563;
}

/* Certifications Section */
.cert-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    color: #ffffff;
}

.cert-title {
    font-size: 2.25rem;
    font-weight: 700;
}

.cert-description {
    font-size: 1.25rem;
    line-height: 1.75;
    opacity: 0.95;
}

.cert-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 1.125rem;
    list-style: none;
}

.cert-item {
    display: flex;
    align-items: center;
}

.cert-icon {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.75rem;
}

.cert-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.cert-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.cert-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.cert-card-icon {
    width: 5rem;
    height: 5rem;
    background: #fee2e2;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.cert-card-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    color: #dc2626;
}

.cert-card-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.cert-card-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
}

/* Certification Preview */
.cert-preview-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.cert-preview-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.cert-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    color: #ffffff;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .cert-preview-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.cert-preview-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 0.5rem;
    padding: 1rem;
}

.cert-preview-item p {
    font-weight: 600;
}

/* Accreditation Grid */
.accreditation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem auto;
    max-width: 900px;
    align-items: center;
}

@media (min-width: 768px) {
    .accreditation-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.accreditation-logo {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.accreditation-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

.accreditation-logo img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Products Section */
.products-header {
    text-align: center;
    margin-bottom: 4rem;
}

.products-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .products-title {
        font-size: 3rem;
    }
}

.products-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    max-width: 48rem;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card {
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.product-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.product-visual {
    height: 16rem;
    background: linear-gradient(to bottom right, #f3f4f6, #e5e7eb);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transition: transform 0.3s;
}

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

.product-illustration {
    position: relative;
}

/* Fire Extinguisher Illustration */
.extinguisher-body {
    width: 8rem;
    height: 12rem;
    background: #dc2626;
    border-radius: 4rem 4rem 0 0;
}

.extinguisher-base {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6rem;
    height: 4rem;
    background: #b91c1c;
    border-radius: 0.5rem;
}

/* Fire Hose Illustration */
.hose-reel {
    width: 12rem;
    height: 3rem;
    background: #dc2626;
    border-radius: 9999px;
}

.hose-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 0.5rem;
    background: #b91c1c;
    transform: translateY(-50%);
}

/* Fire Cabinet Illustration */
.cabinet-box {
    width: 10rem;
    height: 12rem;
    background: #dc2626;
    border-radius: 0.5rem;
}

.cabinet-border {
    position: absolute;
    inset: 1rem;
    border: 4px solid #ffffff;
    border-radius: 0.5rem;
}

/* Fire Alarm Illustration */
.alarm-outer {
    width: 8rem;
    height: 8rem;
    background: #dc2626;
    border-radius: 9999px;
}

.alarm-inner {
    position: absolute;
    inset: 1rem;
    background: #ffffff;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alarm-center {
    width: 3rem;
    height: 3rem;
    background: #b91c1c;
    border-radius: 9999px;
}

/* Sprinkler Grid Illustration */
.sprinkler-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.sprinkler-item {
    width: 4rem;
    height: 6rem;
    background: #dc2626;
    border-radius: 0.5rem;
}

.sprinkler-item:nth-child(2),
.sprinkler-item:nth-child(3) {
    background: #b91c1c;
}

/* Accessory Illustration */
.accessory-ring {
    width: 10rem;
    height: 10rem;
    border: 8px solid #dc2626;
    border-radius: 9999px;
}

.accessory-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 5rem;
    height: 5rem;
    background: #dc2626;
    border-radius: 9999px;
}

.product-content {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.product-description {
    color: #4b5563;
    margin-bottom: 1rem;
}

.product-link {
    color: #dc2626;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
}

.product-link:hover {
    color: #b91c1c;
}

.product-arrow {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.5rem;
}

.products-cta {
    text-align: center;
}

/* Contact Section */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .contact-title {
        font-size: 3rem;
    }
}

.contact-description {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: #fee2e2;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #dc2626;
}

.contact-method div {
    margin-left: 1rem;
}

.contact-method-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.contact-method-value {
    color: #4b5563;
}

.contact-form-container {
    background: #f9fafb;
    border-radius: 1rem;
    padding: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    border-bottom: 2px solid #d1d5db;
    background: transparent;
    outline: none;
    transition: border-color 0.3s;
    color: #1f2937;
    font-size: 1rem;
}

.form-input:focus {
    border-bottom-color: #dc2626;
}

.form-input::placeholder {
    color: #9ca3af;
}

textarea.form-input {
    resize: none;
}

/* CTA Section */
.cta-container {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

/* Timeline Styles */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #dc2626, #991b1b);
    top: 0;
}

@media (max-width: 768px) {
    .timeline-container::before {
        left: 30px;
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: row;
        padding-left: 70px;
    }
}

.timeline-year {
    flex: 0 0 120px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #dc2626;
    background: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

@media (max-width: 768px) {
    .timeline-year {
        position: absolute;
        left: 0;
        flex: 0 0 60px;
        font-size: 0.875rem;
        padding: 0.5rem;
    }
}

.timeline-dot {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    background: #dc2626;
    border: 4px solid #ffffff;
    border-radius: 50%;
    margin: 0 2rem;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.2);
    z-index: 2;
}

@media (max-width: 768px) {
    .timeline-dot {
        position: absolute;
        left: 21px;
        margin: 0;
    }
}

.timeline-content {
    flex: 1;
    background: #ffffff;
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #dc2626;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .timeline-content {
        margin-left: 0;
    }
}

.timeline-content p {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.75;
    margin: 0;
}

/* Footer */
.footer {
    background: #111827;
    color: #ffffff;
    padding: 3rem 1rem;
}

@media (min-width: 640px) {
    .footer {
        padding: 3rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .footer {
        padding: 3rem 2rem;
    }
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo-text {
    margin-left: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.footer-description {
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #9ca3af;
    font-size: 0.875rem;
    list-style: none;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
}

.footer-copyright {
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .logo-text {
        display: none;
    }
}

/* Certificate Clickable Styles */
.cert-clickable {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cert-clickable:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(220, 38, 38, 0.3);
}

.cert-clickable:hover .feature-icon {
    background: #dc2626;
}

.cert-clickable:hover .feature-icon svg {
    color: #ffffff;
}

.cert-click-hint {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #dc2626;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cert-clickable:hover .cert-click-hint {
    opacity: 1;
}

/* PDF Modal */
.pdf-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.pdf-modal-content {
    background: #ffffff;
    border-radius: 1rem;
    width: 100%;
    max-width: 1400px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.pdf-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.pdf-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.pdf-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.3s;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.pdf-modal-close:hover {
    color: #dc2626;
}

.pdf-modal-body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 1;
}

@media (min-width: 1024px) {
    .pdf-modal-body {
        flex-direction: row;
    }
}

.certificate-list {
    padding: 1.5rem;
    background: #f9fafb;
    border-right: 1px solid #e5e7eb;
    overflow-y: auto;
    max-height: 300px;
}

@media (min-width: 1024px) {
    .certificate-list {
        min-width: 300px;
        max-width: 350px;
        max-height: none;
    }
}

.cert-list-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cert-list-button {
    padding: 0.75rem 1rem;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    color: #1f2937;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
}

.cert-list-button:hover {
    border-color: #dc2626;
    background: #fef2f2;
    color: #dc2626;
}

.cert-list-button.active {
    background: #dc2626;
    border-color: #dc2626;
    color: #ffffff;
}

.pdf-viewer-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #e5e7eb;
    min-height: 500px;
}

.pdf-viewer {
    width: 100%;
    height: 100%;
    flex: 1;
    border: none;
}

/* Mobile adjustments */
@media (max-width: 1023px) {
    .pdf-modal-content {
        max-height: 95vh;
    }

    .pdf-modal-header {
        padding: 1rem 1.5rem;
    }

    .pdf-modal-title {
        font-size: 1.25rem;
    }

    .certificate-list {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .pdf-viewer-container {
        min-height: 400px;
    }
}

/* Product Detail Cards */
.product-detail-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
}

.product-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

.product-detail-card:hover .product-detail-icon {
    background: #dc2626;
}

.product-detail-card:hover .product-detail-icon svg {
    color: #ffffff;
}

.product-click-hint {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #dc2626;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
}

.product-detail-card:hover .product-click-hint {
    opacity: 1;
}

/* Full-screen PDF Modal */
.pdf-modal-fullscreen {
    max-width: 95vw;
    max-height: 95vh;
    width: 95vw;
    height: 95vh;
}

.pdf-modal-body-fullscreen {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #525659;
}

.pdf-viewer-fullscreen {
    width: 100%;
    height: 100%;
    flex: 1;
    border: none;
}

/* PDF Loading Indicator */
.pdf-loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #ffffff;
    gap: 1.5rem;
}

.pdf-loading-indicator p {
    font-size: 1.125rem;
    margin: 0;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 6px solid rgba(255, 255, 255, 0.3);
    border-top-color: #dc2626;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.product-detail-icon {
    width: 4rem;
    height: 4rem;
    background: #fee2e2;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.product-detail-icon svg {
    width: 2rem;
    height: 2rem;
    color: #dc2626;
}

.product-detail-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.product-detail-description {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.product-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-detail-list li {
    display: flex;
    align-items: flex-start;
    color: #374151;
    font-size: 0.875rem;
}

.product-detail-list li:before {
    content: "✓";
    color: #dc2626;
    font-weight: 700;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* Product Image Gallery */
.product-gallery {
    margin-top: 3rem;
}

.product-gallery-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-gallery-title::before {
    content: '';
    width: 5px;
    height: 28px;
    background: #dc2626;
    border-radius: 2px;
}

.product-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .product-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .product-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.75rem;
    }
}

.product-image-card {
    position: relative;
    background: #ffffff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    aspect-ratio: 1;
}

.product-image-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

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

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

.product-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

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

.product-image-label {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

/* Product Image Lightbox */
.product-lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.product-lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 1.5rem;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: -3rem;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s;
    padding: 0;
    line-height: 1;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: -4rem;
}

.lightbox-next {
    right: -4rem;
}

.lightbox-nav svg {
    width: 1.5rem;
    height: 1.5rem;
}

@media (max-width: 768px) {
    .lightbox-prev {
        left: 0.5rem;
    }

    .lightbox-next {
        right: 0.5rem;
    }

    .lightbox-close {
        top: 0.5rem;
        right: 0.5rem;
        position: fixed;
    }
}

/* Featured Product Image */
.product-featured-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 2rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.product-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Product Section with Image */
.product-section-content {
    display: grid;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .product-section-content {
        grid-template-columns: 1fr 1fr;
    }
}

.product-info-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.product-images-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Grid layouts for different column counts */
.grid-3-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .grid-3-products {
        grid-template-columns: repeat(3, 1fr);
    }
}

.grid-4-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .grid-4-products {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===== PRODUCT FILTER SIDEBAR ===== */

/* Products Page Layout */
.products-page-layout {
    display: flex;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

@media (min-width: 1024px) {
    .products-page-layout {
        padding: 2rem;
    }
}

/* Filter Sidebar */
.filter-sidebar {
    position: sticky;
    top: 100px;
    width: 280px;
    min-width: 280px;
    height: fit-content;
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
}

@media (max-width: 1023px) {
    .filter-sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        min-width: 300px;
        height: 100vh;
        border-radius: 0;
        z-index: 1000;
        padding-top: 80px;
        transition: left 0.3s ease;
    }

    .filter-sidebar.active {
        left: 0;
    }
}

.filter-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
}

.filter-sidebar-title {
    font-size: 1.125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.filter-sidebar-title svg {
    width: 1.25rem;
    height: 1.25rem;
}

.filter-clear-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.filter-clear-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.filter-close-btn {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

@media (max-width: 1023px) {
    .filter-close-btn {
        display: block;
    }

    .filter-clear-btn {
        display: none;
    }
}

.filter-sidebar-content {
    padding: 1rem 0;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

@media (max-width: 1023px) {
    .filter-sidebar-content {
        max-height: calc(100vh - 160px);
    }
}

/* Filter Groups */
.filter-group {
    border-bottom: 1px solid #e5e7eb;
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: background 0.2s;
}

.filter-group-header:hover {
    background: #f9fafb;
}

.filter-group-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1f2937;
}

.filter-group-toggle {
    width: 1.25rem;
    height: 1.25rem;
    color: #6b7280;
    transition: transform 0.3s;
}

.filter-group.collapsed .filter-group-toggle {
    transform: rotate(-90deg);
}

.filter-group-items {
    padding: 0 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group.collapsed .filter-group-items {
    display: none;
}

/* Filter Checkboxes */
.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: background 0.2s;
}

.filter-checkbox:hover {
    background: #f3f4f6;
}

.filter-checkbox input {
    display: none;
}

.filter-checkbox-custom {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #d1d5db;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.filter-checkbox input:checked + .filter-checkbox-custom {
    background: #dc2626;
    border-color: #dc2626;
}

.filter-checkbox-custom svg {
    width: 0.875rem;
    height: 0.875rem;
    color: #ffffff;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s;
}

.filter-checkbox input:checked + .filter-checkbox-custom svg {
    opacity: 1;
    transform: scale(1);
}

.filter-checkbox-label {
    font-size: 0.875rem;
    color: #374151;
    flex: 1;
}

.filter-checkbox-count {
    font-size: 0.75rem;
    color: #9ca3af;
    background: #f3f4f6;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
}

/* Mobile Filter Toggle Button */
.filter-toggle-btn {
    display: none;
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(220, 38, 38, 0.4);
    z-index: 999;
    transition: all 0.3s;
}

.filter-toggle-btn:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(220, 38, 38, 0.5);
}

.filter-toggle-btn svg {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 1023px) {
    .filter-toggle-btn {
        display: flex;
        align-items: center;
    }
}

/* Filter Overlay */
.filter-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s;
}

.filter-overlay.active {
    display: block;
    opacity: 1;
}

/* Products Main Content */
.products-main-content {
    flex: 1;
    min-width: 0;
}

/* Product Section (for filtering) */
.product-section {
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s, transform 0.3s;
}

@media (min-width: 768px) {
    .product-section {
        padding: 3rem;
    }
}

.product-section.section-gray {
    background: #f9fafb;
}

.product-section.hidden {
    display: none;
}

.product-section .section-header {
    margin-bottom: 2.5rem;
}

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

@media (min-width: 768px) {
    .product-section .section-main-title {
        font-size: 2.5rem;
    }
}

.product-section .section-main-subtitle {
    font-size: 1.125rem;
}

/* Active Filters Display */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem;
    background: #fef2f2;
    border-radius: 0.75rem;
}

.active-filters:empty {
    display: none;
}

.active-filters-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #991b1b;
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
}

.active-filter-tag button {
    background: none;
    border: none;
    color: #dc2626;
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.active-filter-tag button:hover {
    opacity: 1;
}

/* Results Count */
.results-count {
    font-size: 0.9375rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
}

.results-count strong {
    color: #1f2937;
}

/* No Results Message */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: #f9fafb;
    border-radius: 1rem;
}

.no-results-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    color: #9ca3af;
}

.no-results h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.no-results p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.no-results button {
    background: #dc2626;
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.no-results button:hover {
    background: #b91c1c;
}
