/*! Nexus Photonics - Modern Photonics Engineering Website */
/* Reset and Base Styles */
:root {
  --primary: #0066cc;
  --primary-dark: #004d99;
  --secondary: #e63946;
  --dark: #1d3557;
  --darker: #0a192f;
  --light: #f1faee;
  --accent: #457b9d;
  --gray: #6c757d;
  --light-gray: #f8f9fa;
  --success: #2a9d8f;
  --warning: #e9c46a;
  --danger: #e76f51;
  --font-main: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --font-heading: 'Montserrat', 'Arial Narrow', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

@media (min-width: 768px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 2rem; }
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Layout */
.wrapper {
  display: flex;
  min-height: 100vh;
}

.sidebar {
   width: 280px;
  background-color: var(--darker);
  color: white;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.main-content {
  flex: 1;
  margin-left: 280px;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Logo */
.logo {
  margin-bottom: 2rem;
  text-align: center;
}

.logo img {
  max-width: 100%;
  height: auto;
}

/* Navigation */
.vertical-menu {
  display: flex;
  flex-direction: column;
  height: calc(100% - 100px);
}

.menu-main {
  list-style: none;
  flex-grow: 1;
}

.menu-main li {
  margin-bottom: 0.5rem;
  position: relative;
}
.menu-main li button {
  font-family: inherit;
}
.menu-main li a,
.menu-main li button {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 4px;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.menu-main li a:hover,
.menu-main li button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
}

.menu-main li a i,
.menu-main li button i {
  margin-right: 0.75rem;
  width: 20px;
  text-align: center;
}

.menu-main li a[aria-current="page"],
.menu-main li.active > a,
.menu-main li.active > button {
  background-color: var(--primary);
  color: white;
}

/* Submenus */
.submenu,
.subsubmenu {
  list-style: none;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.has-submenu.active .submenu,
.has-subsubmenu.active .subsubmenu {
  max-height: 1000px;
  transition: max-height 0.5s ease-in;
}

.dropdown-icon,
.subdropdown-icon {
  margin-left: auto;
  transition: transform 0.3s ease;
}

.has-submenu.active .dropdown-icon {
  transform: rotate(180deg);
}

.has-subsubmenu.active .subdropdown-icon {
  transform: rotate(90deg);
}

/* Menu Footer */
.menu-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info {
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.contact-info i {
  margin-right: 0.75rem;
  width: 20px;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
}

.social-links a:hover {
  color: white;
}

/* Hero Section */
.hero-section {
 position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: url('../../images/hero-bg.webp') no-repeat center center;
  background-size: cover;
  color: white;
  padding: 4rem 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 25, 47, 0.7);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.stat-item {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 1.5rem 2rem;
  border-radius: 8px;
  min-width: 200px;
  backdrop-filter: blur(5px);
}

.stat-value {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.hero-image {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50%;
  opacity: 0.3;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content Sections */
.content-section {
  padding: 5rem 0;
}

.section-title {
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary);
}

.title-icon {
  margin-right: 1rem;
  color: var(--primary);
}

.dark-bg {
  background-color: var(--darker);
  color: white;
}

.accent-bg {
  background-color: var(--accent);
  color: white;
}

/* Technology Cards */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.tech-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.tech-header {
  padding: 1.5rem;
  background-color: var(--primary);
  color: white;
  display: flex;
  align-items: center;
}

.tech-header i {
  font-size: 1.5rem;
  margin-right: 1rem;
}

.tech-header h3 {
  margin-bottom: 0;
}

.tech-content {
  padding: 1.5rem;
  flex-grow: 1;
}

.tech-specs {
  list-style: none;
  margin-bottom: 1.5rem;
}

.tech-specs li {
  margin-bottom: 0.75rem;
  display: flex;
}

.tech-specs strong {
  min-width: 100px;
  display: inline-block;
}

.tech-applications {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.app-tag {
  background-color: var(--light-gray);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
}

.tech-link {
  display: block;
  padding: 1rem 1.5rem;
  background-color: var(--light-gray);
  text-align: center;
  font-weight: 600;
}

.tech-link i {
  margin-left: 0.5rem;
}

/* Tabs */
.specs-tabs {
  margin-top: 2.5rem;
}

.tabs-header {
   display: flex;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 1.5rem;
    gap: 0.5rem;
}

.tab-btn {
   padding: 0.8rem 1.8rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    font-size: 1rem;
    border-radius: 4px 4px 0 0;
    transition: var(--transition);
}

.tab-btn:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.tab-btn.active {
  color: white;
  background: rgba(255, 255, 255, 0.2);
}

.tab-btn.active::after {
  content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

.tabs-content {
    margin-top: 1.5rem;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* Tables */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.specs-table caption {
  text-align: left;
  font-weight: bold;
  margin-bottom: 1rem;
  color: inherit;
}

.specs-table th,
.specs-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.specs-table th {
  font-weight: 600;
}

.specs-table tr:last-child th,
.specs-table tr:last-child td {
  border-bottom: none;
}

/* Paper Cards */
.papers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.paper-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.paper-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.paper-badge {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.paper-title {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.paper-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 1rem;
}

.paper-abstract {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.paper-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--primary);
}

.paper-link i {
  margin-left: 0.5rem;
  font-size: 0.8rem;
}

/* Support Section */

.support-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.support-content h2 {
    margin-bottom: 1.5rem;
}
.support-intro {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
}

.support-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}
.support-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}
.feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.8rem;
    border-radius: 8px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.feature-icon {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1.2rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: white;
}

.feature-card ul {
    list-style: none;
}

.feature-card li {
    margin-bottom: 0.6rem;
    position: relative;
    padding-left: 1.5rem;
}

.feature-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
}
.cta-card {
    background-color: var(--darker);
    padding: 2rem;
    border-radius: 8px;
    height: 100%;
}

.cta-card h3 {
    margin-bottom: 1.5rem;
    color: white;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-link {
    display: flex;
    align-items: center;
    color: white;
    padding: 0.8rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: var(--transition);
}

.contact-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.contact-link i {
    margin-right: 0.8rem;
    width: 20px;
    text-align: center;
}

.support-hours {
    font-size: 0.9rem;
}

.support-hours p {
    margin-bottom: 0.5rem;
}

.support-hours i {
    margin-right: 0.5rem;
}
.support-content {
  flex: 1;
  min-width: 300px;
}

.support-services {
  list-style: none;
  margin: 1.5rem 0;
}

.support-services li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.support-services i {
  margin-right: 1rem;
  width: 20px;
  text-align: center;
}

.support-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 250px;
}

.support-hours {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.9;
  display: flex;
  align-items: center;
}

.support-hours i {
  margin-right: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn i {
  margin-right: 0.5rem;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: white;
  text-decoration: none;
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: white;
  color: var(--primary);
  text-decoration: none;
}

/* Footer */
.site-footer {
  background-color: var(--darker);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-logo {
  flex: 1;
  min-width: 250px;
}

.footer-logo img {
  max-width: 160px;
  margin-bottom: 1rem;
}

.footer-tagline {
  opacity: 0.8;
  font-style: italic;
}

.footer-links {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-column {
  min-width: 150px;
}

.footer-heading {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-column a:hover {
  color: white;
  text-decoration: none;
}

.footer-legal {
  width: 100%;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
}

.footer-social a:hover {
  color: white;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.legal-links p {
  margin-bottom: 0;
  opacity: 0.7;
}

.legal-links ul {
  display: flex;
  list-style: none;
  gap: 1rem;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.legal-links a:hover {
  color: white;
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }

/* Responsive Table */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Skip Link (Accessibility) */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  z-index: 100;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1100;
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 4px;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.mobile-menu-toggle i {
  font-size: 1.25rem;
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .sidebar {
    width: 250px;
  }
  .main-content {
    margin-left: 250px;
  }
}

@media (max-width: 768px) {
  .wrapper {
    flex-direction: column;
  }
  
  .sidebar {
    width: 100%;
    transform: translateX(-100%);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1000;
    transition: transform 0.3s ease;
  }
  
  .sidebar.mobile-open {
    transform: translateX(0);
  }
  
  .main-content {
    margin-left: 0;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .stat-item {
    width: 100%;
  }
  
  .hero-image {
    display: none;
  }
  
  .support-container {
    flex-direction: column;
  }
   .container {
    padding: 0 2rem;
  }
  
  .hero-section {
    min-height: 60vh;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .content-section {
    padding: 4rem 0;
  }
  
  .tabs-header {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1 0 auto;
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
    
    .specs-table {
        font-size: 0.9rem;
    }
    
    .specs-table th,
    .specs-table td {
        padding: 0.8rem;
    }
  
  
}

@media (max-width: 480px) {
  .tabs-header {
    flex-direction: column;
    border-bottom: none;
  }
  
  .tab-btn {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .tab-btn.active::after {
    display: none;
  }
  
  .section-title {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .title-icon {
    margin-bottom: 0.5rem;
    margin-right: 0;
  }
}
/* Responsive Styles */
@media (max-width: 992px) {
  .sidebar {
    transform: translateX(-100%);
  }
  
  .sidebar.mobile-open {
    transform: translateX(0);
  }
  
  .main-content {
    margin-left: 0;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .mobile-menu-toggle[aria-expanded="true"] {
    left: 240px;
    background: var(--dark);
  }
   .hero-section {
    min-height: 70vh;
    padding-top: 6rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .stat-item {
    min-width: 100%;
  }
   .support-grid {
        grid-template-columns: 1fr;
    }
    
    .support-cta {
        margin-top: 2rem;
    }
  
}

/* Body scroll lock when menu is open */
body.menu-open {
  overflow: hidden;
}


/* Add these styles to your existing style.css file */

/* About Page Specific Styles */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.mission-card, .vision-card {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.mission-card h3, .vision-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.team-image img {
    width: 100%;
    height: auto;
    display: block;
}

.team-info {
    padding: 1.5rem;
}

.team-title {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.team-bio {
    font-size: 0.9rem;
    opacity: 0.9;
}

.timeline {
    position: relative;
    padding-left: 1.5rem;
    margin: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-year {
    position: absolute;
    left: -1.5rem;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
}

.timeline-content {
    padding-left: 2rem;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.value-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Mobile Responsiveness for About Page */
@media (max-width: 768px) {
	 .product-nav {
        padding: 0.5rem 0;
    }
    
    .product-nav .tabs-header {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    
    .product-nav .tabs-header::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    
    .product-nav .tab-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        flex: 0 0 auto;
    }
    
    /* Optional: Add visual cue for scrollable tabs */
    .product-nav .container {
        position: relative;
    }
    
    .product-nav .container::after {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 30px;
        background: linear-gradient(90deg, rgba(29,53,87,0) 0%, rgba(29,53,87,1) 100%);
        pointer-events: none;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-year {
        left: 0;
        width: 30px;
        height: 30px;
    }
    
    .timeline-content {
        padding-left: 3rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .value-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .timeline-content h3 {
        font-size: 1.2rem;
    }
    
    .team-info {
        padding: 1rem;
    }
    
    .mission-card, .vision-card {
        padding: 1rem;
    }
}

/* Product Page Specific Styles */
.product-nav {
    background-color: var(--darker);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

.product-nav.sticky {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.product-nav .tabs-header {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-nav .tab-btn {
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition);
    text-decoration: none;
}

.product-nav .tab-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.product-nav .tab-btn.active {
    background: var(--primary);
    color: white;
}

.product-intro {
    margin-bottom: 2.5rem;
    max-width: 800px;
    font-size: 1.1rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.specs-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
}

.specs-card h3 {
    margin-bottom: 1.5rem;
    color: var(--primary);
    position: relative;
    padding-bottom: 0.5rem;
}

.specs-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.8rem;
    position: relative;
}

.feature-list i {
    position: absolute;
    left: 0;
    top: 0.2rem;
    color: var(--primary);
}

.app-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.app-tag {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.product-table {
    margin: 3rem 0;
}

.product-table h3 {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.product-gallery {
    margin: 3rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
	justify-items: center;
}
.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
}
.gallery-item img {
   max-width: 100%;
    height: 400px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    margin-bottom: 0.25rem; /* Also reduced margin between image and caption */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: contain;
    display: block;
}
.gallery-item img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.gallery-item .caption {
    font-size: 1rem;
    color: #555;
    text-align: center;
}

.gallery-item p {
    font-size: 0.9rem;
    text-align: center;
    opacity: 0.8;
}

.custom-solution {
    display: grid;
    grid-template-columns: 1fr 250px;
    gap: 3rem;
    align-items: center;
}

.custom-content h2 {
    margin-bottom: 1.5rem;
}

.custom-features {
    list-style: none;
    margin: 1.5rem 0;
}

.custom-features li {
    margin-bottom: 0.8rem;
    padding-left: 1.8rem;
    position: relative;
}

.custom-features i {
    position: absolute;
    left: 0;
    top: 0.2rem;
    color: white;
}

.custom-cta {
    text-align: center;
}

.custom-cta .btn {
    margin-bottom: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .custom-solution {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .custom-cta {
        margin-top: 1.5rem;
    }
    
    .product-nav .tabs-header {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .product-nav .tab-btn {
        white-space: nowrap;
    }
}
/* Move to Top Button */
.move-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.move-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.move-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}
.tabs-container {
    display: flex;
    gap: 0.5rem;
    padding-right: 30px; /* Space for gradient overlay */
}

.hamburger-icon {
    width: 24px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background: white;
    transition: all 0.3s ease;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}