/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: maroon;
    --secondary-color: maroon;
    --accent-color: #ff9800;
    --text-dark: #212121;
    --text-light: #757575;
    --text-white: #ffffff;
    --bg-light: #f5f5f5;
    --bg-dark: #263238;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: white;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color:black;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    background-color: maroon;
    color:white;
}

.btn-primary {
    background: maroon;
    color: var(--text-white);
}

.btn-primary:hover {
    background: #b71c1c;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: maroon;
    border: 2px solid maroon;
}

.btn-outline:hover {
    background: maroon;
    color: var(--text-white);
}
/* ============================================ */

/* ============================================= */
/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    margin-top: 100px;
    overflow: hidden;
}

/* Individual Slide */
.hero-slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    transition: opacity 1s ease-in-out;
    padding-top: 150px;
}

/* Show active slide */
.hero-slide.active {
    display: block;
}

/* Navigation arrows */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #fff;
    padding: 10px;
    cursor: pointer;
    user-select: none;
    z-index: 10;
}

.hero-nav.prev {
    left: 20px;
}

.hero-nav.next {
    right: 20px;
}

/* Dots */
.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s;
}

.dot.active {
    opacity: 1;
    background: #ff9800;
}

/* Responsive adjustments */

/* Tablet & Small Devices */
@media (max-width: 1024px) {
    .hero-slider {
        height: 80vh;
        margin-top: 70px;
    }

    .hero-slide {
        padding-top: 120px;
        background-size: cover;
        background-position: center center;
    }

    .hero-nav {
        font-size: 1.8rem;
        padding: 8px;
    }

    .hero-dots {
        bottom: 18px;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .hero-slider {
        height: 70vh;
        margin-top: 60px;
    }

    .hero-slide {
        padding-top: 90px;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        font-size: 0.9rem;
    }

    .hero-nav {
        font-size: 1.5rem;
        padding: 5px;
    }

    .hero-nav.prev {
        left: 10px;
    }

    .hero-nav.next {
        right: 10px;
    }

    .hero-dots {
        bottom: 15px;
        gap: 8px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}

/* Extra Small Devices (Phones < 480px) */
@media (max-width: 480px) {
    .hero-slider {
        height: 60vh;
        margin-top: 50px;
        width: 100%;
    }

    .hero-slide {
        padding-top: 70px;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }

    .hero-nav {
        font-size: 1.2rem;
        padding: 4px;
    }

    .hero-dots {
        bottom: 10px;
        gap: 6px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }
}
/* -============================= */ 
.seewel-stat-number::after {
    content: "+";
    margin-left: 2px;
}
/* ================================data */
/* About Section */
.seewel-about-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.seewel-about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.seewel-about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.seewel-about-image-wrapper {
    flex: 1;
    position: relative;
}

.seewel-maroon-block {
    position: absolute;
    top: -40px;
    left: -40px;
    width: 300px;
    height: 300px;
    background: maroon;
    z-index: 0;
}

.seewel-about-image {
    position: relative;
    width: 100%;
    height: auto;
    border: 10px solid var(--text-white);
    box-shadow: var(--shadow);
    z-index: 1;
}

.seewel-about-text-wrapper {
    flex: 1;
}

.seewel-about-heading {
    font-size: 1.2rem;
    color:maroon;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.seewel-vertical-line {
    display: inline-block;
    width: 40px;
    height: 3px;
    background: maroon;
    margin-right: 15px;
}

.seewel-about-subheading {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.seewel-stats-container {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.seewel-stat-item {
    text-align: center;
    padding: 20px;
    flex: 1;
}

.seewel-stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: maroon;
    margin-bottom: 10px;
}

.seewel-stat-label {
    font-size: 1rem;
    color: var(--text-light);
}
/* ===============================data */
/* ===== Section ===== */
.range-section {
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px;
    font-family: 'Poppins', sans-serif;
    background: white;
}

.range-section h1 {
    font-size: 2.4rem;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

/* Stylish Underline */
.range-section h1::after {
    content: "";
    width: 90px;
    height: 4px;
    background: var(--accent-color);
    display: block;
    margin: 12px auto 0;
    border-radius: 4px;
    transition: width 0.4s ease;
}

.range-section h1:hover::after {
    width: 150px;
}

/* ===== Grid ===== */
.range-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.range-card {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: var(--shadow);
    border-left: 5px solid transparent;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Hover Effect */
.range-card:hover {
    transform: translateY(-8px);
    border-left-color: var(--primary-color);
    box-shadow: 0 8px 22px rgba(128, 0, 0, 0.35);
}

.range-card h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
}

.range-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.range-card ul {
    margin: 10px 0 0 18px;
    padding: 0;
}

.range-card ul li {
    margin: 6px 0;
    font-size: 0.92rem;
    color: var(--text-dark);
    position: relative;
}

/* Custom Bullet */
.range-card ul li::before {
    content: "✔";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: -18px;
}
   /* Manufacturing Section - White Text */
   #manufacturing,
   #manufacturing h2,
   #manufacturing h3,
   #manufacturing h4,
   #manufacturing p,
   #manufacturing span {
       color: #ffffff;
       /* White color */
   }

/* Products Section */
/* ================================== */
.seewel-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 0px 20px;
    /* background: transparent; makes background see-through */
    /* color: #fff; */
    text-align: center;
}

.seewel-stat h2 {
    font-size: 2.5rem;
    margin: 0;
    font-weight: bold;
    color: #ffeb3b;
}

.seewel-stat p {
    margin: 10px 0 0;
    font-size: 1.1rem;
    color: #e0e0e0;
}

.seewel-stat {
    flex: 1;
    min-width: 200px;
}

/* =================================== */
.products-section {
    padding: 80px 0;
    background: var(--text-white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}

.section-title span {
    color: maroon;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(211, 47, 47, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    padding: 20px;
    color: var(--text-white);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-tags span {
    background: var(--bg-light);
    color: var(--text-light);
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
}
/* ====================== */
.seewel-timeline-section {
    position: relative;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.cable-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image:
        radial-gradient(circle at 10% 20%, var(--primary-color) 0%, transparent 20%),
        radial-gradient(circle at 30% 60%, var(--secondary-color) 0%, transparent 20%),
        radial-gradient(circle at 70% 40%, var(--accent-color) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, var(--primary-color) 0%, transparent 20%);
    background-size: 300px 300px;
    z-index: 0;
}

.seewel-timeline-section h2,
.seewel-timeline-section p,
.seewel-timeline-container {
    position: relative;
    z-index: 2;
}

.seewel-timeline-section h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.seewel-timeline-section p {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 60px;
    font-weight: 500;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

svg {
    width: 100%;
    height: 600px;
    overflow: visible;
}

.line-path {
    stroke: var(--accent-color);
    stroke-width: 4;
    fill: none;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: drawLine 7s ease forwards;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

.point {
    fill: var(--secondary-color);
    stroke: var(--white);
    stroke-width: 3;
    r: 10;
    opacity: 0;
    transform: scale(0);
    animation: popUp 0.6s ease forwards;
}

@keyframes popUp {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.milestone {
    font-size: 14px;
    fill: var(--text-dark);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards;
    font-weight: 500;
    text-anchor: middle;
}

.year-label {
    font-size: 16px;
    fill: var(--primary-color);
    opacity: 0;
    font-weight: 700;
    animation: fadeUp 1s ease forwards;
    text-anchor: middle;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Alternate positioning */
.top-label {
    dominant-baseline: auto;
}

.bottom-label {
    dominant-baseline: hanging;
}

.cable-connector {
    stroke: var(--primary-color);
    stroke-width: 2;
    stroke-dasharray: 10;
    animation: dash 3s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: 20;
    }
}

/* ========================= */
.certificates-section {
    padding: 80px 0;
    background: var(--white);
    color: #222;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
    margin-top: 28px;
}

.cert-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
    height: 340px;
    background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
    display: flex;
    align-items: stretch;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}

.cert-card:focus-within,
.cert-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(20, 30, 40, 0.14);
}

.cert-frame {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border-radius: 8px;
    border: 8px solid rgba(211, 47, 47, 0.06);
    z-index: 1;
    pointer-events: none;
}

.cert-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 450ms cubic-bezier(.2, .9, .2, 1), filter 350ms ease;
    will-change: transform, filter;
    transform-origin: center center;
    filter: saturate(0.95) contrast(1.02) brightness(0.98);
}

/* subtle hover pop + filter */
.cert-card:hover .cert-img,
.cert-card:focus-within .cert-img {
    transform: scale(1.08);
    filter: saturate(1.05) contrast(1.06) brightness(1);
}

.cert-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(38, 50, 56, 0.0) 0%, rgba(38, 50, 56, 0.92) 90%);
    color: var(--white);
    padding: 14px;
    text-align: center;
    font-size: 1.05rem;
    z-index: 2;
    font-weight: 600;
}

/* Modal / Lightbox */
.cert-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(6, 10, 12, 0.6);
    backdrop-filter: blur(6px) saturate(1.05);
    opacity: 0;
    pointer-events: none;
    transition: opacity 260ms ease;
    z-index: 1500;
}

.cert-modal[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
}

.modal-inner {
    max-width: min(1100px, 94vw);
    max-height: 86vh;
    outline: none;
}

.modal-inner figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.modal-inner img {
    max-width: 100%;
    max-height: calc(86vh - 80px);
    border-radius: 12px;
    border: 12px solid rgba(255, 255, 255, 0.06);
    /* framed border */
    box-shadow: 0 26px 60px rgba(6, 10, 12, 0.6);
    transform-origin: center center;
    transition: transform 350ms cubic-bezier(.2, .9, .2, 1), filter 300ms ease;
    filter: saturate(1.02) contrast(1.03);
}

/* subtle scale-in animation */
.cert-modal[aria-hidden="false"] .modal-inner img {
    transform: scale(1);
}

#modalCaption {
    color: var(--white);
    font-size: 1rem;
    text-align: center;
    padding: 8px 12px;
    background: transparent;
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 1510;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: transform 180ms ease, background 180ms ease;
}

.modal-close:hover {
    transform: scale(1.06);
    background: rgba(255, 255, 255, 0.04);
}

/* Responsive tweaks */
@media (max-width:640px) {
    .cert-card {
        height: 220px;
        border-radius: 10px;
    }

    .cert-caption {
        font-size: 0.95rem;
        padding: 10px;
    }

    .modal-close {
        font-size: 30px;
        top: 10px;
        right: 10px;
    }
}

/* =============================== */
/* Manufacturing Section */
.manufacturing-section {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('images/office/setup1.jpg');
    background-size: cover;
    background-attachment: fixed;
    color: var(--text-white);
}

.manufacturing-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.manufacturing-process-left h3,
.manufacturing-setup-right h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-white);
}

.mfg-process-compact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mfg-step-compact {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: maroon;
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.setup-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.setup-main-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
}

.setup-img-large {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.setup-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--text-white);
    padding: 20px;
}

.setup-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.setup-thumb {
    position: relative;
    height: 80px;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.setup-img-small {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.setup-thumb span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-white);
    padding: 5px;
    font-size: 0.8rem;
    text-align: center;
}

/* Stats Section */
.seewel-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    background: var(--bg-dark);
    color: var(--text-white);
    text-align: center;
    padding: 60px 0;
}

.seewel-stat {
    padding: 20px;
}

.seewel-stat h2 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: maroon;
}

.seewel-stat p {
    font-size: 1.1rem;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(211, 47, 47, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    padding: 20px;
    text-align: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    color: var(--text-white);
}

.gallery-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.gallery-tag {
    display: inline-block;
    background: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-top: 15px;
}

/* Timeline Section */
.timeline-container {
    padding: 80px 0;
    background: url("images/background.jpg") no-repeat center center;
    background-size: cover; /* makes it responsive */
}


.timeline-header {
    text-align: center;
    margin-bottom: 50px;
}

.timeline-header h2 {
    font-size: 2.5rem;
    color: maroon;
    margin-bottom: 15px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background: maroon;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 30px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 30px;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: maroon;
    border-radius: 50%;
    top: 10px;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    background: var(--text-white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
}

.timeline-year {
    position: absolute;
    top: -15px;
    font-weight: 600;
    color: var(--text-white);
    background: maroon;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.timeline-item:nth-child(odd) .timeline-year {
    right: 0;
}

.timeline-item:nth-child(even) .timeline-year {
    left: 0;
}

/* Certificates Section */

 :root {
    --white: #ffffff;
    --dark: #263238;
    --accent: #d32f2f;
    --shadow: 0 10px 30px rgba(19, 24, 28, 0.12);
    --transition: 300ms cubic-bezier(.2, .9, .2, 1);
    --glass: rgba(255, 255, 255, 0.06);
}

.certificates-section {
    padding: 80px 0;
    background: var(--white);
    color: #222;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
    margin-top: 28px;
}

.cert-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
    height: 340px;
    background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
    display: flex;
    align-items: stretch;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}

.cert-card:focus-within,
.cert-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(20, 30, 40, 0.14);
}

.cert-frame {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border-radius: 8px;
    border: 8px solid rgba(211, 47, 47, 0.06);
    z-index: 1;
    pointer-events: none;
}

.cert-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 450ms cubic-bezier(.2, .9, .2, 1), filter 350ms ease;
    will-change: transform, filter;
    transform-origin: center center;
    filter: saturate(0.95) contrast(1.02) brightness(0.98);
}

/* subtle hover pop + filter */
.cert-card:hover .cert-img,
.cert-card:focus-within .cert-img {
    transform: scale(1.08);
    filter: saturate(1.05) contrast(1.06) brightness(1);
}

.cert-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(38, 50, 56, 0.0) 0%, rgba(38, 50, 56, 0.92) 90%);
    color: var(--white);
    padding: 14px;
    text-align: center;
    font-size: 1.05rem;
    z-index: 2;
    font-weight: 600;
}

/* Modal / Lightbox */
.cert-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(6, 10, 12, 0.6);
    backdrop-filter: blur(6px) saturate(1.05);
    opacity: 0;
    pointer-events: none;
    transition: opacity 260ms ease;
    z-index: 1500;
}

.cert-modal[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
}

.modal-inner {
    max-width: min(1100px, 94vw);
    max-height: 86vh;
    outline: none;
}

.modal-inner figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.modal-inner img {
    max-width: 100%;
    max-height: calc(86vh - 80px);
    border-radius: 12px;
    border: 12px solid rgba(255, 255, 255, 0.06);
    /* framed border */
    box-shadow: 0 26px 60px rgba(6, 10, 12, 0.6);
    transform-origin: center center;
    transition: transform 350ms cubic-bezier(.2, .9, .2, 1), filter 300ms ease;
    filter: saturate(1.02) contrast(1.03);
}

/* subtle scale-in animation */
.cert-modal[aria-hidden="false"] .modal-inner img {
    transform: scale(1);
}

#modalCaption {
    color: var(--white);
    font-size: 1rem;
    text-align: center;
    padding: 8px 12px;
    background: transparent;
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 1510;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: transform 180ms ease, background 180ms ease;
}

.modal-close:hover {
    transform: scale(1.06);
    background: rgba(255, 255, 255, 0.04);
}

/* Responsive tweaks */
@media (max-width:640px) {
    .cert-card {
        height: 220px;
        border-radius: 10px;
    }

    .cert-caption {
        font-size: 0.95rem;
        padding: 10px;
    }

    .modal-close {
        font-size: 30px;
        top: 10px;
        right: 10px;
    }
}

.our-project-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.our-project-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.our-project-heading {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color:black;
}

.our-project-heading span {
    color: maroon;
}

.our-project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.our-project-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.our-project-img {
    height: 300px;
    overflow: hidden;
}

.our-project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.our-project-item:hover .our-project-img img {
    transform: scale(1.1);
}

.our-project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(211, 47, 47, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    padding: 20px;
}

.our-project-item:hover .our-project-overlay {
    opacity: 1;
}

.our-project-overlay p {
    color: var(--text-white);
    text-align: center;
    font-size: 1.1rem;
}

.our-project-item h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(38, 50, 56, 0.9);
    color: var(--text-white);
    padding: 15px;
    text-align: center;
    font-size: 1.2rem;
}
/* ================ */
/* Founder Section */
.founder-directors-section {
    padding: 80px 0;
    background: var(--text-white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.section-header p {
    color: var(--text-light);
    margin-bottom: 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--text-white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid maroon;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.team-img {
    width: 220px;
    height: 220px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid var(--secondary-color);
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.team-card p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Customers Section */
.our-customers {
    padding: 60px 0;
    background:white;
    text-align: center;
}

.customer-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 20px;
}

.customer-slider img {
    max-width: 150px;
    height: auto;
    /* filter: grayscale(100%); */
    transition: var(--transition);
}

.customer-slider img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Location Section */
.our-location {
    padding: 60px 0;
    background: var(--bg-light);
}

.location-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}

.location-info {
    flex: 1 1 300px;
    background: var(--text-white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.location-info h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.location-info p {
    margin-bottom: 8px;
    color: var(--text-dark);
}

.location-info a {
    color: maroon;
    text-decoration: none;
}

.location-info a:hover {
    text-decoration: underline;
}

.location-map {
    flex: 2 1 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--text-white);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: maroon;
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.info-text h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: var(--text-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: maroon;
    outline: none;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */

.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    max-width: 180px;
    margin-bottom: 20px;
}

.footer-about {
    margin-bottom: 20px;
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: maroon;
    transform: translateY(-5px);
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: maroon;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: maroon;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.copyright {
    margin-bottom: 10px;
    color: white;
}

.copyright a {
    color: maroon;
    text-decoration: none;
}

.footer-links-bottom {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links-bottom a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links-bottom a:hover {
    color: maroon;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: maroon;
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #b71c1c;
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .seewel-about-content {
        flex-direction: column;
    }
    
    .manufacturing-layout {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
        padding: 0 0 0 70px;
        text-align: left;
    }
    
    .timeline-dot {
        left: 21px;
    }
}

@media (max-width: 768px) {
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .seewel-stats-container {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .seewel-stat-number {
        font-size: 2.5rem;
    }
}
