﻿/* ================== General Styles ================== */
@import url('https://fonts.googleapis.com/css2?family=Segoe+UI:wght@400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding-bottom: 80px;
}
p {
    margin: 0 0 10px 0; /* bottom margin only */
}
h1, h2, h3, h4 {
    color: #111;
    margin: 0 0 10px 0;
}

a {
    text-decoration: none;
    color: inherit;
}
/* ================== Navbar ================== */

.navbar {
    display: flex;
    /*justify-content: flex-start;*/
    align-items: center;
    padding: 6px 14px;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
   /* justify-content: space-between;*/
}

    .navbar h4 {
        margin: 0;
        font-size: 14px;
        line-height: 1.2;
    }

.logo {
    font-weight: 600;
    font-size: 1.5rem;
    color: #0078D4;
    margin-right: 40px;
}

.nav-links {
    display: flex;
    gap: 15px;
    /*  position: relative;*/
    margin-left: 40px;
}
/*.nav-links {
    display: flex;

    align-items: center;
    gap: 12px;
}*/
/* ================== Dropdowns ================== */
.hero-image,
.ifp-hero,
.image-box,
.image-content {
    max-width: 1100px;
    margin: 25px auto 40px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    background: #000;
}

    .hero-image img,
    .ifp-hero img,
    .image-box img,
    .image-content img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
    }

.content-with-image {
    margin-bottom: 5px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 60px 0;
    max-width: 710px;
    padding: 0 20px;
}

.text-content p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 5px;
}

.text-content h2 {
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .content-with-image {
        grid-template-columns: 1fr;
    }
}
.dropdown {
    position: relative;
}

    .dropdown a {
        padding: 8px 12px;
        font-weight: 500;
        font-size: 0.95rem;
        color: #333;
        transition: color 0.3s ease;
    }

        .dropdown a:hover {
            color: #0078D4;
        }
/* Dropdown content */

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    max-width: 220px;
    padding: 5px 0;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* Dropdown links fix for long text */

.dropdown-content a {
    /*display: block;*/
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    white-space: normal; /* Allow text to wrap to next line */
    word-wrap: break-word; /* Break long words if necessary */
    overflow-wrap: break-word; /* Extra safety for long words */
    transition: background 0.3s, color 0.3s;
}

    .dropdown-content a:hover {
        background-color: #0078D4;
        color: #fff;
        transform: translateX(5px);
    }


/* ================== Submenu (2nd level dropdown) ================== */

.submenu {
    position: relative;
}

    .submenu > a {
        display: block;
    }

/* submenu panel */
.submenu-content {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 200px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: none;
    z-index: 300;
}

/* show submenu */
.submenu:hover > .submenu-content {
    display: block;
}

/* keep parent highlighted */
.submenu:hover > a {
    background-color: #0078D4;
    color: #fff;
}

/* submenu links */
.submenu-content a {
    display: block;
    padding: 10px 14px;
}
.submenu:hover .submenu-content {
    display: block;
}
    .submenu-content a:hover {
        background-color: #0078D4;
        color: #fff;
    }
.dropdown-content a,
.submenu > a {
    display: block;
    padding: 10px 14px;
}
.submenu:hover > a {
    background-color: #0078D4;
    color: #fff;
}

.dropdown-content h4,
.submenu-content h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
}
/* ================== Hero Section ================== */

.hero {
    text-align: center;
    padding: 100px 20px 60px;
    background: linear-gradient(135deg, #0078D4, #00A4EF);
    color: #fff;
}

    .hero h1 {
        font-size: 3rem;
        font-weight: 600;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }

    .hero button {
        background-color: #fff;
        color: #0078D4;
        border: none;
        padding: 12px 25px;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .hero button:hover {
            background-color: #e6f0fa;
        }
/* ================== Solution Sections ================== */

.solution-section {
    /*background-color: #ffffff;*/
    background-color: #f3f3f3;
    padding: 20px 20px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    max-width: 1000px;
}

    .solution-section h2 {
        font-size: 2rem;
        margin-bottom: 15px;
        color: #0078D4;
    }

    .solution-section p {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .solution-section ul {
        list-style: disc inside;
    }

        .solution-section ul li {
            margin-bottom: 10px;
            line-height: 1.5;
        }
/* ================== Features Section ================== */

.features {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
    background-color: #f3f3f3;
}

.feature {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-align: center;
    flex: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .feature:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    }

    .feature h3 {
        font-size: 1.2rem;
        color: #0078D4;
        margin-bottom: 8px;
    }
/* ================== Contact Section ================== */

.contact {
    text-align: center;
    padding: 60px 20px;
    background-color: #0078D4;
    color: #fff;
}

    .contact h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .contact p {
        font-size: 1rem;
    }
.map-container {
    width: 100%;
    max-width: 800px;  optional max size 
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.contact-info {
    flex: 1 1 300px;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;  vertically center text if map is taller 
}
.contact {
    text-align: left;  align text left for side-by-side layout 
    padding: 20px 20px;  reduce vertical padding 
    margin: 0;
    background-color: #0078D4;
    color: #fff;
}

    .contact h2 {
        margin: 0 0 10px;
    }

    .contact p {
        margin: 0;
    }

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: stretch;  make map & text same height 
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;  remove extra padding to reduce height 
}

.contact-info {
    flex: 1 1 300px;  grows, shrinks, min width 
    min-width: 250px;
}

.map-container {
    flex: 1 1 400px;
    min-width: 300px;
    height: 100%;  fill the wrapper height 
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
    .map-container iframe {
        width: 100%;
        height: 100%;  make iframe fill container 
        border: 0;
    }
/* ================== Footer ================== */

/*.footer {
    text-align: center;
    padding: 25px 20px;
    background-color: #333;
    color: #fff;
}*/



.footer {
    margin: 0;
    padding: 12px 20px;
    background: #111;
    color: #fff;
    text-align: center;
}

.video-container {
    margin-top: 20px;
    text-align: center;
}

    .video-container video {
        width: 100%;
        max-width: 800px; /* Adjust max width as needed */
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

.video-containr {
    margin-top: 20px;
    text-align: center;
}

    .video-containr video {
        width: 100%;
        max-width: 800px; /* Adjust max width as needed */
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }
/* ================== Media Queries ================== */

@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 10px;
    }

    .features {
        flex-direction: column;
    }

    .solution-section {
        padding: 40px 15px;
    }
}

.solution-layout {
    display: flex;
    align-items: center;
    gap: 40px;
}
/* Text */

.solution-text {
    flex: 1;
}
/* Image grid */

.solution-images {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

    .solution-images img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 10px 25px rgba(0,0,0,0.12);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
        /* Third image spans full width */

        .solution-images img:nth-child(10) {
            grid-column: span 2;
        }
        /* Hover effect */

        .solution-images img:hover {
            transform: translateY(-4px) scale(1.02);
            box-shadow: 0 18px 40px rgba(0,0,0,0.18);
        }
/* Mobile responsive */

@media (max-width: 900px) {
    .solution-layout {
        flex-direction: column;
        text-align: center;
    }

    .solution-images {
        grid-template-columns: 1fr;
    }

        .solution-images img:nth-child(10) {
            grid-column: auto;
        }

    .solution-text ul {
        text-align: left;
    }
}
/* Layout */

.solution-layout {
    display: flex;
    align-items: center;
    gap: 40px;
}
/* Text */

.solution-text {
    flex: 1;
}
/* Slider container */

.solution-slider {
    flex: 1;
    position: relative;
    overflow: hidden;
    height: 260px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(0,0,0,0.15);
}

.slider {
    width: 100%;
    height: 450px; /* adjust */
    overflow: hidden;
}
/* Sliding images */

.slider-track {
    display: flex;
    width: 300%;
    height: 100%;
    animation: slideAuto 12s infinite ease-in-out;
}

    .slider-track img {
        width: 33.3333%; /* FIX */
        height: 100%;
        object-fit: cover;
        flex-shrink: 0;
    }
/* Animation */

@keyframes slideAuto {
    0% {
        transform: translateX(0);
    }

    30% {
        transform: translateX(0);
    }

    35% {
        transform: translateX(-100%);
    }

    65% {
        transform: translateX(-100%);
    }

    70% {
        transform: translateX(-200%);
    }

    95% {
        transform: translateX(-200%);
    }

    100% {
        transform: translateX(0);
    }
}
/* Mobile */

@media (max-width: 900px) {
    .solution-layout {
        flex-direction: column;
        text-align: center;
    }

    .solution-slider {
        width: 100%;
        height: 220px;
    }

    .solution-text ul {
        text-align: left;
    }
}
/* Slider container */
/* Slider container */
/*.about-slider {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 40px;
    overflow: hidden;*/ /* hides images outside slider */
    /*border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.about-slider-track {
    display: flex;*/ /* horizontal row */
    /*flex-wrap: nowrap;*/ /* no wrapping */
    /*transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.about-slider img {
    flex: 0 0 100%;*/ /* each image takes full slider width */
    /*height: 360px;*/ /* adjust as needed */
    /*object-fit: cover;
    border-radius: 8px;
    backface-visibility: hidden;
    transform: translateZ(0);*/ /* GPU acceleration */
/*}*/
#about {
    padding: 20px;
    text-align: center;
}

    #about h2 {
        color: #0078D4;
        font-size: 2rem;
        margin-bottom: 20px;
    }

    #about h3 {
        font-size: 1.5rem;
        margin: 20px 0;
    }

    #about p {
        max-width: 900px;
        margin: 0 auto 15px;
        line-height: 1.6;
        font-size: 1rem;
    }

/* Explore button */
.explore-btn {
    background: none;
    border: none;
    color: #0078D4;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
}

/* Swiper */
.swiper {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 30px;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .swiper-slide img {
        width: 100%;
        height: auto;
        max-height: 80vh;
        object-fit: contain;
    }

/* Mobile */
@media (max-width: 768px) {
    .swiper-slide img {
        max-height: 60vh;
    }
}
.product-section {
    padding: 30px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

    .product-section p {
        margin-bottom: 5px;
    }

/* Inner sections */
.key-features, .academic-support, .implementation {
    margin-bottom: 30px;
}

    .key-features h2,
    .academic-support h2,
    .implementation h2 {
        color: #0078D4;
        margin-bottom: 15px;
    }

    .key-features ul {
        padding-left: 20px;
    }

    .key-features li {
        margin-bottom: 10px;
        line-height: 1.6;
    }
/* ================== Features Grid (Samsung Style) ================== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 40px auto;
}

.feature-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    padding: 30px 22px;
    text-align: left;
    transition: all 0.25s ease;
}

    .feature-card img {
        width: 44px;
        height: 44px;
        margin-bottom: 15px;
        opacity: 0.85;
    }

    .feature-card h4 {
        font-size: 1.05rem;
        margin-bottom: 10px;
        color: #111;
    }

    .feature-card p {
        font-size: 0.95rem;
        line-height: 1.6;
        color: #444;
    }

    .feature-card:hover {
        border-color: #0078D4;
        transform: translateY(-4px);
    }
.size-tabs {
    text-align: center;
    margin: 30px 0;
}

.size-btn {
    padding: 10px 22px;
    margin: 5px;
    border: 2px solid #0078D4;
    background: transparent;
    color: #0078D4;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .size-btn.active,
    .size-btn:hover {
        background: #0078D4;
        color: #fff;
    }
/* ================== Specs Table ================== */
/*.specs-wrapper {
    max-width: 1000px;
    margin: 0 auto 50px;
    overflow-x: auto;
}*/
.specs-wrapper {
    max-width: 1000px;
    margin: 0 auto 50px;
    overflow-x: auto;
    min-height: 900px;
}
.spec-table {
    width: 100%;
    border-collapse: collapse;
    display: none;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-radius: 10px;
    overflow: hidden;
    table-layout: fixed; /* ADD THIS */
}
    .spec-table td:first-child {
        width: 35%;
        font-weight: 600;
    }

    .spec-table td:nth-child(2),
    .spec-table td:nth-child(3) {
        width: 32.5%;
    }

    /*.spec-table td {
        word-wrap: break-word;
    }*/
    .spec-table td {
        word-wrap: break-word;
        padding: 10px 12px;
        border-bottom: 1px solid #eee;
        font-size: 0.95rem;
        font-family: "Segoe UI", Arial, sans-serif;
        color: #444;
    }

    .spec-table th {
        background: #f3f7fb;
        color: #0078D4;
        text-align: left;
        padding: 12px;
        font-size: 1rem;
        font-family: "Segoe UI", Arial, sans-serif;
        font-weight: 600;
    }
    .spec-table tr:nth-child(even) {
        background-color: #fafafa;
    }

    .spec-table tr:hover {
        background-color: #f1f6fb;
    }
    .spec-table.active {
        display: table;
    }

/*.spec-table {
    width: 100%;
    border-collapse: collapse;
    display: none;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-radius: 10px;
    overflow: hidden;
}*/

  /*  .spec-table.active {
        display: table;
    }

    .spec-table th {
        background: #f3f7fb;
        color: #0078D4;
        text-align: left;
        padding: 12px;
        font-size: 1rem;
    }

    .spec-table td {
        padding: 10px 12px;
        border-bottom: 1px solid #eee;
        font-size: 0.95rem;
    }*/
/* ================== Size Strip ================== */
.size-strip {
    background: #fff;
    padding: 30px;
    margin-top: 50px;
    box-shadow: 0 -2px 10px rgba(0,0,0,.05);
}

    .size-strip h3 {
        margin-bottom: 15px;
    }

.sizes {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0078D4;
}
/* ================== Features Text ================== */
.features-text {
    max-width: 900px;
    margin: 30px auto;
    font-size: 1rem;
    line-height: 1.7;
}
/* ================== Image Row ================== */
.image-row {
    display: flex;
    gap: 24px;
    max-width: 1100px;
    margin: 30px auto 50px;
}

.image-box {
    flex: 1;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

    .image-box img {
        width: 100%;
        height: auto;
        display: block;
    }

    .image-box p {
        text-align: center;
        margin-top: 8px;
        font-size: 0.95rem;
        color: #333;
    }
.image-section {
    display: flex;
    flex-direction: column;
    gap: 10px;  vertical gap between rows 
}

.image-row {
    display: flex;
    gap: 24px;  horizontal gap inside row 
    max-width: 1100px;
    margin: 0 auto;
}
/* SECTION CONTROLLER */

.social-container {
    position: fixed;
    bottom: 20px;
    right: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 1000;
}

.whatsapp-text {
    background: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    font-family: Arial, sans-serif;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

    .social-btn img {
        width: 20px;
    }

.whatsapp {
    background: #25D366;
}

.instagram {
    background: #E1306C;
}

.social-btn:hover {
    transform: scale(1.1);
}
@media (max-width: 768px) {
    .social-container {
        right: 5px;
        bottom: 15px;
    }

    .social-btn {
        width: 45px;
        height: 45px;
    }

        .social-btn img {
            width: 18px;
        }

    .whatsapp-text {
        font-size: 12px;
        padding: 6px 10px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .image-row {
        flex-direction: column;
    }
}
/* ================== Video Section ================== */
.video-section {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

    .video-section h3 {
        font-size: 1.9rem;
        color: #0078D4;
        margin-bottom: 30px;
    }

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.video-box {
    position: relative;
    padding-top: 56.25%; /* 16:9 ratio */
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

    .video-box video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Tablet */
@media (max-width: 900px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* ================== Icon Grid Section ================== */
/*.icon-grid-section {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.icon-card img {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
}

.icon-card p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #333;
}*/

/* Tablet */
/*@media (max-width: 768px) {
    .icon-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}*/

/* Mobile */
/*@media (max-width: 480px) {
    .icon-grid {
        grid-template-columns: 1fr;
    }
}*/
.icon-grid-section {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
}

/*.icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}*/
.icon-grid {
    display: grid;
    gap: 30px;
    text-align: center;
}

    .icon-grid.three-cols {
        grid-template-columns: repeat(3, 1fr);
    }

    .icon-grid.four-cols {
        grid-template-columns: repeat(4, 1fr);
    }


/* 🔹 ICON CARD BOX */
.icon-card {
    background: #ffffff;
    padding: 25px 15px;
    border-radius: 14px;
    border: 1px solid #e6e6e6;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .icon-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
    }

    .icon-card img {
        width: 48px;
        height: 48px;
        margin-bottom: 12px;
    }

    .icon-card p {
        font-size: 0.9rem;
        line-height: 1.4;
        color: #333;
        font-weight: 500;
    }

/* Tablet */
@media (max-width: 768px) {
    .icon-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 480px) {
    .icon-grid {
        grid-template-columns: 1fr;
    }
}

/* ================== PTZ Camera Page ================== */

.ptz-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

.ptz-image img {
    width: 180px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.ptz-content h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.ptz-content p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}

/* Mobile */
@media (max-width: 768px) {
    .ptz-section {
        flex-direction: column;
        text-align: center;
    }
}
/* ================== Accessories Page Only ================== */

.product-section .subtitle {
    max-width: 900px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Feature list (bullet style used in accessories) */
.feature-list {
    max-width: 900px;
    margin: 20px auto 0;
    padding-left: 20px;
}

    .feature-list li {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 10px;
    }
/* ================== Podium Page ================== */

.product-section h2 {
    font-size: 2.2rem;
    color: #0078D4;
    margin-bottom: 5px;
}

/* Icon grid spacing fix for podium */
/*.icon-grid {
    margin-top: 30px;
}*/

/* Podium description paragraph */
.product-section > p {
    max-width: 900px;
    margin: 0 auto 30px;
    font-size: 1.05rem;
    line-height: 1.7;
}
.section {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
}
/* Flex container for side-by-side layout */
/* Box around the text */
.hero-side-box {
    background: #f3f3f3; /* light grey */
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    flex: 1; /* takes remaining space */
}

/* Optional: text inside box */
.hero-side-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

/* Flex container stays the same */
.hero-side {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1100px;
    margin: 40px auto;
}

/* Image sizing */
.hero-side-img {
    flex: 0 0 40%;
    max-width: 300px;
}

    .hero-side-img img {
        width: 100%;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

/* Mobile responsive */
@media (max-width: 768px) {
    .hero-side {
        flex-direction: column;
        text-align: center;
    }

    .hero-side-img, .hero-side-box {
        max-width: 100%;
    }
}
.download-datasheet {
    text-align: center; /* center the button */
    margin: 30px 0;
}

    .download-datasheet button {
        background-color: #0078D4;
        color: #fff;
        border: none;
        padding: 12px 25px;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .download-datasheet button:hover {
            background-color: #005a9e;
            transform: translateY(-2px);
        }
.auto-break {
    max-width: 300px; /* controls where the line breaks */
    word-wrap: break-word;
    line-height: 1.6;
}
.text-flow {
    text-align: justify;
    line-height: 1.6;
    margin-bottom: 14px;
    word-spacing: 1px;
    hyphens: auto;
}
    .text-flow.clamp {
        display: -webkit-box;
        -webkit-line-clamp: 3; /* number of visible lines */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.logo a {
    text-decoration: none;
    font-weight: 700;
    font-size: 22px;
    color: #000;
}

.x-red {
    color: #e60000; /* red */
}
/* Reduce gap only for Education Series page */
.product-section > h2 {
    margin-bottom: 8px;
}

.product-section > p + h2 {
    margin-top: 10px;
}

.product-section > h2 + .video-section {
    margin-top: 10px;
}

.video-section {
    margin-bottom: 30px; /* keep space below, reduce above */
}
/* Reduce gap above Features image rows only */
.product-section > h2 + section .image-row {
    margin-top: 10px;
}

/* Reduce space between consecutive image rows */
.product-section .image-row {
    margin-bottom: 0px;
}
.product-section .product-section {
    padding: 0 20px;
}
h3 + .content-with-image {
    margin-top: 1px;
}
.image-box {
    position: relative;
}

    .image-box p {
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        color: #fff;
        background: rgba(0,0,0,0.7);
        padding: 6px 12px;
        border-radius: 6px;
    }
.product-gallery {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.product-card {
    background: #ffffff;
    border-radius: 14px;
    text-align: center;
    text-decoration: none;
    color: #000;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

    .product-card img {
        width: 110%;
        height: 230px;
        object-fit: cover;
        display: block;
    }
    
    .product-card span {
        display: block;
        padding: 14px;
        font-size: 15px;
        font-weight: 600;
    }

    .product-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 18px 40px rgba(0,0,0,0.15);
    }


/* Tablet */
@media (max-width: 992px) {
    .product-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .product-gallery {
        grid-template-columns: 1fr;
    }
}

.floating-contact {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

    .floating-contact a img {
        width: 45px;
        height: 45px;
    }


.site-footer {
    background: #0f172a; /* dark navy */
    color: #cbd5e1;
    padding: 60px 20px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-block h3,
.footer-block h4 {
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-block p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-block ul li {
        margin-bottom: 10px;
    }

        .footer-block ul li a {
            color: #cbd5e1;
            text-decoration: none;
            font-size: 14px;
        }

            .footer-block ul li a:hover {
                color: #38bdf8;
            }

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
}

/* Tablet */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.t-blue {
    color: #1e88e5; /* blue text */
}

/* ================= MOBILE NAV FIX ================= */
@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .dropdown {
        width: 100%;
    }

        .dropdown > a {
            display: block;
            width: 100%;
            padding: 12px;
        }

     Make dropdown content normal flow 
    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        display: none;
        width: 100%;
    }

     Show dropdown when hovering (temporary mobile support) 
    .dropdown:active .dropdown-content,
    .dropdown:focus-within .dropdown-content {
        display: block;
    }

     Submenu fix 
    .submenu-content {
        position: static;
        display: none;
        box-shadow: none;
        width: 100%;
    }

    .submenu:active .submenu-content,
    .submenu:focus-within .submenu-content {
        display: block;
    }
}

