/**

 * Theme Name:     Hello Elementor Child
 * Author:         Elementor Team
 * Template:       hello-elementor
 * Text Domain:	   hello-elementor-child
 * Description:    Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
 */




 /* Hide default cursor */


/* Custom circle cursor */




/* Default (desktop horizontal accordion) */

.country-section { 
  display: flex; 
  height: 350px; 
  overflow: hidden; 
  gap: 15px;
}
.country-card { 
  position: relative; 
  flex: 1; 
  transition: flex 0.6s ease-in-out; 
  cursor: pointer; 
  overflow: hidden; 
  border-radius: 10px;
}
.country-card img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  position: absolute; 
  transition: transform 0.6s ease-in-out; 
}
.country-card:hover { flex: 3; }
.country-card:hover img { transform: scale(1.1); }
.overlay { 
  position: absolute; 
  bottom: 0; left: 0; right: 0; 
  padding: 20px; 
  background: linear-gradient(to top, rgba(0,0,0,.8), transparent); 
  opacity: 0; 
  transition: opacity 0.5s ease-in-out; 
}
.country-card:hover .overlay { opacity: 1; }

.overlay h2 {
    margin: 0;
    font-size: 25px;
    color: #fff;
    z-index: 99;
    position: relative;
}
.overlay p {
    margin: 10px 0 0;
    font-size: 16px;
    color: #fff;
    z-index: 99;
    position: relative;
}
.vertical-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 24px;
    color: #fff;
    transition: opacity 0.4s ease-in-out;
    z-index: 99 ;
}
.country-card:hover .vertical-text { opacity: 0; }
/* .country-card:before {
    content: '';
    background: #00000033; 
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
} */
.country-card:hover::before{
        background: #0000004d;

}


#headerMain , #headerMainMobile {
  width: 100%;
  position: relative; /* default */
  top: 0;
  transition: all 0.3s ease;
  z-index: 1000;
  width: 100%;
}

body .fixed-header {
    position: fixed !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 9999 ;
}
.ehf-header #masthead {
    z-index: 9999 !important;
}

.newsalterMain label {
    width: 100%;
}
.newsalterMain input.wpcf7-form-control.wpcf7-submit.has-spinner {
    background-color: #C55000;
    transition-duration: 2s;
    padding: 10px 28px 9px 28px;
    width: 53%;
    color: #fff;
    border: 0 !important;
}
.newsalterMain .wpcf7 form.sent .wpcf7-response-output{
  border-color: #C55000 !important;
  color: #fff !important;
}

/* ✅ Mobile vertical hover accordion */
@media (max-width: 768px) {
  .country-section {
    flex-direction: column;
    height: auto;
  }
  .country-card {
    flex: none;
    height: 200px; /* collapsed height */
    transition: height 0.6s ease-in-out;
  }
  .country-card img {
    position: absolute;
    height: 100%;
  }
  .country-card:hover {
    height: 400px; /* expanded height on hover */
  }
  .vertical-text {
    writing-mode: horizontal-tb;
    transform: none;
    position: absolute;
    bottom: 10px;
    left: 20px;
    font-size: 18px;
  }
}

body .slick-dots li.slick-active button:before {
    opacity: 1;
    color:#c55000 ;
}
body .slick-dots li button:hover, body .slick-dots li button:focus{
  background-color: transparent;
}
body .slick-dots li button:before {
    font-family: 'slick';
    font-size: 75px;
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 33px;
    height: 20px;
    content: '-';
    text-align: center;
    opacity: 1;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.cards-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* ✅ Always 4 on desktop */
  gap: 20px;
}

/* Card Styles same as before */
.card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 330px !important;
  background: linear-gradient(135deg, #C55000, #E8A24D);
;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: all 0.4s ease;
  margin: 0px 0px;
}

/* Background image */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  z-index: 1;
}

/* Overlay */
/* .card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  transition: opacity 0.4s ease;
  z-index: 2;
} */

/* Content */
.card .content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  z-index: 3;
  text-align: center;
  background: transparent;
  transition: background 0.4s ease;
}

.card .title {
    font-size: 18px;
    color: #fff;
    margin: 0;
    font-weight: 600;
    line-height: 25px;
    position: relative;
    z-index: 3;
}

/* Copy + Button hidden by default */
.card .copy,
.card .btn {
  display: none;
	
}

/* Copy */
.card .copy {
  font-size: 13px;
  margin: 10px 0;
  line-height: 1.4;
  color: #000;
	max-height: 170px;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Button */
.card .btn {
  background: #c55000;
  color: #fff;
  border: none;
  padding: 13px 18px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.3s ease, transform 0.3s ease;
}

.card .btn:hover {
  background: #ff9966;
  transform: scale(1.05);
}

/* Hover Effects */
.card:hover::before {
  transform: translateY(100%);
}

.card:hover::after {
  opacity: 0;
}

.card:hover .content {
    background: transparent;
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.card:hover .title {
  color: #000;
}

.card:hover .copy,
.card:hover .btn {
  display: block;
}

body .newSliderCard {
    width: 25%;
    padding: 16px;
    background: #fff;
    border-radius: 10px;
    height: 100%;
    min-height: 444px;
}
.newSliderCard h3{
  color:#000 ;
  font-size: 25px;
  text-transform: capitalize;
}
.newSliderMainWrapper .slick-track {
    display: flex;
    align-items: stretch;
    gap: 10px;
}
.newSliderCard img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
}
.newSliderCard p{
  font-size: 16px;
  line-height: 1.5;
  color: #000;
}

/* Responsive breakpoints */
@media (max-width: 1200px) {
  .cards-container {
    grid-template-columns: repeat(3, 1fr); /* ✅ 3 cards */
  }
}

@media (max-width: 900px) {
  .cards-container {
    grid-template-columns: repeat(2, 1fr); /* ✅ 2 cards */
  }
}

@media (max-width: 600px) {
  .cards-container {
    grid-template-columns: 1fr; /* ✅ 1 card */
  }

  .card {
    height: 350px;
  }
}
