/* Media Queries */

/* Default state for hamburger menu icons */
.closeIcon {
  display: none !important;
}

.menuIcon {
  display: inline-block;
  font-size: 24px;
  color: #fff;
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: 'liga';
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* ----------------------------- */
/* 1. 425px وأقل */
@media screen and (max-width: 425px) {
  #charcoal-animation {
    height: 100vh;
  }

  /* Diamond Background */
  .diamond-background {
    width: 250px;
    height: 250px;
  }

  .special-tag {}

  .btn {}

  .hero-title {}

  .store-card-image {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
  }
}

/* ----------------------------- */
/* 2. 480px وأقل */
@media (max-width: 480px) {

  /* Hero Section */
  .hero-heading {
    font-size: 1.8rem;
  }

  .hero-tagline {
    font-size: 0.9rem;
  }

  /* Navbar */
  .navbar {
    padding: 0.3rem;
  }

  .navbar img {
    width: 30px;
    height: 35px;
  }

  .navbar a {
    font-size: 0.8rem;
    padding: 0.3rem;
    margin: 0 0.3rem;
  }

  .navbar-site-name {
    font-size: 0.85rem;
  }

  /* Hamburger icon centering */
  .hamburger {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .menuIcon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto;
  }

  /* Background Video */
  .background-video {
    height: 100vh;
  }

  /* Store Categories Section */
  .store-section-title {
    font-size: 1.8rem;
  }

  .store-section-subtitle {
    font-size: 0.9rem;
  }

  .store-cards-container {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 15px;
  }

  .view-all-categories {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  /* Location Section */
  .location-content h2 {
    font-size: 1.8rem;
  }

  .location-content p {
    font-size: 0.9rem;
  }

  .location-info {
    padding: 0.6rem;
  }

  .map-container {
    height: 250px;
  }

  /* Diamond Background */
  .diamond-background {
    width: 550px;
    height: 550px;
  }

  .special-tag {
           position: absolute;
        top: 14px;
        left: 22px;
        font-size: .9rem;
        line-height: 1rem;
  }

  .btn {
    position: relative;
    top: 0px;
    right: -3px;
    font-size: 0.5rem;
    border-radius: 90px;
    font: caption;
  }

  .hero-title {
    position: relative;
    top: 42px;
  }

  .hero-subtitle {
    position: relative;
    top: 30px;
  }

  /* Slider Section */
  .slider-section {
    height: 550px;
  }

  .slide img {
    width: 260px;
    height: 200px;
  }

  .slide-content {
    max-width: 260px;
  }

  .slide-content h2 {
    font-size: 1.6rem;
  }

  .slider-arrow,
  .arrow-container,
  .arrow-down {
    width: 22px;
    height: 22px;
  }

  .arrow-container {
    margin-top: 30px;
    left: -41%;
  }

  .arrow-down i,
  .slider-arrow {
    font-size: 0.9rem;
  }

  .store-card-image {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
  }

  .marquee-text span {
    font-size: 1.2rem;
    animation: marquee 17s linear infinite;
  }

  .diamond-background {
    width: 220px;
    height: 220px;
  }
}

/* ----------------------------- */
/* 3. 616px وأقل */
@media (max-width: 616px) {
  .store-cards-container {
    display: grid;
  }
}

/* ----------------------------- */
/* 4. 768px وأقل */
@media (max-width: 768px) {

  /* Navbar */
  .navbar {
    padding: 0.5rem;
  }

  .navbar img {
    width: 40px;
    height: 40px;
  }

  .navbar a {
    font-size: 0.9rem;
    padding: 0.5rem;
    margin: 0 0.5rem;
  }

  /* Hero Section */
  .hero-content {
    padding: 1rem;
  }

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

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

  /* Background Video */
  .background-video {
    height: 100vh;
    width: 100%;
    object-fit: cover;
    object-position: center;
    max-width: 100vw;
    max-height: 100vh;
  }

  /* Services Section */
  .cards-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .service-card {
    padding: 1.5rem;
    height: 300px;
  }

  /* Override for smaller screens */
  @media screen and (max-width: 375px) {
    .service-card {
      padding: 1.5rem !important;
      height: 288px !important;
      min-height: 288px !important;
      max-height: 288px !important;
    }
  }

  .card-title {
    font-size: 1.2rem;
  }

  .card-description {
    font-size: 0.9rem;
  }

  /* Industry Section */
  .industry-section .container {
    flex-direction: column;
  }

  .industry-right {
    padding: 2rem 1rem;
    padding-left: 0;
    margin-top: 3rem;
  }

  .image-container {
    margin-bottom: 2rem;
    margin: 0 auto;
  }

  .years-badge {
    padding: 1rem;
    transform: translate(0%, -15%);
  }

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

  .cta-section {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .or-text {
    margin: 0.5rem 0;
  }

  /* Team Section */
  .team-section .container {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .left-content {
    text-align: center;
    max-width: 100%;
  }

  .team-photo-container {
    width: 100%;
    max-width: 100%;
  }

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

  .team-member {
    padding: 1rem;
    text-align: center;
  }

  .main-heading {
    font-size: 36px;
  }

  /* Slider Section */
  .slider-section {
    padding: 2rem 1rem;
    height: 500px;
  }

  .slide {
    flex-direction: column;
    gap: 1rem;
    padding: 20px;
  }

  .slide img {
    width: 300px;
    height: 240px;
    max-width: 300px;
  }

  .slide-content {
    text-align: center;
    padding: 1rem;
    width: 100%;
    max-width: 300px;
    transform: translateY(20px);
  }

  .slide.active .slide-content {
    transform: translateY(0);
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  /* Store Categories Section */
  .store-categories-section {
    padding: 3rem 1rem;
  }

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

  .store-section-subtitle {
    font-size: 1rem;
    padding: 0 20px;
  }

  .store-cards-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .store-card-content {
    padding: 1rem;
  }

  .store-card-title {
    font-size: 1.2rem;
  }

  /* Location Section */
  .location-section {
    padding: 3rem 1rem;
  }

  .location-content h2 {
    font-size: 2rem;
  }

  .location-content p {
    font-size: 1rem;
  }

  .location-info {
    padding: 0.8rem;
  }

  .location-info i {
    font-size: 1.2rem;
  }

  .location-info span {
    font-size: 0.9rem;
  }

  .map-container {
    height: 300px;
  }

  /* WhatsApp Button */
  .floating-whatsapp {
    width: 50px;
    height: 50px;
    right: 20px;
    bottom: 20px;
  }

  .floating-whatsapp i {
    font-size: 1.5rem;
  }

  .section-whatsapp {
    width: 45px;
    height: 45px;
    right: 20px;
    bottom: 20px;
  }

  .section-whatsapp i {
    font-size: 22px;
  }

  /* Diamond Background */
  .diamond-background {
    width: 800px;
    height: 800px;
  }

  .special-tag {
    padding: 8px 19px;
  }

  .btn {
    border-radius: 10px;
    padding: 10px 25px;
    font-size: 0.65rem;
  }

  .hero-title {}

  .diamond-nav {
    left: 30px;
  }

  .cta-buttons {
    gap: 15px;
  }

  .btn {
    font-size: 0.95rem;
    padding: 10px 15px;
  }

  .btn-secondary {
    font-size: 0.95rem;
    padding: 10px 15px
  }

  .hamburger {
    display: block;
    position: fixed;
    z-index: 9999;
    top: 4px;
    right: auto;
    left: 1rem;
    padding: 5px;
    border: 1.5px solid #333;
    background: linear-gradient(to right, rgb(200 135 17 / 80%), rgb(2 2 2 / 80%));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    cursor: pointer;
  }

  .menu {
    position: fixed;
    transform: translateY(-100%);
    transition: transform 0.2s;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    background: black;
    color: white;
    list-style: none;
    padding-top: 4rem;
  }

  .showMenu {
    transform: translateY(0);
  }

  .menuItem {
    display: block;
    margin: 2rem 4rem;
    font-size: 1.8rem;
    color: white;
    text-decoration: none;
  }

  .menuItem:hover {
    text-decoration: underline;
  }

  .closeIcon {
    display: none;
  }

  .menuIcon {
    display: block;
  }

  .navbar-links {
    display: none !important;
  }

  .menu {
    right: 0;
    left: 0;
    direction: rtl;
    text-align: right;
  }

  .menuItem {
    text-align: right;
    font-size: 1.5rem;
    margin: 2rem 2rem;
  }

  .hero-title {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
  }

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

  .btn {
    padding: 10px 10px;
    font-size: 0.75rem;
    border-radius: 90px;
  }

  .btn-secondary {
    padding: 10px 15px;
    font-size: 0.95rem;
  }

  .slider-arrow,
  .arrow-container,
  .arrow-down {
    width: 30px;
    height: 30px;
  }

  .arrow-container {
    margin-top: 10px;
    left: -37%;
  }

  .arrow-down i,
  .slider-arrow {
    font-size: 1rem;
  }

  .slide img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: 0 auto;
    min-height: 450px;
  }

  .store-card-image {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
  }

  .store-cards-container {
    /* display: flex; */
  }
}

/* ----------------------------- */
/* 5. 1024px وأقل */
@media screen and (max-width: 1024px) {
  .industry-section .image-container {
    max-width: 320px;
  }
  #charcoal-animation {
    height: 100vh;
  }

  /* Diamond Background */
  .diamond-background {
    width: 600px;
    height: 600px;
  }

  .special-tag {}

  .btn {}

  .hero-title {}

  .store-card-image {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
  }
}

/* ----------------------------- */
/* 6. 1200px وأقل */
@media (max-width: 1200px) {
  .industry-section .image-container {
    max-width: 350px;
  }
  .store-cards-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .cards-container {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }

  /* Diamond Background */
  .diamond-background {
    width: 1000px;
    height: 1000px;
  }

  .special-tag {}

  .btn {}

  .hero-title {}

  .slider-arrow,
  .arrow-container {}

  .arrow-down {
    display: none;
  }

  .arrow-down i,
  .slider-arrow {
    font-size: 1.1rem;
  }

  .store-card-image {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
  }
}

/* ----------------------------- */
/* 7. 1440px وأقل */
@media screen and (max-width: 1440px) {
  #charcoal-animation {
    height: 100vh;
  }

  /* Diamond Background */
  .diamond-background {
    width: 620px;
    height: 620px;
  }

  /* تصغير صورة صناعة الفحم على اللابتوب */
  .industry-section .image-container {
    max-width: 380px;
  }

  .special-tag {}

  .btn {}

  .hero-title {}

  .store-card-image {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
  }
}

/* ----------------------------- */
/* 8. 1920px وأقل */
@media screen and (max-width: 1920px) {
  #charcoal-animation {
    height: 100vh;
  }

  /* Diamond Background */
  .diamond-background {
    width: 1200px;
    height: 1200px;
  }

  .special-tag {}

  .btn {
    border-radius: 42px;
  }

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

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

  .hero-content {
    padding: 1rem;
    max-width: 100%;
    top: 0;
  }

  .store-card-image {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
  }
}

/* ----------------------------- */
/* 9. min-width: 769px */
@media (min-width: 769px) {

  .hamburger,
  .menu {
    display: none !important;
  }

  .navbar-links {
    display: flex !important;
  }
}

/* ----------------------------- */
/* 10. Diamond Background Responsive (مجمعة) */
@media screen and (max-width: 1920px) and (min-width: 1441px) {
  .diamond-background {
    width: 500px;
    height: 500px;
  }
}

@media screen and (max-width: 1440px) and (min-width: 1201px) {
  .diamond-background {
    width: 620px;
    height: 620px;
  }
}

@media (max-width: 1200px) and (min-width: 1025px) {
  .diamond-background {
    width: 500px;
    height: 500px;
  }
}

@media screen and (max-width: 1024px) and (min-width: 769px) {
  #charcoal-animation {
    height: 100vh;
  }

  .diamond-background {
    width: 400px;
    height: 400px;
  }
}

@media (max-width: 768px) and (min-width: 481px) {
  .diamond-background {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 480px) {
  .diamond-background {
    width: 220px;
    height: 220px;
  }
}

/* ----------------------------- */
/* 11. Product Image Responsive (مجمعة) */
.store-card-image {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}



.slide img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  min-height: 450px;
}

.slide-content {
  display: none;
}

@keyframes marquee {
  100% {
    transform: translateX(100%);
  }

  0% {
    transform: translateX(-100%);
  }
}

/* ----------------------------- */
/* Spark Image Responsive Queries */
@media (max-width: 480px) {
  .spark-image {
    width: 40% !important;
    bottom: -5% !important;
    right: -1% !important;
    border: 4px solid rgb(200 135 17 / 80%) !important;
    box-shadow: 4px 4px 0 rgba(255, 107, 53, 0.2) !important;
  }
}

@media (max-width: 425px) {
  .spark-image {
    width: 35% !important;
    bottom: -12% !important;
    right: -6% !important;
    border: 3px solid rgb(200 135 17 / 80%) !important;
    box-shadow: 3px 3px 0 rgba(255, 107, 53, 0.2) !important;
  }
}

@media (max-width: 376px) {
  .navbar-site-name {
    display: none;
  }
  .spark-image {
    width: 39% !important;
    bottom: -4% !important;
    right: 0% !important;
    border: 3px solid rgb(200 135 17 / 80%) !important;
    box-shadow: 3px 3px 0 rgba(255, 107, 53, 0.2) !important;
  }
}

@media (max-width: 320px) {
  .spark-image {
            width: 43% !important;
        bottom: 1% !important;
        right: 0% !important;
    border: 2px solid rgb(200 135 17 / 80%) !important;
    box-shadow: 2px 2px 0 rgba(255, 107, 53, 0.2) !important;
  }
}

/* ----------------------------- */
/* Hero Title and Subtitle for Large Screens (1024px and up) */
@media screen and (min-width: 1024px) {
  .hero-title {
    font-size: clamp(4rem, 0vw, 8rem) !important;
    margin-bottom: -12px !important;
  }

  .hero-subtitle {
    font-size: clamp(2.5rem, 5vw, 2rem) !important;
    margin-bottom: 20px !important;
  }
}

/* ----------------------------- */
/* Hero Title and Subtitle for Extra Large Screens (1440px and up) */
@media screen and (min-width: 1440px) {
  .hero-title {
    font-size: clamp(4rem, 0vw, 8rem) !important;
    margin-bottom: -12px !important;
  }

  .hero-subtitle {
    font-size: clamp(2.5rem, 5vw, 3rem) !important;
    margin-bottom: 20px !important;
  }
}


.arrow-down {
  display: none;
}


@media (max-width: 426px) {
  .diamond-background {
    width: 300px;
    height: 300px;
  }
}


@media (max-width: 320px) {
  .diamond-background {
    width: 220px;
    height: 220px;
  }
}