/* Base Styles */
:root {
    --primary-color: #30B4C8;
    --primary-dark: #0e8a9d;
    --secondary-color: #0F0F1A;
    --accent-color: #4cc9f0;
    --text-light: #666;
    --text-dark: #333;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --text-color: #495057;
    --light-gray: #e9ecef;
    --white: #fff;
    --light-bg: #f5fafd;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    overflow-x: hidden;
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.9rem;
}

.slogan {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-info a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.contact-info a:hover {
    opacity: 0.8;
}

.contact-info i {
    font-size: 1rem;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

nav.scrolled {
    padding: 10px 5%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 55px;
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.1);
}

.company-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-links li:hover::after {
    width: 100%;
}


/* Active page styling */
nav ul li a.active {
    color: var(--primary-color);
    font-weight: bold;
}


/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 10;
    padding: 10px 0;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.dropdown-content a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 400;
}

.dropdown-content a:hover {
    background-color: #f1f9fd;
    color: var(--primary-color);
    padding-left: 25px;
}

.dropdown-toggle::after {
    content: '▾';
    margin-left: 5px;
    font-size: 0.8rem;
}

/* Mobile Navigation */
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Header Content Styles */
.header {
    background-color: #30B4C8;
    text-align: center;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.header-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: white;
}

.subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--dark-color);
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 60px;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 0.75rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Values Section */
.values-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.value-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Jobs Section */
.jobs-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.job-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 86, 179, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.job-card:hover::before {
    transform: translateX(0);
}

.job-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.job-meta span {
    background-color: var(--light-gray);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-right: 0.75rem;
    margin-bottom: 0.5rem;
}

.job-snippet {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.6;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.tag {
    background-color: rgba(0, 86, 179, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.learn-more {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.learn-more::after {
    content: '→';
    margin-left: 0.5rem;
    transition: var(--transition);
}

.job-card:hover .learn-more::after {
    transform: translateX(5px);
}

/* Benefits Section */
.benefits-section {
background-color: var(--light-gray);
padding: 4rem 1rem;
}

.benefits-grid {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
}

.benefit-item {
background-color: var(--white);
padding: 2rem;
border-radius: 8px;
text-align: center;
box-shadow: var(--shadow);
transition: var(--transition);
}

.benefit-item:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
font-size: 2.5rem;
margin-bottom: 1rem;
}

.benefit-item h3 {
color: var(--primary-color);
margin-bottom: 0.75rem;
font-size: 1.25rem;
}

/* Modal Styles */
.modal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7);
display: none;
justify-content: center;
align-items: center;
z-index: 2000;
}

.modal {
background-color: var(--white);
width: 90%;
max-width: 800px;
max-height: 90vh;
border-radius: 8px;
overflow-y: auto;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.modal-header {
padding: 1.5rem;
border-bottom: 1px solid var(--light-gray);
display: flex;
justify-content: space-between;
align-items: center;
position: sticky;
top: 0;
background-color: var(--white);
z-index: 10;
}

.modal-header h2 {
color: var(--primary-color);
font-size: 1.75rem;
}

.modal-close {
background: none;
border: none;
font-size: 2rem;
cursor: pointer;
color: var(--text-color);
transition: var(--transition);
}

.modal-close:hover {
color: #dc3545;
}

.modal-content {
padding: 1.5rem;
}

.job-description-full h3 {
color: var(--primary-color);
margin: 1.5rem 0 0.75rem;
font-size: 1.25rem;
}

.job-description-full ul {
padding-left: 1.5rem;
margin-bottom: 1.5rem;
}

.job-description-full li {
margin-bottom: 0.5rem;
}

.form-divider {
height: 1px;
background-color: var(--light-gray);
margin: 2rem 0;
}

/* Form Styles */
.application-form {
margin-top: 1.5rem;
}

.form-group {
margin-bottom: 1.5rem;
}

.form-group label {
display: block;
margin-bottom: 0.5rem;
font-weight: 500;
}

.form-control {
width: 100%;
padding: 0.75rem;
border: 1px solid #ddd;
border-radius: 4px;
font-family: inherit;
font-size: 1rem;
transition: var(--transition);
}

.form-control:focus {
outline: none;
border-color: var(--primary-color);
box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

textarea.form-control {
min-height: 150px;
resize: vertical;
}

.file-input-wrapper {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 1rem;
}

.file-input-label {
background-color: var(--primary-color);
color: var(--white);
padding: 0.5rem 1rem;
border-radius: 4px;
cursor: pointer;
transition: var(--transition);
}

.file-input-label:hover {
background-color: #0049a0;
}

.file-input {
display: none;
}

.file-name {
color: var(--text-color);
font-size: 0.9rem;
}

.submit-btn {
background-color: var(--primary-color);
color: var(--white);
border: none;
padding: 0.75rem 1.5rem;
border-radius: 4px;
font-size: 1rem;
font-weight: 500;
cursor: pointer;
transition: var(--transition);
}

.submit-btn:hover {
background-color: #0049a0;
}


/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(48, 180, 200, 0.3);
}

.back-to-top i {
    font-size: 1.2rem;
}



/* Footer */
.footer {
    background: var(--secondary-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 70px 0 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-title {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-about p {
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(48, 180, 200, 0.3);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-link:before {
    content: "→";
    color: var(--primary-color);
    margin-right: 8px;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-link:hover:before {
    opacity: 1;
    transform: translateX(0);
}

.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-info-item i {
    color: var(--primary-color);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-input {
    padding: 12px 15px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.newsletter-input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.newsletter-button {
    padding: 12px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-button:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}





/* Mobile Responsiveness Styles */

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    /* General */
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Top Bar */
    .top-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 10px 15px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Navigation */
    nav {
        padding: 10px 15px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .company-name {
        font-size: 1.2rem;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 900;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 12px 0;
        font-size: 16px;
    }
    
    .mobile-toggle {
        display: block;
        z-index: 1000;
    }
    
    .close-menu {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 24px;
        cursor: pointer;
        display: none;
    }
    
    .close-menu.active {
        display: block;
    }
    
    /* Dropdown handling for mobile */
    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
        min-width: 100%;
    }
    
    .dropdown.active .dropdown-content {
        max-height: 500px;
    }
    
    .dropdown-content a {
        padding-left: 20px;
    }
    
    /* Header */
    .header-content {
        padding: 3rem 1rem;
    }
    
    .header-content h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    /* Values Section */
    .values-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Jobs Section */
    .jobs-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .job-card {
        padding: 1.5rem;
    }
    
    /* Benefits Section */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Modal */
    .modal {
        width: 95%;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section {
        margin-bottom: 0;
    }
    
    .back-to-top {
        bottom: 15px;
        right: 15px;
    }
}

/* Small devices (portrait tablets and large phones, 600px to 768px) */
@media only screen and (min-width: 600px) and (max-width: 768px) {
    .top-bar {
        padding: 8px 20px;
    }
    
    .contact-info {
        gap: 15px;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .header-content h1 {
        font-size: 2.5rem;
    }
    
    .values-container, 
    .jobs-container,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium devices (landscape tablets, 768px to 992px) */
@media only screen and (min-width: 768px) and (max-width: 992px) {
    .nav-links {
        gap: 20px;
    }
    
    .nav-links a {
        font-size: 16px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large devices (laptops/desktops, 992px to 1200px) */
@media only screen and (min-width: 992px) and (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}