/* ================================================
   COMPANY PAGES - CSS STYLESHEET
   ================================================ */

/* ================================================
   PAGE NAVIGATION TABS
   ================================================ */
.page-tabs-3d {
    position: sticky;
    top: var(--header-height);
    background: var(--white);
    border-bottom: 1px solid rgba(13, 148, 136, 0.1);
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.tabs-container {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.tab-link-3d {
    flex: 1;
    max-width: 300px;
    padding: 20px 30px;
    text-align: center;
    font-weight: var(--font-weight-medium);
    color: var(--slate-medium);
    border-bottom: 3px solid transparent;
    transition: var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tab-link-3d::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.tab-link-3d.active {
    color: var(--jungle-green);
    font-weight: var(--font-weight-bold);
}

.tab-link-3d.active::before {
    transform: scaleX(1);
}

.tab-link-3d:hover {
    color: var(--ocean-teal);
    background: rgba(20, 184, 166, 0.05);
}

.tab-icon {
    font-size: 24px;
    display: block;
    margin-bottom: 8px;
}

.tab-text {
    font-size: 14px;
    display: block;
}

/* ================================================
   SECTION VISIBILITY
   ================================================ */
.page-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.page-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================
   SHARED HERO
   ================================================ */
.hero-simple {
    padding: 80px 0 60px;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-simple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-simple h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.hero-simple p {
    font-size: 18px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ================================================
   ABOUT US SECTION
   ================================================ */
.about-story-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--slate-dark);
    margin-bottom: 30px;
}

.story-content p {
    color: var(--slate-medium);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 17px;
}

.story-visual {
    position: relative;
}

.story-image-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-3d);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition-base);
}

.story-image-frame:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.story-image-frame img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.story-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--white);
    padding: 25px 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    text-align: center;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.story-badge-number {
    font-size: 48px;
    font-weight: var(--font-weight-black);
    color: var(--jungle-green);
    line-height: 1;
}

.story-badge-text {
    font-size: 14px;
    color: var(--slate-medium);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.values-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--sand) 100%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.value-card-3d {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.value-card-3d::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.value-card-3d:hover::after {
    transform: scaleX(1);
}

.value-card-3d:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.value-icon-3d {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1) 0%, rgba(20, 184, 166, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.value-card-3d:hover .value-icon-3d {
    transform: scale(1.1) rotateZ(5deg);
    background: var(--gradient-primary);
}

.value-icon-3d i {
    font-size: 40px;
    color: var(--jungle-green);
    transition: var(--transition-base);
}

.value-card-3d:hover .value-icon-3d i {
    color: var(--white);
}

.value-card-3d h4 {
    font-size: 22px;
    font-weight: var(--font-weight-bold);
    color: var(--slate-dark);
    margin-bottom: 12px;
}

.value-card-3d p {
    color: var(--slate-medium);
    font-size: 14px;
    line-height: 1.6;
}

.team-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.team-card-3d {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.team-card-3d:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-3d);
}

.team-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

.team-card-3d:hover .team-image img {
    transform: scale(1.1);
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h3 {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    color: var(--slate-dark);
    margin-bottom: 5px;
}

.team-info .role {
    color: var(--jungle-green);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: rgba(13, 148, 136, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jungle-green);
    transition: var(--transition-base);
}

.team-social a:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* ================================================
   BLOG SECTION
   ================================================ */
.blog-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.blog-featured {
    margin-bottom: 80px;
}

.featured-post-3d {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    background: var(--white);
    border-radius: var(--radius-xxl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: var(--transition-base);
}

.featured-post-3d:hover {
    box-shadow: var(--shadow-3d);
    transform: translateY(-5px);
}

.featured-image {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

.featured-post-3d:hover .featured-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-content {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: var(--slate-medium);
    font-size: 14px;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--slate-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.featured-content p {
    color: var(--slate-medium);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 16px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card-3d {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.blog-card-3d:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-3d);
}

.blog-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

.blog-card-3d:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--white);
    color: var(--jungle-green);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
}

.blog-content {
    padding: 30px;
}

.blog-content .post-meta {
    margin-bottom: 15px;
}

.blog-content h3 {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    color: var(--slate-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-content h3 a {
    color: var(--slate-dark);
    transition: var(--transition-base);
}

.blog-content h3 a:hover {
    color: var(--ocean-teal);
}

.blog-excerpt {
    color: var(--slate-medium);
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--jungle-green);
    font-weight: var(--font-weight-medium);
    font-size: 14px;
    transition: var(--transition-base);
}

.read-more:hover {
    color: var(--ocean-teal);
    gap: 12px;
}

/* ================================================
   CAREERS SECTION
   ================================================ */
.careers-intro {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--sand) 100%);
}

.careers-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.careers-intro-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--slate-dark);
    margin-bottom: 30px;
}

.careers-intro-content p {
    color: var(--slate-medium);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 17px;
}

.perks-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.perks-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(13, 148, 136, 0.1);
}

.perks-list li:last-child {
    border-bottom: none;
}

.perk-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1) 0%, rgba(20, 184, 166, 0.1) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.perk-icon i {
    color: var(--jungle-green);
    font-size: 20px;
}

.perk-text {
    font-weight: var(--font-weight-medium);
    color: var(--slate-dark);
    font-size: 16px;
}

.careers-visual img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-xxl);
    box-shadow: var(--shadow-3d);
}

.job-listings-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.job-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid rgba(13, 148, 136, 0.2);
    border-radius: var(--radius-full);
    color: var(--slate-dark);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

.jobs-grid {
    display: grid;
    gap: 30px;
}

.job-card-3d {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
    border-left: 4px solid transparent;
}

.job-card-3d:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-3d);
    border-left-color: var(--ocean-teal);
}

.job-details h3 {
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    color: var(--slate-dark);
    margin-bottom: 10px;
}

.job-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.job-tag {
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1) 0%, rgba(20, 184, 166, 0.1) 100%);
    border-radius: var(--radius-full);
    color: var(--jungle-green);
    font-size: 13px;
    font-weight: var(--font-weight-medium);
}

.job-description {
    color: var(--slate-medium);
    line-height: 1.7;
    margin-bottom: 15px;
}

.job-info {
    display: flex;
    gap: 20px;
    color: var(--slate-medium);
    font-size: 14px;
}

.job-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ================================================
   SHARED COMPONENTS
   ================================================ */
.section-header-3d {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title-3d {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--slate-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--slate-medium);
    max-width: 700px;
    margin: 0 auto;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
    .story-grid,
    .careers-intro-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .values-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-post-3d {
        grid-template-columns: 1fr;
    }
    
    .featured-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .tabs-container {
        flex-direction: column;
        gap: 0;
    }
    
    .tab-link-3d {
        max-width: 100%;
        padding: 15px 20px;
    }
    
    .tab-icon {
        display: inline-block;
        margin-right: 10px;
        margin-bottom: 0;
    }
    
    .tab-text {
        display: inline;
    }
    
    .values-grid,
    .team-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .story-image-frame img,
    .careers-visual img {
        height: 350px;
    }
    
    .job-card-3d {
        grid-template-columns: 1fr;
    }
}