/* Job Fair Specific Styles */
:root {
  --primary-color: #2563eb;
  --secondary-color: #475569;
  --accent-color: #f59e0b;
  --text-dark: #1e293b;
  --text-light: #f8fafc;
  --spacing-unit: 1rem;
}

/* Hero Banner - Clean Implementation */
.job-fair-hero {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: calc(var(--spacing-unit) * 8) 0;
    color: var(--text-light);
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

/* Background Elements */
.job-fair-hero::before,
.job-fair-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    animation: float 15s infinite ease-in-out;
}

.job-fair-hero::before {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.job-fair-hero::after {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    background: rgba(96, 165, 250, 0.1);
    animation-delay: -7s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

/* Container Layout */
.job-fair-hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: calc(var(--spacing-unit) * 6);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 3);
}

/* Content Styling */
.hero-content {
    flex: 1;
    max-width: 650px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: calc(var(--spacing-unit) * 2);
    background: linear-gradient(to right, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.event-meta {
    display: flex;
    gap: calc(var(--spacing-unit) * 2);
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    backdrop-filter: blur(8px);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.event-meta i {
    color: #60a5fa;
}

/* Visual Section */
.hero-visual {
    flex: 1;
    max-width: 600px;
    position: relative;
    padding: calc(var(--spacing-unit) * 2);
}

.hero-visual img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

/* CTA Buttons */
.hero-actions {
    display: flex;
    gap: calc(var(--spacing-unit) * 2);
    margin-top: calc(var(--spacing-unit) * 4);
}

.cta-button {
    min-width: 200px;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: #2563eb;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(8px);
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Large Screen Adjustments */
@media (min-width: 1400px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

/* Desktop Adjustments */
@media (min-width: 1024px) and (max-width: 1399px) {
    .hero-title {
        font-size: 3.75rem;
    }
    
    .hero-visual {
        max-width: 550px;
    }
}

/* Tablet Adjustments */
@media (min-width: 769px) and (max-width: 1023px) {
    .job-fair-hero .container {
        gap: calc(var(--spacing-unit) * 4);
    }

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

    .hero-visual {
        max-width: 450px;
    }

    .event-meta span {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .job-fair-hero {
        padding: calc(var(--spacing-unit) * 4) 0;
        margin-top: 60px;
    }

    .job-fair-hero .container {
        flex-direction: column;
        gap: calc(var(--spacing-unit) * 3);
        padding: 0 var(--spacing-unit);
    }

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

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

    .event-meta {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-unit);
    }

    .event-meta span {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }

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

    .cta-button {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .hero-visual {
        padding: var(--spacing-unit);
        max-width: 100%;
    }
}

/* Enhanced Event Stats Styling */
.job-fair-stats {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: calc(var(--spacing-unit) * 6) 0;
    position: relative;
    overflow: hidden;
}

.job-fair-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 100% 100%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.job-fair-stats .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: calc(var(--spacing-unit) * 3);
    padding: calc(var(--spacing-unit) * 2);
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: white;
    padding: calc(var(--spacing-unit) * 3.5) calc(var(--spacing-unit) * 2);
    border-radius: 20px;
    text-align: center;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    position: relative;
    display: inline-block;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.stat-label {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

/* Featured Companies Section Styling */
.participating-companies {
    padding: calc(var(--spacing-unit) * 6) 0;
    background-color: #f8fafc;
}

.participating-companies .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

.participating-companies .section-title {
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 4);
    color: var(--text-dark);
    font-size: 2.25rem;
    position: relative;
}

.participating-companies .section-title:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: calc(var(--spacing-unit) * 3);
    padding: calc(var(--spacing-unit) * 2);
}

.company-card {
    background: white;
    padding: calc(var(--spacing-unit) * 2);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16/9;
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.company-card img {
    max-width: 80%;
    height: auto;
    object-fit: contain;
}

/* Registration Form */
.registration {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: calc(var(--spacing-unit) * 4) var(--spacing-unit);
}

.registration-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 
      0 10px 15px -3px rgba(0, 0, 0, 0.08),
      0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.section-title {
  color: var(--text-dark);
  font-size: 2.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.registration-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.form-group {
  position: relative;
  margin-bottom: 0.5rem;
}

.form-label {
  display: block;
  font-weight: 500;
  font-size: 0.95rem;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
  background: #f8fafc;
}

.form-input:focus {
  border-color: var(--primary-color);
  background: white;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
  outline: none;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
}

.form-hint {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 0.375rem;
  display: block;
}

.submit-button {
  grid-column: span 2;
  background: var(--primary-color);
  color: white;
  font-weight: 600;
  font-size: 1.125rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1.5rem;
  position: relative;
  overflow: hidden;
}

.submit-button:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.submit-button:active {
  transform: translateY(0);
}

.form-note {
  grid-column: span 2;
  text-align: center;
  color: #64748b;
  font-size: 0.875rem;
  margin-top: 1.5rem;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  .registration-wrapper {
    padding: 2rem;
    margin: 1rem;
  }

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

  .registration-form {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .submit-button {
    grid-column: span 1;
    width: 100%;
  }

  .form-note {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .registration-wrapper {
    padding: 1.5rem;
    margin: 0.5rem;
  }

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

  .form-input {
    padding: 0.75rem;
  }

  .submit-button {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

/* Input placeholder styling */
.form-input::placeholder {
  color: #94a3b8;
  opacity: 0.8;
}

/* Focus state enhancements */
.form-group:focus-within .form-label {
  color: var(--primary-color);
}

/* Hover effects */
.form-input:hover {
  border-color: #cbd5e1;
}

/* Error state - add these classes when needed */
.form-input.error {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.error-message {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.375rem;
}

/* Buttons */
.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

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

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

/* Mobile Menu Toggle Fix */
.mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    cursor: pointer;
    position: relative;
    padding: 0;
    margin-right: 1rem;
}

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: white;
    border-radius: 2px;
    position: absolute;
    transition: all 0.3s ease;
}

.mobile-toggle span:nth-child(1) { transform: translateY(-6px); }
.mobile-toggle span:nth-child(3) { transform: translateY(6px); }

/* Responsive adjustments */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: calc(var(--spacing-unit) * 2);
        padding: var(--spacing-unit);
    }

    .stat-card {
        min-height: 180px;
        padding: calc(var(--spacing-unit) * 2.5);
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

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

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

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 1.5);
    }

    .stat-card {
        min-height: 160px;
        padding: calc(var(--spacing-unit) * 2);
    }

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

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

/* Hero Section Responsive */
.hero-visual {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.hero-visual img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

@media (max-width: 1024px) {
    .hero-visual {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .job-fair-hero {
        padding: calc(var(--spacing-unit) * 4) 0;
        margin-top: 60px;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero-visual {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .event-meta {
        justify-content: center;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .job-fair-hero {
        padding: calc(var(--spacing-unit) * 3) 0;
        margin-top: 50px;
    }

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

    .hero-visual {
        max-width: 280px;
    }

    .event-meta {
        flex-direction: column;
        align-items: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-unit);
    }

    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-unit);
    }

    .company-card {
        padding: var(--spacing-unit) * 0.5;
    }

    .company-card img {
        max-width: 80px;
    }
}

/* Additional responsive improvements */
@media (max-width: 640px) {
    .section-title {
        font-size: 1.75rem;
    }

    .stat-card {
        padding: var(--spacing-unit);
    }

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

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .companies-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: calc(var(--spacing-unit) * 2);
    }
}

@media (max-width: 768px) {
    .participating-companies {
        padding: calc(var(--spacing-unit) * 4) 0;
    }

    .companies-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: calc(var(--spacing-unit) * 1.5);
        padding: var(--spacing-unit);
    }

    .company-card {
        padding: calc(var(--spacing-unit) * 1.5);
    }
}

@media (max-width: 480px) {
    .participating-companies .section-title {
        font-size: 1.75rem;
        margin-bottom: calc(var(--spacing-unit) * 3);
    }

    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-unit);
    }

    .company-card {
        padding: var(--spacing-unit);
    }
}

/* Footer Color Update */
footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #f8fafc;
}

footer .footer-content {
    background: transparent;
}

footer .footer-links h3,
footer .footer-contact h3,
footer .footer-social h3 {
    color: #f8fafc;
    border-bottom-color: #475569;
}

footer .footer-links ul li a,
footer .footer-contact p,
footer .footer-social p {
    color: #cbd5e1;
    transition: color 0.3s ease;
}

footer .footer-links ul li a:hover {
    color: #60a5fa;
}

footer .social-icons a {
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

footer .social-icons a:hover {
    background: #60a5fa;
    color: #ffffff;
    transform: translateY(-3px);
}

footer .footer-bottom {
    border-top: 1px solid #475569;
    color: #94a3b8;
}

footer .footer-bottom a {
    color: #60a5fa;
}

footer .footer-bottom a:hover {
    color: #93c5fd;
} 