/*
Theme Name: Staff Agents
Description: Professional WordPress theme for Staff Agents (Greece work immigration services)
Version: 1.0.0
Author: Chris Paraskevopoulos
*/

/* ==========================================================================
   CSS VARIABLES
   ========================================================================== */
   :root {
    --primary-color: #002B4B;
    --secondary-color: #597384;
    --accent-color: #48E6FF;
    --success-color: #28A745;
    --text-dark: #333333;
    --text-light: #666666;
    --background-light: #F8F9FA;
    --white: #ffffff;
    --border-light: #e0e0e0;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 43, 75, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 43, 75, 0.15);
    --border-radius: 10px;
    --max-width: 1600px;
}

/* ==========================================================================
   RESET AND BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--white);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    /*margin-bottom: 1rem;*/
    color: var(--white);
    line-height: 1.7;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul, ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    line-height: 1;
}

.cta-button.primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.cta-button.primary:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.cta-button.secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.cta-button.secondary:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.cta-button.large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.cta-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ==========================================================================
   HEADER STYLES
   ========================================================================== */
.site-header {
    background-color: var(--primary-color);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.site-header.scrolled {
    background-color: var(--primary-color);
    backdrop-filter: blur(10px);
}

.site-header.hidden {
    transform: translateY(-100%);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    gap: 2rem;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.logo-main {
    color: var(--white);
}

.logo-main:hover {
    color: var(--accent-color);
}

.site-logo:hover {
    color: var(--accent-color);
}

.main-navigation {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.main-navigation a:hover {
    color: var(--accent-color);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.main-navigation a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
}

.primary-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.primary-menu li {
    margin: 0;
}

.primary-menu a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.primary-menu a:hover {
    color: var(--accent-color);
}

.primary-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transition: var(--transition);
}

.primary-menu a:hover::after,
.primary-menu .current-menu-item a::after {
    width: 100%;
}

.header-cta .cta-button {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* ==========================================================================
   SUBMENU / DROPDOWN STYLES
   ========================================================================== */
   .primary-menu .menu-item-has-children {
    position: relative; /* This is the anchor for the submenu */
}

.primary-menu .sub-menu {
    display: none; /* Hide submenu by default */
    position: absolute;
    top: 100%; /* Position it right below the parent item */
    left: 0;
    background-color: var(--primary-color);
    border: 1px solid var(--accent-color);
    border-top: 3px solid var(--accent-color);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    padding: 0.5rem 0;
    list-style: none;
    min-width: 240px;
    z-index: 100;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

/* Show the submenu on hover (for desktop) and keyboard focus */
.primary-menu .menu-item-has-children:hover > .sub-menu,
.primary-menu .menu-item-has-children:focus-within > .sub-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Style individual submenu items */
.primary-menu .sub-menu li {
    margin: 0;
}

.primary-menu .sub-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--white);
    white-space: nowrap; /* Prevent text from wrapping */
    text-transform: none; /* Sub-items usually aren't uppercase */
    letter-spacing: normal;
    font-size: 0.9rem;
    font-weight: 400;
}

.primary-menu .sub-menu a::after {
    display: none; /* Remove the underline animation from sub-items */
}

.primary-menu .sub-menu a:hover {
    background-color: var(--secondary-color);
    color: var(--accent-color);
}

/* Add an indicator for items with submenus */
.primary-menu .menu-item-has-children > a::after {
    content: ' ▾'; /* Simple down arrow */
    font-size: 0.8em;
    display: inline-block;
    margin-left: 0.25rem;
}

/* ==========================================================================
   LANGUAGE SWITCHER
   ========================================================================== */
   .language-switcher {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-label {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.lang-dropdown {
    position: relative;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: var(--accent-color);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.lang-current:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.lang-flag {
    font-size: 1.2rem;
    line-height: 1;
}

.lang-code {
    font-weight: 600;
}

.lang-arrow {
    font-size: 0.7rem;
    transition: var(--transition);
}

.lang-dropdown.active .lang-arrow {
    transform: rotate(180deg);
}

.lang-list {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
}

.lang-dropdown.active .lang-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-list li {
    margin: 0;
}

.lang-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.lang-link:hover {
    background: var(--background-light);
    color: var(--primary-color);
}

.lang-link.active {
    background: var(--primary-color);
    color: var(--white);
}

.lang-link .lang-flag {
    font-size: 1.4rem;
}

.lang-name {
    font-weight: 500;
}

/* ==========================================================================
   MAIN CONTENT
   ========================================================================== */
/*
.main-content {
    margin-top: 100px;
}
*/

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 115px 0 30px;
    overflow: hidden;
    min-height: 290px;
    display: flex;
    align-items: center;
}

/* Hero Background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Enhanced Hero Overlay for better contrast */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Match the blue gradient from other sections */
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4a6b 100%);
    /* Add semi-transparent overlay for text readability */
    z-index: 2;
}

/* Add a secondary overlay for better text contrast */
.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* Dark overlay for contrast */
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

/* Enhanced Hero Title */
.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    line-height: 1.1;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.5),
        0 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: var(--white);
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.hero-content .breadcrumb {
    margin-bottom: 0.5rem;
}

.hero-ticker {
    background-color: rgba(72, 230, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    overflow: hidden;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.ticker-content {
    display: flex;
    gap: 50px;
    animation: scroll-left 30s linear infinite;
    white-space: nowrap;
}

.ticker-content span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes scroll-left {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero CTA Button Enhanced */
.hero-content .cta-button {
    font-size: 1.1rem;
    padding: 15px 40px;
    box-shadow: 0 4px 20px rgba(72, 230, 255, 0.3);
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid transparent;
}

.hero-content .cta-button:hover {
    background: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(72, 230, 255, 0.4);
}

/* Page Hero Styles */
.page-hero {
    position: relative;
    padding: 120px 0 60px;
    overflow: hidden;
    text-align: center;
    color: var(--white);
    min-height: 300px;
}

.page-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.page-hero .hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero .hero-overlay {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4a6b 100%);
}

.page-hero .container {
    position: relative;
    z-index: 3;
}

.page-hero.contact-hero .hero-overlay {
    background: linear-gradient(135deg, rgba(0, 43, 75, 0.9) 0%, rgba(89, 115, 132, 0.7) 100%);
}

.page-hero.employers-hero .hero-overlay {
    background: linear-gradient(135deg, rgba(89, 115, 132, 0.9) 0%, rgba(0, 43, 75, 0.7) 100%);
}

.page-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.page-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* ==========================================================================
   RTL LANGUAGE SUPPORT
   ========================================================================== */

/* RTL Base Adjustments */
.rtl-language {
    direction: rtl;
    text-align: right;
}

.rtl-language .container {
    direction: rtl;
}

/* Header RTL */
.rtl-language .header-content {
    flex-direction: row-reverse;
}

.rtl-language .primary-menu {
    flex-direction: row-reverse;
}

.rtl-language .header-contact-info {
    flex-direction: row-reverse;
    text-align: left;
}

.rtl-language .contact-item {
    margin-left: 1.5rem;
    margin-right: 0;
}

.rtl-language .lang-dropdown {
    left: 0;
    right: auto;
}

.rtl-language .lang-list {
    left: 0;
    right: auto;
}

/* Navigation RTL */
.rtl-language .main-navigation a::after {
    left: auto;
    right: 0;
}

.rtl-language .breadcrumb-item:not(:last-child)::after {
    margin: 0 0.75rem;
}

/* Buttons RTL */
.rtl-language .button-arrow {
    left: 2rem;
    right: auto;
    transform: rotate(180deg);
}

.rtl-language .path-button:hover .button-arrow {
    transform: rotate(180deg) translateX(5px);
}

/* Forms RTL */
.rtl-language .form-group label {
    text-align: right;
}

.rtl-language .form-group input,
.rtl-language .form-group select,
.rtl-language .form-group textarea {
    text-align: right;
    direction: rtl;
}

.rtl-language .checkbox-group {
    flex-direction: row-reverse;
}

/* Lists RTL */
.rtl-language ul,
.rtl-language ol {
    padding-left: 0;
    padding-right: 1.5rem;
}

.rtl-language .benefits-list li {
    padding-left: 0;
    padding-right: 2rem;
}

.rtl-language .benefits-list li::before {
    left: auto;
    right: 0;
}

/* Timeline RTL */
.rtl-language .timeline::before {
    left: auto;
    right: 30px;
}

.rtl-language .timeline-item {
    padding-left: 0;
    padding-right: 80px;
}

.rtl-language .timeline-marker {
    left: auto;
    right: 15px;
}

/* Footer RTL */
.rtl-language .footer-content {
    text-align: right;
}

.rtl-language .contact-item {
    flex-direction: row-reverse;
    text-align: right;
}

.rtl-language .contact-item i {
    margin-left: 1rem;
    margin-right: 0;
}

.rtl-language .social-links {
    flex-direction: row-reverse;
}

/* Accordion RTL */
.rtl-language .accordion-toggle {
    flex-direction: row-reverse;
}

/* Icons RTL */
.rtl-language .icon-arrow-right {
    transform: rotate(180deg);
}

/* Arabic/Urdu Specific Typography */
.lang-ar,
.lang-ur {
    font-family: 'Noto Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.8;
}

.lang-ar h1,
.lang-ar h2,
.lang-ar h3,
.lang-ar h4,
.lang-ar h5,
.lang-ar h6,
.lang-ur h1,
.lang-ur h2,
.lang-ur h3,
.lang-ur h4,
.lang-ur h5,
.lang-ur h6 {
    font-family: 'Noto Sans Arabic', sans-serif;
    letter-spacing: 0;
}

/* Hindi Specific Typography */
.lang-hi {
    font-family: 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.lang-hi h1,
.lang-hi h2,
.lang-hi h3,
.lang-hi h4,
.lang-hi h5,
.lang-hi h6 {
    font-family: 'Noto Sans Devanagari', sans-serif;
}

/* ==========================================================================
   BREADCRUMB NAVIGATION
   ========================================================================== */

.breadcrumb {
    margin-bottom: 1.5rem;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: var(--primary-color);
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin: 0 0.75rem;
    color: var(--primary-color);
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-item a:hover {
    color: var(--accent-color);
}

.breadcrumb-item.active {
    color: var(--accent-color);
    font-weight: 500;
}

.breadcrumb-icon {
    display: inline-flex;
}

/* ==========================================================================
   COMPANY INFO SECTION - [OLD, STATS]
   ========================================================================== */
/*
.company-info-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}
*/

/* ==========================================================================
   COMPANY INFO SECTION
   ========================================================================== */
   .company-info-section {
    padding: 20px 0;
    background: var(--white);
    /*background-color: #54595F;*/
    position: relative;
    overflow: hidden;
	min-height: 75vh;
}

/* Decorative background pattern */
.company-info-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(72, 230, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.company-info-wrapper {
    max-width: 900px;
    min-height: 400px;
    margin: 0 auto;
    /*background: var(--white);*/
    /*background: linear-gradient(135deg, #002B4B 0%, #597384 60%, #002B4B 100%);*/
    background: linear-gradient(135deg, #48E6FF 0%, #92bfdd 60%, #48E6FF 100%);
    /*background-image: url('assets/images/Theme_Logo_01.png');*/
    /*background-size: cover;*/
    /*background-position: center;*/
    border-radius: 20px;
    /*box-shadow: 0 10px 40px rgba(0, 43, 75, 0.08);*/
    padding: 3rem;
    position: relative;
    transition: var(--transition);
}

/*
.company-info-wrapper.has-bg-image {
    background-size: cover;
    background-position: center;
}

.company-info-wrapper-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(0 0 0 / 55%);
    border-radius: 15px;
    z-index: 1;
    transition: background-color 0.3s ease;
}
*/

.company-info-wrapper:hover {
    box-shadow: 0 15px 50px rgba(0, 43, 75, 0.12);
}

.company-info-content {
    position: relative;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

/* Default collapsed state on mobile */
@media (max-width: 768px) {
    .company-info-content {
        max-height: 280px;
    }
    
    .company-info-content.expanded {
        max-height: none;
    }
}

.info-text {
    font-size: 1.1rem;
    line-height: 1.8;
    /*color: var(--text-dark);*/
    color: var(--primary-color);
    text-shadow: 0 2px 10px #ffffff26;
    font-weight: 600;
}

.info-text h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 1rem;
}

.info-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

.info-text h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    font-style: italic;
}

.info-text p {
    text-align: justify;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.info-text strong {
    color: var(--white);
    text-shadow: 0 2px 10px #000000;
    font-weight: 600;
}

/* Read more gradient overlay */
/*
.read-more-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent 0%, var(--white) 80%);
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: none;
}

@media (max-width: 768px) {
    .read-more-gradient {
        display: block;
    }
    
    .company-info-content.expanded .read-more-gradient {
        opacity: 0;
    }
}
*/

/* Read more button */
/*
.read-more-btn {
    display: none;
    margin: 1rem auto 0;
    padding: 0.75rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .read-more-btn {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
}

.read-more-btn:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(72, 230, 255, 0.3);
}
*/
/*
.btn-text-less {
    display: none;
}

.btn-text-more {
    display: inline;
}
*/
/*
.company-info-content.expanded + .read-more-btn .btn-text-more {
    display: none;
}

.company-info-content.expanded + .read-more-btn .btn-text-less {
    display: inline;
}
*/
/*
.read-more-btn[aria-expanded="true"] .btn-text-more {
    display: none;
}

.read-more-btn[aria-expanded="true"] .btn-text-less {
    display: inline;
}
*/
/*
.btn-icon {
    transition: transform 0.3s ease;
}
*/
/*
.company-info-content.expanded + .read-more-btn .btn-icon {
    transform: rotate(180deg);
}
*/
/*
.read-more-btn[aria-expanded="true"] .btn-icon {
    transform: rotate(180deg);
}
*/

/* Company Stats Grid */
.company-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.company-info-section .stat-item {
    background: var(--white);
    padding: 2.5rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 43, 75, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.company-info-section .stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.company-info-section .stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 35px rgba(0, 43, 75, 0.12);
}

.company-info-section .stat-item:hover::before {
    transform: scaleX(1);
}

.company-info-section .stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.company-info-section .stat-label {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
    padding: 100px 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 3rem;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.service-rating {
    margin-bottom: 1rem;
}

.rating {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--white);
}

/* ==========================================================================
   DUAL PATH SECTION
   ========================================================================== */
.dual-path-section {
    padding: 10px 0 40px;
    background: var(--primary-color);
}

.dual-path-section .section-title {
    color: var(--white);
    text-align: center;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--accent-color);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.path-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.path-button {
    background: var(--white);
    border-radius: 15px;
    padding: 3rem 2rem;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: block;
}

.path-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    transition: var(--transition);
}

.workers-button::before {
    background: var(--primary-color);
}

.employers-button::before {
    background: var(--secondary-color);
}

.path-button:hover::before {
    left: 0;
}

.path-button:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.button-content h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}
/*
.employers-button .button-content h3 {
    color: var(--white);
}
*/
.button-content p {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.button-arrow {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    transition: var(--transition);
}

.path-button:hover .button-arrow {
    transform: translateX(5px);
}

/* BG STUFF */

/* DUAL PATH SECTION - BACKGROUND IMAGE FIX */

/*
* 1. Base styles for a button with a background image.
*/
.path-button.has-bg-image {
    background-size: cover;
    background-position: center;
}

/*
* 2. The overlay provides contrast for the text.
*/
.path-button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(0 0 0 / 55%);
    border-radius: 15px; /* Match the button's border-radius */
    z-index: 1; /* Sits below the content */
    transition: background-color 0.3s ease;
}

.path-button.has-bg-image:hover .path-button-overlay {
    background-color: rgba(0, 25, 43, 0.85); /* Darken on hover */
}

/*
* 3. Ensure the main text content is layered above the overlay.
*/
.path-button .button-content {
    position: relative; /* Required to allow z-index */
    z-index: 2;
}

/*
* 5. The original .button-arrow is already position:absolute.
* We just need to give it a z-index to lift it above the overlay.
*/
.path-button.has-bg-image .button-arrow {
    z-index: 2;
}


/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.testimonials-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.testimonial-logo {
    opacity: 0.7;
    transition: var(--transition);
    font-weight: 600;
    color: var(--white);
    font-size: 1.1rem;
}

.testimonial-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

.testimonial-logo img {
    max-height: 40px;
    filter: brightness(0) invert(1);
}

/* ==========================================================================
   WHY CHOOSE GREECE SECTION
   ========================================================================== */
.why-greece-section {
    padding: 100px 0;
    background-color: var(--primary-color);
}

.why-greece-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-greece-text h2 {
    color: var(--white);
    margin-bottom: 2rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--accent-color);
    font-size: 1.1rem;
    position: relative;
    padding-left: 2rem;
}

.benefits-list li::before {
    content: '✓';
    color: var(--success-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.why-greece-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.why-greece-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ==========================================================================
   PAGE INTRODUCTION
   ========================================================================== */
.page-introduction {
    padding: 80px 0;
    background-color: var(--primary-color);
}

.introduction-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--white);
}

/* ==========================================================================
   ACCORDION STYLES
   ========================================================================== */
.categories-accordion,
.industries-accordion,
.job-categories-section,
.industry-solutions-section {
    padding: 80px 0;
    background: var(--white);
}

.accordion-item {
    margin-bottom: 2rem;
    border-radius: 15px;
    border-style: solid;
    border-width: 2px;
    border-color: var(--accent-color);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.accordion-item:hover {
    box-shadow: var(--shadow-hover);
}

.accordion-header {
    position: relative;
    padding: 3rem 2rem;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: var(--transition);
    /*background-color: var(--accent-color);*/
    background: linear-gradient(135deg, #48E6FF 0%, #92bfdd 60%, #48E6FF 100%);
}

.accordion-header .header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 43, 75, 0.8) 0%, rgba(89, 115, 132, 0.6) 100%);
    transition: var(--transition);
}

.accordion-header:hover .header-overlay {
    background: linear-gradient(135deg, rgba(0, 43, 75, 0.9) 0%, rgba(89, 115, 132, 0.7) 100%);
}

.accordion-header .header-content {
    position: relative;
    z-index: 2;
    color: var(--primary-color);
}

.accordion-summary {
    color: var(--white);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    flex-basis: 55%;
    flex-grow: 1;
    flex-shrink: 1;
    font-size: 1.1rem;
}

.category-title,
.industry-title,
.accordion-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    flex-basis: 30%;
    flex-grow: 1;
    flex-shrink: 1;
}

.category-summary,
.industry-summary {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.workers-stats {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(72, 230, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.stat-label {
    color: var(--accent-color);
    font-weight: 500;
}

.accordion-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.toggle-icon {
    font-size: 1.5rem;
    transition: var(--transition);
}

.accordion-item.open .toggle-icon {
    transform: rotate(45deg);
}

/* Accordion Content */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.accordion-item.open .accordion-content {
    max-height: 2000px;
}

/*
.content-wrapper {
    padding: 2rem;
    background: var(--white);
}
*/
.content-wrapper {
    /*background: var(--white);*/
    background: linear-gradient(135deg, #002B4B 0%, #597384 60%, #002B4B 100%);
    position: relative;
    overflow: hidden;
}

/* Image Background */
.industry-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.industry-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*
    background: linear-gradient(135deg, 
        rgba(0, 43, 75, 0.95) 0%, 
        rgba(0, 43, 75, 0.85) 50%,
        rgba(89, 115, 132, 0.9) 100%
    );
    */
    background-color: rgb(0 0 0 / 25%);
    z-index: 2;
}

/* 
* NEW STUFF
*
*
*/

/* Industry content with background image */
.industry-content-wrapper {
    position: relative;
    min-height: 550px;
}
/*
.industry-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}
.industry-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 43, 75, 0.95) 0%, 
        rgba(0, 43, 75, 0.85) 50%,
        rgba(89, 115, 132, 0.9) 100%
    );
    z-index: 2;
}
*/
.industry-content {
    position: relative;
    z-index: 3;
    padding: 3rem;
    color: var(--white);
}

/* Industry Description WYSIWYG Styles */
.industry-description {
    font-size: 1.1rem;
    line-height: 1.8;
}

.industry-description h2,
.industry-description h3,
.industry-description h4 {
    color: var(--accent-color);
    margin: 2rem 0 1rem;
}

.industry-description h2 {
    font-size: 2rem;
}

.industry-description h3 {
    font-size: 1.5rem;
}

.industry-description h4 {
    font-size: 1.25rem;
}

.industry-description p {
    /*color: rgba(255, 255, 255, 0.95);*/
    color: var(--white);
    /*text-shadow: 0 2px 10px #ffffff26;*/
    text-shadow: 0 2px 10px #000000;
    margin-bottom: 1.5rem;
}

.industry-description ul,
.industry-description ol {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px #000000;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.industry-description li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.industry-description strong {
    color: var(--white);
    font-weight: 600;
}

.industry-description blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px #000000;
}

.industry-description a {
    color: var(--accent-color);
    text-decoration: underline;
    text-shadow: 0 2px 10px #000000;
}

.industry-description a:hover {
    color: var(--white);
}

/* For accordion items without background image */
.accordion-item:not(.has-bg-image) .industry-content-wrapper {
    min-height: auto;
}

.accordion-item:not(.has-bg-image) .industry-content {
    padding: 2rem;
    color: var(--text-dark);
}

.accordion-item:not(.has-bg-image) .industry-description p,
.accordion-item:not(.has-bg-image) .industry-description ul,
.accordion-item:not(.has-bg-image) .industry-description ol {
    /*color: var(--text-dark);*/
    color: var(--accent-color)
}

.accordion-item:not(.has-bg-image) .industry-description h2,
.accordion-item:not(.has-bg-image) .industry-description h3,
.accordion-item:not(.has-bg-image) .industry-description h4 {
    color: var(--primary-color);
}

.accordion-item:not(.has-bg-image) .industry-description strong {
    color: var(--primary-color);
}

.accordion-item:not(.has-bg-image) .industry-description blockquote {
    border-left-color: var(--primary-color);
    color: var(--text-light);
}

.accordion-item:not(.has-bg-image) .industry-description a {
    color: var(--primary-color);
}

.accordion-item:not(.has-bg-image) .industry-description a:hover {
    color: var(--accent-color);
}

/* ==========================================================================
   JOB FIELDS & ROLE TYPES
   ========================================================================== */
.job-fields,
.role-types {
    margin: 2rem 0;
}

.job-fields h4,
.role-types h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.job-fields-grid,
.role-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.job-field-item,
.role-type-item {
    background: var(--background-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.job-field-item:hover,
.role-type-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.field-image,
.role-image {
    height: 150px;
    overflow: hidden;
}

.field-image img,
.role-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.job-field-item:hover .field-image img,
.role-type-item:hover .role-image img {
    transform: scale(1.05);
}

.field-content,
.role-content {
    padding: 1.5rem;
}

.field-title,
.role-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.field-requirements,
.role-requirements,
.field-description,
.role-description,
.processing-time,
.salary-info,
.salary-range {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.field-requirements strong,
.role-requirements strong,
.processing-time strong,
.salary-info strong,
.salary-range strong {
    color: var(--primary-color);
}

/* ==========================================================================
   TIMELINE STYLES
   ========================================================================== */
.process-timeline,
.employer-process-timeline {
    padding: 80px 0;
    background: var(--background-light);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 80px;
}

.timeline-marker {
    position: absolute;
    left: 15px;
    top: 0;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--accent-color);
}

.step-number {
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.duration {
    display: inline-block;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 1rem;
}

/* ==========================================================================
   CONTACT FORMS STYLES
   ========================================================================== */
.dual-contact-forms {
    padding: 100px 0;
    background: var(--white);
}

.forms-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-form-section {
    background: var(--background-light);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-form-section:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.worker-form {
    border-top: 4px solid var(--primary-color);
}

.employer-form {
    border-top: 4px solid var(--primary-color);
}

.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.form-header h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.employer-form .form-header h2 {
    color: var(--primary-color);
}

.form-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Form Elements */
.contact-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(72, 230, 255, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 0.9rem;
}

.placeholder-form {
    position: relative;
}

.form-note {
    background: #e3f2fd;
    border: 1px solid #2196f3;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 2rem;
    color: #1976d2;
    font-style: normal;
    text-align: center;
}

.preview-form {
    opacity: 0.7;
    pointer-events: none;
}

.preview-form button {
    background: #ccc !important;
    color: #666 !important;
    cursor: not-allowed;
}

/* ==========================================================================
   CONTACT INFO SECTION
   ========================================================================== */
.contact-info-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-info-item {
    background: var(--accent-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    gap: 1.5rem;
}

.contact-info-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.info-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.5rem;
    padding-top: 8px;
}

.info-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.phone-item,
.email-item {
    margin-bottom: 0.5rem;
}

.phone-item a,
.email-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.phone-item a:hover,
.email-item a:hover {
    color: var(--accent-color);
}

.phone-label,
.email-label,
.contact-label {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.business-hours {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.emergency-contact {
    margin-top: 1rem;
    padding: 1rem;
    background: #fff3cd;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

.emergency-contact a {
    color: #856404;
    font-weight: 600;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--background-light);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(5px);
}

.social-link.facebook:hover {
    background: #1877f2;
}

.social-link.linkedin:hover {
    background: #0077b5;
}

.social-link.instagram:hover {
    background: #e4405f;
}

.social-link.twitter:hover {
    background: #1da1f2;
}

.social-placeholder {
    color: var(--text-light);
    font-style: italic;
    text-align: center;
    padding: 2rem;
    background: var(--background-light);
    border-radius: 8px;
}

.whatsapp-contact {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.whatsapp-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #25d366;
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
}

.whatsapp-link:hover {
    background: #128c7e;
    transform: scale(1.05);
}


/* ==========================================================================
   WORKERS PAGE - NEW SIMPLIFIED STYLES
   ========================================================================== */

/* Job Categories Introduction */
.job-categories-intro {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.job-categories-intro p {
    font-size: 1.25rem;
    color: var(--accent-color);
    font-weight: 500;
    line-height: 1.6;
}

/* Job Categories List */
.job-categories-list {
    max-width: 900px;
    margin: 0 auto;
}

.job-fields-ordered-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.job-field-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid var(--accent-color);
    border-radius: 15px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.job-field-item.animated {
    opacity: 1;
    transform: translateY(0);
}

.job-field-item:hover {
    background: rgba(72, 230, 255, 0.1);
    transform: translateX(10px);
    box-shadow: 0 5px 25px rgba(72, 230, 255, 0.2);
}

.job-field-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.job-field-text {
    color: var(--primary-color);
    font-size: 1.1rem;
    line-height: 1.8;
    flex: 1;
}

/* Job Details Section */
.job-details-section {
    /*padding: 80px 0;*/
    padding: 60px 0 40px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

/* Decorative background pattern */
.job-details-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(72, 230, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.job-details-wrapper {
    max-width: 900px;
    margin: 0 auto;
    /*background: linear-gradient(135deg, rgba(0, 43, 75, 0.95) 0%, rgba(89, 115, 132, 0.9) 100%);*/
    background: linear-gradient(135deg, #48E6FF 0%, #92bfdd 60%, #48E6FF 100%);
    border-radius: 20px;
    /*box-shadow: 0 10px 40px rgba(0, 43, 75, 0.1);*/
    padding: 3rem;
    position: relative;
    transition: var(--transition);
}

.job-details-wrapper:hover {
    box-shadow: 0 15px 50px rgba(0, 43, 75, 0.15);
}

.job-details-content {
    position: relative;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

/* Default collapsed state on mobile */
@media (max-width: 768px) {
    .job-details-content {
        max-height: 280px;
    }
    
    .job-details-content.expanded {
        max-height: none;
    }
}

.details-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--primary-color);
}

.details-text p {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.details-text p:last-child {
    margin-bottom: 0;
}

.details-text strong {
    color: var(--accent-color);
    font-weight: 600;
}

.details-text h2,
.details-text h3,
.details-text h4 {
    color: var(--accent-color);
    margin: 2rem 0 1rem;
}

.details-text ul,
.details-text ol {
    color: rgba(255, 255, 255, 0.95);
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.details-text li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

/* Read more button - similar to company info section */
/*
.job-details-section .read-more-btn {
    display: none;
    margin: 1rem auto 0;
    padding: 0.75rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .job-details-section .read-more-btn {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
}

.job-details-section .read-more-btn:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(72, 230, 255, 0.3);
}

.job-details-content.expanded + .read-more-btn .btn-text-more {
    display: none;
}

.job-details-content.expanded + .read-more-btn .btn-text-less {
    display: inline;
}

.job-details-content.expanded + .read-more-btn .btn-icon {
    transform: rotate(180deg);
}
*/

/* Gradient overlay for collapsed state */
/*
.company-info-content:not(.expanded)::after,
.job-details-content:not(.expanded)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.9) 70%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

@media (min-width: 769px) {
    .company-info-content::after,
    .job-details-content::after {
        display: none;
    }
}
*/
/* Hide gradient when expanded */
/*
.company-info-content.expanded::after,
.job-details-content.expanded::after {
    opacity: 0;
    visibility: hidden;
}
*/

/* This is the content container that will expand/collapse */

/* ==========================================================================
   READ MORE FUNCTIONALITY - IMPROVED VERSION
   ========================================================================== */

/* Expandable content container */
.expandable-content {
    position: relative;
    overflow: hidden;
    transition: max-height 0.6s ease-in-out;
}

/* Collapsed state on mobile */
@media (max-width: 768px) {
    .expandable-content:not(.expanded) {
        max-height: 280px;
    }
}

/* Expanded state */
.expandable-content.expanded {
    max-height: none !important;
}

/* IMPROVED READ MORE BUTTON CSS */
.read-more-btn {
    display: none;
    margin: 1.5rem auto 0;
    padding: 0.75rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    border: 1px solid var(--accent-color);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    z-index: 50; /* Consistent z-index */
    
    /* Improved touch support */
    -webkit-tap-highlight-color: rgba(72, 230, 255, 0.3);
    tap-highlight-color: rgba(72, 230, 255, 0.3);
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    
    /* Remove problematic touch-action */
    /* touch-action: manipulation; */ /* REMOVED */
}

.read-more-btn:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(72, 230, 255, 0.3);
}

/* Add proper touch states */
.read-more-btn:active {
    transform: translateY(0);
    background: var(--accent-color);
    color: var(--primary-color);
}

.read-more-btn:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Button text states */
.btn-text-less {
    display: none;
}

.btn-text-more {
    display: inline;
}

/* When expanded, switch text */
.read-more-btn[aria-expanded="true"] .btn-text-more {
    display: none;
}

.read-more-btn[aria-expanded="true"] .btn-text-less {
    display: inline;
}

/* Button icon */
.btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.read-more-btn[aria-expanded="true"] .btn-icon {
    transform: rotate(180deg);
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
    .read-more-btn {
        min-height: 48px; /* Increased for better touch target */
        min-width: 48px;
        display: flex; /* Removed !important */
        font-size: 1rem; /* Slightly larger for mobile */
        padding: 1rem 2.5rem; /* More padding for easier tapping */
        border: 2px solid var(--accent-color);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .read-more-btn:active {
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    }
    
    .expandable-content + .read-more-btn {
        position: relative;
        z-index: 50; /* Consistent z-index */
        margin-top: 1rem;
    }
}

/* ==========================================================================
   MAP SECTION
   ========================================================================== */
.map-section {
    padding: 80px 0;
    background: var(--white);
}

.map-container {
    margin-top: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-placeholder {
    height: 100%;
    background: var(--background-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.contact-faq-section {
    padding: 80px 0;
    background: var(--primary-color);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 3rem;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.faq-item.open {
    box-shadow: var(--shadow-hover);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--background-light);
}

.faq-question h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}

/* ==========================================================================
   CTA SECTIONS
   ========================================================================== */
.contact-cta-section,
.workers-cta-section,
.employers-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
}

.home-cta-section {
    background-color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
}

.employers-cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   ADDITIONAL SECTIONS
   ========================================================================== */
.legal-requirements,
.cost-structure,
.success-story,
.additional-info {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.legal-requirements h4,
.cost-structure h4,
.success-story h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.costs-table {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: var(--background-light);
    border-radius: 5px;
}

.cost-name {
    font-weight: 500;
}

.cost-amount {
    font-weight: 600;
    color: var(--primary-color);
}

.success-story blockquote {
    font-style: italic;
    color: var(--text-light);
    border-left: 4px solid var(--accent-color);
    padding-left: 1rem;
    margin: 0;
}

/* Why Choose Us Section */
.why-choose-us-section {
    padding: 80px 0;
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    background: var(--background-light);
    border-radius: 15px;
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    background: var(--white);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.benefit-item:hover .benefit-icon {
    background: var(--accent-color);
    transform: scale(1.1);
}

.benefit-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.benefit-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Category and Industry CTA */
.category-cta,
.industry-cta {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */
.site-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 1.6;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-menu {
    list-style: none;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 0.5rem;
}

.services-list {
    list-style: none;
    padding: 0;
}

.services-list li {
    margin-bottom: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    /*gap: 1rem;*/
    /*margin-bottom: 1rem;*/
}

.contact-item i {
    color: var(--accent-color);
    margin-top: 0.25rem;
}

.contact-details strong {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.newsletter-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.newsletter-content {
    text-align: center;
}

.newsletter-form .form-group {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    background: var(--white);
}

.newsletter-form button {
    white-space: nowrap;
}

.privacy-notice {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

.privacy-notice a {
    color: var(--accent-color);
}

.footer-map {
    margin: 2rem 0;
}

.footer-map .map-container {
    height: 250px;
    margin-top: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    margin-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.copyright p {
	color: var(--white);
}

.footer-legal {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: var(--accent-color);
}

/* ==========================================================================
   UTILITY COMPONENTS
   ========================================================================== */

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-hover);
    z-index: 10000;
    transform: translateX(400px);
    transition: var(--transition);
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    border-left: 4px solid var(--success-color);
}

.notification-error {
    border-left: 4px solid #dc3545;
}

.notification-info {
    border-left: 4px solid var(--accent-color);
}

.notification-message {
    display: block;
    margin-right: 2rem;
    color: var(--text-dark);
}

.notification-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    padding: 0.5rem;
}

.notification-close:hover {
    color: var(--text-dark);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 1.5rem;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.cookie-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-policy-link {
    color: var(--accent-color);
    text-decoration: none;
    margin-left: 1rem;
}

.cookie-policy-link:hover {
    text-decoration: underline;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
    font-size: 1.5rem;
}

.whatsapp-button:hover {
    background: #128c7e;
    transform: scale(1.1);
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(72, 230, 255, 0.2);
    z-index: 10000;
}

.scroll-progress-bar {
    height: 100%;
    background: var(--accent-color);
    width: 0%;
    transition: width 0.3s ease;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    transform: translateY(-3px);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Loading States */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.loading-spinner {
    text-align: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-light);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(72, 230, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ==========================================================================
   FULL-WIDTH BACKGROUND CAROUSEL
   ========================================================================== */

/* ### NEW STUFF ### */

.multi-column-parent {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: var(--max-width);
    /*margin: 0 auto;*/
    /*box-sizing: border-box;*/
    gap: 2rem;
}

.carousel-container {
    /*flex-basis: 40%;
    flex-grow: 0;
    flex-shrink: 1;
    min-width: 300px;*/
    position: relative;
    flex-basis: 40%;
    flex-grow: 0;
    flex-shrink: 0;
    width: 100%;
    /*aspect-ratio: 4/3;*/   /* maintains aspect ratio for images, adjust to fit */
    min-height: 400px;
    overflow: hidden;
    border-radius: 1rem;
}

.company-info-wrapper {
    flex-basis: 60%;
    flex-grow: 1;
    flex-shrink: 1;
    padding-left: 2rem;
    /*min-width: 300px;*/
    /*padding-left: 32px;*/ /* Optional: give text some space */
    box-sizing: border-box;
}

/* Mobile / Tablet Breakpoint */
@media (max-width: 768px) {
    .multi-column-parent {
      flex-direction: column;
    }
  
    .carousel-container,
    .company-info-wrapper {
      flex-basis: 100%;
      min-width: unset;
      /*padding-left: 0;*/ /* Remove extra space on mobile */
    }
  }

/* The parent section is the positioning context */
.company-info-section.has-full-bg-carousel {
    position: relative;
    z-index: 1;
    /* Remove padding so the background touches the edges */
    padding-top: 0;
    padding-bottom: 0;
}

/* Add padding to the container inside to maintain spacing for content */
.has-full-bg-carousel .container {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.background-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*z-index: -2;*/
    /*overflow: hidden;*/ /* Important for the blending effect */
}

/* This pseudo-element creates the soft vignette effect, blending to the background */
.background-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* The gradient fades from transparent in the center to the theme's primary color at the edges */
    /*background: radial-gradient(ellipse at center, transparent 50%, var(--primary-color) 95%);*/
    z-index: 2; /* Sits on top of the images but below the main overlay */
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    will-change: opacity;
    /* A subtle zoom adds a bit of dynamism (Ken Burns effect) */
    transform: scale(1.05);
}

.carousel-slide.active {
    opacity: 1;
}
/*
.background-carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background-color: rgba(0, 43, 75, 0.55);
    z-index: -1;
}
*/
/* Ensure content is visible and styled correctly on top of the carousel */
/*
.has-full-bg-carousel .company-info-wrapper,
.has-full-bg-carousel .path-buttons,
.has-full-bg-carousel .section-title,
.has-full-bg-carousel .section-subtitle {
    position: relative;
    z-index: 2;
}
*/
/*
.has-full-bg-carousel .company-info-wrapper {
    background: transparent;
    box-shadow: none;
}
*/
/*
.has-full-bg-carousel .info-text,
.has-full-bg-carousel .info-text p,
.has-full-bg-carousel .info-text strong {
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}
*/

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .primary-menu {
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .why-greece-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .company-info-wrapper {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .header-top-bar {
        padding: 0.5rem 0;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .header-contact-info {
        order: 2;
        font-size: 0.85rem;
    }
    
    .language-switcher {
        order: 1;
        align-self: flex-end;
    }
    
    .lang-label {
        display: none;
    }
    
    .lang-list {
        right: -15px;
    }
    
    .header-content {
        padding: 1rem 0;
    }

    .accordion-header .header-content {
        flex-direction: column;
        align-items: stretch; /* Optional: makes children full width */
        gap: 1rem;            /* Optional: reduce gap for mobile */
        text-align: left;     /* Optional: aligns text to the left */
    }
    /*
    .main-content {
        margin-top: 80px;
    }
    */    
    .main-navigation ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
    }
    
    .main-navigation.active ul {
        display: flex;
    }

    .menu-text {
        color: var(--white);
    }
    
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .primary-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 20px rgba(0, 43, 75, 0.1);
        gap: 0;
    }

    .main-navigation.active .primary-menu {
        display: flex;
    }
    
    .primary-menu a {
        display: block;
        padding: 0.75rem 1rem;
        width: 100%;
        text-align: center;
        color: var(--primary-color);
    }

    /* NEW SUB-MENU */

    .primary-menu .menu-item-has-children > a::after {
        content: ' ▾'; /* Keep the arrow */
        float: right; /* Move arrow to the right on mobile */
        margin-right: 1rem;
    }
    
    .primary-menu .sub-menu {
        display: none; /* JS will handle this */
        position: static; /* Not absolute on mobile */
        width: 100%;
        background-color: #f1f1f1;
        border: none;
        box-shadow: none;
        padding-left: 1rem; /* Indent sub-items */
        transform: none;
        opacity: 1;
        visibility: visible;
    }

    .primary-menu .sub-menu a {
        color: var(--primary-color);
    }

    /* SUB-MENU END */
    
    .header-cta {
        display: none;
    }

    /* Hero Mobile */
    .hero-section {
        padding: 100px 0 40px;
        min-height: 180px;
    }
    
    .page-hero {
        padding: 150px 0 80px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-content .cta-button {
        font-size: 1rem;
        padding: 12px 30px;
    }

    /* Breadcrumb Mobile */
    .breadcrumb {
        font-size: 0.8rem;
    }

    /* Pages */
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .path-buttons {
        grid-template-columns: 1fr;
    }
    
    .forms-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-section {
        padding: 2rem 1.5rem;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    /*
    .contact-info-item {
        flex-direction: column;
        text-align: center;
    }
    */
    .job-fields-grid,
    .role-types-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .accordion-header {
        padding: 2rem 1.5rem;
    }
    
    .category-title,
    .industry-title {
        font-size: 1.5rem;
    }
    
    .timeline {
        padding-left: 0;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-marker {
        left: 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .testimonials-logos {
        gap: 1.5rem;
    }

    .company-info-section {
        padding: 60px 0;
    }
    
    .company-info-wrapper {
        padding: 2rem 1.5rem;
        margin-bottom: 3rem;
    }
    
    .info-text {
        font-size: 1rem;
    }
    
    .info-text h2 {
        font-size: 1.5rem;
    }
    
    .info-text h3 {
        font-size: 1.25rem;
    }
    
    .company-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-top: 3rem;
    }
    
    .company-info-section .stat-item {
        padding: 2rem 1rem;
    }
    
    .company-info-section .stat-number {
        font-size: 2.5rem;
    }
    
    .company-info-section .stat-label {
        font-size: 0.85rem;
    }

    /* Employees Page - Job Categories */
    .job-categories-intro p {
        font-size: 1.1rem;
    }
    
    .job-fields-ordered-list {
        gap: 1rem;
    }
    
    .job-field-item {
        padding: 1.25rem 1.5rem;
        gap: 0.75rem;
    }
    
    .job-field-number {
        min-width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .job-field-text {
        font-size: 1rem;
    }
    
    .job-details-wrapper {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }
    
    .details-text {
        font-size: 1rem;
    }

    .contact-item {
        display: block;
    }

    /* Hide the carousel elements on mobile */
    /*
    .company-info-section.has-full-bg-carousel .background-carousel,
    .company-info-section.has-full-bg-carousel .background-carousel-overlay {
        display: none;
    }
    */

    /* Restore the section's default mobile padding */
    .company-info-section.has-full-bg-carousel {
        padding: 60px 0;
    }

    /* Restore the container's default padding */
    .has-full-bg-carousel .container {
        padding-top: 0;
        padding-bottom: 0;
    }

    /* Restore the background and shadow on the content wrapper */
    .has-full-bg-carousel .company-info-wrapper {
        background: linear-gradient(135deg, #002B4B 0%, #597384 60%, #002B4B 100%);
        box-shadow: 0 10px 40px rgba(0, 43, 75, 0.08);
    }
    
    /* Restore original text colors for mobile view */
    .has-full-bg-carousel .info-text,
    .has-full-bg-carousel .info-text p,
    .has-full-bg-carousel .info-text strong {
        color: var(--accent-color);
        text-shadow: 0 2px 10px #000000;
    }
	
	.industry-content-wrapper {
		min-height: 340px;
		max-height: 340px;
	}
	
	.industry-content {
		max-height: 320px;
		overflow-y: auto;
	}

    /* Read More Stuff */
    /*
    .company-info-content:not(.expanded),
    .job-details-content:not(.expanded) {
        max-height: 280px;
    }
    
    .company-info-content.expanded,
    .job-details-content.expanded {
        max-height: 2000px;
    }

    .company-info-content:not(.expanded)::after,
    .job-details-content:not(.expanded)::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100px;
        background: linear-gradient(to bottom, 
            transparent 0%, 
            rgba(255, 255, 255, 0.8) 50%, 
            rgba(255, 255, 255, 1) 100%);
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 1;
    }
    */
    
    /* Adjust gradient for dark backgrounds */
    /*
    .company-info-wrapper .company-info-content:not(.expanded)::after,
    .job-details-wrapper .job-details-content:not(.expanded)::after {
        background: linear-gradient(to bottom, 
            transparent 0%, 
            rgba(0, 43, 75, 0.8) 50%, 
            rgba(0, 43, 75, 0.95) 100%);
    }
    */
}

@media (max-width: 480px) {
    .hero-section,
    .page-hero {
        padding: 90px 0 10px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .accordion-header {
        padding: 1.5rem 1rem;
    }
    
    .content-wrapper {
        /*padding: 1.5rem;*/
    }
    
    .contact-form-section {
        padding: 1.5rem 1rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .notification {
        left: 10px;
        right: 10px;
        max-width: none;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }

    .company-info-wrapper {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .company-stats-grid {
        grid-template-columns: 1fr;
    }

    /* Employees Page - Job Categories */
    .job-field-item {
        padding: 1rem 1.25rem;
    }
    
    .job-details-wrapper {
        padding: 1.5rem;
    }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */
@media print {
    .site-header,
    .hero-ticker,
    .whatsapp-float,
    .back-to-top,
    .cookie-banner,
    .notification,
    .scroll-progress {
        display: none !important;
    }
    
    .main-content {
        margin-top: 0;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .page-hero {
        background: none;
        color: #000;
        padding: 2rem 0;
    }
    
    .accordion-content {
        max-height: none !important;
    }
}

/* ==========================================================================
   WORDPRESS ADMIN BAR FIXES
   ========================================================================== */

/* When logged in as admin */
.admin-bar .site-header {
    top: 32px; /* Height of WP admin bar */
}

/* Admin bar on mobile */
@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px; /* Mobile admin bar height */
    }
}

/* ==========================================================================
   Other (Company Info - New)
   ========================================================================== */

/* Animation for stats on scroll */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.company-info-section .stat-item.animated {
    animation: countUp 0.8s ease forwards;
}