/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-muted: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
    border-radius: 0 0 16px 16px;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-radius: 12px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 60px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .logo-img {
        height: 50px;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 40px;
        max-width: 180px;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: auto;
    padding: 6rem 0 5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #f1f5f9 100%);
    color: var(--text-dark);
    overflow: hidden;
    border-radius: 0 0 24px 24px;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(100px, 100px);
    }
}

.hero-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    animation-duration: 20s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 30s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    top: 30%;
    right: 30%;
    animation-delay: 1s;
    animation-duration: 22s;
}

.shape-5 {
    width: 180px;
    height: 180px;
    bottom: 30%;
    right: 10%;
    animation-delay: 3s;
    animation-duration: 28s;
}

.shape-6 {
    width: 120px;
    height: 120px;
    top: 70%;
    left: 50%;
    animation-delay: 5s;
    animation-duration: 18s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translate(50px, -50px) rotate(90deg);
        opacity: 0.5;
    }
    50% {
        transform: translate(-30px, 30px) rotate(180deg);
        opacity: 0.4;
    }
    75% {
        transform: translate(30px, 50px) rotate(270deg);
        opacity: 0.6;
    }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: particleFloat 15s infinite linear;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

.hero-main {
    margin-bottom: 3rem;
}

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

.hero-description {
    max-width: 900px;
    margin: 2rem auto;
    text-align: left;
}

.hero-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

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

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.hero-feature-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.hero-feature-item span {
    color: var(--text-dark);
    font-weight: 500;
}

/* Job Search Section */
.hero-search-section {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    margin: 3rem 0;
    position: relative;
    z-index: 2;
}

.hero-search-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

.search-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.job-search-form {
    width: 100%;
}

.search-input-group {
    display: grid;
    grid-template-columns: 2fr 1.5fr auto;
    gap: 1rem;
    align-items: stretch;
}

.search-field {
    position: relative;
    display: flex;
    align-items: center;
}

.search-field i {
    position: absolute;
    left: 1rem;
    color: var(--text-light);
    font-size: 1.1rem;
    z-index: 1;
}

.search-field input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-light);
    color: var(--text-dark);
}

.search-field input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.btn-search {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-search:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.search-results {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.search-results-header h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.search-result-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.search-result-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.no-search-results {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(99, 102, 241, 0.1);
}

.hero-stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
}

.hero-title .static-text {
    display: block;
    padding-top: 80px;
}

.animated-text-wrapper {
    display: inline-block;
    min-height: 1.2em;
    position: relative;
}

.animated-text {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-light);
    line-height: 1.8;
    min-height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.typing-text {
    display: inline-block;
}

.cursor-blink {
    display: inline-block;
    animation: blink 1s infinite;
    font-weight: 300;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

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

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--bg-white);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover i {
    transform: translateX(5px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-secondary i {
    transition: transform 0.3s ease;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary:hover i {
    transform: scale(1.1);
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* Contact Form Submit Button */
.contact-form button[type="submit"],
.contact-form .btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    width: auto;
    min-width: 150px;
}

.contact-form button[type="submit"]:hover,
.contact-form .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-form button[type="submit"]:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    transform: none;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

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

/* Section Styles */
section {
    padding: 5rem 0;
    border-radius: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0.5rem;
    border-radius: 16px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* About Section */
.about {
    background: var(--bg-white);
}

.about-content {
    display: grid;
    gap: 3rem;
}

.about-text {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.about-stats .stat-card {
    flex: 0 1 calc(33.333% - 2rem);
    min-width: 250px;
    max-width: 350px;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.stat-card p {
    color: var(--text-light);
}

/* Vision & Mission */
.vision-mission {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.vm-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.vm-grid .vm-card {
    flex: 0 1 calc(50% - 1.5rem);
    min-width: 300px;
    max-width: 450px;
}

.vm-card {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.vm-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.vm-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.vm-card p {
    font-size: 1.125rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* Values Section */
.values {
    background: var(--bg-light);
}

.values-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.values-grid .value-card {
    flex: 0 1 calc(33.333% - 2rem);
    min-width: 250px;
    max-width: 350px;
}

.value-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.value-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Services Section */
.services {
    background: var(--bg-white);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.services-grid .service-card {
    flex: 0 1 calc(50% - 1rem);
    min-width: 280px;
    max-width: 400px;
}

.service-card {
    background: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.methodology {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 20px;
    margin-top: 3rem;
}

.methodology h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

/* Timeline Journey */
.methodology-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 40px;
    top: 80px;
    bottom: 80px;
    width: 3px;
    background: var(--border-color);
    z-index: 0;
}

.timeline-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--progress, 0%);
    background: var(--primary-color);
    transition: height 0.6s ease;
    z-index: 1;
}

.timeline-step {
    position: relative;
    margin-bottom: 3rem;
    opacity: 0.5;
    transform: translateX(-20px);
    transition: all 0.6s ease;
    z-index: 1;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-step.active {
    opacity: 1;
    transform: translateX(0);
}

.timeline-step.active .step-number {
    background: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}


.step-content {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--text-light);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.4s ease;
    border: 4px solid var(--bg-white);
    box-shadow: var(--shadow-md);
}

.step-details {
    flex: 1;
    padding-top: 0.5rem;
}

.step-details h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.timeline-step.active .step-details h4 {
    color: var(--primary-color);
}

.step-details p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
    transition: color 0.3s ease;
}

.timeline-step.active .step-details p {
    color: var(--text-dark);
}

/* Update timeline line fill for active steps */
.timeline-step.active::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 80px;
    width: 3px;
    height: calc(100% + 3rem);
    background: var(--primary-color);
    z-index: -1;
}

.timeline-step:last-child.active::before {
    height: 0;
}

/* Industries Section */
.industries {
    background: var(--bg-light);
}

.industries-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.industries-grid .industry-card {
    flex: 0 1 calc(33.333% - 2rem);
    min-width: 280px;
    max-width: 350px;
}

.industry-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.industry-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.industry-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.industry-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Jobs Section */
.jobs {
    background: var(--bg-white);
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    align-items: stretch;
}

.job-card {
    background: var(--bg-white);
    padding: 1.75rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    height: 100%;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.job-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.job-company {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.job-company i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.job-type {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.job-details {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.job-location,
.job-salary {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-location i,
.job-salary i {
    color: var(--primary-color);
}

.job-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3.2em;
    flex-shrink: 0;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.25rem;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
}

.job-date {
    color: var(--text-light);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-date i {
    color: var(--primary-color);
}

.job-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.job-actions .btn-see-details,
.job-actions .btn-apply {
    flex: 1;
    min-width: 140px;
    text-align: center;
}

.btn-apply {
    background: var(--primary-color);
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.btn-apply:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-see-details {
    background: var(--primary-color);
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-see-details i {
    font-size: 0.85rem;
}

.btn-see-details:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Job Details Modal */
.job-modal {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.job-modal.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.job-modal-content {
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.job-modal.active .job-modal-content {
    transform: scale(1);
}

.job-modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-light);
    border-radius: 20px 20px 0 0;
    position: sticky;
    top: 0;
    z-index: 1;
}

.job-modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.job-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.job-modal-close:hover {
    background: var(--bg-white);
    color: var(--text-dark);
    transform: rotate(90deg);
}

.job-modal-body {
    padding: 2rem;
}

.job-detail-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.job-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.job-detail-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
}

.job-detail-company {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-detail-company i {
    color: var(--primary-color);
}

.job-detail-type {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.job-detail-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.job-detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
    font-size: 1rem;
}

.job-detail-item i {
    color: var(--primary-color);
    font-size: 1.125rem;
    width: 20px;
    text-align: center;
}

.job-detail-content {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.job-detail-content:last-of-type {
    border-bottom: none;
}

.job-detail-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-detail-content h4 i {
    color: var(--primary-color);
}

.job-detail-content p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
    white-space: pre-wrap;
}

.job-detail-actions {
    display: flex;
    justify-content: center;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.btn-apply-modal {
    background: var(--primary-color);
    color: white;
    padding: 0.875rem 2.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-apply-modal:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Responsive Job Modal */
@media (max-width: 768px) {
    .job-modal {
        padding: 1rem;
    }
    
    .job-modal-content {
        max-height: 95vh;
    }
    
    .job-modal-header {
        padding: 1rem 1.5rem;
    }
    
    .job-modal-body {
        padding: 1.5rem;
    }
    
    .job-detail-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .job-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-see-details,
    .btn-apply {
        width: 100%;
        text-align: center;
    }
}

.loading-jobs,
.no-jobs {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-size: 1.125rem;
}

/* Why Us Section */
.why-us {
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.why-us-parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(30, 64, 175, 0.08) 100%);
    background-attachment: fixed;
    background-size: cover;
    z-index: 0;
    transform: translateZ(0);
    will-change: transform;
}

.why-us .container {
    position: relative;
    z-index: 1;
}

.why-us-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 2rem auto 0;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.why-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}

.why-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.03) 0%, var(--bg-white) 10%);
}

.why-item:hover::before {
    transform: scaleY(1);
}

.why-check {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
    animation: checkPulse 2s ease-in-out infinite;
}

@keyframes checkPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.why-item-content {
    flex: 1;
}

.why-item-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.why-item-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(30, 64, 175, 0.05) 100%);
    padding: 4rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    margin-top: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.info-icon {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.info-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.info-card p {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.95rem;
}

.info-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-card a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-form-wrapper {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1.5rem;
    border-radius: 24px 24px 0 0;
}

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

.footer-logo {
    height: 80px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}


/* Partners/Companies Section */
.partners-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, #f8fafc 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.partners-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    margin-top: 2rem;
    position: relative;
    padding: 2rem 0;
}

.partners-marquee-wrapper::before,
.partners-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.partners-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-light), transparent);
}

.partners-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-light), transparent);
}

.partners-marquee {
    width: 100%;
    overflow: hidden;
}

.partners-track {
    display: flex;
    gap: 2rem;
    animation: scroll-partners 40s linear infinite;
    width: max-content;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-item {
    flex-shrink: 0;
    padding: 1.25rem 2rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 200px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.2);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

@media (max-width: 768px) {
    .partners-section {
        padding: 3rem 0;
    }

    .partners-marquee-wrapper {
        padding: 1.5rem 0;
    }

    .partners-track {
        gap: 1.5rem;
        animation-duration: 30s;
    }

    .partner-item {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-width: 160px;
    }

    .partners-marquee-wrapper::before,
    .partners-marquee-wrapper::after {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .partners-track {
        gap: 1rem;
        animation-duration: 25s;
    }

    .partner-item {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
        min-width: 140px;
    }
}


.footer-tagline {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-section ul li i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.disclaimer {
    font-size: 0.875rem;
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        gap: 1rem;
        border-radius: 0 0 16px 16px;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2.5rem;
        flex-direction: column;
        padding-top: 10px;
    }

    .hero-title .static-text,
    .hero-title .animated-text-wrapper {
        display: block;
    }

    .hero-subtitle {
        font-size: 1.125rem;
        min-height: 4em;
    }

    .floating-shape {
        opacity: 0.5;
    }

    .shape-1, .shape-2, .shape-3, .shape-4, .shape-5, .shape-6 {
        width: 150px;
        height: 150px;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }


    .about-stats .stat-card {
        flex: 0 1 100%;
        max-width: 100%;
    }

    .values-grid .value-card,
    .services-grid .service-card,
    .industries-grid .industry-card {
        flex: 0 1 100%;
        max-width: 100%;
    }
    
    .why-us-list {
        gap: 1rem;
    }
    
    .why-item {
        padding: 1.25rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .why-check {
        margin-top: 0;
        margin-bottom: 0.5rem;
    }
    
    .why-item-content h4 {
        font-size: 1rem;
    }
    
    .why-item-content p {
        font-size: 0.9rem;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .methodology-timeline {
        padding: 1rem 0;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .step-content {
        gap: 1.5rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .step-details h4 {
        font-size: 1.25rem;
    }
    
    .step-details p {
        font-size: 0.95rem;
    }
    
    .timeline-step.active::before {
        left: 20px;
    }

    .vm-grid .vm-card {
        flex: 0 1 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 0 3rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description p {
        font-size: 1rem;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .hero-search-section {
        padding: 1.5rem;
    }

    .hero-search-section h2 {
        font-size: 1.5rem;
    }

    .search-input-group {
        grid-template-columns: 1fr;
    }

    .btn-search {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        flex-direction: column;
    }

    .hero-title .static-text,
    .hero-title .animated-text-wrapper {
        display: block;
    }

    .hero-subtitle {
        font-size: 1rem;
        min-height: 5em;
    }

    .hero-search-section {
        padding: 1.25rem;
    }

    .hero-search-section h2 {
        font-size: 1.25rem;
    }

    .search-subtitle {
        font-size: 0.9rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

/* Smooth Scroll Animation */
@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        animation: fadeInUp 0.6s ease;
    }
}

/* Admin Panel Styles */
/* Admin Login Page Styles */
.admin-login-body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.login-bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #f1f5f9 100%);
    z-index: 0;
}

.login-bg-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(99, 102, 241, 0.03) 10px,
        rgba(99, 102, 241, 0.03) 20px
    );
    opacity: 1;
}

.login-floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.login-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.08);
    animation: loginFloat 20s infinite ease-in-out;
}

.login-shape.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.login-shape.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    right: 15%;
    animation-delay: 3s;
}

.login-shape.shape-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    right: 30%;
    animation-delay: 6s;
}

@keyframes loginFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.5;
    }
    33% {
        transform: translate(50px, -50px) rotate(120deg);
        opacity: 0.7;
    }
    66% {
        transform: translate(-30px, 30px) rotate(240deg);
        opacity: 0.6;
    }
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.login-box {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(99, 102, 241, 0.05);
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 3;
    animation: loginFadeIn 0.6s ease;
}

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

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-logo {
    height: 80px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.login-box h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

.login-subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
    text-align: center;
}

.login-alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    background: #fee2e2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    color: #991b1b;
    font-size: 0.9rem;
}

.login-alert i {
    font-size: 1.1rem;
}

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

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

.login-form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.login-form-group label i {
    color: var(--primary-color);
    font-size: 1rem;
}

.login-form-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--bg-light);
    color: var(--text-dark);
    box-sizing: border-box;
}

.login-form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.login-form-group input::placeholder {
    color: var(--text-light);
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    padding-right: 3rem;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    z-index: 1;
}

.toggle-password:hover {
    color: var(--primary-color);
}

.toggle-password:focus {
    outline: none;
}

.btn-login {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.btn-login:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-login i {
    transition: transform 0.3s ease;
}

.btn-login:hover i {
    transform: translateX(5px);
}

.login-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.login-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.login-info i {
    color: var(--primary-color);
}

.login-hint {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 8px;
    line-height: 1.5;
}

.login-hint i {
    color: var(--primary-color);
    margin-right: 0.25rem;
}

.login-hint strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Responsive Design for Login */
@media (max-width: 768px) {
    .login-box {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }
    
    .login-logo {
        height: 60px;
        max-width: 220px;
    }
    
    .login-box h1 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 1rem;
    }
    
    .login-box {
        padding: 2rem 1.25rem;
    }
    
    .login-logo {
        height: 50px;
        max-width: 180px;
    }
    
    .login-box h1 {
        font-size: 1.5rem;
    }
    
    .login-shape {
        display: none;
    }
}

/* Admin Panel Styles */
.admin-panel-body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.admin-bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #f1f5f9 100%);
    z-index: 0;
}

.admin-bg-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(99, 102, 241, 0.03) 10px,
        rgba(99, 102, 241, 0.03) 20px
    );
    opacity: 1;
}

.admin-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    background: transparent;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.admin-header {
    background: var(--bg-white);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.admin-header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.admin-logo {
    height: 60px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.admin-header-text h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.25rem 0;
}

.admin-welcome {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.admin-welcome strong {
    color: var(--primary-color);
    font-weight: 600;
}

.admin-header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-logout {
    background: #dc2626;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-logout:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.admin-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.admin-section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.25rem 0;
}

.admin-section-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
}

.admin-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: var(--bg-white);
    padding: 0.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.tab-btn {
    flex: 1;
    padding: 0.875rem 1.5rem;
    background: transparent;
    border: none;
    border-radius: 12px;
    color: var(--text-light);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
}

.tab-btn:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.table-container {
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow-x: auto;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.table-container table {
    width: 100%;
    border-collapse: collapse;
}

.table-container th {
    background: linear-gradient(135deg, var(--bg-light) 0%, #f1f5f9 100%);
    padding: 1.25rem 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 2px solid var(--border-color);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-container td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    font-size: 0.95rem;
}

.table-container tr:last-child td {
    border-bottom: none;
}

.table-container tr:hover {
    background: var(--bg-light);
}

.table-container tr:hover td {
    color: var(--text-dark);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-light);
    border-radius: 16px 16px 0 0;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.modal-content form {
    padding: 2rem;
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

/* Admin-specific button overrides */
.admin-container .btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.admin-container .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-small:not(.btn-danger) {
    background: var(--primary-color);
    color: white;
}

.btn-small:not(.btn-danger):hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-danger {
    background: #dc2626;
    color: white;
}

.btn-danger:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.circle {
    display: none;
}

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: capitalize;
}

.status-active {
    background: #d1fae5;
    color: #065f46;
}

.status-inactive {
    background: #f3f4f6;
    color: #6b7280;
}

.status-new {
    background: #dbeafe;
    color: #1e40af;
}

.status-read {
    background: #f3f4f6;
    color: #6b7280;
}

/* Responsive Admin Styles */
@media (max-width: 768px) {
    .admin-container {
        padding: 1rem;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
    }

    .admin-header-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .admin-logo {
        height: 50px;
        max-width: 180px;
    }

    .admin-header-right {
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
    }

    .admin-header-right .btn {
        width: 100%;
        justify-content: center;
    }

    .admin-tabs {
        flex-direction: column;
    }

    .admin-section-header {
        flex-direction: column;
    }

    .admin-section-header .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .table-container {
        overflow-x: scroll;
    }

    .modal-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }
}

@media (max-width: 480px) {
    .admin-container {
        padding: 0.75rem;
    }

    .admin-header {
        padding: 1.25rem;
    }

    .admin-logo {
        height: 40px;
        max-width: 150px;
    }

    .table-container th,
    .table-container td {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }
}
