﻿/* Home hero slider styles (moved from inline CSS in index.php) */

.hero-slider .container {
      width: 100%;
      max-width: 1200px;
      padding-right: 15px;
      padding-left: 15px;
      margin-right: auto;
      margin-left: auto;
    }
    /*--------------------------------------------------------------
      # Hero Slider
    --------------------------------------------------------------*/
    .hero-slider {
      width: 100%;
      height: 700px;
      display: flex;
      position: relative;
      z-index: 0;
    }

    .hero-slider .swiper-slide {
      overflow: hidden;
      color: #fff;
    }

    .hero-slider .swiper-container {
      width: 100%;
      height: 100%;
      position: absolute;
      left: 0;
      top: 0;
    }

    .hero-slider .slide-inner {
      width: 100%;
      height: 100%;
      position: absolute;
      left: 0;
      top: 0;
      z-index: 1;
      background-size: cover;
      background-position: center;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: left;
    }

    /* Home slide background images (avoid inline styles and JS injection). */
    .hero-slide--laptop { background-image: url('/images/laptop.jpg'); }
    .hero-slide--job { background-image: url('/images/job.jpg'); }
    .hero-slide--pro { background-image: url('/images/pro.jpg'); }

    .hero-slider .swiper-button-prev,
    .hero-slider .swiper-button-next {
      background: transparent;
      width: 55px;
      height: 55px;
      line-height: 53px;
      margin-top: -30px;
      text-align: center;
      border: 2px solid #d4d3d3;
      border-radius: 55px;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }

    .hero-slider:hover .swiper-button-prev,
    .hero-slider:hover .swiper-button-next {
      transform: translateX(0);
      opacity: 1;
      visibility: visible;
    }

    .hero-slider .swiper-button-prev {
      left: 25px;
      transform: translateX(50px);
    }

    .hero-slider .swiper-button-prev:before {
      font-family: "Font Awesome 5 Free";
      content: "\f060";
      font-size: 15px;
      color: #d4d3d3;
      font-style: normal;
      display: inline-block;
      vertical-align: middle;
      font-weight: 900;
    }

    .hero-slider .swiper-button-next {
      right: 25px;
      transform: translateX(-50px);
    }

    .hero-slider .swiper-button-next:before {
      font-family: "Font Awesome 5 Free";
      content: "\f061";
      font-size: 15px;
      color: #d4d3d3;
      font-style: normal;
      display: inline-block;
      vertical-align: middle;
      font-weight: 900;
    }

    .hero-slider .swiper-pagination-bullet {
      width: 12px;
      height: 12px;
      text-align: left;
      line-height: 12px;
      font-size: 12px;
      color: #ffffff;
      opacity: 0.3;
      background: #fff;
      transition: all 0.2s ease;
    }

    .hero-slider .swiper-pagination-bullet-active {
      opacity: 1;
    }

    .hero-slider .swiper-container-horizontal > .swiper-pagination-bullets,
    .hero-slider .swiper-pagination-custom,
    .hero-slider .swiper-pagination-fraction {
      bottom: 30px;
    }

    .swiper-pagination {
      text-align: left;
    }

    .hero-slider .swiper-container-horizontal > .swiper-pagination-bullets {
      bottom: 50px;
      max-width: 1200px;
      padding: 0 15px;
      margin: 0 auto;
      left: 50%;
      transform: translateX(-50%);
    }

    /*--------------------------------------------------------------
      # Hero Style
    --------------------------------------------------------------*/
    .hero-style {
      height: 850px;
      transition: all 0.4s ease;
    }

    .hero-style .slide-title,
    .hero-style .slide-text,
    .hero-style .slide-btns {
      max-width: 90%;
    }

    .hero-style .slide-title h1,
    .hero-style .slide-title h2 {
      opacity: 0.95;
      font-family: "Poppins", sans-serif;
      font-size: 2.3rem;
      font-weight: 700;
      line-height: 1.2;
      color: #ffffff;
      margin: 0 0 18px;
      transition: all 0.4s ease;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }

    .hero-style .slide-text p {
      opacity: 0.92;
      font-family: "Poppins", sans-serif;
      font-size: 1.15rem;
      font-weight: 400;
      line-height: 1.6;
      color: #ffffff;
      margin: 0 0 28px;
      transition: all 0.4s ease;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }

    .hero-style .slide-btns > a:first-child {
      margin-right: 10px;
      margin-bottom: 10px;
    }

    .hero-style .slide-btns {
      display: flex;
      flex-wrap: wrap;
    }

    /*--------------------------------------------------------------
      # Button Style
    --------------------------------------------------------------*/
    .theme-btn,
    .theme-btn-s2 {
      background-color: #ffffff;
      font-size: 1.25rem;
      font-weight: 500;
      line-height: 1.4;
      text-align: center;
      color: #2b3b95;
      padding: 9px 32px;
      border: 0;
      border-radius: 3px;
      text-transform: uppercase;
      display: inline-block;
      transition: all 0.4s ease;
    }

    a {
      text-decoration: none;
      transition: all 0.2s ease;
    }

    .theme-btn-s2 {
      background-color: rgba(255, 255, 255, 0.9);
      color: #131e4a;
    }

    .theme-btn:hover,
    .theme-btn-s2:hover,
    .theme-btn:focus,
    .theme-btn-s2:focus,
    .theme-btn:active,
    .theme-btn-s2:active {
      background-color: #ffd700;
      color: #fff;
    }

    .theme-btn-s3 {
      font-size: 1rem;
      font-weight: 500;
      line-height: 1.5;
      color: #ffffff;
      text-transform: uppercase;
      padding: 9px 20px;
      display: inline-block;
    }

    .theme-btn-s3:hover {
      color: #000000;
      opacity: 50%;
      background-color: #ffffff;
      padding: 9px 20px;
      border-radius: 3px;
    }

    i.fa-chevron-circle-right {
      height: 22px;
      width: 22px;
    }

    a:hover {
      text-decoration: none;
    }

    /* Responsive styles */
    /* Tablet View (768px - 991px) */
    @media (max-width: 991px) {
      .hero-slider, .hero-style {
        height: 600px;
      }

      .hero-style .slide-title h1,
      .hero-style .slide-title h2 {
        font-size: 1.7rem;
        margin: 0 0 16px;
      }

      .hero-style .slide-text p {
        font-size: 1rem;
        margin: 0 0 22px;
      }

      .theme-btn,
      .theme-btn-s2,
      .theme-btn-s3 {
        font-size: 0.9rem;
        padding: 8px 20px;
      }

      .hero-slider .swiper-container-horizontal > .swiper-pagination-bullets {
        bottom: 30px;
      }
    }

    /* Mobile View (320px - 767px) */
    @media (max-width: 767px) {
      .hero-slider, .hero-style {
        height: 500px;
      }

      .hero-style .slide-title h1,
      .hero-style .slide-title h2 {
        font-size: 1.25rem;
        font-weight: 700;
        margin: 0 0 12px;
      }

      .hero-style .slide-text p {
        font-size: 0.95rem;
        margin: 0 0 18px;
      }

      .theme-btn,
      .theme-btn-s2 {
        padding: 8px 15px;
        font-size: 0.8rem;
      }

      .theme-btn-s3 {
        font-size: 0.8rem;
        padding: 8px 15px;
      }

      .hero-slider .swiper-button-prev,
      .hero-slider .swiper-button-next {
        display: none;
      }
      
      .hero-style .slide-btns {
        flex-direction: column;
      }
      
      .hero-style .slide-btns > a {
        margin-bottom: 10px;
        text-align: center;
      }
      
      .hero-style .slide-btns > a:first-child {
        margin-right: 0;
      }
    }

    /* Small Mobile View (320px - 480px) */
    @media (max-width: 480px) {
      .hero-style .slide-title h1,
      .hero-style .slide-title h2 {
        font-size: 1.1rem;
        margin-bottom: 10px;
      }

      .hero-style .slide-text p {
        font-size: 0.9rem;
        margin-bottom: 16px;
      }
      
      .theme-btn, .theme-btn-s2, .theme-btn-s3 {
        padding: 6px 12px;
        font-size: 0.75rem;
      }
    }

