:root {
  --primary-color: #004b9a;
  --primary-dark: #003570;
  --primary-light: #0066cc;
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --text-white: #ffffff;
  --text-dark: #1a1a1a;
  --text-muted: #6c757d;
  --border-color: #e9ecef;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}
/* Navbar Styling */
.custom-navbar {
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
  padding: 10px 30px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.08);
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
}

.custom-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #004B9A !important;
}

.logo-img {
  height: 50px;
  object-fit: contain;
}

.navbar-nav .nav-link {
  color: #333 !important;
  font-weight: 500;
  font-size: 17px;
  position: relative;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #004B9A !important;
}

/* Dropdown menu */
.navbar-nav .dropdown-menu {
  border-radius: 8px;
  border: none;
  margin-top: 10px;
  padding: 0.5rem 0;
}

.navbar-nav .dropdown-menu .dropdown-item {
  transition: all 0.3s ease;
  font-weight: 500;
  color: #333 !important;
}

.navbar-nav .dropdown-menu .dropdown-item:hover {
  background-color: #004B9A;
  color: #fff !important;
  transform: translateX(5px);
}

/* Register Button */
.register-btn {
  background-color: #004B9A;
  color: #fff !important;
  font-weight: 600;
  border-radius: 8px;
  padding: 9px 19px;
  transition: all 0.3s ease;
}
.register-btn:hover {
  background-color: #003a78;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 75, 154, 0.2);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .custom-navbar {
    padding: 10px 15px;
  }
  .navbar-nav {
    gap: 0.8rem;
    text-align: center;
  }
  .navbar-nav .nav-item {
    margin-bottom: 5px;
  }
}

/* Responsive Logo */
@media (max-width: 768px) {
  .logo-img {
    height: 35px;
  }
  .navbar-brand {
    font-size: 1.4rem;
  }
}


/* Hero Section */
.hero-section {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background Video Styling */
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
  z-index: 0;
  transform: scale(1.05);
  animation: videoZoom 20s ease-in-out infinite alternate;
}

@keyframes videoZoom {
  0% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1.1);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero-section > .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  animation: fadeInDown 1.2s ease-in-out forwards;
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.95;
  margin-bottom: 2rem;
  animation: fadeInUp 1.4s ease-in-out forwards;
}

/* Animation Effects */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.search-bar-container {
  background: rgba(255, 255, 255, 0.97);
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  animation: slideUp 1.6s ease-in-out forwards;
}

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

.search-input {
  border: 1px solid #ddd;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.search-input:focus {
  border-color: #004B9A;
  box-shadow: 0 0 0 3px rgba(0, 75, 154, 0.1);
}

.search-btn {
  background-color: #004B9A;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.search-btn:hover {
  background-color: #003a78;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 75, 154, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .search-bar-container {
    padding: 1rem;
  }
}

/* Features Section */
/* Unique Features Section */
.unique-features-section {
  background-color: var(--bg-white);
}

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

.unique-section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Feature Card */
.unique-feature-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 14px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.unique-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.unique-feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.unique-feature-card:hover .unique-feature-icon {
  color: var(--accent-color);
}

.unique-feature-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
  font-weight: 600;
}

.unique-feature-text {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  min-height: 80px;
}

/* Explore Link */
.unique-feature-link {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.unique-feature-card:hover .unique-feature-link {
  color: var(--accent-color);
  transform: translateX(5px);
}


/* Featured Jobs Section */
.featured-jobs-section {
  background-color: var(--bg-light);
}

.job-card {
  background: var(--bg-white);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.job-title {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin: 0;
}

.job-type {
  background-color: #e3f2fd;
  color: var(--primary-color);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.job-company {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.job-location {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.job-description {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
}

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

.job-salary {
  font-weight: 600;
  color: var(--primary-color);
}

/* Categories Section */
.categories-section {
  background-color: var(--bg-white);
}

.category-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  cursor: pointer;
}

.category-card:hover {
  border-color: var(--primary-color);
  background-color: #f0f7ff;
  transform: translateY(-4px);
}

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

.category-name {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.category-count {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials-section {
  background-color: var(--bg-light);
}

.testimonial-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: #ffc107;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.testimonial-text {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.author-name {
  margin: 0;
  color: var(--text-dark);
  font-weight: 600;
}

.author-role {
  margin: 0.25rem 0 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Newsletter Section */
.newsletter-section {
    background-color: var(--primary-color, #0272B9);
    color: #fff;
    padding: 60px 0;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto ;
    border-radius: 12px;
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.newsletter-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.newsletter-form input {
    padding: 0.75rem 1rem;
    border-radius: 20px;
    border: none;
    width: 450px;
    max-width: 100%;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 10px 60px;
    border-radius: 50px;
    border: none;
    background-color: #fff;
    color: var(--primary-color, #0272B9);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 576px) {
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}


/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 300"><defs><pattern id="dots" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="1200" height="300" fill="url(%23dots)"/></svg>');
  opacity: 0.5;
}

.cta-section > .container {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
}

.cta-subtitle {
  font-size: 1.1rem;
  opacity: 0.95;
}

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

.btn-primary {
  background-color: var(--primary-color);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

.btn-outline-primary {
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-outline-light {
  color: white;
  border: 2px solid white;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background-color: white;
  color: var(--primary-color);
}

/* Footer */
/* Footer Logo */
.footer-logo img {
  max-width: 150px;
  transition: transform 0.3s ease;
}

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

/* Footer */
.footer-section {
  background-color: #1a1a1a;
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-size: 0.95rem;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

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

.footer-copyright {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.9rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

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


/* ===== BACK TO TOP BUTTON STYLE ===== */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border: none;
  outline: none;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary-color);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
}

#backToTop i {
  font-size: 18px;
  position: absolute;
  z-index: 2;
}

#backToTop.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* SVG Circle Progress */
.progress-ring {
  position: absolute;
  transform: rotate(-90deg);
}

.progress-ring__circle {
  stroke: var(--primary-color);
  stroke-dasharray: 164;
  stroke-dashoffset: 164;
  transition: stroke-dashoffset 0.25s linear;
}


/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

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

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

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

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .search-bar-container .row {
    flex-direction: column;
  }
}
