@media (max-width: 1200px) {
  #register .container {
    max-width: 1000px;
    gap: 40px;
  }

  #register .register-section {
    min-width: 500px;
    max-width: 600px;
  }
}

@media (max-width: 992px) {
  #hero {
    padding: 100px 0;
    text-align: center;
  }

  #hero .heading {
    font-size: 42px;
    line-height: 1.3;
  }

  #hero .description {
    font-size: 16px;
  }

  #hero .hero-img {
    margin-top: 30px;
  }

  #categories .single-category {
    width: 30%;
    margin-bottom: 20px;
  }

  .input-container {
    margin-bottom: 10px;
  }

  #job::after {
    display: none;
  }

  #job::before {
    display: none;
  }

  .about-hero-title {
    font-size: 40px;
  }

  .mission-content,
  .about-hero-content {
    flex-direction: column;
  }

  .about-hero-text,
  .mission-text {
    order: 1;
  }

  .about-hero-image,
  .mission-image {
    order: 2;
  }

  .blog-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    order: -1;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .main-content {
    grid-template-columns: 1fr;
  }

  .sidebar {
    order: -1;
  }

  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }

  #find-job .filter-container {
    flex-direction: column;
  }

  #find-job .filter-sidebar {
    flex: 1;
    width: 100%;
  }

  #find-job .job-list-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  #company-content .main-content {
    flex-direction: column;
  }

  #company-content .filter-section {
    flex: 1;
    width: 100%;
  }

  #register .container {
    flex-direction: column;
    gap: 40px;
  }

  #register .logo-section,
  #register .register-section {
    min-width: 100%;
    max-width: 100%;
  }

  #register .register-card {
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  #hero .floting-icon img {
    max-width: 40px;
  }
  
  #hero .floting-icon .arrow {
    top: 20%;
    left: 5%;
  }
  
  #hero .floting-icon .shpae1 {
    top: 15%;
    right: 5%;
  }
  
  #hero .floting-icon .shpae2 {
    bottom: 15%;
    left: 3%;
  }
  .hero-icon {
    display: none !important;
  }

  #search {
    padding: 30px 20px;
    margin-top: 40px;
  }

  .stat-item .stat-number {
    font-size: 1.8rem;
  }

  #searchform .form-control,
  #searchform select {
    padding-left: 45px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  #categories .single-category {
    width: 45%;
  }

  .input-container {
    margin-bottom: 10px;
  }

  #job::after {
    display: none;
  }

  #job::before {
    display: none;
  }

  .section-heading {
    text-align: center !important;
    flex-direction: column;
    gap: 10px;
  }

  .section-heading h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .faq-header h1 {
    font-size: 2rem;
  }

  .faq-header p {
    font-size: 1rem;
  }

  .search-box {
    flex-direction: column;
    padding: 15px;
    border-radius: 15px;
  }

  .search-box input {
    width: 100%;
    margin-bottom: 10px;
  }

  .search-btn {
    width: 100%;
  }

  .category-tabs {
    gap: 10px;
  }

  .category-tab {
    padding: 10px 18px;
    font-size: 0.9rem;
  }

  .category-title {
    font-size: 1.5rem;
  }

  .faq-question {
    padding: 20px 50px 20px 20px;
    font-size: 1rem;
  }

  .faq-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 20px 0 20px;
    font-size: 0.95rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 20px 20px 20px;
  }

  .contact-cta h2 {
    font-size: 1.6rem;
  }

  .contact-cta p {
    font-size: 1rem;
  }

  .about-hero-title {
    font-size: 32px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .custom-about-btn,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
  }

  .blog-card {
    margin-bottom: 20px;
  }

  .blog-image {
    height: 180px;
  }

  .blog-content {
    padding: 20px;
  }

  .blog-title {
    font-size: 20px;
  }

  .sidebar-widget {
    padding: 20px;
  }

  .featured-image {
    height: 300px;
  }

  .blog-title {
    font-size: 1.8rem;
  }

  .post-meta {
    flex-direction: column;
    gap: 10px;
  }

  #find-job .filter-toggle {
    display: block;
  }

  #find-job .filter-sidebar {
    display: none;
  }

  #find-job .filter-sidebar.active {
    display: block;
  }

  #find-job .job-card2 {
    flex-direction: column;
  }

  #find-job .company-logo {
    align-self: flex-start;
  }

  #find-job .job-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  #find-job .apply-btn {
    width: 100%;
  }

  #company-content .company-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  #login .logo-section {
    display: none;
  }

  #login .login-card {
    padding: 30px 20px;
  }

  #register .logo-section {
    display: none;
  }
}

@media (max-width: 576px) {
  #hero .floting-icon img {
    max-width: 30px;
  }
  
  #hero .floting-icon {
    display: none;
  }
  .hero-icon {
    display: none !important;
  }

  #categories .single-category {
    width: 48%;
  }

  .input-container {
    margin-bottom: 10px;
  }

  .stat-item .stat-number {
    font-size: 1.3rem;
    text-align: left;
  }

  #search .stats {
    gap: 10px;
  }

  #search .stats img {
    width: 30px;
    transition: all 0.3s ease;
  }

  .stat-item .stat-label {
    font-size: 0.9rem;
    text-align: left;
  }

  .section-heading h3 {
    font-size: 24px;
  }

  .section-heading h3:after {
    left: 50%;
    transform: translate(-50%);
  }

  .job-grid {
    grid-template-columns: 1fr;
  }

  .job-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .company-logo {
    margin-bottom: 10px;
  }

  .about-hero {
    padding: 60px 0;
  }

  .mission,
  .values,
  .team {
    padding: 60px 0;
  }

  .about-hero-title {
    font-size: 28px;
  }

  .section-title {
    font-size: 24px;
  }

  .blog-meta {
    flex-direction: column;
    gap: 8px;
  }

  .comment {
    flex-direction: column;
  }

  .recent-post {
    flex-direction: column;
  }

  .recent-post-img {
    width: 100%;
    height: 150px;
  }

  #find-job .page-header h1 {
    font-size: 2rem;
  }

  #find-job .job-meta {
    flex-direction: column;
    gap: 8px;
  }

  #find-job .filter-actions {
    flex-direction: column;
  }

  #company-content .company-grid {
    grid-template-columns: 1fr;
  }

  #company-content .filter-section {
    padding: 20px;
  }

  #register .form-row {
    flex-direction: column;
    gap: 0;
  }

  #register .register-card {
    padding: 30px 20px;
  }

  #register .register-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 478px) {
  .hero-icon {
    display: none !important;
  }

  .input-container {
    margin-bottom: 10px;
  }

  .stat-item .stat-number {
    font-size: 1.3rem;
    text-align: left;
  }

  #search .stats {
    gap: 10px;
  }

  #search .stats img {
    width: 30px;
    transition: all 0.3s ease;
  }

  .stat-item .stat-label {
    font-size: 0.9rem;
    text-align: left;
  }

  .section-heading h3 {
    font-size: 24px;
  }

  .section-heading h3:after {
    left: 50%;
    transform: translate(-50%);
  }

  .faq-header {
    padding: 40px 15px;
  }

  .faq-header h1 {
    font-size: 1.7rem;
  }

  .category-title {
    font-size: 1.3rem;
  }

  .faq-question {
    padding: 18px 45px 18px 15px;
    gap: 10px;
  }

  .faq-question::after {
    right: 15px;
    font-size: 1.5rem;
  }

  #bottom-nav nav {
    display: block;
  }
}

@media (min-width: 576px) {
  #backToTopBtn{
    bottom: 30px !important;
  }

  /* Reverse alignment only for the left side steps */
  .left-side .step {
    flex-direction: row-reverse;
    text-align: right;
  }

  .left-side .step:not(:last-child)::after {
    left: auto;
    right: 19px;
  }

  /* Adjust icon spacing */
  .left-side .step-number {
    margin-left: 10px;
  }

  /* Reverse workflow-header ONLY on left side */
  .left-side .workflow-header {
    flex-direction: row-reverse;
    text-align: right;
  }

  /* Adjust spacing because flex-direction is reversed */
  .left-side .workflow-header h3.workflow-title {
    margin-left: 0;
    margin-right: 15px;
  }

  #how-works .section-heading h3 {
    position: relative;
    display: inline-block;
    /* important */
  }


}

@media (max-width: 850px) {
  #testimonialSlider {
    width: 500px;
  }

  .slide-row {
    width: 2000px;
  }

  #testimonialSlider .slide-col {
    width: 500px;
    height: 250px;
  }

  #testimonialSlider .hero img {
    width: 200px;
  }

  #testimonialSlider .content {
    width: 320px;
    height: 200px;
    padding: 20px;
  }

  #testimonialSlider .content p {
    font-size: 0.9rem;
  }

  #testimonialSlider .content h2 {
    font-size: 1.2rem;
    margin-top: 20px;
  }
}

@media (max-width: 550px) {
  #testimonialSlider {
    width: 300px;
  }

  #testimonialSlider .slide-row {
    width: 1200px;
  }

  #testimonialSlider .slide-col {
    width: 500px;
    height: 300px;
  }

  #testimonialSlider .hero {
    top: 60%;
    height: 100px;
    z-index: 5;
  }

  #testimonialSlider .hero img {
    width: 100px;
  }

  #testimonialSlider .content {
    width: 300px;
  }

  #testimonialSlider .content p {
    font-size: 0.8rem;
  }
}

@media (max-width: 991px) {

  #footer {
    clip-path: ellipse(140% 100% at 50% 100%);
    padding-top: 70px;
    background-size: 70%;
  }

  .footer-logo {
    margin: 0 auto 20px;
    display: block;
  }

  .footer-text {
    text-align: center;
  }

  #social {
    justify-content: center;
  }

  #footer h4 {
    margin-top: 30px;
  }

  .contact-item {
    width: 100%;
  }
}

@media (max-width: 767px) {

  #footer {
    clip-path: ellipse(180% 100% at 50% 100%);
    padding-top: 50px;
    background-size: 90%;
    background-position: center top;
  }

  .footer-logo {
    width: 150px;
  }

  .footer-text {
    padding: 0 15px;
    text-align: center;
  }

  .footer-links a {
    margin: 0 10px;
    display: inline-block;
  }

  .contact-info {
    text-align: left;
    display: inline-block;
    width: 100%;
  }

  .contact-item {
    justify-content: flex-start;
  }
}