/* SOTRA Custom CSS - Combined styles for all pages */

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #333;
    --light-gray: #f9fafb;
    --border-color: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Section Styles */
.hero {
    background-color: var(--light-gray);
    padding: 160px 0 100px;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero p {
    font-size: 20px;
    color: #666;
    max-width: 700px;
    margin-bottom: 40px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.bull-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Features Section Styles */
.features {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.feature-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Page Header */
.page-header {
    background-color: var(--light-gray);
    padding: 160px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.page-header p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.contact-method {
    margin-bottom: 30px;
}

.contact-method h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.contact-method p, .contact-method a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-method a:hover {
    color: var(--primary-color);
}

/* Contact Form */
.contact-form h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-color);
}

form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

input, textarea, select {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

button {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background-color: var(--secondary-color);
}

/* Careers Section */
.careers-section {
    padding: 80px 0;
}

.careers-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.careers-intro h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.careers-intro p {
    font-size: 18px;
    color: #666;
}

/* Benefits */
.benefits {
    background-color: var(--light-gray);
    padding: 80px 0;
    margin: 40px 0;
}

.benefits-title {
    text-align: center;
    margin-bottom: 60px;
}

.benefits-title h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-item {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.benefit-icon {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Open Positions */
.open-positions {
    padding: 80px 0;
}

.positions-title {
    text-align: center;
    margin-bottom: 60px;
}

.positions-title h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.job-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.job-title h3 {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 5px;
}

.job-location {
    color: #666;
    font-size: 16px;
}

.job-type {
    background-color: var(--light-gray);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.job-description {
    margin-bottom: 20px;
    color: #666;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Application Process */
.application-process {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.process-title {
    text-align: center;
    margin-bottom: 60px;
}

.process-title h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    counter-reset: step-counter;
}

.process-step {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    counter-increment: step-counter;
}

.process-step::before {
    content: counter(step-counter);
    position: absolute;
    top: -20px;
    left: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.process-step h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-color);
}

/* Contact CTA */
.contact-cta {
    text-align: center;
    padding: 80px 0;
}

.contact-cta h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.contact-cta p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Footer Styles */
footer {
    background-color: #333;
    color: white;
    padding: 60px 0 30px;
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 40px;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    color: #ccc;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
        margin: 0 auto 40px;
    }
    
    .hero-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid, 
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .job-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .job-type {
        margin-top: 10px;
    }
}

/* WordPress specific adjustments */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.entry-content {
    margin: 0;
}

.site-header {
    display: none;
}

.site-footer {
    display: none;
}

/* Fix for Contact Form 7 */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
}

.wpcf7-submit {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcf7-submit:hover {
    background-color: var(--secondary-color);
}

/* Header layout with login button */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

/* Navigation with menu and login button */
nav {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-right: 30px;
}

.menu li {
    margin-left: 30px;
}

.menu li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.menu li a:hover {
    color: var(--primary-color);
}

/* Login button styles */
.btn-login {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-login:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }
    
    nav {
        flex-direction: column;
        margin-top: 20px;
        width: 100%;
    }
    
    .menu {
        flex-direction: column;
        align-items: center;
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
    }
    
    .menu li {
        margin: 10px 0;
    }
    
    .login-button {
        margin-top: 10px;
    }
}

.linkedin-icon svg {
    transition: all 0.3s ease;
}

.linkedin-icon:hover svg {
    fill: white;
    transform: translateY(-2px);
}

/* Adjust footer links spacing for icon */
.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.careers-highlights {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.highlight-item {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.highlight-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.highlight-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .careers-highlights {
        grid-template-columns: 1fr;
    }
}

/* Add these styles to your custom.css file */

/* Job Requirements List */
.job-requirements {
    margin-top: 20px;
    margin-bottom: 25px;
}

.job-requirements h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-color);
}

.job-requirements ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.job-requirements li {
    margin-bottom: 8px;
    color: #666;
}

/* Application Form Section */
.application-form {
    background-color: var(--light-gray);
    padding: 80px 0;
    margin-top: 40px;
}

.form-title {
    text-align: center;
    margin-bottom: 40px;
}

.form-title h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.form-title p {
    font-size: 18px;
    color: #666;
}

#selected-position {
    font-weight: 600;
    color: var(--primary-color);
}

.application-form-container {
    background-color: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

/* Form styling enhancements */
.wpcf7-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.wpcf7-form .wpcf7-file {
    padding: 10px 0;
}

.hidden {
    display: none;
}

/* Smooth scroll behavior for "Apply Now" button links */
html {
    scroll-behavior: smooth;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .application-form-container {
        padding: 25px;
    }
    
    .job-requirements ul {
        padding-left: 15px;
    }
}

.desktop-nav {
    display: flex;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: height 0.3s ease;
    z-index: 1000;
}

.mobile-nav.active {
    height: auto;
    display: block;
    padding: 20px 0;
}

.mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    margin: 15px 0;
    text-align: center;
}

.mobile-menu li a {
    font-size: 18px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-menu li a:hover {
    color: var(--primary-color);
}

.mobile-login-button {
    text-align: center;
    margin-top: 20px;
}

body.menu-open {
    overflow: hidden;
}

/* Form Field Overflow Fix */
.form-group,
.wpcf7-form-control-wrap {
    width: 100%;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select,
.wpcf7-form-control {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Ensure file upload fields don't overflow */
input[type="file"] {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    word-break: break-all;
}

/* Adjust spacing for page content to account for fixed header */
#content {
    padding-top: 80px;
}

/* Responsive Header Adjustments */
@media (max-width: 768px) {
    header {
        position: fixed;
        width: 100%;
        background-color: white;
        z-index: 1000;
        top: 0;
    }
    
    .header-container {
        padding: 15px 0;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Add more space at top for fixed header */
    #content {
        padding-top: 70px;
    }
    
    /* Fix padding in application form container */
    .application-form-container {
        padding: 20px;
    }
    
    /* Make sure all form inputs fit properly */
    .wpcf7-form input,
    .wpcf7-form textarea,
    .wpcf7-form select {
        font-size: 16px; /* Prevents iOS zoom on focus */
    }
}