.secondary-nav-container {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    width: fit-content;
    justify-content: center;
    align-items: center;
    padding: 10px 10px;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 99;
}

html {
    scroll-padding-top: 150px; /* This ensures content doesn't hide under the nav */
}

.centered-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10px;
}

@media (max-width: 768px) {
    .secondary-nav-container {
        top: 80px;
        padding: 5px 5px;
    }

    .centered-content {
        margin: 0 auto 0;
    }
}

.nav-button{
    padding: 5px 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

button {
    --c:  #f18647; /* the color*/
    
    --_g: linear-gradient(var(--c) 0 0) no-repeat;
    background: 
      var(--_g) calc(var(--_p,0%) - 100%) 0%,
      var(--_g) calc(200% - var(--_p,0%)) 0%,
      var(--_g) calc(var(--_p,0%) - 100%) 100%,
      var(--_g) calc(200% - var(--_p,0%)) 100%;
    background-size: 50.5% calc(var(--_p,0%)/2 + .5%);
    outline-offset: .1em;
    transition: background-size .4s, background-position 0s .4s;
    border-radius: 15px;
    margin: 0 10px;
  }
  button:hover {
    --_p: 100%;
    transition: background-position .4s, background-size 0s;
  }
  button:active {
    box-shadow: 0 0 9e9q inset #0009; 
    background-color: var(--c);
    color: #fff;
  }

/* About Container Styles */
.about-container {
    margin: 0 auto;
}

.about-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Card Header Styles */
.card-header {
    margin-bottom: 25px;
    position: relative;
}

.card-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 10px;
}

.header-accent {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin-top: 10px;
}

/* Content Styles */
.lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.text-block {
    margin-bottom: 30px;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.6;
}

.text-block h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    margin-top: 20px;
}

.text-block p {
    line-height: 1.7;
    margin-bottom: 15px;
    color: #444;
}

/* Profile Card Styles */
.profile-card {
    text-align: center;
    padding: 40px;
}

.profile-header {
    margin-bottom: 25px;
}

.profile-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.profile-content h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.position {
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
}

.bio {
    line-height: 1.6;
}

/* Team Section Styles */
.team-card {
    text-align: center;
}

.section-title {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 25px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.team-pill {
    background: #f5f5f5;
    padding: 15px 20px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.team-pill:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Company Profile Table Styles */
.company-profile-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

/* Add a wrapper div for table responsiveness */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
}

.company-profile-table th,
.company-profile-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.company-profile-table th {
    background: #f8f8f8;
    color: var(--primary-color);
    text-align: left;
    font-size: 1.2rem;
    min-width: 200px; /* Minimum width for first column */
}

.company-profile-table td {
    min-width: 250px; /* Minimum width for data cells */
}

@media (max-width: 768px) {
    .company-profile-table th,
    .company-profile-table td {
        padding: 10px;
        font-size: 0.9rem;
    }

    .company-profile-table th {
        min-width: 150px;
    }

    .company-profile-table td {
        min-width: 200px;
    }
}

/* Mission Vision Section Styles */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.mission-card {
    background: #f8f8f8;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.mission-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Quality Section Styles */
.quality-card {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
    align-items: center;
}

.quality-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 25px;
}

.quality-text p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.quality-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* CTA Section Styles */
.cta-section {
    background: linear-gradient(45deg, var(--primary-color), #f18647);
    border-radius: 15px;
    padding: 50px;
    text-align: center;
    color: white;
    margin-top: 30px;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.modern-cta {
    display: inline-flex;
    align-items: center;
    background: white;
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 25px;
    transition: all 0.3s ease;
}

.modern-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.arrow {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.modern-cta:hover .arrow {
    transform: translateX(5px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .quality-card {
        grid-template-columns: 1fr;
    }

    .card-header h2 {
        font-size: 1.8rem;
    }

    .cta-section {
        padding: 30px 20px;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .profile-card {
        padding: 25px;
    }

    .company-profile-table th,
    .company-profile-table td {
        padding: 10px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .text-block {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .text-block h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .text-block p {
        line-height: 1.6;
        margin-bottom: 12px;
    }
}
