/* ============================================
   Aditya Plymart - Job Portal
   Main Stylesheet
   ============================================ */

/* ===== CSS Variables ===== */
:root {
    /* Primary Colors */
    --white: #FFFFFF;
    --light-gray: #F5F5F5;

    /* Accent Colors */
    --orange: #F4BC6B;
    --orange-hover: #D4A055;
    --orange-light: rgba(244, 188, 107, 0.1);
    --navy: #06535D;
    --navy-dark: #043E46;
    --navy-light: rgba(6, 83, 93, 0.08);

    /* Secondary Neutrals */
    --dark-charcoal: #333333;
    --soft-gray: #777777;
    --border-gray: #E0E0E0;
    --bg-gray: #F8F9FA;

    /* Additional */
    --success: #4CAF50;
    --error: #F44336;
    --warning: #FF9800;
    --info: #2196F3;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #F4BC6B 0%, #F8D49B 100%);
    --gradient-navy: linear-gradient(135deg, #06535D 0%, #0A7A88 100%);
    --gradient-hero: linear-gradient(135deg, #06535D 0%, #0A7A88 40%, #06535D 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.15);
    --shadow-orange: 0 4px 20px rgba(244, 188, 107, 0.3);
    --shadow-navy: 0 4px 20px rgba(6, 83, 93, 0.2);

    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50%;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    color: var(--dark-charcoal);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    color: var(--navy);
}

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ===== Utility Classes ===== */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--orange-light);
    color: var(--orange);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 16px;
    position: relative;
}

.section-title .highlight {
    color: var(--orange);
    position: relative;
}

.section-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--orange-light);
    border-radius: 4px;
    z-index: -1;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--soft-gray);
    max-width: 600px;
    margin: 0 auto;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.required {
    color: var(--error);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 87, 34, 0.4);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.82rem;
}

.btn-lg {
    padding: 15px 36px;
    font-size: 1rem;
}

/* ===== Scroll to Top Button ===== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-orange);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 87, 34, 0.4);
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-normal);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
}

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

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-primary);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    transition: var(--transition-normal);
}

.logo-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: var(--transition-normal);
}

.navbar.scrolled .logo-title {
    color: var(--navy);
}

.navbar.scrolled .logo-subtitle {
    color: var(--orange);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.navbar.scrolled .nav-link {
    color: var(--dark-charcoal);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--orange);
    background: var(--orange-light);
}

.nav-link i {
    font-size: 0.85rem;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    position: relative;
    transition: var(--transition-normal);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 26px;
    height: 2px;
    background: var(--white);
    transition: var(--transition-normal);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.navbar.scrolled .hamburger,
.navbar.scrolled .hamburger::before,
.navbar.scrolled .hamburger::after {
    background: var(--navy);
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.mobile-nav-overlay.active {
    opacity: 1;
}

/* ===== Hero Section ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding: 120px 0 100px;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: var(--radius-full);
    opacity: 0.06;
    animation-duration: 15s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--orange);
    top: -100px;
    right: -100px;
    animation-name: float1;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--white);
    bottom: -50px;
    left: -50px;
    animation-name: float2;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--orange);
    top: 40%;
    left: 10%;
    animation-name: float3;
}

.shape-4 {
    width: 150px;
    height: 150px;
    background: var(--white);
    top: 20%;
    right: 15%;
    animation-name: float4;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, 30px) rotate(180deg); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(40px, -40px) rotate(-180deg); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -25px); }
}

@keyframes float4 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-15px, 20px); }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(255, 87, 34, 0.15);
    color: var(--orange);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    margin-bottom: 24px;
    border: 1px solid rgba(255, 87, 34, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.3); }
    50% { box-shadow: 0 0 0 15px rgba(255, 87, 34, 0); }
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--orange);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 1px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: color var(--transition-normal);
}

.hero-scroll-indicator a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.mouse {
    width: 28px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 10px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* ===== Alert Messages ===== */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 24px;
    margin: 30px 0;
    border-radius: var(--radius-md);
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

.alert-success {
    background: #E8F5E9;
    border-left: 4px solid var(--success);
    color: #2E7D32;
}

.alert-error {
    background: #FFEBEE;
    border-left: 4px solid var(--error);
    color: #C62828;
}

.alert-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-content {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.alert-close {
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity var(--transition-fast);
    color: inherit;
    flex-shrink: 0;
}

.alert-close:hover {
    opacity: 1;
}

/* ===== Job Filters ===== */
.job-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--white);
    color: var(--soft-gray);
    border: 2px solid var(--border-gray);
    border-radius: var(--radius-xl);
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.filter-btn:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-orange);
}

/* ===== Job Cards ===== */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 24px;
}

.job-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-gray);
    transition: all var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.job-card.featured {
    border-color: rgba(255, 87, 34, 0.3);
    box-shadow: 0 4px 20px rgba(255, 87, 34, 0.08);
}

.job-card.featured:hover {
    box-shadow: 0 8px 32px rgba(255, 87, 34, 0.15);
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 5px 14px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
    box-shadow: var(--shadow-orange);
}

.job-card-header {
    padding: 24px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.job-icon {
    width: 56px;
    height: 56px;
    background: var(--navy-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--navy);
    transition: all var(--transition-normal);
}

.job-card:hover .job-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.05);
}

.job-meta-top {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.job-type-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.type-fulltime { background: #E8F5E9; color: #2E7D32; }
.type-parttime { background: #E3F2FD; color: #1565C0; }
.type-contract { background: #FFF3E0; color: #E65100; }
.type-internship { background: #F3E5F5; color: #7B1FA2; }
.type-freelance { background: #E0F7FA; color: #00695C; }

.job-posted {
    font-size: 0.75rem;
    color: var(--soft-gray);
}

.job-card-body {
    padding: 16px 24px;
    flex: 1;
}

.job-title {
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 14px;
    line-height: 1.4;
    transition: color var(--transition-normal);
}

.job-card:hover .job-title {
    color: var(--orange);
}

.job-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
}

.job-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--soft-gray);
}

.job-info-item i {
    color: var(--orange);
    font-size: 0.8rem;
    width: 16px;
    flex-shrink: 0;
}

.job-description {
    font-size: 0.88rem;
    color: var(--soft-gray);
    line-height: 1.6;
    margin-bottom: 14px;
}

.job-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.skill-tag {
    padding: 4px 12px;
    background: var(--light-gray);
    color: var(--dark-charcoal);
    font-size: 0.73rem;
    font-weight: 500;
    border-radius: var(--radius-xl);
    transition: all var(--transition-normal);
}

.skill-tag:hover {
    background: var(--orange-light);
    color: var(--orange);
}

.skill-tag.more {
    background: var(--navy-light);
    color: var(--navy);
    font-weight: 600;
}

.job-card-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-vacancies {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--soft-gray);
    white-space: nowrap;
    margin-right: 10px;
}

.job-vacancies i {
    color: var(--navy);
}

.job-actions {
    display: flex;
    gap: 8px;
}

/* View More button — override white color to be visible on light card background */
.job-card .view-job-btn.btn-outline {
    color: var(--navy);
    border-color: var(--navy);
}

.job-card .view-job-btn.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
    transform: translateY(-2px);
}

/* Entire job card is clickable */
.job-card {
    cursor: pointer;
}

.job-deadline {
    padding: 10px 24px;
    background: var(--light-gray);
    font-size: 0.78rem;
    color: var(--soft-gray);
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-deadline i {
    color: var(--orange);
}

/* ===== Empty State ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    width: 100px;
    height: 100px;
    background: var(--light-gray);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2.5rem;
    color: var(--soft-gray);
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--soft-gray);
}

/* ===== Job Detail Modal ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 700px;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
    transform: translateY(30px) scale(0.95);
    transition: all var(--transition-normal);
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-header {
    padding: 24px 30px;
    background: var(--gradient-navy);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.35rem;
    color: var(--white);
    flex: 1;
    padding-right: 16px;
}

.modal-close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    flex-shrink: 0;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.modal-info-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--light-gray);
    border-radius: var(--radius-xl);
    font-size: 0.82rem;
    color: var(--dark-charcoal);
}

.modal-badge i {
    color: var(--orange);
    font-size: 0.8rem;
}

.modal-section {
    margin-bottom: 24px;
}

.modal-section h4 {
    font-size: 1.05rem;
    color: var(--navy);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-section h4 i {
    color: var(--orange);
}

.modal-section p,
.modal-section div {
    font-size: 0.92rem;
    color: var(--dark-charcoal);
    line-height: 1.8;
    white-space: pre-line;
}

.modal-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.modal-skill-tag {
    padding: 6px 16px;
    background: var(--orange-light);
    color: var(--orange);
    border-radius: var(--radius-xl);
    font-size: 0.82rem;
    font-weight: 500;
}

.modal-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: var(--radius-md);
}

.modal-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.modal-detail-label {
    font-size: 0.75rem;
    color: var(--soft-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.modal-detail-value {
    font-size: 0.92rem;
    color: var(--navy);
    font-weight: 600;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid var(--border-gray);
    text-align: center;
}

/* ===== Application Form ===== */
.apply-section {
    background: var(--bg-gray);
}

.apply-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.form-decoration {
    position: absolute;
    top: 0;
    right: 0;
    pointer-events: none;
}

.form-deco-circle {
    width: 200px;
    height: 200px;
    border-radius: var(--radius-full);
    background: var(--orange-light);
    position: absolute;
    top: -100px;
    right: -100px;
}

.form-deco-dots {
    width: 60px;
    height: 60px;
    background-image: radial-gradient(circle, var(--orange) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    position: absolute;
    top: 30px;
    right: 30px;
    opacity: 0.3;
}

.form-row {
    margin-bottom: 24px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
}

.form-group label i {
    color: var(--orange);
    font-size: 0.85rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-secondary);
    font-size: 0.92rem;
    color: var(--dark-charcoal);
    background: var(--light-gray);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--orange);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--orange-light);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--soft-gray);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23777' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

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

.form-error {
    display: block;
    color: var(--error);
    font-size: 0.8rem;
    margin-top: 6px;
    min-height: 18px;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: var(--error);
    background: #FFF5F5;
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--light-gray);
    border: 2px dashed var(--border-gray);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.file-upload-display:hover {
    border-color: var(--orange);
    background: var(--orange-light);
}

.file-upload-display i {
    font-size: 2rem;
    color: var(--orange);
    margin-bottom: 8px;
}

.file-upload-display span {
    font-size: 0.9rem;
    color: var(--dark-charcoal);
    font-weight: 500;
}

.file-upload-display small {
    font-size: 0.75rem;
    color: var(--soft-gray);
    margin-top: 4px;
}

.file-upload-display.has-file {
    border-color: var(--success);
    background: #E8F5E9;
}

.file-upload-display.has-file i {
    color: var(--success);
}

.char-counter {
    text-align: right;
    font-size: 0.78rem;
    color: var(--soft-gray);
    margin-top: 6px;
}

.form-submit {
    text-align: center;
    margin-top: 10px;
}

.btn-submit {
    min-width: 250px;
}

.btn-submit .btn-loading {
    display: none;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ===== Why Join Section ===== */
.why-section {
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.benefit-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-gray);
    transition: all var(--transition-normal);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: var(--orange-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--orange);
    margin: 0 auto 20px;
    transition: all var(--transition-normal);
}

.benefit-card:hover .benefit-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.benefit-card h4 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 0.88rem;
    color: var(--soft-gray);
    line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
    position: relative;
}

.footer-wave {
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    width: 100%;
    height: 60px;
    display: block;
}

.footer-main {
    background: var(--navy);
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo {
    width: 62px;
    height: 62px;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.35rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition-normal);
    font-size: 0.9rem;
}

.social-link:hover {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-heading {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--orange);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--orange);
    padding-left: 5px;
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--orange);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
}

.footer-contact li i {
    color: var(--orange);
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--orange);
}

.footer-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 0.88rem;
    font-weight: 600;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.footer-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange);
    color: var(--white);
}

.footer-bottom {
    background: var(--navy-dark);
    padding: 20px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
}

.footer-credits {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ===== Responsive Design (Mobile-First) ===== */

/* Tablets & Below */
@media (max-width: 992px) {
    .section {
        padding: 60px 0;
    }

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

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 80px 20px 20px;
        gap: 0;
        z-index: 999;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
        transition: right var(--transition-normal);
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-nav-overlay {
        display: none;
    }

    .mobile-nav-overlay.active {
        display: block;
    }

    .nav-link {
        color: var(--dark-charcoal);
        padding: 14px 18px;
        border-radius: var(--radius-md);
        font-size: 0.95rem;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--orange);
        background: var(--orange-light);
    }

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

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

    .apply-form-wrapper {
        padding: 30px;
    }

    .form-row-2 {
        grid-template-columns: 1fr;
    }

    .modal-details-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Phones */
@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }

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

    .section-subtitle {
        font-size: 0.95rem;
    }

    .hero-section {
        padding: 100px 0 60px;
        min-height: 90vh;
    }

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

    .hero-subtitle {
        font-size: 0.92rem;
    }

    .hero-stats {
        gap: 20px;
    }

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

    .stat-label {
        font-size: 0.72rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .job-filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.78rem;
    }

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

    .job-card-footer {
        flex-direction: column;
        gap: 12px;
    }

    .job-actions {
        width: 100%;
    }

    .job-actions .btn {
        flex: 1;
    }

    .apply-form-wrapper {
        padding: 24px 20px;
    }

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

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

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .modal-container {
        max-height: 90vh;
    }

    .modal-header {
        padding: 18px 20px;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-footer {
        padding: 16px 20px;
    }

    .modal-title {
        font-size: 1.1rem;
    }

    .btn-lg {
        padding: 13px 28px;
        font-size: 0.92rem;
    }

    .logo-title {
        font-size: 1.15rem;
    }

    .logo-subtitle {
        font-size: 0.7rem;
    }
}

/* Small Phones */
@media (max-width: 380px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .stat-divider {
        width: 40px;
        height: 2px;
    }

    .job-info-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Animations ===== */
.job-card {
    animation: fadeInUp 0.5s ease forwards;
}

.job-card.hidden {
    display: none;
}

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

/* ===== Print Styles ===== */
@media print {
    .navbar,
    .scroll-top-btn,
    .hero-scroll-indicator,
    .footer,
    .modal-overlay,
    .job-actions .apply-link,
    .apply-section {
        display: none !important;
    }

    .hero-section {
        min-height: auto;
        padding: 20px 0;
    }

    .job-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* ============================================
   Application Success / Error Popup
   ============================================ */

/* Overlay */
.popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: 20px;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Container */
.popup-container {
    background: var(--white);
    border-radius: 24px;
    padding: 48px 40px 40px;
    max-width: 520px;
    width: 100%;
    position: relative;
    text-align: center;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255,255,255,0.1);
    transform: scale(0.8) translateY(30px);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.popup-overlay.active .popup-container {
    transform: scale(1) translateY(0);
}

/* Close button */
.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--light-gray);
    color: var(--soft-gray);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.popup-close:hover {
    background: var(--error);
    color: var(--white);
    transform: rotate(90deg);
}

/* ===== Animated Success Checkmark ===== */
.popup-icon-wrap {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 28px;
}

.popup-circle-bg {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(76,175,80,0.12) 0%, transparent 70%);
    animation: popupPulse 2s ease-in-out infinite;
}

.popup-circle-error {
    background: radial-gradient(circle, rgba(244,67,54,0.12) 0%, transparent 70%);
}

@keyframes popupPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
}

.popup-checkmark-circle,
.popup-error-circle {
    width: 100px;
    height: 100px;
    position: relative;
}

.popup-checkmark-svg,
.popup-error-svg {
    width: 100px;
    height: 100px;
}

/* Success ring */
.popup-checkmark-ring {
    stroke: var(--success);
    stroke-width: 2.5;
    stroke-dasharray: 150.72;
    stroke-dashoffset: 150.72;
    animation: popupRingDraw 0.6s 0.3s ease forwards;
}

@keyframes popupRingDraw {
    to { stroke-dashoffset: 0; }
}

/* Success check path */
.popup-checkmark-check {
    stroke: var(--success);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: popupCheckDraw 0.4s 0.8s ease forwards;
}

@keyframes popupCheckDraw {
    to { stroke-dashoffset: 0; }
}

/* Error ring */
.popup-error-ring {
    stroke: var(--error);
    stroke-width: 2.5;
    stroke-dasharray: 150.72;
    stroke-dashoffset: 150.72;
    animation: popupRingDraw 0.6s 0.3s ease forwards;
}

/* Error X paths */
.popup-error-x1,
.popup-error-x2 {
    stroke: var(--error);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 28.28;
    stroke-dashoffset: 28.28;
    animation: popupCheckDraw 0.35s 0.85s ease forwards;
}

.popup-error-x2 {
    animation-delay: 1s;
}

/* ===== Confetti Particles ===== */
.popup-confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.popup-confetti span {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    opacity: 0;
}

.popup-overlay.active .popup-confetti span {
    animation: popupConfettiBurst 0.9s 0.9s ease forwards;
}

.popup-confetti span:nth-child(1)  { background: #F4BC6B; --cx: -60px; --cy: -70px; }
.popup-confetti span:nth-child(2)  { background: #06535D; --cx: 55px; --cy: -65px; }
.popup-confetti span:nth-child(3)  { background: #4CAF50; --cx: -70px; --cy: 20px; }
.popup-confetti span:nth-child(4)  { background: #E91E63; --cx: 65px; --cy: 30px; }
.popup-confetti span:nth-child(5)  { background: #FF9800; --cx: -30px; --cy: -80px; }
.popup-confetti span:nth-child(6)  { background: #2196F3; --cx: 30px; --cy: -75px; }
.popup-confetti span:nth-child(7)  { background: #9C27B0; --cx: -75px; --cy: -20px; }
.popup-confetti span:nth-child(8)  { background: #00BCD4; --cx: 75px; --cy: -10px; }
.popup-confetti span:nth-child(9)  { background: #F4BC6B; --cx: -45px; --cy: 55px; width: 6px; height: 6px; }
.popup-confetti span:nth-child(10) { background: #4CAF50; --cx: 50px;  --cy: 50px; width: 6px; height: 6px; }
.popup-confetti span:nth-child(11) { background: #FF5252; --cx: 0;     --cy: -85px; width: 5px; height: 5px; }
.popup-confetti span:nth-child(12) { background: #06535D; --cx: -80px; --cy: 45px; width: 5px; height: 5px; }

@keyframes popupConfettiBurst {
    0%   { transform: translate(0, 0) scale(0); opacity: 1; }
    60%  { opacity: 1; }
    100% { transform: translate(var(--cx), var(--cy)) scale(1); opacity: 0; }
}

/* ===== Popup Content ===== */
.popup-title {
    font-family: var(--font-primary);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--dark-charcoal);
    margin-bottom: 6px;
}

.popup-title-error {
    color: var(--error);
}

.popup-applicant {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.popup-message {
    font-size: 0.95rem;
    color: var(--soft-gray);
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.popup-error-msg {
    color: var(--error);
    font-weight: 500;
}

/* Job Badge */
.popup-job-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--navy-light);
    color: var(--navy);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 30px;
    border: 1px solid rgba(6, 83, 93, 0.15);
}

.popup-job-badge i {
    color: var(--orange);
}

/* ===== Progress Steps ===== */
.popup-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 32px;
    padding: 0 10px;
}

.popup-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.popup-step-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--light-gray);
    color: var(--soft-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid var(--border-gray);
}

.popup-step span {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--soft-gray);
    white-space: nowrap;
}

.popup-step.completed .popup-step-icon {
    background: var(--success);
    color: var(--white);
    border-color: var(--success);
    box-shadow: 0 4px 14px rgba(76,175,80,0.3);
}

.popup-step.completed span {
    color: var(--success);
}

.popup-step-line {
    width: 50px;
    height: 2px;
    background: var(--border-gray);
    margin: 0 6px;
    margin-bottom: 22px;
    border-radius: 2px;
}

/* Action Button */
.popup-action-btn {
    min-width: 220px;
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: 50px;
    gap: 8px;
}

.popup-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange);
}

/* ===== Responsive ===== */
@media (max-width: 480px) {
    .popup-container {
        padding: 36px 24px 28px;
        border-radius: 20px;
    }

    .popup-icon-wrap {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }

    .popup-checkmark-svg,
    .popup-error-svg,
    .popup-checkmark-circle,
    .popup-error-circle {
        width: 80px;
        height: 80px;
    }

    .popup-title {
        font-size: 1.35rem;
    }

    .popup-steps {
        gap: 0;
    }

    .popup-step-line {
        width: 30px;
    }

    .popup-step-icon {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .popup-step span {
        font-size: 0.65rem;
    }

    .popup-action-btn {
        min-width: 180px;
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}
