/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/


.greentiq-video-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.greentiq-video-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

/* Video */
.greentiq-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none; /* disables native controls */
}

/* Play/Pause button */
.greentiq-toggle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: none;
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index: 5;
  transition: .15s ease;
}
.greentiq-toggle:hover {
  background: rgba(255,255,255,0.22);
  transform: translate(-50%, -50%) scale(1.06);
}

/* Icons */
.greentiq-toggle .play-icon { display: block; width: 34px; height: 34px; color:#fff; }
.greentiq-toggle .pause-icon { display: none; width: 34px; height: 34px; color:#fff; }

/* Caption */
.greentiq-video-caption {
  margin-top: 10px;
  font-size: 15px;
  color:#222;
  text-align:right;
  width:100%;
}

/* Mobile — center align everything */
@media(max-width: 991px) {
  .greentiq-video-card {
    align-items: center;
  }
  .greentiq-video-caption {
    text-align: center;
  }
}

/* Increase video size & add green rounded border */
.greentiq-video-wrap,
.feature-video-wrapper,
.your-video-class {       /* whichever class your video wrapper uses */
    max-width: 520px !important;   /* Increase overall video size */
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 18px;            /* smooth round corners */
    /* border: 4px solid #24ef9b;       */
    overflow: hidden;               /* keeps video inside rounded border */
}

/* Ensure right alignment on desktop */
@media (min-width: 992px) {
    .greentiq-video-card,
    .feature-video-box {
        display: flex;
        justify-content: flex-end;
    }
}

/* Mobile – keep centered */
@media (max-width: 991px) {
    .greentiq-video-card,
    .feature-video-box {
        display: flex;
        justify-content: center;
    }
}


/* Video wrapper inside modal */
.modal-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    margin-bottom: 15px;
}

/* Video fills wrapper */
.modal-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none; /* disables default controls */
}

/* Play / Pause button */
.modal-video-toggle {
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    width:72px;
    height:72px;
    border-radius:50%;
    background:rgba(255,255,255,0.15);
    border:none;
    cursor:pointer;
    display:flex;
    justify-content:center;
    align-items:center;
    transition:.15s ease;
}
.modal-video-toggle:hover {
    background:rgba(255,255,255,0.25);
    transform:translate(-50%,-50%) scale(1.06);
}

/* Icons */
.modal-video-toggle .play-icon { 
    display:block; 
    width:34px; height:34px; 
    color:white; 
}
.modal-video-toggle .pause-icon { 
    display:none; 
    width:34px; height:34px; 
    color:white; 
}

/* Default (mobile & tablet) — keep your current modal size */
#modal-dialog {
    max-width: 90%;
    width: 90%;
}

/* DESKTOP — make modal bigger for better video experience */
@media (min-width: 1200px) {
    #modal-dialog {
        width: 900px !important;   /* Increase modal width */
        max-width: 900px !important;
    }

    .modal-video-wrap {
        height: 510px !important;  /* Bigger video height */
        aspect-ratio: unset;       /* Remove forced ratio */
    }

    #modal-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* EXTRA LARGE SCREENS (optional nice look) */
@media (min-width: 1600px) {
    #modal-dialog {
        width: 1100px !important;
        max-width: 1100px !important;
    }

    .modal-video-wrap {
        height: 620px !important;
    }
}

/* DESKTOP — big but not too tall */
@media (min-width: 1200px) {
    #modal-dialog {
        width: 900px !important;
        max-width: 900px !important;
    }

    .modal-video-wrap {
        height: 350px !important; /* was 510px */
        aspect-ratio: unset;
    }

    #modal-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #modal-dialog .content {
        max-height: calc(100vh - 200px);
        overflow-y: auto;
    }
}


#commission-structure .card { border-radius: 10px; }
#commission-structure .display-6 { font-size: 1.8rem; }
#commission-structure .lead { color: #5a6b7a; }
.btn_2 { padding: 8px 14px; border:1px solid #ddd; border-radius: 50px; text-decoration:none; background:#fff; color:#333; }


.note-grid .note-card {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background: #f8f8ff;
}
.note-card i {
    font-size: 28px;
    color: #4d74ff;
    margin-bottom: 10px;
}
.note-card h6 {
    font-weight: 600;
}
.note-card p {
    font-size: 14px;
    color: #666;
}

