/* Enhanced careers.css */
:root {
    --primary: #0056b3;
    --primary-dark: #003366;
    --accent: #00a0e1;
    --light: #f8f9fa;
    --dark: #212529;
    --text-light: #ffffff;
    --text-dark: #333333;
    --section-padding: 5rem 0;
}

/* Hero Section */
.terminals-hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 86, 179, 0.7)), 
                url('../assets/MAFINA/mafina-images-pack/img2.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
}

.hero-conten {
    max-width: 800px;
    padding: 0 2rem;
    z-index: 2;
}

.hero-conten .hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-conten .hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-conten .hero-scroll {
    position: absolute;
    bottom: 30px;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

/* Section Styling */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.section-intro {
    font-size: 1.2rem;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto;
}

.divider {
    height: 3px;
    width: 80px;
    background: var(--accent);
    margin: 0 auto 1.5rem;
    transform: scaleX(0);
    transform-origin: center;
}

.divider.animate-grow {
    animation: grow 0.8s ease-out forwards;
}

/* Diversity Section */
.diversity-section {
    background-color: var(--light);
}

.diversity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.diversity-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.diversity-card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.diversity-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-top: 3rem;
}

.content-text {
    flex: 1;
}

.content-image {
    flex: 1;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Possibilities Section */
.possibilities-section {
    background: white;
}

.possibilities-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light);
    border-radius: 8px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-dark);
}

/* Spotlight Section */
.spotlight-section {
    background: linear-gradient(rgba(0, 86, 179, 0.9), rgba(0, 51, 102, 0.9)), 
                url('../assets/MAFINA/mafina-images-pack/terminal1.jpg') center/cover;
    color: white;
}

.spotlight-card {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 8px;
}

.employee-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}

.employee-image img {
    width: 100%;
    height: auto;
    display: block;
}

.employee-quote {
    flex: 2;
}

blockquote {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
}

blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--accent);
    position: absolute;
    left: -2rem;
    top: -1rem;
    opacity: 0.3;
}

.employee-info h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.employee-info p {
    margin-bottom: 0.3rem;
    opacity: 0.8;
}

/* MAFINA Way Section */
.mafina-way-section {
    background-color: var(--light);
}

.mafina-way-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.way-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.way-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.mafina-way-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Career Paths Section */
.career-tabs {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid #eee;
}

.tab-button {
    flex: 1;
    padding: 1.5rem;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button:hover {
    color: var(--primary);
}

.tab-button.active {
    color: white;
    background: var(--primary);
}

.tab-content {
    display: none;
    padding: 0;
}

.tab-content.active {
    display: block;
}

.tab-content-inner {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 3rem;
}

.tab-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}

.tab-image img {
    width: 100%;
    height: auto;
    display: block;
}

.tab-text {
    flex: 1;
}

.tab-text h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.tab-text ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.tab-text li {
    margin-bottom: 0.5rem;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* CTA Section */
.terminals-cta {
    position: relative;
    height: 400px;
    background: url('../assets/MAFINA/mafina-images-pack/img4.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-light);
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.7);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex; /* Using flex for perfect centering */
    justify-content: center;
    align-items: center;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: white;
    border: 2px solid var(--accent);
}

.btn-primary:hover {
    background: transparent;
    /* color: white; */
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.btn-pulse {
    animation: pulse 2s infinite;
}

/* Tablet View (768px and up) */
@media (min-width: 768px) {
    .terminals-cta {
        min-height: 350px;
        padding: 4rem 2rem;
    }
    
    .cta-content {
        max-width: 85%;
    }
    
    .cta-buttons {
        flex-direction: row; /* Side-by-side buttons */
        justify-content: center;
    }
    
    .btn {
        width: auto;
        padding: 0.8rem 2rem;
    }
}

/* Desktop View (992px and up) */
@media (min-width: 992px) {
    .terminals-cta {
        min-height: 400px;
    }
    
    .cta-content {
        max-width: 800px;
    }
    
    .cta-content h2 {
        margin-bottom: 1.5rem;
    }
    
    .cta-content p {
        margin-bottom: 2rem;
    }
    
    .cta-buttons {
        gap: 1.5rem;
    }
}

/* Button States (for hover devices) */
@media (hover: hover) {
    .btn:hover {
        transform: translateY(-3px);
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideLeft {
    from { 
        opacity: 0;
        transform: translateX(30px);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    from { 
        opacity: 0;
        transform: translateX(-30px);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes grow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 160, 225, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 160, 225, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 160, 225, 0); }
}

/* Animation Classes */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.animate-delay-1 {
    animation-delay: 0.3s;
}

.animate-delay-2 {
    animation-delay: 0.6s;
}

.animate-delay-3 {
    animation-delay: 0.9s;
}

.animate-delay-4 {
    animation-delay: 1.2s;
}

.animate-slide-up {
    opacity: 0;
    animation: slideUp 0.8s ease-out forwards;
}

.animate-slide-left {
    opacity: 0;
    animation: slideLeft 0.8s ease-out forwards;
}

.animate-slide-right {
    opacity: 0;
    animation: slideRight 0.8s ease-out forwards;
}

.animate-grow {
    transform-origin: center;
    animation: grow 0.8s ease-out forwards;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .diversity-content,
    .possibilities-content,
    .tab-content-inner {
        flex-direction: column;
    }
    
    .content-image,
    .employee-image {
        width: 100%;
        height: 300px;
    }
    
    .spotlight-card {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero-conten .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-conten .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .tab-buttons {
        flex-wrap: wrap;
    }
    
    .tab-button {
        flex: 1 0 50%;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .tab-content-inner {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 3rem 1rem;
    }
    
    .tab-button {
        flex: 1 0 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}