/* font family  */

@import url("https://fonts.googleapis.com/css2?family=Holtwood+One+SC&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap");

@font-face {
  font-family: "Roboto";
  src: url("../fonts/fontfamily/Roboto-Black.woff2") format("woff2"),
    url("../fonts/fontfamily/Roboto-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/fontfamily/Roboto-BlackItalic.woff2") format("woff2"),
    url("../fonts/fontfamily/Roboto-BlackItalic.woff") format("woff");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/fontfamily/Roboto-Black.woff2") format("woff2"),
    url("../fonts/fontfamily/Roboto-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/fontfamily/Roboto-LightItalic.woff2") format("woff2"),
    url("../fonts/fontfamily/Roboto-LightItalic.woff") format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/fontfamily/Roboto-BoldItalic.woff2") format("woff2"),
    url("../fonts/fontfamily/Roboto-BoldItalic.woff") format("woff");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/fontfamily/Roboto-Italic.woff2") format("woff2"),
    url("../fonts/fontfamily/Roboto-Italic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/fontfamily/Roboto-Light.woff2") format("woff2"),
    url("../fonts/fontfamily/Roboto-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/fontfamily/Roboto-Thin.woff2") format("woff2"),
    url("../fonts/fontfamily/Roboto-Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/fontfamily/Roboto-MediumItalic.woff2") format("woff2"),
    url("../fonts/fontfamily/Roboto-MediumItalic.woff") format("woff");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/fontfamily/Roboto-ThinItalic.woff2") format("woff2"),
    url("../fonts/fontfamily/Roboto-ThinItalic.woff") format("woff");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/fontfamily/Roboto-Medium.woff2") format("woff2"),
    url("../fonts/fontfamily/Roboto-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/fontfamily/Roboto-Regular.woff2") format("woff2"),
    url("../fonts/fontfamily/Roboto-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* font family  */

/*common css  */

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}


body {
  font-size: 1rem;
  overflow-x: hidden;
  font-family: "Roboto";
}
h1,
h2,
h3,
h4,
h5,
h5,
h6,
ul,
p,
ul,
div,
button {
  margin: 0;
  font-family: "Roboto";
}

button {
  font-family: inherit;
}

ul {
  list-style: none;
}

a,
a:hover {
  text-decoration: none;
}

img {
  max-width: 100%;
  width: 100%;
}

.f-18 {
  font-size: 18px;
}

.f-12 {
  font-size: 12px;
}

.f-26 {
  font-size: 26px;
}
.f-10 {
  font-size: 10px;
}

.br-15 {
  border-radius: 15px;
}

.border-light {
  border-color: rgba(224, 232, 242, 0.6) !important;
}
:root {
  --main-color: #a4cefc;
  --purple-color: #282041;
  --btn-color: #9b3b2b;
  --bg-black: #000;
  --pane-padding: 5px 42px;
  --blue-light: #f0f9ff;
  --bg-orange: #ee5729;
  --grey: #828282;
}

.bg-main{
  background-color: var(--main-color);
}

.text-grey {
  color: var(--grey);
}

.fw-500 {
  font-weight: 500;
}
.fw-600 {
  font-weight: 600;
}

.border-card {
  border-bottom: 1px solid #e0e0e0;
}

.text-orange {
  color: var(--bg-orange);
}

.pt-20 {
  padding-top: 20px;
}

.pb-20 {
  padding-bottom: 20px;
}
.btn-radius {
  border-radius: 8px;
}

.btn-orange {
  background-color: var(--bg-orange);
}

.btn-padding {
  padding: 10px 22px;
}

.border-radius-lg {
  border-radius: 8px;
}

.bg-dark {
  background-color: #000 !important;
}

/* components  */

/*

1) Header 

2) Sections

3) Footer

*/

/* components  */

/* Header css  */
header {
  background-color: #000;
}

.banner {
  min-height: 450px;
}

header .container-xxl {
  max-width: 100%;
}

header .nav-link {
  text-transform: uppercase;
}

header .navbar-brand {
  max-width: 80px;
}

/* Zoom-on-hover + first item larger */
/* Tile frame */
.tile-wrap {
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  /* Base size (SHRUNK) */
  flex: 1 1 160px; /* basis controls width; will wrap as needed */
  height: 220px; /* base height */
  transition: flex-basis 0.35s ease, height 0.35s ease, box-shadow 0.25s ease;
}

/* Grow the WHOLE div when active/hovered */
.tile-wrap.active {
  flex-basis: 320px;
  height: 90% !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

/* Image fills the tile and also zooms a bit for punch */
.tile-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.35s ease;
}
.tile-wrap.active img {
  transform: scale(1.08);
}

.tile-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.85rem;
  color: #fff;
  /* nice readable backdrop */
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 40%,
    rgba(0, 0, 0, 0.55) 100%
  );
  /* start hidden */
  opacity: 0;
  transform: translateY(8%);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Show text on hover/active/focus */
.tile-wrap:hover .tile-caption,
.tile-wrap.active .tile-caption,
.tile-wrap:focus-within .tile-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Text styles (Bootstrap utilities ok) */
.tile-caption h3 {
  color: #fff;
}
.tile-caption p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}
.tile-caption .btn {
  align-self: flex-start;
}

/* default: black & white */
.tile-wrap img {
  filter: grayscale(80%) brightness(0.6);
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.25s ease, filter 0.25s ease;
}

/* color on hover */
.tile-wrap:hover img {
  filter: none;
}

#cr7FlexGallery {
  height: 85vh;
  overflow: hidden;
}
/* Optional: dim non-hovered items for polish */
#cr7Gallery:has(.tile-wrap:hover) .tile-wrap:not(:hover) {
  opacity: 0.95;
  transform: scale(0.98);
}

@media (min-width: 992px) {
  .tile-wrap {
    flex-basis: 160px;
    height: 75%;
  }
  .tile-wrap.active {
    flex-basis: 395px;
    height: 550px;
  }
}

.h-0 {
  height: 0;
  overflow: hidden;
}
/* second section  */

.gallery_carousel .carousel-inner {
  max-height: 100vh;
  height: 100%;
}

.gallery_carousel_img_effects {
  --blur-strength: 16px;
  --dim: 0.5;
  filter: blur(var(--blur-strength)) brightness(var(--dim));
}

.gallery_carousel .carousel-item {
  max-height: 100vh !important;
}

.play-icon {
  width: 0;
  height: 0;
  border-left: 22px solid #000; /* triangle color */
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 4px;
}

/* When playing: hide button & overlay */
.video-card.is-playing .play-btn {
  opacity: 0;
  pointer-events: none;
}
.video-card.is-playing .video-dim {
  opacity: 0;
}

.video-card:not(.is-playing) .video {
  filter: grayscale(80%);
}

/* when playing: show normal color */
.video-card.is-playing .video {
  filter: none;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .video-card .video-dim,
  .video-card .play-btn {
    transition: none;
  }
}

.gallery_carousel .carousel-indicators .active {
  opacity: 1;
  width: 200% !important;
}

.grid {
  display: grid;
}

.grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

.bg-grad {
  background: radial-gradient(
    circle,
    rgba(255, 103, 31, 0.6) 0%,
    rgba(0, 0, 0, 0) 75%
  );
  grid-gap: 1px;
}

.all_dark > * {
  background-color: #000;
  height: 150px;
}

.all_certificates img {
  height: 100%;
  object-fit: contain;
}

header .nav-item .nav-link {
  color: rgba(255, 255, 255, 0.4) !important;
}

header a.nav-link.active.text-white {
  color: #fff !important;
}

header {
  position: sticky;
  top: 0;
  z-index: 9;
}

.bg-red {
  background: #770406 !important;
}

.video-slide {
  position: relative;
}

.video-slide video {
  width: 100%;
  height: 85vh; /* make it full height if you want fullscreen look */
  object-fit: cover; /* keeps video covering without stretching */
}

.video-slide .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* adjust opacity for darkness */
}

.all_videos .carousel-indicators [data-bs-target] {
  flex: 1;
}

.all_videos .carousel-indicators .active {
  flex: 2;
}

.all_videos .carousel-indicators {
  margin-left: 5% !important;
  margin-right: 5% !important;
}

.all_videos .carousel-indicators [data-bs-target] {
  height: 2px;
}

.hover-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.hover-card img {
  transition: transform 0.4s ease;
  width: 100%;
  display: block;
}

.hover-card:hover img {
  transform: scale(1.1);
}

.hover-card .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  transition: transform 0.4s ease;
  padding: 15px;
  text-align: center;
  height: 102px;
}

.video_icon {
  top: 20px;
  left: 20px;
  max-width: 150px;
  z-index: 999;
}

.cvImage {
  max-width: 150px;
  right: 40px;
  top: 40px;
}

.abcdefg_logo {
  height: 150px;
}

.abcdefg_logo img {
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%) contrast(60%) invert(0); /* make it grey */
  transition: filter 0.3s ease; /* smooth transition */
}

.abcdefg_logo img:hover {
  filter: none
}

.abcdefg_bg {
      background: radial-gradient(circle, rgb(31 245 255 / 30%) 0%, rgba(0, 0, 0, 0) 75%);
}

/* .all_grid_styles {
  grid-template-columns: repeat(6, 1fr);
  grid-gap: 1px;
} */
.partners__grid-item {
  padding: 20px;
}

.fancybox__content {
  height: 90vh !important;
}

.carousel_banner #carouselExampleControls .carousel-inner {
  height: 80vh;
  max-height: 500px;
}

.carousel_banner #carouselExampleControls .carousel-inner .carousel-item {
  object-fit: cover;
  object-position: center;
}

.banner_carousel {
  width: 60%;
  z-index: 99;
  margin: auto;
}

.centered {
  position: absolute; /* or fixed */
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  z-index: 8;
}

.banner_carousel h5 {
  font-size: 18px;
  text-transform: uppercase;
}

.banner_carousel p {
  font-size: 70px;
  line-height: 1.1;
  font-family: "Noto Serif", serif;
}

.filter-dark {
  filter: brightness(0.4) contrast(1.1);
}

.internationalCoverage {
  background: #0d0d0d;
  color: #fff;
  overflow: hidden;
}

.quotes-carousel .quote-item {
  background: #1a1a1a;
  color: #e0e0e0;
  border: 1px solid #333;
  padding: 20px 25px;
  border-radius: 12px;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.5;
  font-style: italic;
  transition: all 0.3s ease;
}

.quotes-carousel .quote-item:hover {
  background: #222;
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

/* Owl Carousel arrow styles */
.owl-theme .owl-nav [class*="owl-"] {
  background: transparent !important;
  color: #ccc !important;
  font-size: 2rem !important;
  transition: color 0.3s;
}

.owl-theme .owl-nav [class*="owl-"]:hover {
  color: #fff !important;
}

/* Dots */
.owl-theme .owl-dots .owl-dot span {
  background: #444 !important;
  width: 10px;
  height: 10px;
  margin: 5px 4px;
}

.owl-theme .owl-dots .owl-dot.active span {
  background: #fff !important;
}

.internationalCoverage {
  background: #0d0d0d;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Quote cards */
.quotes-carousel .quote-item {
  background: #1a1a1a;
  color: #e0e0e0;
  border: 1px solid #333;
  padding: 20px 25px;
  border-radius: 12px;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.6;
  font-style: italic;
  transition: all 0.3s ease;
}
.quotes-carousel .quote-item:hover {
  background: #222;
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.owl-nav {
  display: none;
}

.social_icons {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.social_icons div {
  background: #333;
  color: #fff;

  border-radius: 5px 0 0 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 22px;
}

.social_icons a {
      padding: 10px;
      display:inline-block;
}
.social_icons div:hover {
  background: #007bff; /* or your brand color */
  transform: translateX(-5px);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #121212;
}

footer {
  margin-top: auto;
}


.contact-form {
  background-color: #1e1e1e;
  border-radius: 10px;
  padding: 20px 30px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  margin: auto;
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #a4cefe;
}

.form-control {
  background-color: #2a2a2a;
  border: 1px solid #444;
  color: #fff;
}

.form-control:focus {
  background-color: #2a2a2a;
  border-color: #0dcaf0;
  box-shadow: none;
  color: #fff;
}

.btn-custom {
  background-color: #a4cefe;
  color: #121212;
  font-weight: 600;
  border: none;
  width: 100%;
  padding: 12px;
  transition: all 0.3s ease;
}

.btn-custom:hover {
  background-color: #2d8ceb;
  color: #fff;
}

label {
  font-weight: 500;
  color: #ccc;
}

.bg_contact{
  background-image: url(../images/golfing/GOLFING_BEST_B.webp);
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
}

.bg-right-contact{
  background-color:#1e1e1e
}

.h-contact,.about{
min-height: calc(100vh - 148px);
}


.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(../images/Jamie_best_logo.webp) center / 50% no-repeat;
  opacity: .1;         
  pointer-events: none;
  z-index: 0;
}

.about > * {               
  position: relative;
  z-index: 1;
}

.all_grid_styles {
  display: flex;
  flex-wrap: wrap;
  grid-gap:1px
}

.all_grid_styles > div{
  width:18%
}

.highlight{
color: red;
  font-weight: bold;
}
.owl-dots {
    display:none;
}
@media screen and (min-width:1200px) and (max-width:1264px){
    .banner{
        padding:30px 0;
        min-height:auto !important;
    }
}

@media (min-width:768px) and (max-width:1200px){
    .all_grid_styles > div {
    flex: 1 1 26%;
}
 .centered {
     transform:translate(-50%, -90%);
 }

}
@media screen and (min-width:769px) and (max-width:991px){
    #cr7FlexGallery{
    height:auto !important;
    }
.banner {
    min-height: auto !important;
}
.carousel-text{
    font-size:50px;
}
 .tile-wrap {
    flex: 0 1 160px !important; /* basis controls width; will wrap as needed */
  }
}

@media screen and (max-width:768px){
    .all_grid_styles > div {
    flex: 1 1 49%;
}
#cr7FlexGallery{
    height:auto !important;
    }
.banner {
    min-height: auto !important;
}

}
@media screen and (min-width:535px) and (max-width:768px){
     .centered {
     transform:translate(-50%, -88%) !important;
 }
 .banner_carousel p{
    font-size:40px !important;
    line-height:50px !important;
}
.carousel_banner #carouselExampleControls .carousel-inner {
    height:auto !important;
}
 .tile-wrap {
    flex: 0 1 160px !important; /* basis controls width; will wrap as needed */
  }
}
@media screen and (min-width:430px) and (max-width:535px){
      .centered {
     transform:translate(-50%, -100%) !important;
 }
 .banner_carousel p{
    font-size:20px !important;
    line-height:30px !important;
}
#carouselExampleControls {
    height:320px;
}
 .tile-wrap {
    flex: 0 1 160px !important; /* basis controls width; will wrap as needed */
  }
}

@media screen and (min-width:320px) and (max-width:429px){
      .centered {
     transform:translate(-50%, -150%) !important;
 }
 .banner_carousel p{
    font-size:20px !important;
    line-height:30px !important;
}
#carouselExampleControls {
    height:214px;
}
 .tile-wrap {
    flex: 0 1 160px !important; /* basis controls width; will wrap as needed */
  }
}


.marquee-wrapper {
    position: absolute;            /* stays on screen */
                 /* vertically centered */
    transform: translateY(-50%);
    animation: bounce 10s linear infinite alternate;
    z-index:999;
}

.marquee-container {
    /*  width: 120px;*/
    /*    height: 120px;*/
    /*overflow: hidden;*/
    /*position: relative;*/
    /*border-radius: 50%;*/
    /*display: flex;*/
    /*justify-content: center;*/
    /*align-items: center;*/
    /*text-align: center;*/
    /*    border: none;*/
}

.marquee-container a{
    line-height:1.2;
}

@media (max-width:524px){
    .marquee-wrapper {
    position: absolute;
    transform: translateY(-50%);
    z-index: 999;
    left: 40%;
       
}
.marquee-container {
      width: 45px;
        height: 50px;
        

}
}

@media (min-width:524px){
    .marquee-wrapper {
    position: absolute;
    transform: translateY(-50%);
    z-index: 999;
    left: 30%;
       
}
.marquee-container {
      width: 45px;
        height: 50px;

}
}

@media (min-width:732px){
    .marquee-wrapper {
    left: 43%;
       
}

}

@media (min-width:915px){
    .marquee-wrapper {
    left: 35%;
       
}

}


@media (min-width:992px){
    .marquee-wrapper {
    position: absolute;
    transform: translateY(-50%);
    z-index: 999;
    left: 29%;
       
}
}


@media (min-width:1266px){
    .marquee-wrapper {
    position: absolute;
    top: 22%;
    left: 25vw;
    transform: translateY(-50%);
    animation: bounce 10s 
linear infinite alternate;
    z-index: 999;
}
}

.marquee-container a img {
   filter: grayscale(100%)!important;
   opacity: 0.7!important;
}
