
/* Global Styles */
.language-switcher {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-left: 1.5rem;
}
.lang-btn {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  border-radius: 22px;
  padding: 0.3rem 1.1rem;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
  box-shadow: none;
}
.lang-btn:hover {
  background: var(--secondary-color);
  color: #fff;
  border-color: var(--secondary-color);
}
.lang-btn.active {
  background: var(--secondary-color);
  color: #fff;
  border-color: var(--secondary-color);
  box-shadow: 0 2px 8px rgba(0,170,255,0.12);
}
[dir="rtl"] .language-switcher {
  flex-direction: row-reverse;
  margin-left: 0;
  margin-right: 1.5rem;
}
[dir="rtl"] .lang-btn {
  font-family: inherit;
}

:root {
  --primary-color: #002244;
  --secondary-color: #00aaff;
  --accent-color: #0077cc;
  --light-bg: #f4f7fa;
  --dark-bg: #002244;
  --text-dark: #222;
  --text-light: #fff;
  --text-gray: #555;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  --hover-shadow: 0 8px 24px rgba(0,170,255,0.2);
  --transition: all 0.3s ease;
}

body {
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
  background: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.6;
}

header {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  transition: var(--transition);
}
.logo {
  font-size: 2rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--secondary-color);
  text-decoration: none;
  position: relative;
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.02);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  transition: var(--transition);
  position: relative;
  padding-bottom: 5px;
}

.nav-links a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--secondary-color);
}

.nav-links a:hover:after {
  width: 100%;
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--primary-color);
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  border-radius: 0 0 8px 8px;
  padding: 0.5rem 0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  display: block;
  margin: 0;
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.7rem 1.5rem;
  color: var(--text-light);
  transition: background-color 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: rgba(0, 170, 255, 0.1);
}

.dropdown-menu a:after {
  display: none;
}

.dropdown-toggle:after {
  content: '▼';
  font-size: 0.7em;
  margin-left: 0.5rem;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle:after {
  transform: rotate(180deg);
}
.hero {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  width: 100vw;
  background: #002244;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 2;
}

.hero-content {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 3rem 2rem 2rem;
  min-width: 0;
  z-index: 2;
}
.card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.7rem 0.7rem 0.7rem 0.7rem;
    gap: 0.3rem;
    flex: 1;
}
#three-canvas-container {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 260px;
  padding: 2rem 2rem 2rem 3rem;
  z-index: 2;
  position: relative;
}

@media (max-width: 900px) {
  .hero-inner {
      flex-direction: column;
      padding: 2rem 0;
      height: auto;
  }
  .hero-content, #three-canvas-container {
      padding: 1rem 0;
      width: 100%;
      max-width: 100%;
      min-width: 0;
  }
  .hero-content {
      align-items: center;
      text-align: center;
  }
  #three-canvas-container {
      min-height: 180px;
      padding: 0 0 1rem 0;
  }
  .hero-content h1 {
      font-size: 2rem;
  }
  .hero-content p {
      font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .hero {
      padding: 0;
      min-height: 100vh;
      height: auto;
  }
  .hero-inner {
      flex-direction: column;
      padding: 1rem 0;
      height: auto;
  }
  .hero-content {
      padding: 0 1rem;
      align-items: center;
      text-align: center;
  }
  #three-canvas-container {
      min-height: 120px;
      padding: 0 0 1rem 0;
  }
  .hero-content h1 {
      font-size: 1.3rem;
  }
  .hero-content p {
      font-size: 0.95rem;
  }
  .container {
      flex-direction: column;
      height: auto;
  }
  .section {
      min-height: 180px;
      flex: unset;
      width: 100%;
      margin-bottom: 1rem;
  }
  .section .content h1 {
      font-size: 1.2rem;
  }
}


.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('image1.jpg') center center no-repeat;
  background-size: cover;
  opacity: 0.48;
  z-index: 1;
}
#three-canvas-container {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
min-height: 260px;
margin-bottom: 1rem;
z-index: 2;
position: relative;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 4rem 2rem 3rem 2rem;
}
.hero-content h1 {
  font-size: 2.7rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}
.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  font-weight: 400;
}
@media (max-width: 600px) {
  .hero-content h1 {
      font-size: 1.5rem;
  }
}

/* --- Old Core Technologies styles commented out for new section ---
.core-tech {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem 2rem;
}
.core-tech h2 {
  text-align: center;
  font-size: 2.2rem;
  color: #002244;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  margin-bottom: 2rem;
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2.5rem;
  justify-content: center;
}
.tech-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0,34,68,0.07);
  padding: 2.2rem 1.5rem 1.8rem 1.5rem;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
  border-bottom: 3px solid #00aaff;
}
.tech-card:hover {
  box-shadow: 0 8px 32px rgba(0,170,255,0.13);
  transform: translateY(-8px) scale(1.025);
  border-bottom: 3px solid #002244;
}
.tech-card img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 1.1rem;
  filter: drop-shadow(0 2px 8px rgba(0,34,68,0.08));
}
.tech-card h3 {
  margin: 1rem 0 0.5rem 0;
  font-size: 1.25rem;
  color: #002244;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.tech-card p {
  font-size: 1.05rem;
  color: #333;
}
*/

/* --- New Core Technologies Section Styles --- */
* {
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
font-family: 'Montserrat', sans-serif;
}
.container {
display: flex;
height: 100vh;
}
.section {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
height: 100%;
overflow: hidden;
background-size: cover;
background-position: center;
color: #fff;
transition: flex .4s ease;
position: relative;
}

/* Background styles for product sections */
#cctv-camera {
  background-image: url('images/cctvsolution.jpg');
  background-size: cover;
  background-position: center;
}

#connectors {
  background-image: url('images/connectors.jpg');
  background-size: cover;
  background-position: center;
}

#ai-solutions {
  background-image: url('images/ai_solution.jpg');
  background-size: cover;
  background-position: center;
}
.section .overlay {
background-color: rgba(0, 0, 0, 0.7);
width: 100%;
height: 100%;
position: absolute;
transition: background-color .8s ease;
}
.section .content {
z-index: 2;
position: relative;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}

.section-icon {
font-size: 3rem;
margin-bottom: 1rem;
color: var(--secondary-color);
}

/* Remove underlines from product section links */
#products a {
  text-decoration: none;
}
.section:hover {
flex: 2;
}
.section:hover .overlay {
background-color: rgba(79, 78, 78, 0.95);
}
#marketing {
background-image: url(https://images.unsplash.com/photo-1522205987242-8e22924ab42a?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=c0f679eb8f15705d46ea90008f39642b&auto=format&fit=crop&w=500&q=60);
}
#technology {
background-image: url(https://images.unsplash.com/photo-1530893609608-32a9af3aa95c?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=fe6b92f88f55824e64a1bae15f5bf52a&auto=format&fit=crop&w=500&q=60);
}
#advertising {
background-image: url(https://images.unsplash.com/photo-1517799094725-e3453440724e?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=353f3663a9fae75773d2942aeb37c2c8&auto=format&fit=crop&w=500&q=60);
}

.products {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
}
.products h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.2rem;
}
.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.product-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 2rem 1.5rem;
  flex: 1 1 250px;
  max-width: 320px;
  min-width: 250px;
  text-align: center;
  transition: box-shadow 0.2s;
  cursor: pointer;
}
.product-item:hover {
  box-shadow: 0 4px 24px rgba(0,170,255,0.14);
}
.product-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
}
.product-item h3 {
  margin: 1rem 0 0.5rem 0;
  font-size: 1.3rem;
}
.about {
  background: #e9f5fb;
  padding: 3rem 2rem;
  text-align: center;
}
.about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.about p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
}
.contact {
  padding: 4rem 2rem;
  background: #fff;
}
.contact-container {
  display: flex;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-info {
  flex: 1 1 320px;
  background: #f4f7fa;
  border-radius: 14px;
  padding: 2.2rem 2rem 1.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  margin-bottom: 2rem;
}
.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  color: #002244;
}
.contact-intro {
  color: #555;
  margin-bottom: 1.2rem;
  font-size: 1.08rem;
}
.contact-details {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.5rem 0;
}
.contact-details li {
  font-size: 0.9rem;
  color: #222;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.contact-details i {
  color: #00aaff;
  font-size: 1.2rem;
}
.contact-map-placeholder {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #e0f7fa;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  color: #0077cc;
  font-weight: 500;
  font-size: 1.07rem;
  width: max-content;
  margin-top: 0.5rem;
}
.contact-map-placeholder i {
  font-size: 1.2rem;
}
.contact-form-wrapper {
  flex: 1 1 350px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,170,255,0.07);
  padding: 2.2rem 2rem 1.5rem 2rem;
  margin-bottom: 2rem;
}
.contact-form h3 {
  color: #002244;
  font-size: 1.35rem;
  margin-bottom: 1.2rem;
}
.form-group {
  margin-bottom: 1.2rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  margin-bottom: 0.2rem;
  background: #f7fafc;
  transition: border 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border: 1.5px solid #00aaff;
  outline: none;
}
.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}
.contact-btn {
  background: linear-gradient(90deg, #00aaff, #0077cc);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 2.2rem;
  box-shadow: 0 2px 8px rgba(0,170,255,0.10);
  cursor: pointer;
  transition: background 0.2s;
}
.contact-btn:hover {
  background: linear-gradient(90deg, #0077cc, #00aaff);
}
@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
  }
  .contact-info, .contact-form-wrapper {
    padding: 1.5rem 1rem;
  }
}
@media (max-width: 600px) {
  .contact {
    padding: 2rem 0.5rem;
  }
  .contact-info, .contact-form-wrapper {
    padding: 1rem 0.5rem;
  }
  .contact-form h3 {
    font-size: 1.1rem;
  }
}

.contact-form {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form input,
.contact-form textarea {
  padding: 0.9rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: inherit;
  resize: none;
}
.contact-form button {
  background: #00aaff;
  color: #fff;
  border: none;
  border-radius: 3px;
  padding: 0.8rem;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
/* Category and Subcategory Pages Styles */
.category-hero, .subcategory-hero {
    background: #002244;
    color: #fff;
    padding: 4rem 2rem;
    text-align: center;
}

.category-hero-content h1, .subcategory-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}

.category-hero-content p, .subcategory-hero-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.subcategories-container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.subcategories-container h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #002244;
}

.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    flex: 0 0 277px;
    height: 500px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    transform-origin: center;
    margin-bottom: 2rem;
}

.card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-img {
  /* keep the same height you already have (e.g. 60% of card) */
  width: 100%;
  height: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: #f4f7fa;      /* optional, to match that light panel behind */
}

.card-img img {
  /* contain the entire image, letterboxed if necessary */
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

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

.card-content {
    padding: 0.8rem 0.8rem 0.8rem 0.8rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1 1 auto;
    overflow: visible;
    min-height: 0;
    max-height: none;
    word-break: break-word;
    font-size: 1rem;
    gap: 0.7rem;
}

.card-tag {
    font-size: 0.85rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-title {
    font-size: 1.0rem;
    margin-bottom: 0.25rem;
    margin-top: 0.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}

.card-text {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.4;
    margin-bottom: 0rem;
}

.card-button {
    align-self: flex-start;
    padding: 0.5rem 1rem;
    background: linear-gradient(90deg, var(--secondary-color), #66ccff);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 170, 255, 0.3);
    text-decoration: none;
    display: inline-block;
}

.card-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 170, 255, 0.5);
}

/* Keep the original subcategory styles as fallback */
.subcategory-card {
    display: none; /* Hide the old style */
}

.subcategories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

@media (max-width: 768px) {
    .card {
        flex: 0 0 300px;
        height: auto; /* Let card grow with content */
        max-height: none; /* Remove any max-height */
    }
}

@media (max-width: 480px) {
    .products-container {
        display: flex;
        flex-direction: column;
        overflow-x: auto;
        gap: 0.7rem;
        padding-bottom: 1rem;
        scroll-snap-type: x mandatory;
    }
    .card {
        flex: 0 0 85vw;
        max-width: 85vw;
        min-width: 200px;
        height: auto;
        max-height: none;
        scroll-snap-align: start;
    }
    .card-title {
        font-size: 1.0rem;
    }
}

/* Products Grid Styles */
.products-container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 8px;
    width: 80%;
    max-width: 700px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: #002244;
}

.modal-section {
    margin: 1.5rem 0;
}

.modal-section h3 {
    color: #002244;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

#modal-features {
    padding-left: 1.5rem;
}

#modal-features li {
    margin-bottom: 0.5rem;
}

#modal-specs {
    width: 100%;
    border-collapse: collapse;
}

#modal-specs tr {
    border-bottom: 1px solid #eee;
}

#modal-specs tr:last-child {
    border-bottom: none;
}

#modal-specs td {
    padding: 0.7rem 0.5rem;
}

#modal-specs .spec-key {
    font-weight: 600;
    width: 30%;
}

@media (max-width: 600px) {
    .modal-content {
        width: 90%;
        margin: 15% auto;
        padding: 1.5rem;
    }
}

.products-container h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #002244;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    overflow: visible;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
    position: relative;
    min-width: 0;
    min-height: 0;
    height: auto; /* Let card grow with content */
    max-height: none; /* Remove any max-height */
    padding-bottom: 1.2rem;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,170,255,0.2);
}

.product-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #002244;
}

.product-content p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1rem;
}

.product-details-btn {
    display: inline-block;
    background: #00aaff;
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}

.product-details-btn:hover {
    background: #0088cc;
}

/* Breadcrumb Styles */
.breadcrumb {
    max-width: 1200px;
    margin: 1rem auto 0;
    padding: 1rem 2rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #00aaff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #555;
}

/* Camera Popup Styles */
.camera-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.camera-popup.active {
    opacity: 1;
    visibility: visible;
}

.camera-popup-content {
    background-color: white;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.camera-popup.active .camera-popup-content {
    transform: scale(1);
}

.camera-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-gray);
    transition: color 0.2s;
}

.camera-popup-close:hover {
    color: var(--primary-color);
}

.camera-popup-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.camera-popup-details h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.camera-popup-details p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.camera-specs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.camera-spec-item {
    background-color: var(--light-bg);
    padding: 1rem;
    border-radius: 8px;
}

.camera-spec-item h4 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.camera-spec-item p {
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .subcategories-grid, .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    
    .category-hero-content h1, .subcategory-hero-content h1 {
        font-size: 2rem;
    }
    
    .category-hero-content p, .subcategory-hero-content p {
        font-size: 1rem;
    }
    
    .camera-popup-content {
        padding: 1.5rem;
    }
    
    .camera-specs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .subcategories-grid, .products-grid {
        grid-template-columns: 1fr;
    }
    
    .category-hero, .subcategory-hero {
        padding: 2.5rem 1.5rem;
    }
    
    .category-hero-content h1, .subcategory-hero-content h1 {
        font-size: 1.8rem;
    }
}

.contact-form button:hover {
  background: #0077aa;
}
footer {
  background: #002244;
  color: #fff;
  text-align: center;
  padding: 1.2rem 0;
  margin-top: 2rem;
}

/* --- About Us Page Styles --- */
.about-hero {
  background: linear-gradient(120deg, #002244 60%, #00aaff 100%);
  color: #fff;
  padding: 5rem 0 3rem 0;
  text-align: center;
  position: relative;
}
.about-hero-content h1 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}
.about-tagline {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0;
  color: #e0f7fa;
}

.about-mission {
  background: #fff;
  padding: 3rem 0 2rem 0;
  text-align: center;
}
.about-mission-inner {
  max-width: 700px;
  margin: 0 auto;
}
.about-mission h2 {
  color: #002244;
  font-size: 2.2rem;
  margin-bottom: 0.7rem;
}
.about-mission p {
  font-size: 1.2rem;
  color: #444;
}

.about-values {
  background: #f4f7fa;
  padding: 4rem 0 3rem 0;
  text-align: center;
}
.about-values h2 {
  color: #002244;
  font-size: 2rem;
  margin-bottom: 2.5rem;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.featured-card {
  grid-column: span 2;
  background: linear-gradient(120deg, #fffbe6 70%, #e0f7fa 100%);
  border: 2.5px solid #ffe066;
  box-shadow: 0 6px 32px rgba(255, 224, 102, 0.13), 0 2px 12px rgba(0,0,0,0.06);
  transform: scale(1.04);
  z-index: 1;
}
@media (max-width: 900px) {
  .featured-card {
    grid-column: span 1;
    transform: none;
  }
}
.value-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  padding: 2.2rem 1.2rem 1.6rem 1.2rem;
  text-align: center;
  transition: box-shadow 0.2s;
}
.value-card:hover {
  box-shadow: 0 8px 32px rgba(0,170,255,0.13);
}
.value-card img {
  width: 90px;
  height: 90px;
  margin-bottom: 1.2rem;
}

.innovation-img {
  width: 100px;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto 1.2rem auto;
  /* box-shadow: 0 2px 12px rgba(0,0,0,0.06); */
  border-radius: 12px;
  background: none !important;
  padding: 0.5rem;
}
@media (max-width: 600px) {
  .innovation-img {
    width: 70px;
    margin-bottom: 1rem;
  }
}
.value-card h3 {
  color: #0077cc;
  font-size: 1.25rem;
  margin-bottom: 0.7rem;
}
.value-card p {
  color: #555;
  font-size: 1.05rem;
}

.about-timeline {
  background: #fff;
  padding: 4rem 0 3rem 0;
  text-align: center;
}
.about-timeline h2 {
  color: #002244;
  font-size: 2rem;
  margin-bottom: 2.2rem;
}
.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 0.5rem;
}
.timeline:before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #00aaff 0%, #002244 100%);
  border-radius: 2px;
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  position: relative;
}
.timeline-year {
  background: #00aaff;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 2.2rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,170,255,0.13);
}
.timeline-content {
  background: #f4f7fa;
  border-radius: 10px;
  padding: 1.2rem 1.7rem;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  flex: 1;
}
.timeline-content h4 {
  color: #0077cc;
  margin: 0 0 0.4rem 0;
}
.timeline-content p {
  color: #555;
  margin: 0;
}

.about-why {
  background: #f4f7fa;
  padding: 4rem 0 3rem 0;
  text-align: center;
}
.about-why h2 {
  color: #002244;
  font-size: 2rem;
  margin-bottom: 2.2rem;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.2rem;
  max-width: 900px;
  margin: 0 auto;
}
.why-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  padding: 2.2rem 1.2rem 1.6rem 1.2rem;
  text-align: center;
  transition: box-shadow 0.2s;
}
.why-card:hover {
  box-shadow: 0 8px 32px rgba(0,170,255,0.13);
}
.why-card h3 {
  color: #0077cc;
  font-size: 1.18rem;
  margin-bottom: 0.7rem;
}
.why-card p {
  color: #555;
  font-size: 1.05rem;
}

@media (max-width: 900px) {
  .about-hero-content h1 {
    font-size: 2.2rem;
  }
  .values-grid, .why-grid {
    grid-template-columns: 1fr 1fr;
  }
  .timeline {
    padding-left: 0;
  }
  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .timeline-year {
    margin-bottom: 1rem;
    margin-right: 0;
  }
}
@media (max-width: 600px) {
  .about-hero {
    padding: 2.5rem 0 1.5rem 0;
  }
  .about-hero-content h1 {
    font-size: 1.5rem;
  }
  .about-mission, .about-values, .about-timeline, .about-why {
    padding: 2rem 0 1.5rem 0;
  }
  .values-grid, .why-grid {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }
  .timeline-content {
    padding: 1rem;
  }
  .timeline-year {
    width: 44px;
    height: 44px;
    font-size: 0.95rem;
  }
}
/* --- End About Us Page Styles --- */

@media (max-width: 900px) {
  .product-list {
      flex-direction: column;
      align-items: center;
  }
}
/* Improved Mobile Compatibility */
@media (max-width: 900px) {
  /* Fixed header for better mobile navigation */
  header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  .navbar {
    flex-direction: row;
    gap: 0.5rem;
    padding: 0.8rem 0.7rem;
  }
  .menu-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    margin-left: auto;
  }
  .menu-toggle .bar {
    width: 27px;
    height: 4px;
    background: #00aaff;
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s;
  }
  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #002244;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1.2rem 1rem;
    display: none !important;
    z-index: 999;
  }
  .nav-links.nav-active {
    display: flex !important;
  }
  .nav-links li {
    width: 100%;
    margin: 0.7rem 0;
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    min-width: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: none;
  }
  .dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu, .dropdown.open .dropdown-menu {
    display: block;
    background: #002244;
  }
}
@media (max-width: 600px) {
  /* Improved navbar for small screens */
  .navbar {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.8rem 0.5rem;
  }
  .logo {
    font-size: 1.3rem;
  }
  
  /* More readable text on small screens */
  body {
    font-size: 15px;
    line-height: 1.5;
  }
  
  /* Improved hero section */
  .hero {
    min-height: 70vh;
    padding: 1rem 0.5rem;
  }
  .hero-content {
    padding: 1.5rem 1rem;
    max-width: 100%;
  }
  .hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 1rem;
  }
  .hero-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  /* Section headers */
  .products h2, .about h2, .contact h2 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
  }
  
  /* Product items and cards */
  .product-item {
    max-width: 100%;
    margin-bottom: 1.5rem;
  }
  .card {
    padding: 0.2rem;
  }
  
  /* Improved grid layouts for mobile */
  .container, .values-grid, .why-grid, .products-grid, .subcategories-grid {
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    padding: 1.5rem 1rem !important;
  }
  
  /* Touch-friendly buttons */
  .btn, button[type="submit"], .contact-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    min-height: 44px; /* Minimum touch target size */
    border-radius: 6px;
  }
  
  /* Form elements */
  input, textarea, select {
    font-size: 16px !important; /* Prevents iOS zoom on focus */
    padding: 0.8rem !important;
    margin-bottom: 1rem !important;
    border-radius: 6px !important;
  }
  
  /* Section spacing */
  section {
    padding: 2.5rem 1rem !important;
  }
  
  /* Footer */
  footer {
    padding: 1.5rem 1rem;
    text-align: center;
  }
}




/* Make the existing “View Details” link cover the whole card */
.product-card {
  position: relative;
  overflow: hidden;            /* ensure the stretched link stays within bounds */
}

.product-card .product-details-btn {
  position: absolute;
  inset: 0;                    /* shorthand for top:0; right:0; bottom:0; left:0 */
  width: 100%;
  height: 100%;
  background: transparent;     /* keep it invisible */
  color: transparent;          /* hide the text */
  border: none;
  padding: 0;
  margin: 0;
  text-indent: -9999px;        /* extra-hide the label */
  z-index: 10;                 /* above all other card content */
  cursor: pointer;
  text-decoration: none;
}

/* Prevent any hover/focus styling on that link */
.product-card .product-details-btn:hover,
.product-card .product-details-btn:focus {
  background: transparent;
  text-decoration: none;
}