/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --secondary: #0ea5e9;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --light: #f8fafc;
    --dark: #1e293b;
    --dark-light: #334155;
    --gray: #64748b;
    --success: #10b981;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --blur: blur(10px);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #dbeafe 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glassmorphism Effects */
.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Main Layout */
.app-container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* Left Navigation Panel */
.nav-panel {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 80px;
    background: rgba(30, 64, 175, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    z-index: 1000;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    overflow-y: auto;
}

.nav-panel:hover {
    width: 250px;
    align-items: flex-start;
    padding-left: 20px;
}

.nav-panel:hover .nav-text {
    display: inline-block;
    opacity: 1;
}

.nav-logo {
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
    padding: 0 10px;
    flex-shrink: 0;
}

.nav-logo-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 22px;
    font-weight: 700;
    margin: 0 auto;
    transition: var(--transition);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    padding: 0 10px;
    flex: 1;
    overflow-y: auto;
    max-height: calc(100vh - 140px);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 48px;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.nav-item.active {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: inset 3px 0 0 white;
}

.nav-icon {
    font-size: 1.4rem;
    min-width: 24px;
    text-align: center;
}

.nav-text {
    display: none;
    opacity: 0;
    white-space: nowrap;
    font-weight: 500;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

/* Mobile Panel Toggle */
.panel-toggle {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.3);
    transition: var(--transition);
}

.panel-toggle:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* Custom scrollbar for nav menu */
.nav-menu::-webkit-scrollbar {
    width: 4px;
}

.nav-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.nav-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.nav-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-panel {
        transform: translateX(-100%);
        width: 280px;
        padding: 20px 0;
    }
    
    .nav-panel.active {
        transform: translateX(0);
    }
    
    .nav-text {
        display: inline-block;
        opacity: 1;
    }
    
    .main-content {
        margin-left: 0;
        padding: 20px;
        width: 100%;
    }
    
    .panel-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-menu {
        max-height: calc(100vh - 120px);
        gap: 6px;
    }
    
    .nav-item {
        padding: 10px 12px;
        min-height: 44px;
    }
}

@media (max-height: 800px) {
    .nav-menu {
        gap: 6px;
    }
    
    .nav-item {
        padding: 10px;
        min-height: 42px;
    }
    
    .nav-icon {
        font-size: 1.3rem;
    }
    
    .nav-text {
        font-size: 0.85rem;
    }
}

@media (max-height: 600px) {
    .nav-menu {
        gap: 4px;
    }
    
    .nav-item {
        padding: 8px 10px;
        min-height: 38px;
    }
    
    .nav-icon {
        font-size: 1.2rem;
    }
    
    .nav-text {
        font-size: 0.8rem;
    }
}

/* Main Content Area */
.main-content {
    flex: 1;
    margin-left: 80px;
    padding: 30px;
    transition: var(--transition);
    width: calc(100% - 80px);
}

/* Header */
.main-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px 35px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.header-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.header-content p {
    color: var(--gray);
    font-size: 1.1rem;
}

.founded-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 15px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.9) 0%, rgba(14, 165, 233, 0.9) 100%),
                url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=1800&q=80');
    background-size: cover;
    background-position: center;
    border-radius: 25px;
    padding: 70px 50px;
    margin-bottom: 40px;
    color: white;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 35px;
    opacity: 0.95;
    line-height: 1.8;
}

.fast-service-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.cta-button:hover {
    background: var(--accent-light);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.4);
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeInUp 0.6s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content Cards */
.content-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Section Headers */
.section-header {
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(30, 64, 175, 0.1);
    position: relative;
}

.section-header h3 {
    font-size: 2.2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    display: inline-block;
    position: relative;
}

.section-header h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* Vision Box */
.vision-box {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    border: 2px solid rgba(30, 64, 175, 0.2);
    border-radius: 20px;
    padding: 30px;
    margin: 30px 0;
}

/* Business Models Grid */
.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.model-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--primary);
    transition: var(--transition);
}

.model-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.model-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.model-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary);
}

/* Target Audience */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.audience-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(30, 64, 175, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

/* Future Timeline */
.timeline {
    position: relative;
    padding: 30px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-content {
    flex: 1;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 2px solid rgba(30, 64, 175, 0.1);
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    margin: 0 30px;
    z-index: 1;
    border: 4px solid white;
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.2);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-top: 4px solid var(--primary);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    font-size: 2rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-content {
    padding: 25px;
}

.service-content h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.service-content ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.service-content ul li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.service-content ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* Promoted Services */
.promoted-card {
    border-top-color: var(--accent) !important;
}

.promoted-icon {
    background: linear-gradient(to right, #ff6b6b, #ff8e53) !important;
}

/* Careers Section */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
}

.process-step {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.step-number {
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    margin: 0 auto 10px;
    font-weight: 600;
}

/* Job Listings */
.job-listings {
    margin-bottom: 40px;
}

.job-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--secondary);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.job-title {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 600;
}

.job-meta {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.job-tag {
    background: #e9f7fe;
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}

.urgent-tag {
    background: var(--accent);
    color: white;
}

/* Contact Form Tabs */
.form-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

.form-tab-btn {
    padding: 12px 25px;
    background: transparent;
    border: none;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray);
}

.form-tab-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.2);
}

.form-tab-btn:hover:not(.active) {
    background: rgba(30, 64, 175, 0.05);
    color: var(--primary);
}

.form-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Contact Form Styles */
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
    transform: translateY(-2px);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Team Cards */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    border: 5px solid white;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.2);
}

.member-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
}

.member-role {
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Reorganized Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-panel {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
}

.contact-detail i {
    margin-right: 20px;
    margin-top: 5px;
    font-size: 1.4rem;
    color: var(--accent);
}

.contact-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

.business-hours {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, var(--dark) 0%, #0f172a 100%);
    color: white;
    padding: 60px 0 30px;
    margin-top: 60px;
    border-radius: 30px 30px 0 0;
}

/* Application Forms Styling */
.apply-tabs {
    display: flex;
    margin-bottom: 25px;
    background: white;
    border-radius: 12px;
    padding: 8px;
    box-shadow: var(--shadow);
    gap: 8px;
}

.apply-tab {
    padding: 15px 30px;
    background: #f8f9fa;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 16px;
    flex: 1;
    text-align: center;
    transition: var(--transition);
    border-radius: 8px;
    font-weight: 600;
    color: var(--dark);
    position: relative;
    overflow: hidden;
}

.apply-tab.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
    border-color: var(--secondary);
}

.apply-tab:hover:not(.active) {
    background: #e9ecef;
    transform: translateY(-2px);
    border-color: #dee2e6;
}

.apply-form-section {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.apply-form-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.apply-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.apply-address-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .apply-address-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.apply-form-group {
    margin-bottom: 20px;
}

.apply-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary);
    transition: var(--transition);
}

.apply-form-group input,
.apply-form-group select,
.apply-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.apply-form-group input:focus,
.apply-form-group select:focus,
.apply-form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    transform: translateY(-1px);
}

.apply-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 8px;
}

.apply-checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--light);
    border-radius: 6px;
    transition: var(--transition);
}

.apply-checkbox-item:hover {
    background: #e0e0e0;
    transform: translateY(-1px);
}

.apply-checkbox-item input {
    width: auto;
}

.apply-location-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 8px;
}

.apply-location-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--light);
    border-radius: 6px;
    transition: var(--transition);
}

.apply-location-item:hover {
    background: #e0e0e0;
    transform: translateY(-1px);
}

.apply-location-item input {
    width: auto;
}

.apply-salary-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.apply-copy-address {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 8px 12px;
    background: var(--light);
    border-radius: 6px;
    transition: var(--transition);
}

.apply-copy-address:hover {
    background: #e0e0e0;
}

.apply-copy-address input {
    width: auto;
}

.apply-skills-matrix {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.apply-skills-matrix th,
.apply-skills-matrix td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.apply-skills-matrix th {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
}

.apply-skills-matrix tr:nth-child(even) {
    background-color: #f8f9fa;
}

.apply-skills-matrix tr:hover {
    background-color: #e9ecef;
}

.apply-skills-matrix input[type="checkbox"] {
    transform: scale(1.2);
}

.apply-form-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: flex-end;
}

.apply-submit-btn {
    background: linear-gradient(135deg, var(--success), #27ae60);
    color: white;
    box-shadow: 0 4px 6px rgba(46, 204, 113, 0.3);
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.apply-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(46, 204, 113, 0.4);
}

.apply-reset-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    box-shadow: 0 4px 6px rgba(231, 76, 60, 0.3);
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.apply-reset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(231, 76, 60, 0.4);
}

/* Form Message */
.form-message {
    margin-top: 20px;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.2) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #065f46;
}

.form-message.error {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, rgba(231, 76, 60, 0.2) 100%);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #7b241c;
}

/* Loading Overlay */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
}

.loading-overlay.show {
    display: flex;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Features Grid for Business Upgrade */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--primary);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary);
}

/* Business Upgrade Tabs */
.business-tabs {
    display: flex;
    margin-bottom: 25px;
    background: white;
    border-radius: 12px;
    padding: 8px;
    box-shadow: var(--shadow);
    gap: 8px;
}

.business-tab {
    padding: 15px 30px;
    background: #f8f9fa;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 16px;
    flex: 1;
    text-align: center;
    transition: var(--transition);
    border-radius: 8px;
    font-weight: 600;
    color: var(--dark);
    position: relative;
    overflow: hidden;
}

.business-tab.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
    border-color: var(--secondary);
}

.business-tab:hover:not(.active) {
    background: #e9ecef;
    transform: translateY(-2px);
    border-color: #dee2e6;
}

.business-content-section {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.business-content-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Job Vacancies Tabs */
.job-tabs {
    display: flex;
    margin-bottom: 25px;
    background: white;
    border-radius: 12px;
    padding: 8px;
    box-shadow: var(--shadow);
    gap: 8px;
}

.job-tab {
    padding: 15px 30px;
    background: #f8f9fa;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 16px;
    flex: 1;
    text-align: center;
    transition: var(--transition);
    border-radius: 8px;
    font-weight: 600;
    color: var(--dark);
    position: relative;
    overflow: hidden;
}

.job-tab.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
    border-color: var(--secondary);
}

.job-tab:hover:not(.active) {
    background: #e9ecef;
    transform: translateY(-2px);
    border-color: #dee2e6;
}

.job-content-section {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.job-content-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        align-items: flex-start;
    }
    
    .timeline-dot {
        margin: 0 20px 0 0;
    }
    
    .timeline-content {
        margin-left: 50px;
    }
}

@media (max-width: 992px) {
    .nav-panel {
        transform: translateX(-100%);
        width: 280px;
    }
    
    .nav-panel.active {
        transform: translateX(0);
    }
    
    .nav-text {
        display: inline-block;
        opacity: 1;
    }
    
    .main-content {
        margin-left: 0;
        padding: 20px;
        width: 100%;
    }
    
    .panel-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-section {
        padding: 50px 30px;
    }
    
    .hero-content h2 {
        font-size: 2.4rem;
    }
    
    .form-row,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .apply-salary-fields,
    .apply-form-grid,
    .apply-address-grid {
        grid-template-columns: 1fr;
    }
    
    .apply-location-checkboxes {
        grid-template-columns: 1fr 1fr;
    }
    
    .business-tabs,
    .job-tabs,
    .apply-tabs {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .models-grid,
    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .audience-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .content-card {
        padding: 25px;
    }
    
    .main-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .process-step {
        min-width: 200px;
    }
    
    .apply-form-buttons {
        flex-direction: column;
    }
    
    .apply-submit-btn,
    .apply-reset-btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-section {
        padding: 40px 20px;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .main-header {
        padding: 20px;
    }
    
    .header-content h1 {
        font-size: 1.8rem;
    }
    
    .content-card {
        padding: 20px;
    }
    
    .section-header h3 {
        font-size: 1.8rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* AJAX Form Styles */
.ajax-form {
    position: relative;
}

.form-processing {
    opacity: 0.6;
    pointer-events: none;
}

.form-processing::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 10px;
    color: white;
    font-weight: 500;
    z-index: 9999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateX(150%);
    transition: transform 0.3s ease;
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-notification.success {
    background: linear-gradient(135deg, var(--success), #27ae60);
}

.toast-notification.error {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.toast-notification.info {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}